@distilled.cloud/stackit 0.0.0-stage → 1.0.0-rc.13

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +33 -2
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +48 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +148 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/response-validation.test.d.ts +4 -0
  24. package/lib/response-validation.test.d.ts.map +1 -0
  25. package/lib/response-validation.test.js +31 -0
  26. package/lib/response-validation.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +562 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +545 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +353 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +358 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +426 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +992 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +197 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +188 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +875 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +854 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +339 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +375 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +423 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +552 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2965 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3768 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +513 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +703 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +162 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +173 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +542 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +636 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +498 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +611 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +356 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +319 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +889 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +446 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +577 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3407 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +623 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +789 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +1018 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +614 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +636 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +221 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +503 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +203 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +541 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +478 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +718 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +659 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +474 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +364 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +523 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +159 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +845 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +536 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +598 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +1087 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +393 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +550 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +523 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +301 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +627 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +1013 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +556 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +83 -3
  240. package/src/credentials.ts +90 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +73 -0
  244. package/src/protocol.ts +243 -0
  245. package/src/response-validation.test.ts +45 -0
  246. package/src/retry.ts +53 -0
  247. package/src/services/alb.ts +1409 -0
  248. package/src/services/alb_waf.ts +1347 -0
  249. package/src/services/authorization.ts +740 -0
  250. package/src/services/automation.ts +966 -0
  251. package/src/services/cdn.ts +2736 -0
  252. package/src/services/certificates.ts +450 -0
  253. package/src/services/cost.ts +484 -0
  254. package/src/services/dns.ts +2271 -0
  255. package/src/services/dremio.ts +803 -0
  256. package/src/services/edge.ts +839 -0
  257. package/src/services/functions.ts +1010 -0
  258. package/src/services/git.ts +1275 -0
  259. package/src/services/iaas.ts +8670 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1233 -0
  262. package/src/services/kms.ts +1638 -0
  263. package/src/services/lb_ip_lists.ts +377 -0
  264. package/src/services/load_balancer.ts +1342 -0
  265. package/src/services/logme.ts +1379 -0
  266. package/src/services/logs.ts +1150 -0
  267. package/src/services/mariadb.ts +1293 -0
  268. package/src/services/model_experiments.ts +797 -0
  269. package/src/services/model_serving.ts +697 -0
  270. package/src/services/mongodb_flex.ts +2078 -0
  271. package/src/services/object_storage.ts +1248 -0
  272. package/src/services/observability.ts +7856 -0
  273. package/src/services/opensearch.ts +1354 -0
  274. package/src/services/pim.ts +2090 -0
  275. package/src/services/postgres_flex.ts +2326 -0
  276. package/src/services/pubsub.ts +1336 -0
  277. package/src/services/rabbitmq.ts +1402 -0
  278. package/src/services/registry.ts +494 -0
  279. package/src/services/resource_manager.ts +1155 -0
  280. package/src/services/run_command.ts +441 -0
  281. package/src/services/sca.ts +1222 -0
  282. package/src/services/scf.ts +1537 -0
  283. package/src/services/secrets_manager.ts +1399 -0
  284. package/src/services/server_backup.ts +1032 -0
  285. package/src/services/server_update.ts +767 -0
  286. package/src/services/service_account.ts +1208 -0
  287. package/src/services/service_enablement.ts +359 -0
  288. package/src/services/sfs.ts +1913 -0
  289. package/src/services/ske.ts +1408 -0
  290. package/src/services/sqlserverflex.ts +2543 -0
  291. package/src/services/stackit_marketplace.ts +853 -0
  292. package/src/services/telemetry_link.ts +1245 -0
  293. package/src/services/telemetry_router.ts +1205 -0
  294. package/src/services/ufw.ts +704 -0
  295. package/src/services/valkey.ts +1357 -0
  296. package/src/services/vpn.ts +2554 -0
  297. package/src/services/workflows.ts +1361 -0
  298. package/src/traits.ts +65 -0
