@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
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
|
@@ -1,16 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
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
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -62,9 +58,7 @@ export const CreateACLRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
62
58
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
63
59
|
}),
|
|
64
60
|
),
|
|
65
|
-
).annotate({
|
|
66
|
-
identifier: "CreateACLRequest",
|
|
67
|
-
}) as any as S.Schema<CreateACLRequest>;
|
|
61
|
+
).annotate({ identifier: "CreateACLRequest" }) as any as S.Schema<CreateACLRequest>;
|
|
68
62
|
|
|
69
63
|
export interface ACL {
|
|
70
64
|
/** The given IP/IP Range that is permitted to access. */
|
|
@@ -108,9 +102,7 @@ export const CreateApproleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
108
102
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
109
103
|
}),
|
|
110
104
|
),
|
|
111
|
-
).annotate({
|
|
112
|
-
identifier: "CreateApproleRequest",
|
|
113
|
-
}) as any as S.Schema<CreateApproleRequest>;
|
|
105
|
+
).annotate({ identifier: "CreateApproleRequest" }) as any as S.Schema<CreateApproleRequest>;
|
|
114
106
|
|
|
115
107
|
export interface Approle {
|
|
116
108
|
/** A user chosen description to differentiate between multiple approles. */
|
|
@@ -222,9 +214,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
222
214
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
223
215
|
}),
|
|
224
216
|
),
|
|
225
|
-
).annotate({
|
|
226
|
-
identifier: "CreateInstanceRequest",
|
|
227
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
217
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
228
218
|
|
|
229
219
|
export interface Instance {
|
|
230
220
|
/** The API endpoint for connecting to the secrets engine. */
|
|
@@ -287,9 +277,7 @@ export const CreateUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
287
277
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
288
278
|
}),
|
|
289
279
|
),
|
|
290
|
-
).annotate({
|
|
291
|
-
identifier: "CreateUserRequest",
|
|
292
|
-
}) as any as S.Schema<CreateUserRequest>;
|
|
280
|
+
).annotate({ identifier: "CreateUserRequest" }) as any as S.Schema<CreateUserRequest>;
|
|
293
281
|
|
|
294
282
|
export interface User {
|
|
295
283
|
/** A user chosen description to differentiate between multiple users. */
|
|
@@ -334,14 +322,10 @@ export const DeleteACLRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
334
322
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
335
323
|
}),
|
|
336
324
|
),
|
|
337
|
-
).annotate({
|
|
338
|
-
identifier: "DeleteACLRequest",
|
|
339
|
-
}) as any as S.Schema<DeleteACLRequest>;
|
|
325
|
+
).annotate({ identifier: "DeleteACLRequest" }) as any as S.Schema<DeleteACLRequest>;
|
|
340
326
|
|
|
341
327
|
export interface DeleteACLResponse {}
|
|
342
|
-
export const DeleteACLResponse = /*@__PURE__*/ S.suspend(() =>
|
|
343
|
-
S.Struct({}),
|
|
344
|
-
).annotate({
|
|
328
|
+
export const DeleteACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
345
329
|
identifier: "DeleteACLResponse",
|
|
346
330
|
}) as any as S.Schema<DeleteACLResponse>;
|
|
347
331
|
|
|
@@ -366,14 +350,10 @@ export const DeleteApproleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
366
350
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
367
351
|
}),
|
|
368
352
|
),
|
|
369
|
-
).annotate({
|
|
370
|
-
identifier: "DeleteApproleRequest",
|
|
371
|
-
}) as any as S.Schema<DeleteApproleRequest>;
|
|
353
|
+
).annotate({ identifier: "DeleteApproleRequest" }) as any as S.Schema<DeleteApproleRequest>;
|
|
372
354
|
|
|
373
355
|
export interface DeleteApproleResponse {}
|
|
374
|
-
export const DeleteApproleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
375
|
-
S.Struct({}),
|
|
376
|
-
).annotate({
|
|
356
|
+
export const DeleteApproleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
377
357
|
identifier: "DeleteApproleResponse",
|
|
378
358
|
}) as any as S.Schema<DeleteApproleResponse>;
|
|
379
359
|
|
|
@@ -406,9 +386,7 @@ export const DeleteApproleSecretIdRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
406
386
|
}) as any as S.Schema<DeleteApproleSecretIdRequest>;
|
|
407
387
|
|
|
408
388
|
export interface DeleteApproleSecretIdResponse {}
|
|
409
|
-
export const DeleteApproleSecretIdResponse = /*@__PURE__*/ S.suspend(() =>
|
|
410
|
-
S.Struct({}),
|
|
411
|
-
).annotate({
|
|
389
|
+
export const DeleteApproleSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
412
390
|
identifier: "DeleteApproleSecretIdResponse",
|
|
413
391
|
}) as any as S.Schema<DeleteApproleSecretIdResponse>;
|
|
414
392
|
|
|
@@ -430,14 +408,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
430
408
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
431
409
|
}),
|
|
432
410
|
),
|
|
433
|
-
).annotate({
|
|
434
|
-
identifier: "DeleteInstanceRequest",
|
|
435
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
411
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
436
412
|
|
|
437
413
|
export interface DeleteInstanceResponse {}
|
|
438
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
439
|
-
S.Struct({}),
|
|
440
|
-
).annotate({
|
|
414
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
441
415
|
identifier: "DeleteInstanceResponse",
|
|
442
416
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
443
417
|
|
|
@@ -462,14 +436,10 @@ export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
462
436
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
463
437
|
}),
|
|
464
438
|
),
|
|
465
|
-
).annotate({
|
|
466
|
-
identifier: "DeleteUserRequest",
|
|
467
|
-
}) as any as S.Schema<DeleteUserRequest>;
|
|
439
|
+
).annotate({ identifier: "DeleteUserRequest" }) as any as S.Schema<DeleteUserRequest>;
|
|
468
440
|
|
|
469
441
|
export interface DeleteUserResponse {}
|
|
470
|
-
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
471
|
-
S.Struct({}),
|
|
472
|
-
).annotate({
|
|
442
|
+
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
473
443
|
identifier: "DeleteUserResponse",
|
|
474
444
|
}) as any as S.Schema<DeleteUserResponse>;
|
|
475
445
|
|
|
@@ -517,9 +487,7 @@ export const GetApproleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
517
487
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
518
488
|
}),
|
|
519
489
|
),
|
|
520
|
-
).annotate({
|
|
521
|
-
identifier: "GetApproleRequest",
|
|
522
|
-
}) as any as S.Schema<GetApproleRequest>;
|
|
490
|
+
).annotate({ identifier: "GetApproleRequest" }) as any as S.Schema<GetApproleRequest>;
|
|
523
491
|
|
|
524
492
|
export interface GetApprolesRequest {
|
|
525
493
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -539,9 +507,7 @@ export const GetApprolesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
539
507
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
540
508
|
}),
|
|
541
509
|
),
|
|
542
|
-
).annotate({
|
|
543
|
-
identifier: "GetApprolesRequest",
|
|
544
|
-
}) as any as S.Schema<GetApprolesRequest>;
|
|
510
|
+
).annotate({ identifier: "GetApprolesRequest" }) as any as S.Schema<GetApprolesRequest>;
|
|
545
511
|
|
|
546
512
|
export type ApproleListApprolesList = Array<Approle>;
|
|
547
513
|
export const ApproleListApprolesList = /*@__PURE__*/ S.Array(
|
|
@@ -603,9 +569,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
603
569
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
604
570
|
}),
|
|
605
571
|
),
|
|
606
|
-
).annotate({
|
|
607
|
-
identifier: "GetInstanceRequest",
|
|
608
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
572
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
609
573
|
|
|
610
574
|
export interface GetUserRequest {
|
|
611
575
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -648,9 +612,7 @@ export const ListACLsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
648
612
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
649
613
|
}),
|
|
650
614
|
),
|
|
651
|
-
).annotate({
|
|
652
|
-
identifier: "ListACLsRequest",
|
|
653
|
-
}) as any as S.Schema<ListACLsRequest>;
|
|
615
|
+
).annotate({ identifier: "ListACLsRequest" }) as any as S.Schema<ListACLsRequest>;
|
|
654
616
|
|
|
655
617
|
export type ListACLsResponseAclsList = Array<ACL>;
|
|
656
618
|
export const ListACLsResponseAclsList = /*@__PURE__*/ S.Array(
|
|
@@ -664,9 +626,7 @@ export const ListACLsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
664
626
|
S.Struct({
|
|
665
627
|
acls: ListACLsResponseAclsList,
|
|
666
628
|
}),
|
|
667
|
-
).annotate({
|
|
668
|
-
identifier: "ListACLsResponse",
|
|
669
|
-
}) as any as S.Schema<ListACLsResponse>;
|
|
629
|
+
).annotate({ identifier: "ListACLsResponse" }) as any as S.Schema<ListACLsResponse>;
|
|
670
630
|
|
|
671
631
|
export interface ListApproleSecretIdsRequest {
|
|
672
632
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -705,9 +665,7 @@ export const ApproleSecretList = /*@__PURE__*/ S.suspend(() =>
|
|
|
705
665
|
S.Struct({
|
|
706
666
|
secretIds: ApproleSecretListSecretIdsList,
|
|
707
667
|
}),
|
|
708
|
-
).annotate({
|
|
709
|
-
identifier: "ApproleSecretList",
|
|
710
|
-
}) as any as S.Schema<ApproleSecretList>;
|
|
668
|
+
).annotate({ identifier: "ApproleSecretList" }) as any as S.Schema<ApproleSecretList>;
|
|
711
669
|
|
|
712
670
|
export interface ListInstancesRequest {
|
|
713
671
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -724,9 +682,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
724
682
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
725
683
|
}),
|
|
726
684
|
),
|
|
727
|
-
).annotate({
|
|
728
|
-
identifier: "ListInstancesRequest",
|
|
729
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
685
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
730
686
|
|
|
731
687
|
export type ListInstancesResponseInstancesList = Array<Instance>;
|
|
732
688
|
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(
|
|
@@ -740,9 +696,7 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
740
696
|
S.Struct({
|
|
741
697
|
instances: ListInstancesResponseInstancesList,
|
|
742
698
|
}),
|
|
743
|
-
).annotate({
|
|
744
|
-
identifier: "ListInstancesResponse",
|
|
745
|
-
}) as any as S.Schema<ListInstancesResponse>;
|
|
699
|
+
).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
|
|
746
700
|
|
|
747
701
|
export interface ListUsersRequest {
|
|
748
702
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -762,9 +716,7 @@ export const ListUsersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
762
716
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
763
717
|
}),
|
|
764
718
|
),
|
|
765
|
-
).annotate({
|
|
766
|
-
identifier: "ListUsersRequest",
|
|
767
|
-
}) as any as S.Schema<ListUsersRequest>;
|
|
719
|
+
).annotate({ identifier: "ListUsersRequest" }) as any as S.Schema<ListUsersRequest>;
|
|
768
720
|
|
|
769
721
|
export type ListUsersResponseUsersList = Array<User>;
|
|
770
722
|
export const ListUsersResponseUsersList = /*@__PURE__*/ S.Array(
|
|
@@ -778,9 +730,7 @@ export const ListUsersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
778
730
|
S.Struct({
|
|
779
731
|
users: ListUsersResponseUsersList,
|
|
780
732
|
}),
|
|
781
|
-
).annotate({
|
|
782
|
-
identifier: "ListUsersResponse",
|
|
783
|
-
}) as any as S.Schema<ListUsersResponse>;
|
|
733
|
+
).annotate({ identifier: "ListUsersResponse" }) as any as S.Schema<ListUsersResponse>;
|
|
784
734
|
|
|
785
735
|
export interface UpdateACLRequest {
|
|
786
736
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -806,14 +756,10 @@ export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
806
756
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
807
757
|
}),
|
|
808
758
|
),
|
|
809
|
-
).annotate({
|
|
810
|
-
identifier: "UpdateACLRequest",
|
|
811
|
-
}) as any as S.Schema<UpdateACLRequest>;
|
|
759
|
+
).annotate({ identifier: "UpdateACLRequest" }) as any as S.Schema<UpdateACLRequest>;
|
|
812
760
|
|
|
813
761
|
export interface UpdateACLResponse {}
|
|
814
|
-
export const UpdateACLResponse = /*@__PURE__*/ S.suspend(() =>
|
|
815
|
-
S.Struct({}),
|
|
816
|
-
).annotate({
|
|
762
|
+
export const UpdateACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
817
763
|
identifier: "UpdateACLResponse",
|
|
818
764
|
}) as any as S.Schema<UpdateACLResponse>;
|
|
819
765
|
|
|
@@ -825,9 +771,7 @@ export const UpdateACLPayload = /*@__PURE__*/ S.suspend(() =>
|
|
|
825
771
|
S.Struct({
|
|
826
772
|
cidr: S.String,
|
|
827
773
|
}),
|
|
828
|
-
).annotate({
|
|
829
|
-
identifier: "UpdateACLPayload",
|
|
830
|
-
}) as any as S.Schema<UpdateACLPayload>;
|
|
774
|
+
).annotate({ identifier: "UpdateACLPayload" }) as any as S.Schema<UpdateACLPayload>;
|
|
831
775
|
|
|
832
776
|
export type UpdateACLsRequestCidrsList = Array<UpdateACLPayload>;
|
|
833
777
|
export const UpdateACLsRequestCidrsList = /*@__PURE__*/ S.Array(
|
|
@@ -854,14 +798,10 @@ export const UpdateACLsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
854
798
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
855
799
|
}),
|
|
856
800
|
),
|
|
857
|
-
).annotate({
|
|
858
|
-
identifier: "UpdateACLsRequest",
|
|
859
|
-
}) as any as S.Schema<UpdateACLsRequest>;
|
|
801
|
+
).annotate({ identifier: "UpdateACLsRequest" }) as any as S.Schema<UpdateACLsRequest>;
|
|
860
802
|
|
|
861
803
|
export interface UpdateACLsResponse {}
|
|
862
|
-
export const UpdateACLsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
863
|
-
S.Struct({}),
|
|
864
|
-
).annotate({
|
|
804
|
+
export const UpdateACLsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
865
805
|
identifier: "UpdateACLsResponse",
|
|
866
806
|
}) as any as S.Schema<UpdateACLsResponse>;
|
|
867
807
|
|
|
@@ -897,9 +837,7 @@ export const UpdateApproleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
897
837
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
898
838
|
}),
|
|
899
839
|
),
|
|
900
|
-
).annotate({
|
|
901
|
-
identifier: "UpdateApproleRequest",
|
|
902
|
-
}) as any as S.Schema<UpdateApproleRequest>;
|
|
840
|
+
).annotate({ identifier: "UpdateApproleRequest" }) as any as S.Schema<UpdateApproleRequest>;
|
|
903
841
|
|
|
904
842
|
export interface UpdateApproleSecretIdRequest {
|
|
905
843
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -955,14 +893,10 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
955
893
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
956
894
|
}),
|
|
957
895
|
),
|
|
958
|
-
).annotate({
|
|
959
|
-
identifier: "UpdateInstanceRequest",
|
|
960
|
-
}) as any as S.Schema<UpdateInstanceRequest>;
|
|
896
|
+
).annotate({ identifier: "UpdateInstanceRequest" }) as any as S.Schema<UpdateInstanceRequest>;
|
|
961
897
|
|
|
962
898
|
export interface UpdateInstanceResponse {}
|
|
963
|
-
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
964
|
-
S.Struct({}),
|
|
965
|
-
).annotate({
|
|
899
|
+
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
966
900
|
identifier: "UpdateInstanceResponse",
|
|
967
901
|
}) as any as S.Schema<UpdateInstanceResponse>;
|
|
968
902
|
|
|
@@ -993,14 +927,10 @@ export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
993
927
|
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
994
928
|
}),
|
|
995
929
|
),
|
|
996
|
-
).annotate({
|
|
997
|
-
identifier: "UpdateUserRequest",
|
|
998
|
-
}) as any as S.Schema<UpdateUserRequest>;
|
|
930
|
+
).annotate({ identifier: "UpdateUserRequest" }) as any as S.Schema<UpdateUserRequest>;
|
|
999
931
|
|
|
1000
932
|
export interface UpdateUserResponse {}
|
|
1001
|
-
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1002
|
-
S.Struct({}),
|
|
1003
|
-
).annotate({
|
|
933
|
+
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1004
934
|
identifier: "UpdateUserResponse",
|
|
1005
935
|
}) as any as S.Schema<UpdateUserResponse>;
|
|
1006
936
|
|
|
@@ -1019,11 +949,7 @@ export const createACL: API.OperationMethod<
|
|
|
1019
949
|
retry: Retry.Retry,
|
|
1020
950
|
}));
|
|
1021
951
|
|
|
1022
|
-
export type CreateApproleError =
|
|
1023
|
-
| BadRequest
|
|
1024
|
-
| NotFound
|
|
1025
|
-
| Conflict
|
|
1026
|
-
| StackitOpError;
|
|
952
|
+
export type CreateApproleError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1027
953
|
/** Creates a new approle for the given Secrets Manager instance. */
|
|
1028
954
|
export const createApprole: API.OperationMethod<
|
|
1029
955
|
CreateApproleRequest,
|
|
@@ -1160,18 +1086,14 @@ export const deleteUser: API.OperationMethod<
|
|
|
1160
1086
|
|
|
1161
1087
|
export type GetACLError = BadRequest | NotFound | StackitOpError;
|
|
1162
1088
|
/** Returns the details for the given acl. */
|
|
1163
|
-
export const getACL: API.OperationMethod<
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1172
|
-
protocol: StackitProtocol,
|
|
1173
|
-
retry: Retry.Retry,
|
|
1174
|
-
}));
|
|
1089
|
+
export const getACL: API.OperationMethod<GetACLRequest, ACL, GetACLError, StackitOpContext> =
|
|
1090
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1091
|
+
input: GetACLRequest,
|
|
1092
|
+
output: ACL,
|
|
1093
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1094
|
+
protocol: StackitProtocol,
|
|
1095
|
+
retry: Retry.Retry,
|
|
1096
|
+
}));
|
|
1175
1097
|
|
|
1176
1098
|
export type GetApproleError = BadRequest | NotFound | StackitOpError;
|
|
1177
1099
|
/** Returns the details for the given approle. */
|
|
@@ -1235,18 +1157,14 @@ export const getInstance: API.OperationMethod<
|
|
|
1235
1157
|
|
|
1236
1158
|
export type GetUserError = BadRequest | NotFound | StackitOpError;
|
|
1237
1159
|
/** Returns the details for the given user. */
|
|
1238
|
-
export const getUser: API.OperationMethod<
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1247
|
-
protocol: StackitProtocol,
|
|
1248
|
-
retry: Retry.Retry,
|
|
1249
|
-
}));
|
|
1160
|
+
export const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, StackitOpContext> =
|
|
1161
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1162
|
+
input: GetUserRequest,
|
|
1163
|
+
output: User,
|
|
1164
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1165
|
+
protocol: StackitProtocol,
|
|
1166
|
+
retry: Retry.Retry,
|
|
1167
|
+
}));
|
|
1250
1168
|
|
|
1251
1169
|
export type ListACLsError = BadRequest | NotFound | StackitOpError;
|
|
1252
1170
|
/** Returns the acls for the given Secrets Manager instance. */
|
|
@@ -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
|
|
|
@@ -74,9 +70,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
74
70
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
75
71
|
}),
|
|
76
72
|
),
|
|
77
|
-
).annotate({
|
|
78
|
-
identifier: "CreateBackupRequest",
|
|
79
|
-
}) as any as S.Schema<CreateBackupRequest>;
|
|
73
|
+
).annotate({ identifier: "CreateBackupRequest" }) as any as S.Schema<CreateBackupRequest>;
|
|
80
74
|
|
|
81
75
|
export interface BackupJob {
|
|
82
76
|
id: string;
|
|
@@ -105,9 +99,7 @@ export const BackupProperties = /*@__PURE__*/ S.suspend(() =>
|
|
|
105
99
|
retentionPeriod: S.Number,
|
|
106
100
|
volumeIds: S.optional(BackupPropertiesVolumeIdsList),
|
|
107
101
|
}),
|
|
108
|
-
).annotate({
|
|
109
|
-
identifier: "BackupProperties",
|
|
110
|
-
}) as any as S.Schema<BackupProperties>;
|
|
102
|
+
).annotate({ identifier: "BackupProperties" }) as any as S.Schema<BackupProperties>;
|
|
111
103
|
|
|
112
104
|
export interface CreateBackupScheduleRequest {
|
|
113
105
|
/** project id */
|
|
@@ -189,14 +181,10 @@ export const DeleteBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
189
181
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
190
182
|
}),
|
|
191
183
|
),
|
|
192
|
-
).annotate({
|
|
193
|
-
identifier: "DeleteBackupRequest",
|
|
194
|
-
}) as any as S.Schema<DeleteBackupRequest>;
|
|
184
|
+
).annotate({ identifier: "DeleteBackupRequest" }) as any as S.Schema<DeleteBackupRequest>;
|
|
195
185
|
|
|
196
186
|
export interface DeleteBackupResponse {}
|
|
197
|
-
export const DeleteBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
198
|
-
S.Struct({}),
|
|
199
|
-
).annotate({
|
|
187
|
+
export const DeleteBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
200
188
|
identifier: "DeleteBackupResponse",
|
|
201
189
|
}) as any as S.Schema<DeleteBackupResponse>;
|
|
202
190
|
|
|
@@ -229,9 +217,7 @@ export const DeleteBackupScheduleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
229
217
|
}) as any as S.Schema<DeleteBackupScheduleRequest>;
|
|
230
218
|
|
|
231
219
|
export interface DeleteBackupScheduleResponse {}
|
|
232
|
-
export const DeleteBackupScheduleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
233
|
-
S.Struct({}),
|
|
234
|
-
).annotate({
|
|
220
|
+
export const DeleteBackupScheduleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
235
221
|
identifier: "DeleteBackupScheduleResponse",
|
|
236
222
|
}) as any as S.Schema<DeleteBackupScheduleResponse>;
|
|
237
223
|
|
|
@@ -270,9 +256,7 @@ export const DeleteVolumeBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
270
256
|
}) as any as S.Schema<DeleteVolumeBackupRequest>;
|
|
271
257
|
|
|
272
258
|
export interface DeleteVolumeBackupResponse {}
|
|
273
|
-
export const DeleteVolumeBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
274
|
-
S.Struct({}),
|
|
275
|
-
).annotate({
|
|
259
|
+
export const DeleteVolumeBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
276
260
|
identifier: "DeleteVolumeBackupResponse",
|
|
277
261
|
}) as any as S.Schema<DeleteVolumeBackupResponse>;
|
|
278
262
|
|
|
@@ -302,9 +286,7 @@ export const DisableServiceResourceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
302
286
|
}) as any as S.Schema<DisableServiceResourceRequest>;
|
|
303
287
|
|
|
304
288
|
export interface DisableServiceResourceResponse {}
|
|
305
|
-
export const DisableServiceResourceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
306
|
-
S.Struct({}),
|
|
307
|
-
).annotate({
|
|
289
|
+
export const DisableServiceResourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
308
290
|
identifier: "DisableServiceResourceResponse",
|
|
309
291
|
}) as any as S.Schema<DisableServiceResourceResponse>;
|
|
310
292
|
|
|
@@ -336,9 +318,7 @@ export const EnableServiceResourceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
336
318
|
}) as any as S.Schema<EnableServiceResourceRequest>;
|
|
337
319
|
|
|
338
320
|
export interface EnableServiceResourceResponse {}
|
|
339
|
-
export const EnableServiceResourceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
340
|
-
S.Struct({}),
|
|
341
|
-
).annotate({
|
|
321
|
+
export const EnableServiceResourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
342
322
|
identifier: "EnableServiceResourceResponse",
|
|
343
323
|
}) as any as S.Schema<EnableServiceResourceResponse>;
|
|
344
324
|
|
|
@@ -366,9 +346,7 @@ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
366
346
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
367
347
|
}),
|
|
368
348
|
),
|
|
369
|
-
).annotate({
|
|
370
|
-
identifier: "GetBackupRequest",
|
|
371
|
-
}) as any as S.Schema<GetBackupRequest>;
|
|
349
|
+
).annotate({ identifier: "GetBackupRequest" }) as any as S.Schema<GetBackupRequest>;
|
|
372
350
|
|
|
373
351
|
export type BackupStatus =
|
|
374
352
|
| "in-progress"
|
|
@@ -379,7 +357,7 @@ export type BackupStatus =
|
|
|
379
357
|
| "error-creating"
|
|
380
358
|
| "error-deleting"
|
|
381
359
|
| "unrecognized";
|
|
382
|
-
export const BackupStatus =
|
|
360
|
+
export const BackupStatus = S.String;
|
|
383
361
|
|
|
384
362
|
export type BackupVolumeBackupsItemStatus =
|
|
385
363
|
| "available"
|
|
@@ -391,7 +369,7 @@ export type BackupVolumeBackupsItemStatus =
|
|
|
391
369
|
| "restoring"
|
|
392
370
|
| "error-creating"
|
|
393
371
|
| "unrecognized";
|
|
394
|
-
export const BackupVolumeBackupsItemStatus =
|
|
372
|
+
export const BackupVolumeBackupsItemStatus = S.String;
|
|
395
373
|
|
|
396
374
|
export interface BackupVolumeBackupsItem {
|
|
397
375
|
id?: string;
|
|
@@ -410,9 +388,7 @@ export const BackupVolumeBackupsItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
410
388
|
status: S.optional(BackupVolumeBackupsItemStatus),
|
|
411
389
|
volumeId: S.optional(S.String),
|
|
412
390
|
}),
|
|
413
|
-
).annotate({
|
|
414
|
-
identifier: "BackupVolumeBackupsItem",
|
|
415
|
-
}) as any as S.Schema<BackupVolumeBackupsItem>;
|
|
391
|
+
).annotate({ identifier: "BackupVolumeBackupsItem" }) as any as S.Schema<BackupVolumeBackupsItem>;
|
|
416
392
|
|
|
417
393
|
export type BackupVolumeBackupsList = Array<BackupVolumeBackupsItem>;
|
|
418
394
|
export const BackupVolumeBackupsList = /*@__PURE__*/ S.Array(
|
|
@@ -466,9 +442,7 @@ export const GetBackupScheduleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
466
442
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
467
443
|
}),
|
|
468
444
|
),
|
|
469
|
-
).annotate({
|
|
470
|
-
identifier: "GetBackupScheduleRequest",
|
|
471
|
-
}) as any as S.Schema<GetBackupScheduleRequest>;
|
|
445
|
+
).annotate({ identifier: "GetBackupScheduleRequest" }) as any as S.Schema<GetBackupScheduleRequest>;
|
|
472
446
|
|
|
473
447
|
export interface GetServiceResourceRequest {
|
|
474
448
|
/** project id */
|
|
@@ -502,9 +476,7 @@ export const GetBackupServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
502
476
|
S.Struct({
|
|
503
477
|
enabled: S.optional(S.Boolean),
|
|
504
478
|
}),
|
|
505
|
-
).annotate({
|
|
506
|
-
identifier: "GetBackupServiceResponse",
|
|
507
|
-
}) as any as S.Schema<GetBackupServiceResponse>;
|
|
479
|
+
).annotate({ identifier: "GetBackupServiceResponse" }) as any as S.Schema<GetBackupServiceResponse>;
|
|
508
480
|
|
|
509
481
|
export interface ListBackupPoliciesRequest {
|
|
510
482
|
/** project id */
|
|
@@ -597,9 +569,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
597
569
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
598
570
|
}),
|
|
599
571
|
),
|
|
600
|
-
).annotate({
|
|
601
|
-
identifier: "ListBackupsRequest",
|
|
602
|
-
}) as any as S.Schema<ListBackupsRequest>;
|
|
572
|
+
).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
|
|
603
573
|
|
|
604
574
|
export type GetBackupsListResponseItemsList = Array<Backup>;
|
|
605
575
|
export const GetBackupsListResponseItemsList = /*@__PURE__*/ S.Array(
|
|
@@ -613,9 +583,7 @@ export const GetBackupsListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
613
583
|
S.Struct({
|
|
614
584
|
items: S.optional(GetBackupsListResponseItemsList),
|
|
615
585
|
}),
|
|
616
|
-
).annotate({
|
|
617
|
-
identifier: "GetBackupsListResponse",
|
|
618
|
-
}) as any as S.Schema<GetBackupsListResponse>;
|
|
586
|
+
).annotate({ identifier: "GetBackupsListResponse" }) as any as S.Schema<GetBackupsListResponse>;
|
|
619
587
|
|
|
620
588
|
export interface ListBackupSchedulesRequest {
|
|
621
589
|
/** project id */
|
|
@@ -691,14 +659,10 @@ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
691
659
|
baseUrl: "https://server-backup.api.stackit.cloud",
|
|
692
660
|
}),
|
|
693
661
|
),
|
|
694
|
-
).annotate({
|
|
695
|
-
identifier: "RestoreBackupRequest",
|
|
696
|
-
}) as any as S.Schema<RestoreBackupRequest>;
|
|
662
|
+
).annotate({ identifier: "RestoreBackupRequest" }) as any as S.Schema<RestoreBackupRequest>;
|
|
697
663
|
|
|
698
664
|
export interface RestoreBackupResponse {}
|
|
699
|
-
export const RestoreBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
700
|
-
S.Struct({}),
|
|
701
|
-
).annotate({
|
|
665
|
+
export const RestoreBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
702
666
|
identifier: "RestoreBackupResponse",
|
|
703
667
|
}) as any as S.Schema<RestoreBackupResponse>;
|
|
704
668
|
|
|
@@ -736,9 +700,7 @@ export const RestoreVolumeBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
736
700
|
}) as any as S.Schema<RestoreVolumeBackupRequest>;
|
|
737
701
|
|
|
738
702
|
export interface RestoreVolumeBackupResponse {}
|
|
739
|
-
export const RestoreVolumeBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
740
|
-
S.Struct({}),
|
|
741
|
-
).annotate({
|
|
703
|
+
export const RestoreVolumeBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
742
704
|
identifier: "RestoreVolumeBackupResponse",
|
|
743
705
|
}) as any as S.Schema<RestoreVolumeBackupResponse>;
|
|
744
706
|
|
|
@@ -780,11 +742,7 @@ export const UpdateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
780
742
|
identifier: "UpdateBackupScheduleRequest",
|
|
781
743
|
}) as any as S.Schema<UpdateBackupScheduleRequest>;
|
|
782
744
|
|
|
783
|
-
export type CreateBackupError =
|
|
784
|
-
| BadRequest
|
|
785
|
-
| NotFound
|
|
786
|
-
| Conflict
|
|
787
|
-
| StackitOpError;
|
|
745
|
+
export type CreateBackupError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
788
746
|
/** create backup */
|
|
789
747
|
export const createBackup: API.OperationMethod<
|
|
790
748
|
CreateBackupRequest,
|
|
@@ -859,10 +817,7 @@ export const deleteVolumeBackup: API.OperationMethod<
|
|
|
859
817
|
retry: Retry.Retry,
|
|
860
818
|
}));
|
|
861
819
|
|
|
862
|
-
export type DisableServiceResourceError =
|
|
863
|
-
| BadRequest
|
|
864
|
-
| NotFound
|
|
865
|
-
| StackitOpError;
|
|
820
|
+
export type DisableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
866
821
|
/** disable backup service */
|
|
867
822
|
export const disableServiceResource: API.OperationMethod<
|
|
868
823
|
DisableServiceResourceRequest,
|
|
@@ -982,11 +937,7 @@ export const listBackupSchedules: API.OperationMethod<
|
|
|
982
937
|
retry: Retry.Retry,
|
|
983
938
|
}));
|
|
984
939
|
|
|
985
|
-
export type RestoreBackupError =
|
|
986
|
-
| BadRequest
|
|
987
|
-
| NotFound
|
|
988
|
-
| Conflict
|
|
989
|
-
| StackitOpError;
|
|
940
|
+
export type RestoreBackupError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
990
941
|
/** trigger restore of the requested backup */
|
|
991
942
|
export const restoreBackup: API.OperationMethod<
|
|
992
943
|
RestoreBackupRequest,
|