@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.22
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/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +8 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +19 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +13 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +36 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +63 -2
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +44 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +10 -1
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -127
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +229 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +353 -137
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
-
import {
|
|
6
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -30,6 +30,8 @@ export class BadRequest
|
|
|
30
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
31
|
code: S.Number,
|
|
32
32
|
message: S.String,
|
|
33
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
34
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
35
|
}).pipe(C.withBadRequestError),
|
|
34
36
|
[{ status: 400 }],
|
|
35
37
|
) {}
|
|
@@ -39,6 +41,8 @@ export class Conflict
|
|
|
39
41
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
42
|
code: S.Number,
|
|
41
43
|
message: S.String,
|
|
44
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
45
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
46
|
}).pipe(C.withConflictError),
|
|
43
47
|
[{ status: 409 }],
|
|
44
48
|
) {}
|
|
@@ -48,6 +52,8 @@ export class NotFound
|
|
|
48
52
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
49
53
|
code: S.Number,
|
|
50
54
|
message: S.String,
|
|
55
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
56
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
57
|
}).pipe(C.withBadRequestError),
|
|
52
58
|
[{ status: 404 }],
|
|
53
59
|
) {}
|
|
@@ -326,7 +332,8 @@ export const createBackup: API.OperationMethod<
|
|
|
326
332
|
> = /*@__PURE__*/ API.make(() => ({
|
|
327
333
|
input: __S(80, __c10, 0) as any as S.Schema<CreateBackupRequest>,
|
|
328
334
|
output: __S(81, __c10, 1) as any as S.Schema<BackupJob>,
|
|
329
|
-
errors: [BadRequest, NotFound, Conflict
|
|
335
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
336
|
+
serviceErrors: StackitServiceErrors,
|
|
330
337
|
protocol: StackitProtocol,
|
|
331
338
|
retry: Retry.Retry,
|
|
332
339
|
telemetry: TELEMETRY,
|
|
@@ -343,7 +350,8 @@ export const createBackupSchedule: API.OperationMethod<
|
|
|
343
350
|
> = /*@__PURE__*/ API.make(() => ({
|
|
344
351
|
input: __S(96, __c12, 0) as any as S.Schema<CreateBackupScheduleRequest>,
|
|
345
352
|
output: __S(105, __c13, 1) as any as S.Schema<BackupSchedule>,
|
|
346
|
-
errors: [BadRequest, NotFound
|
|
353
|
+
errors: [BadRequest, NotFound],
|
|
354
|
+
serviceErrors: StackitServiceErrors,
|
|
347
355
|
protocol: StackitProtocol,
|
|
348
356
|
retry: Retry.Retry,
|
|
349
357
|
telemetry: TELEMETRY,
|
|
@@ -360,7 +368,8 @@ export const deleteBackup: API.OperationMethod<
|
|
|
360
368
|
> = /*@__PURE__*/ API.make(() => ({
|
|
361
369
|
input: __S(112, __c14, 0) as any as S.Schema<DeleteBackupRequest>,
|
|
362
370
|
output: __S(120, __c15, 0) as any as S.Schema<DeleteBackupResponse>,
|
|
363
|
-
errors: [BadRequest, NotFound
|
|
371
|
+
errors: [BadRequest, NotFound],
|
|
372
|
+
serviceErrors: StackitServiceErrors,
|
|
364
373
|
protocol: StackitProtocol,
|
|
365
374
|
retry: Retry.Retry,
|
|
366
375
|
telemetry: TELEMETRY,
|
|
@@ -377,7 +386,8 @@ export const deleteBackupSchedule: API.OperationMethod<
|
|
|
377
386
|
> = /*@__PURE__*/ API.make(() => ({
|
|
378
387
|
input: __S(128, __c16, 0) as any as S.Schema<DeleteBackupScheduleRequest>,
|
|
379
388
|
output: __S(120, __c15, 0) as any as S.Schema<DeleteBackupScheduleResponse>,
|
|
380
|
-
errors: [BadRequest, NotFound
|
|
389
|
+
errors: [BadRequest, NotFound],
|
|
390
|
+
serviceErrors: StackitServiceErrors,
|
|
381
391
|
protocol: StackitProtocol,
|
|
382
392
|
retry: Retry.Retry,
|
|
383
393
|
telemetry: TELEMETRY,
|
|
@@ -394,7 +404,8 @@ export const deleteVolumeBackup: API.OperationMethod<
|
|
|
394
404
|
> = /*@__PURE__*/ API.make(() => ({
|
|
395
405
|
input: __S(136, __c17, 0) as any as S.Schema<DeleteVolumeBackupRequest>,
|
|
396
406
|
output: __S(120, __c15, 0) as any as S.Schema<DeleteVolumeBackupResponse>,
|
|
397
|
-
errors: [BadRequest, NotFound
|
|
407
|
+
errors: [BadRequest, NotFound],
|
|
408
|
+
serviceErrors: StackitServiceErrors,
|
|
398
409
|
protocol: StackitProtocol,
|
|
399
410
|
retry: Retry.Retry,
|
|
400
411
|
telemetry: TELEMETRY,
|
|
@@ -411,7 +422,8 @@ export const disableServiceResource: API.OperationMethod<
|
|
|
411
422
|
> = /*@__PURE__*/ API.make(() => ({
|
|
412
423
|
input: __S(144, __c18, 0) as any as S.Schema<DisableServiceResourceRequest>,
|
|
413
424
|
output: __S(120, __c15, 0) as any as S.Schema<DisableServiceResourceResponse>,
|
|
414
|
-
errors: [BadRequest, NotFound
|
|
425
|
+
errors: [BadRequest, NotFound],
|
|
426
|
+
serviceErrors: StackitServiceErrors,
|
|
415
427
|
protocol: StackitProtocol,
|
|
416
428
|
retry: Retry.Retry,
|
|
417
429
|
telemetry: TELEMETRY,
|
|
@@ -428,7 +440,8 @@ export const enableServiceResource: API.OperationMethod<
|
|
|
428
440
|
> = /*@__PURE__*/ API.make(() => ({
|
|
429
441
|
input: __S(152, __c19, 0) as any as S.Schema<EnableServiceResourceRequest>,
|
|
430
442
|
output: __S(120, __c15, 0) as any as S.Schema<EnableServiceResourceResponse>,
|
|
431
|
-
errors: [BadRequest, NotFound
|
|
443
|
+
errors: [BadRequest, NotFound],
|
|
444
|
+
serviceErrors: StackitServiceErrors,
|
|
432
445
|
protocol: StackitProtocol,
|
|
433
446
|
retry: Retry.Retry,
|
|
434
447
|
telemetry: TELEMETRY,
|
|
@@ -445,7 +458,8 @@ export const getBackup: API.OperationMethod<
|
|
|
445
458
|
> = /*@__PURE__*/ API.make(() => ({
|
|
446
459
|
input: __S(0, __c0, 0) as any as S.Schema<GetBackupRequest>,
|
|
447
460
|
output: __S(10, __c1, 2) as any as S.Schema<Backup>,
|
|
448
|
-
errors: [BadRequest, NotFound
|
|
461
|
+
errors: [BadRequest, NotFound],
|
|
462
|
+
serviceErrors: StackitServiceErrors,
|
|
449
463
|
protocol: StackitProtocol,
|
|
450
464
|
retry: Retry.Retry,
|
|
451
465
|
telemetry: TELEMETRY,
|
|
@@ -462,7 +476,8 @@ export const getBackupSchedule: API.OperationMethod<
|
|
|
462
476
|
> = /*@__PURE__*/ API.make(() => ({
|
|
463
477
|
input: __S(16, __c2, 0) as any as S.Schema<GetBackupScheduleRequest>,
|
|
464
478
|
output: __S(105, __c13, 1) as any as S.Schema<BackupSchedule>,
|
|
465
|
-
errors: [BadRequest, NotFound
|
|
479
|
+
errors: [BadRequest, NotFound],
|
|
480
|
+
serviceErrors: StackitServiceErrors,
|
|
466
481
|
protocol: StackitProtocol,
|
|
467
482
|
retry: Retry.Retry,
|
|
468
483
|
telemetry: TELEMETRY,
|
|
@@ -479,7 +494,8 @@ export const getServiceResource: API.OperationMethod<
|
|
|
479
494
|
> = /*@__PURE__*/ API.make(() => ({
|
|
480
495
|
input: __S(24, __c3, 0) as any as S.Schema<GetServiceResourceRequest>,
|
|
481
496
|
output: __S(25, __c3, 1) as any as S.Schema<GetBackupServiceResponse>,
|
|
482
|
-
errors: [BadRequest, NotFound
|
|
497
|
+
errors: [BadRequest, NotFound],
|
|
498
|
+
serviceErrors: StackitServiceErrors,
|
|
483
499
|
protocol: StackitProtocol,
|
|
484
500
|
retry: Retry.Retry,
|
|
485
501
|
telemetry: TELEMETRY,
|
|
@@ -496,7 +512,8 @@ export const listBackupPolicies: API.OperationMethod<
|
|
|
496
512
|
> = /*@__PURE__*/ API.make(() => ({
|
|
497
513
|
input: __S(32, __c4, 0) as any as S.Schema<ListBackupPoliciesRequest>,
|
|
498
514
|
output: __S(36, __c4, 4) as any as S.Schema<GetBackupPoliciesResponse>,
|
|
499
|
-
errors: [BadRequest, NotFound
|
|
515
|
+
errors: [BadRequest, NotFound],
|
|
516
|
+
serviceErrors: StackitServiceErrors,
|
|
500
517
|
protocol: StackitProtocol,
|
|
501
518
|
retry: Retry.Retry,
|
|
502
519
|
telemetry: TELEMETRY,
|
|
@@ -513,7 +530,8 @@ export const listBackups: API.OperationMethod<
|
|
|
513
530
|
> = /*@__PURE__*/ API.make(() => ({
|
|
514
531
|
input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
|
|
515
532
|
output: __S(42, __c5, 2) as any as S.Schema<GetBackupsListResponse>,
|
|
516
|
-
errors: [BadRequest, NotFound
|
|
533
|
+
errors: [BadRequest, NotFound],
|
|
534
|
+
serviceErrors: StackitServiceErrors,
|
|
517
535
|
protocol: StackitProtocol,
|
|
518
536
|
retry: Retry.Retry,
|
|
519
537
|
telemetry: TELEMETRY,
|
|
@@ -530,7 +548,8 @@ export const listBackupSchedules: API.OperationMethod<
|
|
|
530
548
|
> = /*@__PURE__*/ API.make(() => ({
|
|
531
549
|
input: __S(48, __c6, 0) as any as S.Schema<ListBackupSchedulesRequest>,
|
|
532
550
|
output: __S(50, __c6, 2) as any as S.Schema<GetBackupSchedulesResponse>,
|
|
533
|
-
errors: [BadRequest, NotFound
|
|
551
|
+
errors: [BadRequest, NotFound],
|
|
552
|
+
serviceErrors: StackitServiceErrors,
|
|
534
553
|
protocol: StackitProtocol,
|
|
535
554
|
retry: Retry.Retry,
|
|
536
555
|
telemetry: TELEMETRY,
|
|
@@ -547,7 +566,8 @@ export const restoreBackup: API.OperationMethod<
|
|
|
547
566
|
> = /*@__PURE__*/ API.make(() => ({
|
|
548
567
|
input: __S(56, __c7, 0) as any as S.Schema<RestoreBackupRequest>,
|
|
549
568
|
output: __S(120, __c15, 0) as any as S.Schema<RestoreBackupResponse>,
|
|
550
|
-
errors: [BadRequest, NotFound, Conflict
|
|
569
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
570
|
+
serviceErrors: StackitServiceErrors,
|
|
551
571
|
protocol: StackitProtocol,
|
|
552
572
|
retry: Retry.Retry,
|
|
553
573
|
telemetry: TELEMETRY,
|
|
@@ -564,7 +584,8 @@ export const restoreVolumeBackup: API.OperationMethod<
|
|
|
564
584
|
> = /*@__PURE__*/ API.make(() => ({
|
|
565
585
|
input: __S(64, __c8, 0) as any as S.Schema<RestoreVolumeBackupRequest>,
|
|
566
586
|
output: __S(120, __c15, 0) as any as S.Schema<RestoreVolumeBackupResponse>,
|
|
567
|
-
errors: [BadRequest, NotFound
|
|
587
|
+
errors: [BadRequest, NotFound],
|
|
588
|
+
serviceErrors: StackitServiceErrors,
|
|
568
589
|
protocol: StackitProtocol,
|
|
569
590
|
retry: Retry.Retry,
|
|
570
591
|
telemetry: TELEMETRY,
|
|
@@ -581,7 +602,8 @@ export const updateBackupSchedule: API.OperationMethod<
|
|
|
581
602
|
> = /*@__PURE__*/ API.make(() => ({
|
|
582
603
|
input: __S(72, __c9, 0) as any as S.Schema<UpdateBackupScheduleRequest>,
|
|
583
604
|
output: __S(105, __c13, 1) as any as S.Schema<BackupSchedule>,
|
|
584
|
-
errors: [BadRequest, NotFound
|
|
605
|
+
errors: [BadRequest, NotFound],
|
|
606
|
+
serviceErrors: StackitServiceErrors,
|
|
585
607
|
protocol: StackitProtocol,
|
|
586
608
|
retry: Retry.Retry,
|
|
587
609
|
telemetry: TELEMETRY,
|
|
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
-
import {
|
|
6
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -30,6 +30,8 @@ export class BadRequest
|
|
|
30
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
31
|
code: S.Number,
|
|
32
32
|
message: S.String,
|
|
33
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
34
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
35
|
}).pipe(C.withBadRequestError),
|
|
34
36
|
[{ status: 400 }],
|
|
35
37
|
) {}
|
|
@@ -39,6 +41,8 @@ export class Conflict
|
|
|
39
41
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
42
|
code: S.Number,
|
|
41
43
|
message: S.String,
|
|
44
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
45
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
46
|
}).pipe(C.withConflictError),
|
|
43
47
|
[{ status: 409 }],
|
|
44
48
|
) {}
|
|
@@ -48,6 +52,8 @@ export class NotFound
|
|
|
48
52
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
49
53
|
code: S.Number,
|
|
50
54
|
message: S.String,
|
|
55
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
56
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
57
|
}).pipe(C.withBadRequestError),
|
|
52
58
|
[{ status: 404 }],
|
|
53
59
|
) {}
|
|
@@ -252,7 +258,8 @@ export const createUpdate: API.OperationMethod<
|
|
|
252
258
|
> = /*@__PURE__*/ API.make(() => ({
|
|
253
259
|
input: __S(20, __c5, 0) as any as S.Schema<CreateUpdateRequest>,
|
|
254
260
|
output: __S(24, __c6, 0) as any as S.Schema<Update>,
|
|
255
|
-
errors: [BadRequest, NotFound, Conflict
|
|
261
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
262
|
+
serviceErrors: StackitServiceErrors,
|
|
256
263
|
protocol: StackitProtocol,
|
|
257
264
|
retry: Retry.Retry,
|
|
258
265
|
telemetry: TELEMETRY,
|
|
@@ -269,7 +276,8 @@ export const createUpdateSchedule: API.OperationMethod<
|
|
|
269
276
|
> = /*@__PURE__*/ API.make(() => ({
|
|
270
277
|
input: __S(28, __c7, 0) as any as S.Schema<CreateUpdateScheduleRequest>,
|
|
271
278
|
output: __S(32, __c8, 0) as any as S.Schema<CreateUpdateScheduleResponse>,
|
|
272
|
-
errors: [BadRequest, NotFound
|
|
279
|
+
errors: [BadRequest, NotFound],
|
|
280
|
+
serviceErrors: StackitServiceErrors,
|
|
273
281
|
protocol: StackitProtocol,
|
|
274
282
|
retry: Retry.Retry,
|
|
275
283
|
telemetry: TELEMETRY,
|
|
@@ -286,7 +294,8 @@ export const deleteUpdateSchedule: API.OperationMethod<
|
|
|
286
294
|
> = /*@__PURE__*/ API.make(() => ({
|
|
287
295
|
input: __S(36, __c9, 0) as any as S.Schema<DeleteUpdateScheduleRequest>,
|
|
288
296
|
output: __S(40, __c10, 0) as any as S.Schema<DeleteUpdateScheduleResponse>,
|
|
289
|
-
errors: [BadRequest, NotFound
|
|
297
|
+
errors: [BadRequest, NotFound],
|
|
298
|
+
serviceErrors: StackitServiceErrors,
|
|
290
299
|
protocol: StackitProtocol,
|
|
291
300
|
retry: Retry.Retry,
|
|
292
301
|
telemetry: TELEMETRY,
|
|
@@ -303,7 +312,8 @@ export const disableServiceResource: API.OperationMethod<
|
|
|
303
312
|
> = /*@__PURE__*/ API.make(() => ({
|
|
304
313
|
input: __S(44, __c11, 0) as any as S.Schema<DisableServiceResourceRequest>,
|
|
305
314
|
output: __S(40, __c10, 0) as any as S.Schema<DisableServiceResourceResponse>,
|
|
306
|
-
errors: [BadRequest, NotFound
|
|
315
|
+
errors: [BadRequest, NotFound],
|
|
316
|
+
serviceErrors: StackitServiceErrors,
|
|
307
317
|
protocol: StackitProtocol,
|
|
308
318
|
retry: Retry.Retry,
|
|
309
319
|
telemetry: TELEMETRY,
|
|
@@ -320,7 +330,8 @@ export const enableServiceResource: API.OperationMethod<
|
|
|
320
330
|
> = /*@__PURE__*/ API.make(() => ({
|
|
321
331
|
input: __S(48, __c12, 0) as any as S.Schema<EnableServiceResourceRequest>,
|
|
322
332
|
output: __S(40, __c10, 0) as any as S.Schema<EnableServiceResourceResponse>,
|
|
323
|
-
errors: [BadRequest, NotFound
|
|
333
|
+
errors: [BadRequest, NotFound],
|
|
334
|
+
serviceErrors: StackitServiceErrors,
|
|
324
335
|
protocol: StackitProtocol,
|
|
325
336
|
retry: Retry.Retry,
|
|
326
337
|
telemetry: TELEMETRY,
|
|
@@ -337,7 +348,8 @@ export const getServiceResource: API.OperationMethod<
|
|
|
337
348
|
> = /*@__PURE__*/ API.make(() => ({
|
|
338
349
|
input: __S(52, __c13, 0) as any as S.Schema<GetServiceResourceRequest>,
|
|
339
350
|
output: __S(53, __c13, 1) as any as S.Schema<GetUpdateServiceResponse>,
|
|
340
|
-
errors: [BadRequest, NotFound
|
|
351
|
+
errors: [BadRequest, NotFound],
|
|
352
|
+
serviceErrors: StackitServiceErrors,
|
|
341
353
|
protocol: StackitProtocol,
|
|
342
354
|
retry: Retry.Retry,
|
|
343
355
|
telemetry: TELEMETRY,
|
|
@@ -354,7 +366,8 @@ export const getUpdate: API.OperationMethod<
|
|
|
354
366
|
> = /*@__PURE__*/ API.make(() => ({
|
|
355
367
|
input: __S(56, __c14, 0) as any as S.Schema<GetUpdateRequest>,
|
|
356
368
|
output: __S(24, __c6, 0) as any as S.Schema<Update>,
|
|
357
|
-
errors: [BadRequest, NotFound
|
|
369
|
+
errors: [BadRequest, NotFound],
|
|
370
|
+
serviceErrors: StackitServiceErrors,
|
|
358
371
|
protocol: StackitProtocol,
|
|
359
372
|
retry: Retry.Retry,
|
|
360
373
|
telemetry: TELEMETRY,
|
|
@@ -371,7 +384,8 @@ export const getUpdateSchedule: API.OperationMethod<
|
|
|
371
384
|
> = /*@__PURE__*/ API.make(() => ({
|
|
372
385
|
input: __S(0, __c0, 0) as any as S.Schema<GetUpdateScheduleRequest>,
|
|
373
386
|
output: __S(32, __c8, 0) as any as S.Schema<GetUpdateScheduleResponse>,
|
|
374
|
-
errors: [BadRequest, NotFound
|
|
387
|
+
errors: [BadRequest, NotFound],
|
|
388
|
+
serviceErrors: StackitServiceErrors,
|
|
375
389
|
protocol: StackitProtocol,
|
|
376
390
|
retry: Retry.Retry,
|
|
377
391
|
telemetry: TELEMETRY,
|
|
@@ -388,7 +402,8 @@ export const listUpdatePolicies: API.OperationMethod<
|
|
|
388
402
|
> = /*@__PURE__*/ API.make(() => ({
|
|
389
403
|
input: __S(4, __c1, 0) as any as S.Schema<ListUpdatePoliciesRequest>,
|
|
390
404
|
output: __S(7, __c1, 3) as any as S.Schema<GetUpdatePoliciesResponse>,
|
|
391
|
-
errors: [BadRequest, NotFound
|
|
405
|
+
errors: [BadRequest, NotFound],
|
|
406
|
+
serviceErrors: StackitServiceErrors,
|
|
392
407
|
protocol: StackitProtocol,
|
|
393
408
|
retry: Retry.Retry,
|
|
394
409
|
telemetry: TELEMETRY,
|
|
@@ -405,7 +420,8 @@ export const listUpdates: API.OperationMethod<
|
|
|
405
420
|
> = /*@__PURE__*/ API.make(() => ({
|
|
406
421
|
input: __S(8, __c2, 0) as any as S.Schema<ListUpdatesRequest>,
|
|
407
422
|
output: __S(10, __c2, 2) as any as S.Schema<GetUpdatesListResponse>,
|
|
408
|
-
errors: [BadRequest, NotFound
|
|
423
|
+
errors: [BadRequest, NotFound],
|
|
424
|
+
serviceErrors: StackitServiceErrors,
|
|
409
425
|
protocol: StackitProtocol,
|
|
410
426
|
retry: Retry.Retry,
|
|
411
427
|
telemetry: TELEMETRY,
|
|
@@ -422,7 +438,8 @@ export const listUpdateSchedules: API.OperationMethod<
|
|
|
422
438
|
> = /*@__PURE__*/ API.make(() => ({
|
|
423
439
|
input: __S(12, __c3, 0) as any as S.Schema<ListUpdateSchedulesRequest>,
|
|
424
440
|
output: __S(14, __c3, 2) as any as S.Schema<GetUpdateSchedulesResponse>,
|
|
425
|
-
errors: [BadRequest, NotFound
|
|
441
|
+
errors: [BadRequest, NotFound],
|
|
442
|
+
serviceErrors: StackitServiceErrors,
|
|
426
443
|
protocol: StackitProtocol,
|
|
427
444
|
retry: Retry.Retry,
|
|
428
445
|
telemetry: TELEMETRY,
|
|
@@ -439,7 +456,8 @@ export const updateUpdateSchedule: API.OperationMethod<
|
|
|
439
456
|
> = /*@__PURE__*/ API.make(() => ({
|
|
440
457
|
input: __S(16, __c4, 0) as any as S.Schema<UpdateUpdateScheduleRequest>,
|
|
441
458
|
output: __S(32, __c8, 0) as any as S.Schema<UpdateUpdateScheduleResponse>,
|
|
442
|
-
errors: [BadRequest, NotFound
|
|
459
|
+
errors: [BadRequest, NotFound],
|
|
460
|
+
serviceErrors: StackitServiceErrors,
|
|
443
461
|
protocol: StackitProtocol,
|
|
444
462
|
retry: Retry.Retry,
|
|
445
463
|
telemetry: TELEMETRY,
|