@@ -0,0 +1,1208 @@
1
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
+ import * as S from "@distilled.cloud/core/schema";
3
+ import * as Redacted from "effect/Redacted";
4
+ import * as API from "@distilled.cloud/core/api";
5
+ import * as C from "@distilled.cloud/core/category";
6
+ import * as T from "../traits.ts";
7
+ import {
8
+ StackitProtocol,
9
+ type StackitOpError,
10
+ type StackitOpContext,
11
+ } from "../protocol.ts";
12
+ import { UnknownStackitError } from "../errors.ts";
13
+ import * as Retry from "../retry.ts";
14
+
15
+ export type { StackitOpError, StackitOpContext };
16
+
17
+ export class BadRequest
18
+ extends /*@__PURE__*/ T.applyErrorMatchers(
19
+ /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
20
+ code: S.Number,
21
+ message: S.String,
22
+ }).pipe(C.withBadRequestError),
23
+ [{ status: 400 }],
24
+ ) {}
25
+
26
+ export class Conflict
27
+ extends /*@__PURE__*/ T.applyErrorMatchers(
28
+ /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
29
+ code: S.Number,
30
+ message: S.String,
31
+ }).pipe(C.withConflictError),
32
+ [{ status: 409 }],
33
+ ) {}
34
+
35
+ export class Forbidden
36
+ extends /*@__PURE__*/ T.applyErrorMatchers(
37
+ /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
38
+ code: S.Number,
39
+ message: S.String,
40
+ }).pipe(C.withAuthError),
41
+ [{ status: 403 }],
42
+ ) {}
43
+
44
+ export class NotFound
45
+ extends /*@__PURE__*/ T.applyErrorMatchers(
46
+ /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
47
+ code: S.Number,
48
+ message: S.String,
49
+ }).pipe(C.withBadRequestError),
50
+ [{ status: 404 }],
51
+ ) {}
52
+
53
+ export interface CreateFederatedIdentityProviderRequestAssertionsItem {
54
+ /** Item to compare */
55
+ item?: string;
56
+ /** Operator for the comparison */
57
+ operator?: string;
58
+ /** Value which the item is compared to */
59
+ value?: string;
60
+ }
61
+ export const CreateFederatedIdentityProviderRequestAssertionsItem =
62
+ /*@__PURE__*/ S.suspend(() =>
63
+ S.Struct({
64
+ item: S.optional(S.String),
65
+ operator: S.optional(S.String),
66
+ value: S.optional(S.String),
67
+ }),
68
+ ).annotate({
69
+ identifier: "CreateFederatedIdentityProviderRequestAssertionsItem",
70
+ }) as any as S.Schema<CreateFederatedIdentityProviderRequestAssertionsItem>;
71
+
72
+ /** list of assertions of the federated identity provider */
73
+ export type CreateFederatedIdentityProviderRequestAssertionsList =
74
+ Array<CreateFederatedIdentityProviderRequestAssertionsItem>;
75
+ export const CreateFederatedIdentityProviderRequestAssertionsList =
76
+ /*@__PURE__*/ S.Array(
77
+ CreateFederatedIdentityProviderRequestAssertionsItem,
78
+ ) as any as S.Schema<CreateFederatedIdentityProviderRequestAssertionsList>;
79
+
80
+ export interface CreateFederatedIdentityProviderRequest {
81
+ /** The ID of the project. */
82
+ projectId: string;
83
+ /** The email of the service account. */
84
+ serviceAccountEmail: string;
85
+ /** list of assertions of the federated identity provider */
86
+ assertions?: CreateFederatedIdentityProviderRequestAssertionsList;
87
+ /** Issuer of the federated identity provider. */
88
+ issuer: string;
89
+ /** Unique name used as identifier of the federated identity provider. */
90
+ name: string;
91
+ }
92
+ export const CreateFederatedIdentityProviderRequest = /*@__PURE__*/ S.suspend(
93
+ () =>
94
+ S.Struct({
95
+ projectId: S.String.pipe(T.Label()),
96
+ serviceAccountEmail: S.String.pipe(T.Label()),
97
+ assertions: S.optional(
98
+ CreateFederatedIdentityProviderRequestAssertionsList,
99
+ ),
100
+ issuer: S.String,
101
+ name: S.String,
102
+ }).pipe(
103
+ T.Http({
104
+ method: "POST",
105
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/federations",
106
+ code: 200,
107
+ baseUrl: "https://service-account.api.stackit.cloud",
108
+ }),
109
+ ),
110
+ ).annotate({
111
+ identifier: "CreateFederatedIdentityProviderRequest",
112
+ }) as any as S.Schema<CreateFederatedIdentityProviderRequest>;
113
+
114
+ export interface FederatedIdentityProviderAssertionsItem {
115
+ /** Item to compare */
116
+ item: string;
117
+ /** Operator for the comparison */
118
+ operator: string;
119
+ /** Value which the item is compared to */
120
+ value: string;
121
+ }
122
+ export const FederatedIdentityProviderAssertionsItem = /*@__PURE__*/ S.suspend(
123
+ () =>
124
+ S.Struct({
125
+ item: S.String,
126
+ operator: S.String,
127
+ value: S.String,
128
+ }),
129
+ ).annotate({
130
+ identifier: "FederatedIdentityProviderAssertionsItem",
131
+ }) as any as S.Schema<FederatedIdentityProviderAssertionsItem>;
132
+
133
+ /** list of assertions of the federated identity provider */
134
+ export type FederatedIdentityProviderAssertionsList =
135
+ Array<FederatedIdentityProviderAssertionsItem>;
136
+ export const FederatedIdentityProviderAssertionsList = /*@__PURE__*/ S.Array(
137
+ FederatedIdentityProviderAssertionsItem,
138
+ ) as any as S.Schema<FederatedIdentityProviderAssertionsList>;
139
+
140
+ export interface FederatedIdentityProvider {
141
+ /** list of assertions of the federated identity provider */
142
+ assertions: FederatedIdentityProviderAssertionsList;
143
+ /** Creation time of the federated identity provider. */
144
+ createdAt: string;
145
+ /** Unique ID of the federated identity provider. */
146
+ id?: string;
147
+ /** Issuer of the federated identity provider. */
148
+ issuer: string;
149
+ /** Unique name of the federated identity provider. */
150
+ name: string;
151
+ /** Last update time of the federated identity provider. */
152
+ updatedAt: string;
153
+ }
154
+ export const FederatedIdentityProvider = /*@__PURE__*/ S.suspend(() =>
155
+ S.Struct({
156
+ assertions: FederatedIdentityProviderAssertionsList,
157
+ createdAt: S.String,
158
+ id: S.optional(S.String),
159
+ issuer: S.String,
160
+ name: S.String,
161
+ updatedAt: S.String,
162
+ }),
163
+ ).annotate({
164
+ identifier: "FederatedIdentityProvider",
165
+ }) as any as S.Schema<FederatedIdentityProvider>;
166
+
167
+ export interface CreateServiceAccountRequest {
168
+ /** The ID of the project. */
169
+ projectId: string;
170
+ /** The requested name of the service account. The service will generate a unique email from this name. */
171
+ name: string;
172
+ }
173
+ export const CreateServiceAccountRequest = /*@__PURE__*/ S.suspend(() =>
174
+ S.Struct({
175
+ projectId: S.String.pipe(T.Label()),
176
+ name: S.String,
177
+ }).pipe(
178
+ T.Http({
179
+ method: "POST",
180
+ uri: "/v2/projects/{projectId}/service-accounts",
181
+ code: 200,
182
+ baseUrl: "https://service-account.api.stackit.cloud",
183
+ }),
184
+ ),
185
+ ).annotate({
186
+ identifier: "CreateServiceAccountRequest",
187
+ }) as any as S.Schema<CreateServiceAccountRequest>;
188
+
189
+ export interface ServiceAccount2 {
190
+ /** Unique identifier of the service account in format of an email address generated by the service containing the prefix provided by the user during creation. */
191
+ email: string;
192
+ /** Unique ID of the service account. It is also used in the 'sub' field of the service accounts access tokens. */
193
+ id: string;
194
+ /** Flag indicating internal service accounts */
195
+ internal: boolean;
196
+ /** ID of the related project */
197
+ projectId: string;
198
+ }
199
+ export const ServiceAccount2 = /*@__PURE__*/ S.suspend(() =>
200
+ S.Struct({
201
+ email: S.String,
202
+ id: S.String,
203
+ internal: S.Boolean,
204
+ projectId: S.String,
205
+ }),
206
+ ).annotate({
207
+ identifier: "ServiceAccount2",
208
+ }) as any as S.Schema<ServiceAccount2>;
209
+
210
+ /** Optional, key algorithm of the generated key-pair. Used only if publicKey attribute is not specified, otherwise the algorithm is derived from the public key. */
211
+ export type CreateServiceAccountKeyRequestAlgorithm = "RSA_2048" | "RSA_4096";
212
+ export const CreateServiceAccountKeyRequestAlgorithm = /*@__PURE__*/ S.String;
213
+
214
+ export interface CreateServiceAccountKeyRequest {
215
+ /** The ID of the project. */
216
+ projectId: string;
217
+ /** The email of the service account. */
218
+ serviceAccountEmail: string;
219
+ /** Optional, key algorithm of the generated key-pair. Used only if publicKey attribute is not specified, otherwise the algorithm is derived from the public key. */
220
+ algorithm?: CreateServiceAccountKeyRequestAlgorithm | (string & {});
221
+ /** Optional, public key part of the user generated RSA key-pair wrapped in a [X.509 v3 certificate](https://www.rfc-editor.org/rfc/rfc5280) */
222
+ publicKey?: string;
223
+ /** Optional, date of key expiration. When omitted, key is valid until deleted */
224
+ validUntil?: string;
225
+ }
226
+ export const CreateServiceAccountKeyRequest = /*@__PURE__*/ S.suspend(() =>
227
+ S.Struct({
228
+ projectId: S.String.pipe(T.Label()),
229
+ serviceAccountEmail: S.String.pipe(T.Label()),
230
+ algorithm: S.optional(CreateServiceAccountKeyRequestAlgorithm),
231
+ publicKey: S.optional(S.String),
232
+ validUntil: S.optional(S.String),
233
+ }).pipe(
234
+ T.Http({
235
+ method: "POST",
236
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/keys",
237
+ code: 200,
238
+ baseUrl: "https://service-account.api.stackit.cloud",
239
+ }),
240
+ ),
241
+ ).annotate({
242
+ identifier: "CreateServiceAccountKeyRequest",
243
+ }) as any as S.Schema<CreateServiceAccountKeyRequest>;
244
+
245
+ export interface CreateServiceAccountKeyResponseCredentials {
246
+ /** Audience - service account API URL */
247
+ aud: string;
248
+ /** Service account email */
249
+ iss: string;
250
+ /** Key id to use */
251
+ kid: string;
252
+ /** Private key. Only present, if the service account API was generating the key. Not recoverable later. */
253
+ privateKey?: string | Redacted.Redacted<string>;
254
+ /** Service account id */
255
+ sub: string;
256
+ /** Endpoint used to obtain access tokens for the service account. */
257
+ tokenEndpoint?: string;
258
+ }
259
+ export const CreateServiceAccountKeyResponseCredentials =
260
+ /*@__PURE__*/ S.suspend(() =>
261
+ S.Struct({
262
+ aud: S.String,
263
+ iss: S.String,
264
+ kid: S.String,
265
+ privateKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
266
+ sub: S.String,
267
+ tokenEndpoint: S.optional(S.String),
268
+ }),
269
+ ).annotate({
270
+ identifier: "CreateServiceAccountKeyResponseCredentials",
271
+ }) as any as S.Schema<CreateServiceAccountKeyResponseCredentials>;
272
+
273
+ export type CreateServiceAccountKeyResponseKeyAlgorithm =
274
+ | "RSA_2048"
275
+ | "RSA_4096";
276
+ export const CreateServiceAccountKeyResponseKeyAlgorithm =
277
+ /*@__PURE__*/ S.String;
278
+
279
+ export type CreateServiceAccountKeyResponseKeyOrigin =
280
+ | "USER_PROVIDED"
281
+ | "GENERATED";
282
+ export const CreateServiceAccountKeyResponseKeyOrigin = /*@__PURE__*/ S.String;
283
+
284
+ export type CreateServiceAccountKeyResponseKeyType =
285
+ | "USER_MANAGED"
286
+ | "SYSTEM_MANAGED";
287
+ export const CreateServiceAccountKeyResponseKeyType = /*@__PURE__*/ S.String;
288
+
289
+ export interface CreateServiceAccountKeyResponse {
290
+ active: boolean;
291
+ /** Creation time of the key */
292
+ createdAt: string;
293
+ credentials: CreateServiceAccountKeyResponseCredentials;
294
+ /** Unique ID of the key. */
295
+ id: string;
296
+ keyAlgorithm: CreateServiceAccountKeyResponseKeyAlgorithm;
297
+ keyOrigin: CreateServiceAccountKeyResponseKeyOrigin;
298
+ keyType: CreateServiceAccountKeyResponseKeyType;
299
+ /** Public key, that was provider, or was generated by the service account API */
300
+ publicKey: string;
301
+ /** If specified, the timestamp until the key is active. May be null */
302
+ validUntil?: string;
303
+ }
304
+ export const CreateServiceAccountKeyResponse = /*@__PURE__*/ S.suspend(() =>
305
+ S.Struct({
306
+ active: S.Boolean,
307
+ createdAt: S.String,
308
+ credentials: CreateServiceAccountKeyResponseCredentials,
309
+ id: S.String,
310
+ keyAlgorithm: CreateServiceAccountKeyResponseKeyAlgorithm,
311
+ keyOrigin: CreateServiceAccountKeyResponseKeyOrigin,
312
+ keyType: CreateServiceAccountKeyResponseKeyType,
313
+ publicKey: S.String,
314
+ validUntil: S.optional(S.String),
315
+ }),
316
+ ).annotate({
317
+ identifier: "CreateServiceAccountKeyResponse",
318
+ }) as any as S.Schema<CreateServiceAccountKeyResponse>;
319
+
320
+ /** Always use URL encoded values. E.g. urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer */
321
+ export type CreateShortLivedAccessTokenRequestGrantType =
322
+ | "urn:ietf:params:oauth:grant-type:jwt-bearer"
323
+ | "refresh_token";
324
+ export const CreateShortLivedAccessTokenRequestGrantType =
325
+ /*@__PURE__*/ S.String;
326
+
327
+ export interface CreateShortLivedAccessTokenRequest {
328
+ /** The self signed JWT. Must be given when grant_type is urn:ietf:params:oauth:grant-type:jwt-bearer */
329
+ assertion?: string;
330
+ /** Always use URL encoded values. E.g. urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer */
331
+ grant_type: CreateShortLivedAccessTokenRequestGrantType | (string & {});
332
+ /** Refresh token provided by a previous call with a self signed token. Must be given when grant_type is refresh_token */
333
+ refresh_token?: string | Redacted.Redacted<string>;
334
+ }
335
+ export const CreateShortLivedAccessTokenRequest = /*@__PURE__*/ S.suspend(() =>
336
+ S.Struct({
337
+ assertion: S.optional(S.String),
338
+ grant_type: CreateShortLivedAccessTokenRequestGrantType,
339
+ refresh_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
340
+ }).pipe(
341
+ T.Http({
342
+ method: "POST",
343
+ uri: "/token",
344
+ code: 200,
345
+ baseUrl: "https://service-account.api.stackit.cloud",
346
+ }),
347
+ ),
348
+ ).annotate({
349
+ identifier: "CreateShortLivedAccessTokenRequest",
350
+ }) as any as S.Schema<CreateShortLivedAccessTokenRequest>;
351
+
352
+ export type CreateShortLivedAccessTokenResponseTokenType = "Bearer";
353
+ export const CreateShortLivedAccessTokenResponseTokenType =
354
+ /*@__PURE__*/ S.String;
355
+
356
+ export interface CreateShortLivedAccessTokenResponse {
357
+ /** The short lived token that can be used for API access */
358
+ access_token: string | Redacted.Redacted<string>;
359
+ expires_in: number;
360
+ /** Refresh token that can be used to request a new access token when it expires (and before refresh token expires). Tokens are rotated. */
361
+ refresh_token: string | Redacted.Redacted<string>;
362
+ /** scope field of the self signed token */
363
+ scope: string;
364
+ token_type: CreateShortLivedAccessTokenResponseTokenType;
365
+ }
366
+ export const CreateShortLivedAccessTokenResponse = /*@__PURE__*/ S.suspend(() =>
367
+ S.Struct({
368
+ access_token: S.String.pipe(T.SensitiveValue({})),
369
+ expires_in: S.Number,
370
+ refresh_token: S.String.pipe(T.SensitiveValue({})),
371
+ scope: S.String,
372
+ token_type: CreateShortLivedAccessTokenResponseTokenType,
373
+ }),
374
+ ).annotate({
375
+ identifier: "CreateShortLivedAccessTokenResponse",
376
+ }) as any as S.Schema<CreateShortLivedAccessTokenResponse>;
377
+
378
+ export interface DeleteServiceAccountRequest {
379
+ /** The ID of the project. */
380
+ projectId: string;
381
+ /** The email of the Service Account. */
382
+ serviceAccountEmail: string;
383
+ }
384
+ export const DeleteServiceAccountRequest = /*@__PURE__*/ S.suspend(() =>
385
+ S.Struct({
386
+ projectId: S.String.pipe(T.Label()),
387
+ serviceAccountEmail: S.String.pipe(T.Label()),
388
+ }).pipe(
389
+ T.Http({
390
+ method: "DELETE",
391
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}",
392
+ code: 200,
393
+ baseUrl: "https://service-account.api.stackit.cloud",
394
+ }),
395
+ ),
396
+ ).annotate({
397
+ identifier: "DeleteServiceAccountRequest",
398
+ }) as any as S.Schema<DeleteServiceAccountRequest>;
399
+
400
+ export interface DeleteServiceAccountResponse {}
401
+ export const DeleteServiceAccountResponse = /*@__PURE__*/ S.suspend(() =>
402
+ S.Struct({}),
403
+ ).annotate({
404
+ identifier: "DeleteServiceAccountResponse",
405
+ }) as any as S.Schema<DeleteServiceAccountResponse>;
406
+
407
+ export interface DeleteServiceAccountKeyRequest {
408
+ /** The ID of the project. */
409
+ projectId: string;
410
+ /** The email of the service account. */
411
+ serviceAccountEmail: string;
412
+ /** ID of the key. */
413
+ keyId: string;
414
+ }
415
+ export const DeleteServiceAccountKeyRequest = /*@__PURE__*/ S.suspend(() =>
416
+ S.Struct({
417
+ projectId: S.String.pipe(T.Label()),
418
+ serviceAccountEmail: S.String.pipe(T.Label()),
419
+ keyId: S.String.pipe(T.Label()),
420
+ }).pipe(
421
+ T.Http({
422
+ method: "DELETE",
423
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/keys/{keyId}",
424
+ code: 200,
425
+ baseUrl: "https://service-account.api.stackit.cloud",
426
+ }),
427
+ ),
428
+ ).annotate({
429
+ identifier: "DeleteServiceAccountKeyRequest",
430
+ }) as any as S.Schema<DeleteServiceAccountKeyRequest>;
431
+
432
+ export interface DeleteServiceAccountKeyResponse {}
433
+ export const DeleteServiceAccountKeyResponse = /*@__PURE__*/ S.suspend(() =>
434
+ S.Struct({}),
435
+ ).annotate({
436
+ identifier: "DeleteServiceAccountKeyResponse",
437
+ }) as any as S.Schema<DeleteServiceAccountKeyResponse>;
438
+
439
+ export interface DeleteServiceFederatedIdentityProviderRequest {
440
+ /** The ID of the project. */
441
+ projectId: string;
442
+ /** The email of the service account. */
443
+ serviceAccountEmail: string;
444
+ /** ID of the Federated Identity Provider. */
445
+ federationId: string;
446
+ }
447
+ export const DeleteServiceFederatedIdentityProviderRequest =
448
+ /*@__PURE__*/ S.suspend(() =>
449
+ S.Struct({
450
+ projectId: S.String.pipe(T.Label()),
451
+ serviceAccountEmail: S.String.pipe(T.Label()),
452
+ federationId: S.String.pipe(T.Label()),
453
+ }).pipe(
454
+ T.Http({
455
+ method: "DELETE",
456
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/federations/{federationId}",
457
+ code: 200,
458
+ baseUrl: "https://service-account.api.stackit.cloud",
459
+ }),
460
+ ),
461
+ ).annotate({
462
+ identifier: "DeleteServiceFederatedIdentityProviderRequest",
463
+ }) as any as S.Schema<DeleteServiceFederatedIdentityProviderRequest>;
464
+
465
+ export interface DeleteServiceFederatedIdentityProviderResponse {}
466
+ export const DeleteServiceFederatedIdentityProviderResponse =
467
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
468
+ identifier: "DeleteServiceFederatedIdentityProviderResponse",
469
+ }) as any as S.Schema<DeleteServiceFederatedIdentityProviderResponse>;
470
+
471
+ export interface GetFederatedIdentityProviderRequest {
472
+ /** The ID of the project. */
473
+ projectId: string;
474
+ /** The email of the service account. */
475
+ serviceAccountEmail: string;
476
+ /** ID of the Federated Identity Provider. */
477
+ federationId: string;
478
+ }
479
+ export const GetFederatedIdentityProviderRequest = /*@__PURE__*/ S.suspend(() =>
480
+ S.Struct({
481
+ projectId: S.String.pipe(T.Label()),
482
+ serviceAccountEmail: S.String.pipe(T.Label()),
483
+ federationId: S.String.pipe(T.Label()),
484
+ }).pipe(
485
+ T.Http({
486
+ method: "GET",
487
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/federations/{federationId}",
488
+ code: 200,
489
+ baseUrl: "https://service-account.api.stackit.cloud",
490
+ }),
491
+ ),
492
+ ).annotate({
493
+ identifier: "GetFederatedIdentityProviderRequest",
494
+ }) as any as S.Schema<GetFederatedIdentityProviderRequest>;
495
+
496
+ export interface GetJWKSRequest {
497
+ /** The email of the service account. */
498
+ serviceAccountEmail: string;
499
+ }
500
+ export const GetJWKSRequest = /*@__PURE__*/ S.suspend(() =>
501
+ S.Struct({
502
+ serviceAccountEmail: S.String.pipe(T.Label()),
503
+ }).pipe(
504
+ T.Http({
505
+ method: "GET",
506
+ uri: "/v2/service-accounts/public/jwk/{serviceAccountEmail}",
507
+ code: 200,
508
+ baseUrl: "https://service-account.api.stackit.cloud",
509
+ }),
510
+ ),
511
+ ).annotate({ identifier: "GetJWKSRequest" }) as any as S.Schema<GetJWKSRequest>;
512
+
513
+ /** JSON Web Key according to https://datatracker.ietf.org/doc/html/rfc7517#section-4 */
514
+ export interface JWK {
515
+ alg?: string;
516
+ e: string;
517
+ kid?: string;
518
+ ks?: string;
519
+ n: string;
520
+ ops?: string;
521
+ use?: string;
522
+ x5c?: string;
523
+ x5t?: string;
524
+ x5t256?: string;
525
+ x5u?: string;
526
+ }
527
+ export const JWK = /*@__PURE__*/ S.suspend(() =>
528
+ S.Struct({
529
+ alg: S.optional(S.String),
530
+ e: S.String,
531
+ kid: S.optional(S.String),
532
+ ks: S.optional(S.String),
533
+ n: S.String,
534
+ ops: S.optional(S.String),
535
+ use: S.optional(S.String),
536
+ x5c: S.optional(S.String),
537
+ x5t: S.optional(S.String),
538
+ x5t256: S.optional(S.String),
539
+ x5u: S.optional(S.String),
540
+ }),
541
+ ).annotate({ identifier: "JWK" }) as any as S.Schema<JWK>;
542
+
543
+ export type JWKSKeysList = Array<JWK>;
544
+ export const JWKSKeysList = /*@__PURE__*/ S.Array(
545
+ JWK,
546
+ ) as any as S.Schema<JWKSKeysList>;
547
+
548
+ export interface JWKS {
549
+ keys: JWKSKeysList;
550
+ }
551
+ export const JWKS = /*@__PURE__*/ S.suspend(() =>
552
+ S.Struct({
553
+ keys: JWKSKeysList,
554
+ }),
555
+ ).annotate({ identifier: "JWKS" }) as any as S.Schema<JWKS>;
556
+
557
+ export type GetServiceAccountKeyRequestFormat = "X509_PEM";
558
+ export const GetServiceAccountKeyRequestFormat = /*@__PURE__*/ S.String;
559
+
560
+ export interface GetServiceAccountKeyRequest {
561
+ /** The ID of the project. */
562
+ projectId: string;
563
+ /** The email of the service account. */
564
+ serviceAccountEmail: string;
565
+ /** ID of the key. */
566
+ keyId: string;
567
+ /** Requested format for the public key */
568
+ format?: GetServiceAccountKeyRequestFormat | (string & {});
569
+ }
570
+ export const GetServiceAccountKeyRequest = /*@__PURE__*/ S.suspend(() =>
571
+ S.Struct({
572
+ projectId: S.String.pipe(T.Label()),
573
+ serviceAccountEmail: S.String.pipe(T.Label()),
574
+ keyId: S.String.pipe(T.Label()),
575
+ format: S.optional(GetServiceAccountKeyRequestFormat.pipe(T.Query())),
576
+ }).pipe(
577
+ T.Http({
578
+ method: "GET",
579
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/keys/{keyId}",
580
+ code: 200,
581
+ baseUrl: "https://service-account.api.stackit.cloud",
582
+ }),
583
+ ),
584
+ ).annotate({
585
+ identifier: "GetServiceAccountKeyRequest",
586
+ }) as any as S.Schema<GetServiceAccountKeyRequest>;
587
+
588
+ export interface GetServiceAccountKeyResponseCredentials {
589
+ /** Audience - service account API URL */
590
+ aud: string;
591
+ /** Service account email */
592
+ iss: string;
593
+ /** Key id to use */
594
+ kid: string;
595
+ /** Service account id */
596
+ sub: string;
597
+ }
598
+ export const GetServiceAccountKeyResponseCredentials = /*@__PURE__*/ S.suspend(
599
+ () =>
600
+ S.Struct({
601
+ aud: S.String,
602
+ iss: S.String,
603
+ kid: S.String,
604
+ sub: S.String,
605
+ }),
606
+ ).annotate({
607
+ identifier: "GetServiceAccountKeyResponseCredentials",
608
+ }) as any as S.Schema<GetServiceAccountKeyResponseCredentials>;
609
+
610
+ export type GetServiceAccountKeyResponseKeyAlgorithm = "RSA_2048" | "RSA_4096";
611
+ export const GetServiceAccountKeyResponseKeyAlgorithm = /*@__PURE__*/ S.String;
612
+
613
+ export type GetServiceAccountKeyResponseKeyOrigin =
614
+ | "USER_PROVIDED"
615
+ | "GENERATED";
616
+ export const GetServiceAccountKeyResponseKeyOrigin = /*@__PURE__*/ S.String;
617
+
618
+ export type GetServiceAccountKeyResponseKeyType =
619
+ | "USER_MANAGED"
620
+ | "SYSTEM_MANAGED";
621
+ export const GetServiceAccountKeyResponseKeyType = /*@__PURE__*/ S.String;
622
+
623
+ export interface GetServiceAccountKeyResponse {
624
+ active: boolean;
625
+ /** Creation time of the key */
626
+ createdAt: string;
627
+ credentials: GetServiceAccountKeyResponseCredentials;
628
+ /** Unique ID of the key. */
629
+ id: string;
630
+ keyAlgorithm: GetServiceAccountKeyResponseKeyAlgorithm;
631
+ keyOrigin: GetServiceAccountKeyResponseKeyOrigin;
632
+ keyType: GetServiceAccountKeyResponseKeyType;
633
+ /** Public key, in the requested format */
634
+ publicKey?: string;
635
+ /** If specified, the timestamp until the key is active. May be null */
636
+ validUntil?: string;
637
+ }
638
+ export const GetServiceAccountKeyResponse = /*@__PURE__*/ S.suspend(() =>
639
+ S.Struct({
640
+ active: S.Boolean,
641
+ createdAt: S.String,
642
+ credentials: GetServiceAccountKeyResponseCredentials,
643
+ id: S.String,
644
+ keyAlgorithm: GetServiceAccountKeyResponseKeyAlgorithm,
645
+ keyOrigin: GetServiceAccountKeyResponseKeyOrigin,
646
+ keyType: GetServiceAccountKeyResponseKeyType,
647
+ publicKey: S.optional(S.String),
648
+ validUntil: S.optional(S.String),
649
+ }),
650
+ ).annotate({
651
+ identifier: "GetServiceAccountKeyResponse",
652
+ }) as any as S.Schema<GetServiceAccountKeyResponse>;
653
+
654
+ export interface ListFederatedIdentityProvidersRequest {
655
+ /** The ID of the project. */
656
+ projectId: string;
657
+ /** The email of the service account. */
658
+ serviceAccountEmail: string;
659
+ }
660
+ export const ListFederatedIdentityProvidersRequest = /*@__PURE__*/ S.suspend(
661
+ () =>
662
+ S.Struct({
663
+ projectId: S.String.pipe(T.Label()),
664
+ serviceAccountEmail: S.String.pipe(T.Label()),
665
+ }).pipe(
666
+ T.Http({
667
+ method: "GET",
668
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/federations",
669
+ code: 200,
670
+ baseUrl: "https://service-account.api.stackit.cloud",
671
+ }),
672
+ ),
673
+ ).annotate({
674
+ identifier: "ListFederatedIdentityProvidersRequest",
675
+ }) as any as S.Schema<ListFederatedIdentityProvidersRequest>;
676
+
677
+ export type FederatedListFederatedIdentityProvidersResponseResourcesList =
678
+ Array<FederatedIdentityProvider>;
679
+ export const FederatedListFederatedIdentityProvidersResponseResourcesList =
680
+ /*@__PURE__*/ S.Array(
681
+ FederatedIdentityProvider,
682
+ ) as any as S.Schema<FederatedListFederatedIdentityProvidersResponseResourcesList>;
683
+
684
+ export interface FederatedListFederatedIdentityProvidersResponse {
685
+ itemsPerPage: number;
686
+ resources: FederatedListFederatedIdentityProvidersResponseResourcesList;
687
+ startIndex: number;
688
+ totalResults: number;
689
+ }
690
+ export const FederatedListFederatedIdentityProvidersResponse =
691
+ /*@__PURE__*/ S.suspend(() =>
692
+ S.Struct({
693
+ itemsPerPage: S.Number,
694
+ resources: FederatedListFederatedIdentityProvidersResponseResourcesList,
695
+ startIndex: S.Number,
696
+ totalResults: S.Number,
697
+ }),
698
+ ).annotate({
699
+ identifier: "FederatedListFederatedIdentityProvidersResponse",
700
+ }) as any as S.Schema<FederatedListFederatedIdentityProvidersResponse>;
701
+
702
+ export interface ListServiceAccountKeysRequest {
703
+ /** The ID of the project. */
704
+ projectId: string;
705
+ /** The email of the service account. */
706
+ serviceAccountEmail: string;
707
+ }
708
+ export const ListServiceAccountKeysRequest = /*@__PURE__*/ S.suspend(() =>
709
+ S.Struct({
710
+ projectId: S.String.pipe(T.Label()),
711
+ serviceAccountEmail: S.String.pipe(T.Label()),
712
+ }).pipe(
713
+ T.Http({
714
+ method: "GET",
715
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/keys",
716
+ code: 200,
717
+ baseUrl: "https://service-account.api.stackit.cloud",
718
+ }),
719
+ ),
720
+ ).annotate({
721
+ identifier: "ListServiceAccountKeysRequest",
722
+ }) as any as S.Schema<ListServiceAccountKeysRequest>;
723
+
724
+ export type ServiceAccountKeyListResponseKeyAlgorithm = "RSA_2048" | "RSA_4096";
725
+ export const ServiceAccountKeyListResponseKeyAlgorithm = /*@__PURE__*/ S.String;
726
+
727
+ export type ServiceAccountKeyListResponseKeyOrigin =
728
+ | "USER_PROVIDED"
729
+ | "GENERATED";
730
+ export const ServiceAccountKeyListResponseKeyOrigin = /*@__PURE__*/ S.String;
731
+
732
+ export type ServiceAccountKeyListResponseKeyType =
733
+ | "USER_MANAGED"
734
+ | "SYSTEM_MANAGED";
735
+ export const ServiceAccountKeyListResponseKeyType = /*@__PURE__*/ S.String;
736
+
737
+ export interface ServiceAccountKeyListResponse {
738
+ active: boolean;
739
+ /** Creation time of the key */
740
+ createdAt: string;
741
+ /** Unique ID of the key. */
742
+ id: string;
743
+ keyAlgorithm: ServiceAccountKeyListResponseKeyAlgorithm;
744
+ keyOrigin: ServiceAccountKeyListResponseKeyOrigin;
745
+ keyType: ServiceAccountKeyListResponseKeyType;
746
+ /** If specified, the timestamp until the key is active. May be null */
747
+ validUntil?: string;
748
+ }
749
+ export const ServiceAccountKeyListResponse = /*@__PURE__*/ S.suspend(() =>
750
+ S.Struct({
751
+ active: S.Boolean,
752
+ createdAt: S.String,
753
+ id: S.String,
754
+ keyAlgorithm: ServiceAccountKeyListResponseKeyAlgorithm,
755
+ keyOrigin: ServiceAccountKeyListResponseKeyOrigin,
756
+ keyType: ServiceAccountKeyListResponseKeyType,
757
+ validUntil: S.optional(S.String),
758
+ }),
759
+ ).annotate({
760
+ identifier: "ServiceAccountKeyListResponse",
761
+ }) as any as S.Schema<ServiceAccountKeyListResponse>;
762
+
763
+ export type ListServiceAccountKeysResponseItemsList =
764
+ Array<ServiceAccountKeyListResponse>;
765
+ export const ListServiceAccountKeysResponseItemsList = /*@__PURE__*/ S.Array(
766
+ ServiceAccountKeyListResponse,
767
+ ) as any as S.Schema<ListServiceAccountKeysResponseItemsList>;
768
+
769
+ export interface ListServiceAccountKeysResponse {
770
+ items: ListServiceAccountKeysResponseItemsList;
771
+ }
772
+ export const ListServiceAccountKeysResponse = /*@__PURE__*/ S.suspend(() =>
773
+ S.Struct({
774
+ items: ListServiceAccountKeysResponseItemsList,
775
+ }),
776
+ ).annotate({
777
+ identifier: "ListServiceAccountKeysResponse",
778
+ }) as any as S.Schema<ListServiceAccountKeysResponse>;
779
+
780
+ export interface ListServiceAccountsRequest {
781
+ /** The ID of the project. */
782
+ projectId: string;
783
+ }
784
+ export const ListServiceAccountsRequest = /*@__PURE__*/ S.suspend(() =>
785
+ S.Struct({
786
+ projectId: S.String.pipe(T.Label()),
787
+ }).pipe(
788
+ T.Http({
789
+ method: "GET",
790
+ uri: "/v2/projects/{projectId}/service-accounts",
791
+ code: 200,
792
+ baseUrl: "https://service-account.api.stackit.cloud",
793
+ }),
794
+ ),
795
+ ).annotate({
796
+ identifier: "ListServiceAccountsRequest",
797
+ }) as any as S.Schema<ListServiceAccountsRequest>;
798
+
799
+ export type ListServiceAccountsResponseItemsList = Array<ServiceAccount2>;
800
+ export const ListServiceAccountsResponseItemsList = /*@__PURE__*/ S.Array(
801
+ ServiceAccount2,
802
+ ) as any as S.Schema<ListServiceAccountsResponseItemsList>;
803
+
804
+ export interface ListServiceAccountsResponse {
805
+ items: ListServiceAccountsResponseItemsList;
806
+ }
807
+ export const ListServiceAccountsResponse = /*@__PURE__*/ S.suspend(() =>
808
+ S.Struct({
809
+ items: ListServiceAccountsResponseItemsList,
810
+ }),
811
+ ).annotate({
812
+ identifier: "ListServiceAccountsResponse",
813
+ }) as any as S.Schema<ListServiceAccountsResponse>;
814
+
815
+ export type PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsItem =
816
+ CreateFederatedIdentityProviderRequestAssertionsItem;
817
+ export const PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsItem =
818
+ CreateFederatedIdentityProviderRequestAssertionsItem;
819
+
820
+ /** list of assertions of the federated identity provider */
821
+ export type PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsList =
822
+ Array<CreateFederatedIdentityProviderRequestAssertionsItem>;
823
+ export const PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsList =
824
+ /*@__PURE__*/ S.Array(
825
+ CreateFederatedIdentityProviderRequestAssertionsItem,
826
+ ) as any as S.Schema<PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsList>;
827
+
828
+ export interface PartialUpdateServiceAccountFederatedIdentityProviderRequest {
829
+ /** The ID of the project. */
830
+ projectId: string;
831
+ /** The email of the service account. */
832
+ serviceAccountEmail: string;
833
+ /** ID of the Federated Identity Provider. */
834
+ federationId: string;
835
+ /** list of assertions of the federated identity provider */
836
+ assertions?: PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsList;
837
+ /** Issuer of the federated identity provider. */
838
+ issuer: string;
839
+ /** Unique name used as identifier of the federated identity provider. */
840
+ name: string;
841
+ }
842
+ export const PartialUpdateServiceAccountFederatedIdentityProviderRequest =
843
+ /*@__PURE__*/ S.suspend(() =>
844
+ S.Struct({
845
+ projectId: S.String.pipe(T.Label()),
846
+ serviceAccountEmail: S.String.pipe(T.Label()),
847
+ federationId: S.String.pipe(T.Label()),
848
+ assertions: S.optional(
849
+ PartialUpdateServiceAccountFederatedIdentityProviderRequestAssertionsList,
850
+ ),
851
+ issuer: S.String,
852
+ name: S.String,
853
+ }).pipe(
854
+ T.Http({
855
+ method: "PATCH",
856
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/federations/{federationId}",
857
+ code: 200,
858
+ baseUrl: "https://service-account.api.stackit.cloud",
859
+ }),
860
+ ),
861
+ ).annotate({
862
+ identifier: "PartialUpdateServiceAccountFederatedIdentityProviderRequest",
863
+ }) as any as S.Schema<PartialUpdateServiceAccountFederatedIdentityProviderRequest>;
864
+
865
+ export interface PartialUpdateServiceAccountKeyRequest {
866
+ /** The ID of the project. */
867
+ projectId: string;
868
+ /** The email of the service account. */
869
+ serviceAccountEmail: string;
870
+ /** ID of the key. */
871
+ keyId: string;
872
+ /** Active keys are valid, while inactive keys are temporarily deactivated. */
873
+ active?: boolean;
874
+ /** Optional, date of key expiration. To disable, set time to "9999-01-01T01:01:01Z" */
875
+ validUntil?: string;
876
+ }
877
+ export const PartialUpdateServiceAccountKeyRequest = /*@__PURE__*/ S.suspend(
878
+ () =>
879
+ S.Struct({
880
+ projectId: S.String.pipe(T.Label()),
881
+ serviceAccountEmail: S.String.pipe(T.Label()),
882
+ keyId: S.String.pipe(T.Label()),
883
+ active: S.optional(S.Boolean),
884
+ validUntil: S.optional(S.String),
885
+ }).pipe(
886
+ T.Http({
887
+ method: "PATCH",
888
+ uri: "/v2/projects/{projectId}/service-accounts/{serviceAccountEmail}/keys/{keyId}",
889
+ code: 200,
890
+ baseUrl: "https://service-account.api.stackit.cloud",
891
+ }),
892
+ ),
893
+ ).annotate({
894
+ identifier: "PartialUpdateServiceAccountKeyRequest",
895
+ }) as any as S.Schema<PartialUpdateServiceAccountKeyRequest>;
896
+
897
+ export type PartialUpdateServiceAccountKeyResponseKeyAlgorithm =
898
+ | "RSA_2048"
899
+ | "RSA_4096";
900
+ export const PartialUpdateServiceAccountKeyResponseKeyAlgorithm =
901
+ /*@__PURE__*/ S.String;
902
+
903
+ export type PartialUpdateServiceAccountKeyResponseKeyOrigin =
904
+ | "USER_PROVIDED"
905
+ | "GENERATED";
906
+ export const PartialUpdateServiceAccountKeyResponseKeyOrigin =
907
+ /*@__PURE__*/ S.String;
908
+
909
+ export type PartialUpdateServiceAccountKeyResponseKeyType =
910
+ | "USER_MANAGED"
911
+ | "SYSTEM_MANAGED";
912
+ export const PartialUpdateServiceAccountKeyResponseKeyType =
913
+ /*@__PURE__*/ S.String;
914
+
915
+ export interface PartialUpdateServiceAccountKeyResponse {
916
+ active: boolean;
917
+ /** Creation time of the key */
918
+ createdAt: string;
919
+ /** Unique ID of the key. */
920
+ id: string;
921
+ keyAlgorithm: PartialUpdateServiceAccountKeyResponseKeyAlgorithm;
922
+ keyOrigin: PartialUpdateServiceAccountKeyResponseKeyOrigin;
923
+ keyType: PartialUpdateServiceAccountKeyResponseKeyType;
924
+ /** If specified, the timestamp until the key is active. May be null */
925
+ validUntil?: string;
926
+ }
927
+ export const PartialUpdateServiceAccountKeyResponse = /*@__PURE__*/ S.suspend(
928
+ () =>
929
+ S.Struct({
930
+ active: S.Boolean,
931
+ createdAt: S.String,
932
+ id: S.String,
933
+ keyAlgorithm: PartialUpdateServiceAccountKeyResponseKeyAlgorithm,
934
+ keyOrigin: PartialUpdateServiceAccountKeyResponseKeyOrigin,
935
+ keyType: PartialUpdateServiceAccountKeyResponseKeyType,
936
+ validUntil: S.optional(S.String),
937
+ }),
938
+ ).annotate({
939
+ identifier: "PartialUpdateServiceAccountKeyResponse",
940
+ }) as any as S.Schema<PartialUpdateServiceAccountKeyResponse>;
941
+
942
+ export type CreateFederatedIdentityProviderError =
943
+ | BadRequest
944
+ | Forbidden
945
+ | Conflict
946
+ | StackitOpError;
947
+ /** Create a new Federated Identity Provider Federate the service account with an identity provider. */
948
+ export const createFederatedIdentityProvider: API.OperationMethod<
949
+ CreateFederatedIdentityProviderRequest,
950
+ FederatedIdentityProvider,
951
+ CreateFederatedIdentityProviderError,
952
+ StackitOpContext
953
+ > = /*@__PURE__*/ API.make(() => ({
954
+ input: CreateFederatedIdentityProviderRequest,
955
+ output: FederatedIdentityProvider,
956
+ errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
957
+ protocol: StackitProtocol,
958
+ retry: Retry.Retry,
959
+ }));
960
+
961
+ export type CreateServiceAccountError =
962
+ | BadRequest
963
+ | Forbidden
964
+ | Conflict
965
+ | StackitOpError;
966
+ /** Create a new Service Account Create a new Service Account in a project. The service account only resides in the project, and initially has no roles or permissions on any resources. After creation, the service account can be assigned to this project, other projects in the parent organization or to the parent organization. */
967
+ export const createServiceAccount: API.OperationMethod<
968
+ CreateServiceAccountRequest,
969
+ ServiceAccount2,
970
+ CreateServiceAccountError,
971
+ StackitOpContext
972
+ > = /*@__PURE__*/ API.make(() => ({
973
+ input: CreateServiceAccountRequest,
974
+ output: ServiceAccount2,
975
+ errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
976
+ protocol: StackitProtocol,
977
+ retry: Retry.Retry,
978
+ }));
979
+
980
+ export type CreateServiceAccountKeyError =
981
+ | BadRequest
982
+ | Forbidden
983
+ | Conflict
984
+ | StackitOpError;
985
+ /** Create a new Service Account key Create a new key to the service account. You can generate an RSA keypair, and post the PUBLIC part of the keypair, or leave empty, then the service will generate a pair. Maximum of 10 key can be added. A new key cannot be created using the same service account (authenticated using the short lived token of another key of the same service account). */
986
+ export const createServiceAccountKey: API.OperationMethod<
987
+ CreateServiceAccountKeyRequest,
988
+ CreateServiceAccountKeyResponse,
989
+ CreateServiceAccountKeyError,
990
+ StackitOpContext
991
+ > = /*@__PURE__*/ API.make(() => ({
992
+ input: CreateServiceAccountKeyRequest,
993
+ output: CreateServiceAccountKeyResponse,
994
+ errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
995
+ protocol: StackitProtocol,
996
+ retry: Retry.Retry,
997
+ }));
998
+
999
+ export type CreateShortLivedAccessTokenError =
1000
+ | BadRequest
1001
+ | Forbidden
1002
+ | StackitOpError;
1003
+ /** Request short lived API access token (OAUTH2). Request a short lived API access token with OAUTH2. Compatible with [Using JWTs as Authorization Grants](https://www.rfc-editor.org/rfc/rfc7523.html#section-2.1) You can request a token with a self signed token, or with a refresh token. */
1004
+ export const createShortLivedAccessToken: API.OperationMethod<
1005
+ CreateShortLivedAccessTokenRequest,
1006
+ CreateShortLivedAccessTokenResponse,
1007
+ CreateShortLivedAccessTokenError,
1008
+ StackitOpContext
1009
+ > = /*@__PURE__*/ API.make(() => ({
1010
+ input: CreateShortLivedAccessTokenRequest,
1011
+ output: CreateShortLivedAccessTokenResponse,
1012
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1013
+ protocol: StackitProtocol,
1014
+ retry: Retry.Retry,
1015
+ }));
1016
+
1017
+ export type DeleteServiceAccountError =
1018
+ | BadRequest
1019
+ | Forbidden
1020
+ | NotFound
1021
+ | StackitOpError;
1022
+ /** Delete Service Account Delete a Service Account. */
1023
+ export const deleteServiceAccount: API.OperationMethod<
1024
+ DeleteServiceAccountRequest,
1025
+ DeleteServiceAccountResponse,
1026
+ DeleteServiceAccountError,
1027
+ StackitOpContext
1028
+ > = /*@__PURE__*/ API.make(() => ({
1029
+ input: DeleteServiceAccountRequest,
1030
+ output: DeleteServiceAccountResponse,
1031
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1032
+ protocol: StackitProtocol,
1033
+ retry: Retry.Retry,
1034
+ }));
1035
+
1036
+ export type DeleteServiceAccountKeyError =
1037
+ | BadRequest
1038
+ | Forbidden
1039
+ | StackitOpError;
1040
+ /** Delete a service account key Delete a key */
1041
+ export const deleteServiceAccountKey: API.OperationMethod<
1042
+ DeleteServiceAccountKeyRequest,
1043
+ DeleteServiceAccountKeyResponse,
1044
+ DeleteServiceAccountKeyError,
1045
+ StackitOpContext
1046
+ > = /*@__PURE__*/ API.make(() => ({
1047
+ input: DeleteServiceAccountKeyRequest,
1048
+ output: DeleteServiceAccountKeyResponse,
1049
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1050
+ protocol: StackitProtocol,
1051
+ retry: Retry.Retry,
1052
+ }));
1053
+
1054
+ export type DeleteServiceFederatedIdentityProviderError =
1055
+ | BadRequest
1056
+ | Forbidden
1057
+ | StackitOpError;
1058
+ /** Delete a service account Federated Identity Provider Delete a Federated Identity Provider */
1059
+ export const deleteServiceFederatedIdentityProvider: API.OperationMethod<
1060
+ DeleteServiceFederatedIdentityProviderRequest,
1061
+ DeleteServiceFederatedIdentityProviderResponse,
1062
+ DeleteServiceFederatedIdentityProviderError,
1063
+ StackitOpContext
1064
+ > = /*@__PURE__*/ API.make(() => ({
1065
+ input: DeleteServiceFederatedIdentityProviderRequest,
1066
+ output: DeleteServiceFederatedIdentityProviderResponse,
1067
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1068
+ protocol: StackitProtocol,
1069
+ retry: Retry.Retry,
1070
+ }));
1071
+
1072
+ export type GetFederatedIdentityProviderError =
1073
+ | BadRequest
1074
+ | Forbidden
1075
+ | NotFound
1076
+ | StackitOpError;
1077
+ /** Get a service account Federated Identity Provider Get a Federated Identity Provider of the service account by its ID. */
1078
+ export const getFederatedIdentityProvider: API.OperationMethod<
1079
+ GetFederatedIdentityProviderRequest,
1080
+ FederatedIdentityProvider,
1081
+ GetFederatedIdentityProviderError,
1082
+ StackitOpContext
1083
+ > = /*@__PURE__*/ API.make(() => ({
1084
+ input: GetFederatedIdentityProviderRequest,
1085
+ output: FederatedIdentityProvider,
1086
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1087
+ protocol: StackitProtocol,
1088
+ retry: Retry.Retry,
1089
+ }));
1090
+
1091
+ export type GetJWKSError = StackitOpError;
1092
+ /** Get JSON Web Key set of the service account Get JSON Web Key set of the service account */
1093
+ export const getJWKS: API.OperationMethod<
1094
+ GetJWKSRequest,
1095
+ JWKS,
1096
+ GetJWKSError,
1097
+ StackitOpContext
1098
+ > = /*@__PURE__*/ API.make(() => ({
1099
+ input: GetJWKSRequest,
1100
+ output: JWKS,
1101
+ errors: [UnknownStackitError],
1102
+ protocol: StackitProtocol,
1103
+ retry: Retry.Retry,
1104
+ }));
1105
+
1106
+ export type GetServiceAccountKeyError = BadRequest | Forbidden | StackitOpError;
1107
+ /** Get service account key details Get key details */
1108
+ export const getServiceAccountKey: API.OperationMethod<
1109
+ GetServiceAccountKeyRequest,
1110
+ GetServiceAccountKeyResponse,
1111
+ GetServiceAccountKeyError,
1112
+ StackitOpContext
1113
+ > = /*@__PURE__*/ API.make(() => ({
1114
+ input: GetServiceAccountKeyRequest,
1115
+ output: GetServiceAccountKeyResponse,
1116
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1117
+ protocol: StackitProtocol,
1118
+ retry: Retry.Retry,
1119
+ }));
1120
+
1121
+ export type ListFederatedIdentityProvidersError =
1122
+ | BadRequest
1123
+ | Forbidden
1124
+ | StackitOpError;
1125
+ /** List all federated identity providers List all the identity providers the service account is federated with. */
1126
+ export const listFederatedIdentityProviders: API.OperationMethod<
1127
+ ListFederatedIdentityProvidersRequest,
1128
+ FederatedListFederatedIdentityProvidersResponse,
1129
+ ListFederatedIdentityProvidersError,
1130
+ StackitOpContext
1131
+ > = /*@__PURE__*/ API.make(() => ({
1132
+ input: ListFederatedIdentityProvidersRequest,
1133
+ output: FederatedListFederatedIdentityProvidersResponse,
1134
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1135
+ protocol: StackitProtocol,
1136
+ retry: Retry.Retry,
1137
+ }));
1138
+
1139
+ export type ListServiceAccountKeysError =
1140
+ | BadRequest
1141
+ | Forbidden
1142
+ | StackitOpError;
1143
+ /** List all keys that belong to the service account List all keys that belong to the service account */
1144
+ export const listServiceAccountKeys: API.OperationMethod<
1145
+ ListServiceAccountKeysRequest,
1146
+ ListServiceAccountKeysResponse,
1147
+ ListServiceAccountKeysError,
1148
+ StackitOpContext
1149
+ > = /*@__PURE__*/ API.make(() => ({
1150
+ input: ListServiceAccountKeysRequest,
1151
+ output: ListServiceAccountKeysResponse,
1152
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1153
+ protocol: StackitProtocol,
1154
+ retry: Retry.Retry,
1155
+ }));
1156
+
1157
+ export type ListServiceAccountsError = BadRequest | Forbidden | StackitOpError;
1158
+ /** List all Service Accounts List all Service Account resources in a project. Returns the service account resources, not the service accounts that has access to the project. */
1159
+ export const listServiceAccounts: API.OperationMethod<
1160
+ ListServiceAccountsRequest,
1161
+ ListServiceAccountsResponse,
1162
+ ListServiceAccountsError,
1163
+ StackitOpContext
1164
+ > = /*@__PURE__*/ API.make(() => ({
1165
+ input: ListServiceAccountsRequest,
1166
+ output: ListServiceAccountsResponse,
1167
+ errors: [BadRequest, Forbidden, UnknownStackitError],
1168
+ protocol: StackitProtocol,
1169
+ retry: Retry.Retry,
1170
+ }));
1171
+
1172
+ export type PartialUpdateServiceAccountFederatedIdentityProviderError =
1173
+ | BadRequest
1174
+ | Forbidden
1175
+ | Conflict
1176
+ | StackitOpError;
1177
+ /** Update Service Account Federated Identity Provider Update a Federated Identity Provider. */
1178
+ export const partialUpdateServiceAccountFederatedIdentityProvider: API.OperationMethod<
1179
+ PartialUpdateServiceAccountFederatedIdentityProviderRequest,
1180
+ FederatedIdentityProvider,
1181
+ PartialUpdateServiceAccountFederatedIdentityProviderError,
1182
+ StackitOpContext
1183
+ > = /*@__PURE__*/ API.make(() => ({
1184
+ input: PartialUpdateServiceAccountFederatedIdentityProviderRequest,
1185
+ output: FederatedIdentityProvider,
1186
+ errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
1187
+ protocol: StackitProtocol,
1188
+ retry: Retry.Retry,
1189
+ }));
1190
+
1191
+ export type PartialUpdateServiceAccountKeyError =
1192
+ | BadRequest
1193
+ | Forbidden
1194
+ | Conflict
1195
+ | StackitOpError;
1196
+ /** Update Service Account key Update a key. You can activate or deactivate a key, or set/delete validUntil. The key cannot be updated using the same service account (authenticated using the short lived token of the key). */
1197
+ export const partialUpdateServiceAccountKey: API.OperationMethod<
1198
+ PartialUpdateServiceAccountKeyRequest,
1199
+ PartialUpdateServiceAccountKeyResponse,
1200
+ PartialUpdateServiceAccountKeyError,
1201
+ StackitOpContext
1202
+ > = /*@__PURE__*/ API.make(() => ({
1203
+ input: PartialUpdateServiceAccountKeyRequest,
1204
+ output: PartialUpdateServiceAccountKeyResponse,
1205
+ errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
1206
+ protocol: StackitProtocol,
1207
+ retry: Retry.Retry,
1208
+ }));