@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
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.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/src/services/kms.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
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
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
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";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -50,11 +46,11 @@ export class NotFound
|
|
|
50
46
|
) {}
|
|
51
47
|
|
|
52
48
|
export type CreateKeyRequestRegionId = "eu01";
|
|
53
|
-
export const CreateKeyRequestRegionId =
|
|
49
|
+
export const CreateKeyRequestRegionId = S.String;
|
|
54
50
|
|
|
55
51
|
/** The access scope of the key. */
|
|
56
52
|
export type AccessScope = "PUBLIC" | "SNA";
|
|
57
|
-
export const AccessScope =
|
|
53
|
+
export const AccessScope = S.String;
|
|
58
54
|
|
|
59
55
|
/** The algorithm the key material uses. */
|
|
60
56
|
export type Algorithm =
|
|
@@ -69,7 +65,7 @@ export type Algorithm =
|
|
|
69
65
|
| "ecdsa_p256_sha256"
|
|
70
66
|
| "ecdsa_p384_sha384"
|
|
71
67
|
| "ecdsa_p521_sha512";
|
|
72
|
-
export const Algorithm =
|
|
68
|
+
export const Algorithm = S.String;
|
|
73
69
|
|
|
74
70
|
/** The purpose of the key. */
|
|
75
71
|
export type Purpose =
|
|
@@ -77,7 +73,7 @@ export type Purpose =
|
|
|
77
73
|
| "asymmetric_encrypt_decrypt"
|
|
78
74
|
| "message_authentication_code"
|
|
79
75
|
| "asymmetric_sign_verify";
|
|
80
|
-
export const Purpose =
|
|
76
|
+
export const Purpose = S.String;
|
|
81
77
|
|
|
82
78
|
export interface CreateKeyRequest {
|
|
83
79
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -117,9 +113,7 @@ export const CreateKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
117
113
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
118
114
|
}),
|
|
119
115
|
),
|
|
120
|
-
).annotate({
|
|
121
|
-
identifier: "CreateKeyRequest",
|
|
122
|
-
}) as any as S.Schema<CreateKeyRequest>;
|
|
116
|
+
).annotate({ identifier: "CreateKeyRequest" }) as any as S.Schema<CreateKeyRequest>;
|
|
123
117
|
|
|
124
118
|
/** The current state of the key. */
|
|
125
119
|
export type KeyState =
|
|
@@ -129,7 +123,7 @@ export type KeyState =
|
|
|
129
123
|
| "errors_exist"
|
|
130
124
|
| "creating"
|
|
131
125
|
| "no_version";
|
|
132
|
-
export const KeyState =
|
|
126
|
+
export const KeyState = S.String;
|
|
133
127
|
|
|
134
128
|
export interface Key {
|
|
135
129
|
access_scope: AccessScope;
|
|
@@ -171,7 +165,7 @@ export const Key = /*@__PURE__*/ S.suspend(() =>
|
|
|
171
165
|
).annotate({ identifier: "Key" }) as any as S.Schema<Key>;
|
|
172
166
|
|
|
173
167
|
export type CreateKeyRingRequestRegionId = "eu01";
|
|
174
|
-
export const CreateKeyRingRequestRegionId =
|
|
168
|
+
export const CreateKeyRingRequestRegionId = S.String;
|
|
175
169
|
|
|
176
170
|
export interface CreateKeyRingRequest {
|
|
177
171
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -197,13 +191,11 @@ export const CreateKeyRingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
197
191
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
198
192
|
}),
|
|
199
193
|
),
|
|
200
|
-
).annotate({
|
|
201
|
-
identifier: "CreateKeyRingRequest",
|
|
202
|
-
}) as any as S.Schema<CreateKeyRingRequest>;
|
|
194
|
+
).annotate({ identifier: "CreateKeyRingRequest" }) as any as S.Schema<CreateKeyRingRequest>;
|
|
203
195
|
|
|
204
196
|
/** The current state of the key ring. */
|
|
205
197
|
export type KeyRingState = "creating" | "active" | "deleted";
|
|
206
|
-
export const KeyRingState =
|
|
198
|
+
export const KeyRingState = S.String;
|
|
207
199
|
|
|
208
200
|
export interface KeyRing {
|
|
209
201
|
/** The date and time the creation of the key ring was triggered. */
|
|
@@ -228,7 +220,7 @@ export const KeyRing = /*@__PURE__*/ S.suspend(() =>
|
|
|
228
220
|
).annotate({ identifier: "KeyRing" }) as any as S.Schema<KeyRing>;
|
|
229
221
|
|
|
230
222
|
export type CreateWrappingKeyRequestRegionId = "eu01";
|
|
231
|
-
export const CreateWrappingKeyRequestRegionId =
|
|
223
|
+
export const CreateWrappingKeyRequestRegionId = S.String;
|
|
232
224
|
|
|
233
225
|
/** The wrapping algorithm used to wrap the key to import. */
|
|
234
226
|
export type WrappingAlgorithm =
|
|
@@ -240,11 +232,11 @@ export type WrappingAlgorithm =
|
|
|
240
232
|
| "rsa_3072_oaep_sha256_aes_256_key_wrap"
|
|
241
233
|
| "rsa_4096_oaep_sha256_aes_256_key_wrap"
|
|
242
234
|
| "rsa_4096_oaep_sha512_aes_256_key_wrap";
|
|
243
|
-
export const WrappingAlgorithm =
|
|
235
|
+
export const WrappingAlgorithm = S.String;
|
|
244
236
|
|
|
245
237
|
/** The wrapping purpose for the wrapping key. */
|
|
246
238
|
export type WrappingPurpose = "wrap_symmetric_key" | "wrap_asymmetric_key";
|
|
247
|
-
export const WrappingPurpose =
|
|
239
|
+
export const WrappingPurpose = S.String;
|
|
248
240
|
|
|
249
241
|
export interface CreateWrappingKeyRequest {
|
|
250
242
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -281,9 +273,7 @@ export const CreateWrappingKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
281
273
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
282
274
|
}),
|
|
283
275
|
),
|
|
284
|
-
).annotate({
|
|
285
|
-
identifier: "CreateWrappingKeyRequest",
|
|
286
|
-
}) as any as S.Schema<CreateWrappingKeyRequest>;
|
|
276
|
+
).annotate({ identifier: "CreateWrappingKeyRequest" }) as any as S.Schema<CreateWrappingKeyRequest>;
|
|
287
277
|
|
|
288
278
|
/** The current state of the wrapping key. */
|
|
289
279
|
export type WrappingKeyState =
|
|
@@ -292,7 +282,7 @@ export type WrappingKeyState =
|
|
|
292
282
|
| "expired"
|
|
293
283
|
| "deleted"
|
|
294
284
|
| "key_material_unavailable";
|
|
295
|
-
export const WrappingKeyState =
|
|
285
|
+
export const WrappingKeyState = S.String;
|
|
296
286
|
|
|
297
287
|
export interface WrappingKey {
|
|
298
288
|
access_scope: AccessScope;
|
|
@@ -334,7 +324,7 @@ export const WrappingKey = /*@__PURE__*/ S.suspend(() =>
|
|
|
334
324
|
).annotate({ identifier: "WrappingKey" }) as any as S.Schema<WrappingKey>;
|
|
335
325
|
|
|
336
326
|
export type DecryptRequestRegionId = "eu01";
|
|
337
|
-
export const DecryptRequestRegionId =
|
|
327
|
+
export const DecryptRequestRegionId = S.String;
|
|
338
328
|
|
|
339
329
|
export interface DecryptRequest {
|
|
340
330
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -379,7 +369,7 @@ export const DecryptedData = /*@__PURE__*/ S.suspend(() =>
|
|
|
379
369
|
).annotate({ identifier: "DecryptedData" }) as any as S.Schema<DecryptedData>;
|
|
380
370
|
|
|
381
371
|
export type DeleteKeyRequestRegionId = "eu01";
|
|
382
|
-
export const DeleteKeyRequestRegionId =
|
|
372
|
+
export const DeleteKeyRequestRegionId = S.String;
|
|
383
373
|
|
|
384
374
|
export interface DeleteKeyRequest {
|
|
385
375
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -405,19 +395,15 @@ export const DeleteKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
405
395
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
406
396
|
}),
|
|
407
397
|
),
|
|
408
|
-
).annotate({
|
|
409
|
-
identifier: "DeleteKeyRequest",
|
|
410
|
-
}) as any as S.Schema<DeleteKeyRequest>;
|
|
398
|
+
).annotate({ identifier: "DeleteKeyRequest" }) as any as S.Schema<DeleteKeyRequest>;
|
|
411
399
|
|
|
412
400
|
export interface DeleteKeyResponse {}
|
|
413
|
-
export const DeleteKeyResponse = /*@__PURE__*/ S.suspend(() =>
|
|
414
|
-
S.Struct({}),
|
|
415
|
-
).annotate({
|
|
401
|
+
export const DeleteKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
416
402
|
identifier: "DeleteKeyResponse",
|
|
417
403
|
}) as any as S.Schema<DeleteKeyResponse>;
|
|
418
404
|
|
|
419
405
|
export type DeleteKeyRingRequestRegionId = "eu01";
|
|
420
|
-
export const DeleteKeyRingRequestRegionId =
|
|
406
|
+
export const DeleteKeyRingRequestRegionId = S.String;
|
|
421
407
|
|
|
422
408
|
export interface DeleteKeyRingRequest {
|
|
423
409
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -440,19 +426,15 @@ export const DeleteKeyRingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
440
426
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
441
427
|
}),
|
|
442
428
|
),
|
|
443
|
-
).annotate({
|
|
444
|
-
identifier: "DeleteKeyRingRequest",
|
|
445
|
-
}) as any as S.Schema<DeleteKeyRingRequest>;
|
|
429
|
+
).annotate({ identifier: "DeleteKeyRingRequest" }) as any as S.Schema<DeleteKeyRingRequest>;
|
|
446
430
|
|
|
447
431
|
export interface DeleteKeyRingResponse {}
|
|
448
|
-
export const DeleteKeyRingResponse = /*@__PURE__*/ S.suspend(() =>
|
|
449
|
-
S.Struct({}),
|
|
450
|
-
).annotate({
|
|
432
|
+
export const DeleteKeyRingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
451
433
|
identifier: "DeleteKeyRingResponse",
|
|
452
434
|
}) as any as S.Schema<DeleteKeyRingResponse>;
|
|
453
435
|
|
|
454
436
|
export type DeleteWrappingKeyRequestRegionId = "eu01";
|
|
455
|
-
export const DeleteWrappingKeyRequestRegionId =
|
|
437
|
+
export const DeleteWrappingKeyRequestRegionId = S.String;
|
|
456
438
|
|
|
457
439
|
export interface DeleteWrappingKeyRequest {
|
|
458
440
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -478,19 +460,15 @@ export const DeleteWrappingKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
478
460
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
479
461
|
}),
|
|
480
462
|
),
|
|
481
|
-
).annotate({
|
|
482
|
-
identifier: "DeleteWrappingKeyRequest",
|
|
483
|
-
}) as any as S.Schema<DeleteWrappingKeyRequest>;
|
|
463
|
+
).annotate({ identifier: "DeleteWrappingKeyRequest" }) as any as S.Schema<DeleteWrappingKeyRequest>;
|
|
484
464
|
|
|
485
465
|
export interface DeleteWrappingKeyResponse {}
|
|
486
|
-
export const DeleteWrappingKeyResponse = /*@__PURE__*/ S.suspend(() =>
|
|
487
|
-
S.Struct({}),
|
|
488
|
-
).annotate({
|
|
466
|
+
export const DeleteWrappingKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
489
467
|
identifier: "DeleteWrappingKeyResponse",
|
|
490
468
|
}) as any as S.Schema<DeleteWrappingKeyResponse>;
|
|
491
469
|
|
|
492
470
|
export type DestroyVersionRequestRegionId = "eu01";
|
|
493
|
-
export const DestroyVersionRequestRegionId =
|
|
471
|
+
export const DestroyVersionRequestRegionId = S.String;
|
|
494
472
|
|
|
495
473
|
export interface DestroyVersionRequest {
|
|
496
474
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -519,19 +497,15 @@ export const DestroyVersionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
519
497
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
520
498
|
}),
|
|
521
499
|
),
|
|
522
|
-
).annotate({
|
|
523
|
-
identifier: "DestroyVersionRequest",
|
|
524
|
-
}) as any as S.Schema<DestroyVersionRequest>;
|
|
500
|
+
).annotate({ identifier: "DestroyVersionRequest" }) as any as S.Schema<DestroyVersionRequest>;
|
|
525
501
|
|
|
526
502
|
export interface DestroyVersionResponse {}
|
|
527
|
-
export const DestroyVersionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
528
|
-
S.Struct({}),
|
|
529
|
-
).annotate({
|
|
503
|
+
export const DestroyVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
530
504
|
identifier: "DestroyVersionResponse",
|
|
531
505
|
}) as any as S.Schema<DestroyVersionResponse>;
|
|
532
506
|
|
|
533
507
|
export type DisableVersionRequestRegionId = "eu01";
|
|
534
|
-
export const DisableVersionRequestRegionId =
|
|
508
|
+
export const DisableVersionRequestRegionId = S.String;
|
|
535
509
|
|
|
536
510
|
export interface DisableVersionRequest {
|
|
537
511
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -560,19 +534,15 @@ export const DisableVersionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
560
534
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
561
535
|
}),
|
|
562
536
|
),
|
|
563
|
-
).annotate({
|
|
564
|
-
identifier: "DisableVersionRequest",
|
|
565
|
-
}) as any as S.Schema<DisableVersionRequest>;
|
|
537
|
+
).annotate({ identifier: "DisableVersionRequest" }) as any as S.Schema<DisableVersionRequest>;
|
|
566
538
|
|
|
567
539
|
export interface DisableVersionResponse {}
|
|
568
|
-
export const DisableVersionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
569
|
-
S.Struct({}),
|
|
570
|
-
).annotate({
|
|
540
|
+
export const DisableVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
571
541
|
identifier: "DisableVersionResponse",
|
|
572
542
|
}) as any as S.Schema<DisableVersionResponse>;
|
|
573
543
|
|
|
574
544
|
export type EnableVersionRequestRegionId = "eu01";
|
|
575
|
-
export const EnableVersionRequestRegionId =
|
|
545
|
+
export const EnableVersionRequestRegionId = S.String;
|
|
576
546
|
|
|
577
547
|
export interface EnableVersionRequest {
|
|
578
548
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -601,19 +571,15 @@ export const EnableVersionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
601
571
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
602
572
|
}),
|
|
603
573
|
),
|
|
604
|
-
).annotate({
|
|
605
|
-
identifier: "EnableVersionRequest",
|
|
606
|
-
}) as any as S.Schema<EnableVersionRequest>;
|
|
574
|
+
).annotate({ identifier: "EnableVersionRequest" }) as any as S.Schema<EnableVersionRequest>;
|
|
607
575
|
|
|
608
576
|
export interface EnableVersionResponse {}
|
|
609
|
-
export const EnableVersionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
610
|
-
S.Struct({}),
|
|
611
|
-
).annotate({
|
|
577
|
+
export const EnableVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
612
578
|
identifier: "EnableVersionResponse",
|
|
613
579
|
}) as any as S.Schema<EnableVersionResponse>;
|
|
614
580
|
|
|
615
581
|
export type EncryptRequestRegionId = "eu01";
|
|
616
|
-
export const EncryptRequestRegionId =
|
|
582
|
+
export const EncryptRequestRegionId = S.String;
|
|
617
583
|
|
|
618
584
|
export interface EncryptRequest {
|
|
619
585
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -658,7 +624,7 @@ export const EncryptedData = /*@__PURE__*/ S.suspend(() =>
|
|
|
658
624
|
).annotate({ identifier: "EncryptedData" }) as any as S.Schema<EncryptedData>;
|
|
659
625
|
|
|
660
626
|
export type GetKeyRequestRegionId = "eu01";
|
|
661
|
-
export const GetKeyRequestRegionId =
|
|
627
|
+
export const GetKeyRequestRegionId = S.String;
|
|
662
628
|
|
|
663
629
|
export interface GetKeyRequest {
|
|
664
630
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -687,7 +653,7 @@ export const GetKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
687
653
|
).annotate({ identifier: "GetKeyRequest" }) as any as S.Schema<GetKeyRequest>;
|
|
688
654
|
|
|
689
655
|
export type GetKeyRingRequestRegionId = "eu01";
|
|
690
|
-
export const GetKeyRingRequestRegionId =
|
|
656
|
+
export const GetKeyRingRequestRegionId = S.String;
|
|
691
657
|
|
|
692
658
|
export interface GetKeyRingRequest {
|
|
693
659
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -710,12 +676,10 @@ export const GetKeyRingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
710
676
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
711
677
|
}),
|
|
712
678
|
),
|
|
713
|
-
).annotate({
|
|
714
|
-
identifier: "GetKeyRingRequest",
|
|
715
|
-
}) as any as S.Schema<GetKeyRingRequest>;
|
|
679
|
+
).annotate({ identifier: "GetKeyRingRequest" }) as any as S.Schema<GetKeyRingRequest>;
|
|
716
680
|
|
|
717
681
|
export type GetVersionRequestRegionId = "eu01";
|
|
718
|
-
export const GetVersionRequestRegionId =
|
|
682
|
+
export const GetVersionRequestRegionId = S.String;
|
|
719
683
|
|
|
720
684
|
export interface GetVersionRequest {
|
|
721
685
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -744,9 +708,7 @@ export const GetVersionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
744
708
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
745
709
|
}),
|
|
746
710
|
),
|
|
747
|
-
).annotate({
|
|
748
|
-
identifier: "GetVersionRequest",
|
|
749
|
-
}) as any as S.Schema<GetVersionRequest>;
|
|
711
|
+
).annotate({ identifier: "GetVersionRequest" }) as any as S.Schema<GetVersionRequest>;
|
|
750
712
|
|
|
751
713
|
/** The current state of the key. */
|
|
752
714
|
export type VersionState =
|
|
@@ -756,7 +718,7 @@ export type VersionState =
|
|
|
756
718
|
| "key_material_unavailable"
|
|
757
719
|
| "disabled"
|
|
758
720
|
| "destroyed";
|
|
759
|
-
export const VersionState =
|
|
721
|
+
export const VersionState = S.String;
|
|
760
722
|
|
|
761
723
|
export interface Version {
|
|
762
724
|
/** The date and time the creation of the key was triggered. */
|
|
@@ -790,7 +752,7 @@ export const Version = /*@__PURE__*/ S.suspend(() =>
|
|
|
790
752
|
).annotate({ identifier: "Version" }) as any as S.Schema<Version>;
|
|
791
753
|
|
|
792
754
|
export type GetWrappingKeyRequestRegionId = "eu01";
|
|
793
|
-
export const GetWrappingKeyRequestRegionId =
|
|
755
|
+
export const GetWrappingKeyRequestRegionId = S.String;
|
|
794
756
|
|
|
795
757
|
export interface GetWrappingKeyRequest {
|
|
796
758
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -816,12 +778,10 @@ export const GetWrappingKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
816
778
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
817
779
|
}),
|
|
818
780
|
),
|
|
819
|
-
).annotate({
|
|
820
|
-
identifier: "GetWrappingKeyRequest",
|
|
821
|
-
}) as any as S.Schema<GetWrappingKeyRequest>;
|
|
781
|
+
).annotate({ identifier: "GetWrappingKeyRequest" }) as any as S.Schema<GetWrappingKeyRequest>;
|
|
822
782
|
|
|
823
783
|
export type ImportKeyRequestRegionId = "eu01";
|
|
824
|
-
export const ImportKeyRequestRegionId =
|
|
784
|
+
export const ImportKeyRequestRegionId = S.String;
|
|
825
785
|
|
|
826
786
|
export interface ImportKeyRequest {
|
|
827
787
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -853,12 +813,10 @@ export const ImportKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
853
813
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
854
814
|
}),
|
|
855
815
|
),
|
|
856
|
-
).annotate({
|
|
857
|
-
identifier: "ImportKeyRequest",
|
|
858
|
-
}) as any as S.Schema<ImportKeyRequest>;
|
|
816
|
+
).annotate({ identifier: "ImportKeyRequest" }) as any as S.Schema<ImportKeyRequest>;
|
|
859
817
|
|
|
860
818
|
export type ListKeyRingsRequestRegionId = "eu01";
|
|
861
|
-
export const ListKeyRingsRequestRegionId =
|
|
819
|
+
export const ListKeyRingsRequestRegionId = S.String;
|
|
862
820
|
|
|
863
821
|
export interface ListKeyRingsRequest {
|
|
864
822
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -878,9 +836,7 @@ export const ListKeyRingsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
878
836
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
879
837
|
}),
|
|
880
838
|
),
|
|
881
|
-
).annotate({
|
|
882
|
-
identifier: "ListKeyRingsRequest",
|
|
883
|
-
}) as any as S.Schema<ListKeyRingsRequest>;
|
|
839
|
+
).annotate({ identifier: "ListKeyRingsRequest" }) as any as S.Schema<ListKeyRingsRequest>;
|
|
884
840
|
|
|
885
841
|
export type KeyRingListKeyRingsList = Array<KeyRing>;
|
|
886
842
|
export const KeyRingListKeyRingsList = /*@__PURE__*/ S.Array(
|
|
@@ -897,7 +853,7 @@ export const KeyRingList = /*@__PURE__*/ S.suspend(() =>
|
|
|
897
853
|
).annotate({ identifier: "KeyRingList" }) as any as S.Schema<KeyRingList>;
|
|
898
854
|
|
|
899
855
|
export type ListKeysRequestRegionId = "eu01";
|
|
900
|
-
export const ListKeysRequestRegionId =
|
|
856
|
+
export const ListKeysRequestRegionId = S.String;
|
|
901
857
|
|
|
902
858
|
export interface ListKeysRequest {
|
|
903
859
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -920,14 +876,10 @@ export const ListKeysRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
920
876
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
921
877
|
}),
|
|
922
878
|
),
|
|
923
|
-
).annotate({
|
|
924
|
-
identifier: "ListKeysRequest",
|
|
925
|
-
}) as any as S.Schema<ListKeysRequest>;
|
|
879
|
+
).annotate({ identifier: "ListKeysRequest" }) as any as S.Schema<ListKeysRequest>;
|
|
926
880
|
|
|
927
881
|
export type KeyListKeysList = Array<Key>;
|
|
928
|
-
export const KeyListKeysList = /*@__PURE__*/ S.Array(
|
|
929
|
-
Key,
|
|
930
|
-
) as any as S.Schema<KeyListKeysList>;
|
|
882
|
+
export const KeyListKeysList = /*@__PURE__*/ S.Array(Key) as any as S.Schema<KeyListKeysList>;
|
|
931
883
|
|
|
932
884
|
export interface KeyList {
|
|
933
885
|
keys: KeyListKeysList;
|
|
@@ -939,7 +891,7 @@ export const KeyList = /*@__PURE__*/ S.suspend(() =>
|
|
|
939
891
|
).annotate({ identifier: "KeyList" }) as any as S.Schema<KeyList>;
|
|
940
892
|
|
|
941
893
|
export type ListVersionsRequestRegionId = "eu01";
|
|
942
|
-
export const ListVersionsRequestRegionId =
|
|
894
|
+
export const ListVersionsRequestRegionId = S.String;
|
|
943
895
|
|
|
944
896
|
export interface ListVersionsRequest {
|
|
945
897
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -965,9 +917,7 @@ export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
965
917
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
966
918
|
}),
|
|
967
919
|
),
|
|
968
|
-
).annotate({
|
|
969
|
-
identifier: "ListVersionsRequest",
|
|
970
|
-
}) as any as S.Schema<ListVersionsRequest>;
|
|
920
|
+
).annotate({ identifier: "ListVersionsRequest" }) as any as S.Schema<ListVersionsRequest>;
|
|
971
921
|
|
|
972
922
|
export type VersionListVersionsList = Array<Version>;
|
|
973
923
|
export const VersionListVersionsList = /*@__PURE__*/ S.Array(
|
|
@@ -984,7 +934,7 @@ export const VersionList = /*@__PURE__*/ S.suspend(() =>
|
|
|
984
934
|
).annotate({ identifier: "VersionList" }) as any as S.Schema<VersionList>;
|
|
985
935
|
|
|
986
936
|
export type ListWrappingKeysRequestRegionId = "eu01";
|
|
987
|
-
export const ListWrappingKeysRequestRegionId =
|
|
937
|
+
export const ListWrappingKeysRequestRegionId = S.String;
|
|
988
938
|
|
|
989
939
|
export interface ListWrappingKeysRequest {
|
|
990
940
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1007,9 +957,7 @@ export const ListWrappingKeysRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1007
957
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
1008
958
|
}),
|
|
1009
959
|
),
|
|
1010
|
-
).annotate({
|
|
1011
|
-
identifier: "ListWrappingKeysRequest",
|
|
1012
|
-
}) as any as S.Schema<ListWrappingKeysRequest>;
|
|
960
|
+
).annotate({ identifier: "ListWrappingKeysRequest" }) as any as S.Schema<ListWrappingKeysRequest>;
|
|
1013
961
|
|
|
1014
962
|
export type WrappingKeyListWrappingKeysList = Array<WrappingKey>;
|
|
1015
963
|
export const WrappingKeyListWrappingKeysList = /*@__PURE__*/ S.Array(
|
|
@@ -1023,12 +971,10 @@ export const WrappingKeyList = /*@__PURE__*/ S.suspend(() =>
|
|
|
1023
971
|
S.Struct({
|
|
1024
972
|
wrappingKeys: WrappingKeyListWrappingKeysList,
|
|
1025
973
|
}),
|
|
1026
|
-
).annotate({
|
|
1027
|
-
identifier: "WrappingKeyList",
|
|
1028
|
-
}) as any as S.Schema<WrappingKeyList>;
|
|
974
|
+
).annotate({ identifier: "WrappingKeyList" }) as any as S.Schema<WrappingKeyList>;
|
|
1029
975
|
|
|
1030
976
|
export type RestoreKeyRequestRegionId = "eu01";
|
|
1031
|
-
export const RestoreKeyRequestRegionId =
|
|
977
|
+
export const RestoreKeyRequestRegionId = S.String;
|
|
1032
978
|
|
|
1033
979
|
export interface RestoreKeyRequest {
|
|
1034
980
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1054,19 +1000,15 @@ export const RestoreKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1054
1000
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
1055
1001
|
}),
|
|
1056
1002
|
),
|
|
1057
|
-
).annotate({
|
|
1058
|
-
identifier: "RestoreKeyRequest",
|
|
1059
|
-
}) as any as S.Schema<RestoreKeyRequest>;
|
|
1003
|
+
).annotate({ identifier: "RestoreKeyRequest" }) as any as S.Schema<RestoreKeyRequest>;
|
|
1060
1004
|
|
|
1061
1005
|
export interface RestoreKeyResponse {}
|
|
1062
|
-
export const RestoreKeyResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1063
|
-
S.Struct({}),
|
|
1064
|
-
).annotate({
|
|
1006
|
+
export const RestoreKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1065
1007
|
identifier: "RestoreKeyResponse",
|
|
1066
1008
|
}) as any as S.Schema<RestoreKeyResponse>;
|
|
1067
1009
|
|
|
1068
1010
|
export type RestoreVersionRequestRegionId = "eu01";
|
|
1069
|
-
export const RestoreVersionRequestRegionId =
|
|
1011
|
+
export const RestoreVersionRequestRegionId = S.String;
|
|
1070
1012
|
|
|
1071
1013
|
export interface RestoreVersionRequest {
|
|
1072
1014
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1095,19 +1037,15 @@ export const RestoreVersionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1095
1037
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
1096
1038
|
}),
|
|
1097
1039
|
),
|
|
1098
|
-
).annotate({
|
|
1099
|
-
identifier: "RestoreVersionRequest",
|
|
1100
|
-
}) as any as S.Schema<RestoreVersionRequest>;
|
|
1040
|
+
).annotate({ identifier: "RestoreVersionRequest" }) as any as S.Schema<RestoreVersionRequest>;
|
|
1101
1041
|
|
|
1102
1042
|
export interface RestoreVersionResponse {}
|
|
1103
|
-
export const RestoreVersionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1104
|
-
S.Struct({}),
|
|
1105
|
-
).annotate({
|
|
1043
|
+
export const RestoreVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1106
1044
|
identifier: "RestoreVersionResponse",
|
|
1107
1045
|
}) as any as S.Schema<RestoreVersionResponse>;
|
|
1108
1046
|
|
|
1109
1047
|
export type RotateKeyRequestRegionId = "eu01";
|
|
1110
|
-
export const RotateKeyRequestRegionId =
|
|
1048
|
+
export const RotateKeyRequestRegionId = S.String;
|
|
1111
1049
|
|
|
1112
1050
|
export interface RotateKeyRequest {
|
|
1113
1051
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1133,12 +1071,10 @@ export const RotateKeyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1133
1071
|
baseUrl: "https://kms.api.stackit.cloud",
|
|
1134
1072
|
}),
|
|
1135
1073
|
),
|
|
1136
|
-
).annotate({
|
|
1137
|
-
identifier: "RotateKeyRequest",
|
|
1138
|
-
}) as any as S.Schema<RotateKeyRequest>;
|
|
1074
|
+
).annotate({ identifier: "RotateKeyRequest" }) as any as S.Schema<RotateKeyRequest>;
|
|
1139
1075
|
|
|
1140
1076
|
export type SignRequestRegionId = "eu01";
|
|
1141
|
-
export const SignRequestRegionId =
|
|
1077
|
+
export const SignRequestRegionId = S.String;
|
|
1142
1078
|
|
|
1143
1079
|
export interface SignRequest {
|
|
1144
1080
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1186,7 +1122,7 @@ export const SignedData = /*@__PURE__*/ S.suspend(() =>
|
|
|
1186
1122
|
).annotate({ identifier: "SignedData" }) as any as S.Schema<SignedData>;
|
|
1187
1123
|
|
|
1188
1124
|
export type VerifyRequestRegionId = "eu01";
|
|
1189
|
-
export const VerifyRequestRegionId =
|
|
1125
|
+
export const VerifyRequestRegionId = S.String;
|
|
1190
1126
|
|
|
1191
1127
|
export interface VerifyRequest {
|
|
1192
1128
|
/** The STACKIT portal project UUID the key ring is part of. */
|
|
@@ -1308,11 +1244,7 @@ export const deleteKey: API.OperationMethod<
|
|
|
1308
1244
|
retry: Retry.Retry,
|
|
1309
1245
|
}));
|
|
1310
1246
|
|
|
1311
|
-
export type DeleteKeyRingError =
|
|
1312
|
-
| BadRequest
|
|
1313
|
-
| NotFound
|
|
1314
|
-
| Conflict
|
|
1315
|
-
| StackitOpError;
|
|
1247
|
+
export type DeleteKeyRingError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1316
1248
|
/** Delete keyring Deletes the given key ring if it is empty */
|
|
1317
1249
|
export const deleteKeyRing: API.OperationMethod<
|
|
1318
1250
|
DeleteKeyRingRequest,
|
|
@@ -1327,11 +1259,7 @@ export const deleteKeyRing: API.OperationMethod<
|
|
|
1327
1259
|
retry: Retry.Retry,
|
|
1328
1260
|
}));
|
|
1329
1261
|
|
|
1330
|
-
export type DeleteWrappingKeyError =
|
|
1331
|
-
| BadRequest
|
|
1332
|
-
| NotFound
|
|
1333
|
-
| Conflict
|
|
1334
|
-
| StackitOpError;
|
|
1262
|
+
export type DeleteWrappingKeyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1335
1263
|
/** Delete wrapping key Deletes the given wrapping key */
|
|
1336
1264
|
export const deleteWrappingKey: API.OperationMethod<
|
|
1337
1265
|
DeleteWrappingKeyRequest,
|
|
@@ -1346,11 +1274,7 @@ export const deleteWrappingKey: API.OperationMethod<
|
|
|
1346
1274
|
retry: Retry.Retry,
|
|
1347
1275
|
}));
|
|
1348
1276
|
|
|
1349
|
-
export type DestroyVersionError =
|
|
1350
|
-
| BadRequest
|
|
1351
|
-
| NotFound
|
|
1352
|
-
| Conflict
|
|
1353
|
-
| StackitOpError;
|
|
1277
|
+
export type DestroyVersionError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1354
1278
|
/** Destroy version Removes the key material of a version permanently. */
|
|
1355
1279
|
export const destroyVersion: API.OperationMethod<
|
|
1356
1280
|
DestroyVersionRequest,
|
|
@@ -1365,11 +1289,7 @@ export const destroyVersion: API.OperationMethod<
|
|
|
1365
1289
|
retry: Retry.Retry,
|
|
1366
1290
|
}));
|
|
1367
1291
|
|
|
1368
|
-
export type DisableVersionError =
|
|
1369
|
-
| BadRequest
|
|
1370
|
-
| NotFound
|
|
1371
|
-
| Conflict
|
|
1372
|
-
| StackitOpError;
|
|
1292
|
+
export type DisableVersionError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1373
1293
|
/** Disable version Disables the given version. */
|
|
1374
1294
|
export const disableVersion: API.OperationMethod<
|
|
1375
1295
|
DisableVersionRequest,
|
|
@@ -1384,11 +1304,7 @@ export const disableVersion: API.OperationMethod<
|
|
|
1384
1304
|
retry: Retry.Retry,
|
|
1385
1305
|
}));
|
|
1386
1306
|
|
|
1387
|
-
export type EnableVersionError =
|
|
1388
|
-
| BadRequest
|
|
1389
|
-
| NotFound
|
|
1390
|
-
| Conflict
|
|
1391
|
-
| StackitOpError;
|
|
1307
|
+
export type EnableVersionError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1392
1308
|
/** Enable version Enables the given version. */
|
|
1393
1309
|
export const enableVersion: API.OperationMethod<
|
|
1394
1310
|
EnableVersionRequest,
|
|
@@ -1420,18 +1336,14 @@ export const encrypt: API.OperationMethod<
|
|
|
1420
1336
|
|
|
1421
1337
|
export type GetKeyError = BadRequest | NotFound | StackitOpError;
|
|
1422
1338
|
/** Get key Returns the details for the given key. */
|
|
1423
|
-
export const getKey: API.OperationMethod<
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1432
|
-
protocol: StackitProtocol,
|
|
1433
|
-
retry: Retry.Retry,
|
|
1434
|
-
}));
|
|
1339
|
+
export const getKey: API.OperationMethod<GetKeyRequest, Key, GetKeyError, StackitOpContext> =
|
|
1340
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1341
|
+
input: GetKeyRequest,
|
|
1342
|
+
output: Key,
|
|
1343
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1344
|
+
protocol: StackitProtocol,
|
|
1345
|
+
retry: Retry.Retry,
|
|
1346
|
+
}));
|
|
1435
1347
|
|
|
1436
1348
|
export type GetKeyRingError = BadRequest | NotFound | StackitOpError;
|
|
1437
1349
|
/** Get key ring Returns the details for the given key ring. */
|
|
@@ -1568,11 +1480,7 @@ export const restoreKey: API.OperationMethod<
|
|
|
1568
1480
|
retry: Retry.Retry,
|
|
1569
1481
|
}));
|
|
1570
1482
|
|
|
1571
|
-
export type RestoreVersionError =
|
|
1572
|
-
| BadRequest
|
|
1573
|
-
| NotFound
|
|
1574
|
-
| Conflict
|
|
1575
|
-
| StackitOpError;
|
|
1483
|
+
export type RestoreVersionError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1576
1484
|
/** Restore version Restores the given version from being destroyed */
|
|
1577
1485
|
export const restoreVersion: API.OperationMethod<
|
|
1578
1486
|
RestoreVersionRequest,
|
|
@@ -1587,12 +1495,7 @@ export const restoreVersion: API.OperationMethod<
|
|
|
1587
1495
|
retry: Retry.Retry,
|
|
1588
1496
|
}));
|
|
1589
1497
|
|
|
1590
|
-
export type RotateKeyError =
|
|
1591
|
-
| BadRequest
|
|
1592
|
-
| Forbidden
|
|
1593
|
-
| NotFound
|
|
1594
|
-
| Conflict
|
|
1595
|
-
| StackitOpError;
|
|
1498
|
+
export type RotateKeyError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
1596
1499
|
/** Rotate key Rotates the given key. */
|
|
1597
1500
|
export const rotateKey: API.OperationMethod<
|
|
1598
1501
|
RotateKeyRequest,
|
|
@@ -1609,18 +1512,14 @@ export const rotateKey: API.OperationMethod<
|
|
|
1609
1512
|
|
|
1610
1513
|
export type SignError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1611
1514
|
/** Sign Sign data using the given key version as secret. */
|
|
1612
|
-
export const sign: API.OperationMethod<
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
1621
|
-
protocol: StackitProtocol,
|
|
1622
|
-
retry: Retry.Retry,
|
|
1623
|
-
}));
|
|
1515
|
+
export const sign: API.OperationMethod<SignRequest, SignedData, SignError, StackitOpContext> =
|
|
1516
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1517
|
+
input: SignRequest,
|
|
1518
|
+
output: SignedData,
|
|
1519
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
1520
|
+
protocol: StackitProtocol,
|
|
1521
|
+
retry: Retry.Retry,
|
|
1522
|
+
}));
|
|
1624
1523
|
|
|
1625
1524
|
export type VerifyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1626
1525
|
/** Verify Verify data using the given key version as secret. */
|