@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
package/src/services/kms.ts
CHANGED
|
@@ -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,36 +30,64 @@ 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(
|
|
34
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
35
|
+
),
|
|
36
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
37
|
}).pipe(C.withBadRequestError),
|
|
34
38
|
[{ status: 400 }],
|
|
35
|
-
)
|
|
39
|
+
)
|
|
40
|
+
{
|
|
41
|
+
declare readonly body?: HttpError | string;
|
|
42
|
+
}
|
|
36
43
|
|
|
37
44
|
export class Conflict
|
|
38
45
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
39
46
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
47
|
code: S.Number,
|
|
41
48
|
message: S.String,
|
|
49
|
+
body: /*@__PURE__*/ S.optional(
|
|
50
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
51
|
+
),
|
|
52
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
53
|
}).pipe(C.withConflictError),
|
|
43
54
|
[{ status: 409 }],
|
|
44
|
-
)
|
|
55
|
+
)
|
|
56
|
+
{
|
|
57
|
+
declare readonly body?: HttpError | string;
|
|
58
|
+
}
|
|
45
59
|
|
|
46
60
|
export class Forbidden
|
|
47
61
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
48
62
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
49
63
|
code: S.Number,
|
|
50
64
|
message: S.String,
|
|
65
|
+
body: /*@__PURE__*/ S.optional(
|
|
66
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
67
|
+
),
|
|
68
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
69
|
}).pipe(C.withAuthError),
|
|
52
70
|
[{ status: 403 }],
|
|
53
|
-
)
|
|
71
|
+
)
|
|
72
|
+
{
|
|
73
|
+
declare readonly body?: HttpError | string;
|
|
74
|
+
}
|
|
54
75
|
|
|
55
76
|
export class NotFound
|
|
56
77
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
57
78
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
58
79
|
code: S.Number,
|
|
59
80
|
message: S.String,
|
|
81
|
+
body: /*@__PURE__*/ S.optional(
|
|
82
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
83
|
+
),
|
|
84
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
60
85
|
}).pipe(C.withBadRequestError),
|
|
61
86
|
[{ status: 404 }],
|
|
62
|
-
)
|
|
87
|
+
)
|
|
88
|
+
{
|
|
89
|
+
declare readonly body?: HttpError | string;
|
|
90
|
+
}
|
|
63
91
|
|
|
64
92
|
export type CreateKeyRequestRegionId = "eu01";
|
|
65
93
|
/** The access scope of the key. */
|
|
@@ -544,6 +572,10 @@ export interface VerifiedData {
|
|
|
544
572
|
/** Whether or not the data has a valid signature. */
|
|
545
573
|
valid: boolean;
|
|
546
574
|
}
|
|
575
|
+
export interface HttpError {
|
|
576
|
+
/** A string that gives a short information about what went wrong. */
|
|
577
|
+
message: string;
|
|
578
|
+
}
|
|
547
579
|
export type CreateKeyError = BadRequest | NotFound | StackitOpError;
|
|
548
580
|
/** Create key Creates a new key for the given key ring. */
|
|
549
581
|
export const createKey: API.OperationMethod<
|
|
@@ -552,9 +584,10 @@ export const createKey: API.OperationMethod<
|
|
|
552
584
|
CreateKeyError,
|
|
553
585
|
StackitOpContext
|
|
554
586
|
> = /*@__PURE__*/ API.make(() => ({
|
|
555
|
-
input: __S(
|
|
556
|
-
output: __S(
|
|
557
|
-
errors: [BadRequest, NotFound
|
|
587
|
+
input: __S(84, __c21, 0) as any as S.Schema<CreateKeyRequest>,
|
|
588
|
+
output: __S(88, __c22, 0) as any as S.Schema<Key>,
|
|
589
|
+
errors: [BadRequest, NotFound],
|
|
590
|
+
serviceErrors: StackitServiceErrors,
|
|
558
591
|
protocol: StackitProtocol,
|
|
559
592
|
retry: Retry.Retry,
|
|
560
593
|
telemetry: TELEMETRY,
|
|
@@ -569,9 +602,10 @@ export const createKeyRing: API.OperationMethod<
|
|
|
569
602
|
CreateKeyRingError,
|
|
570
603
|
StackitOpContext
|
|
571
604
|
> = /*@__PURE__*/ API.make(() => ({
|
|
572
|
-
input: __S(
|
|
573
|
-
output: __S(
|
|
574
|
-
errors: [BadRequest
|
|
605
|
+
input: __S(92, __c23, 0) as any as S.Schema<CreateKeyRingRequest>,
|
|
606
|
+
output: __S(96, __c24, 0) as any as S.Schema<KeyRing>,
|
|
607
|
+
errors: [BadRequest],
|
|
608
|
+
serviceErrors: StackitServiceErrors,
|
|
575
609
|
protocol: StackitProtocol,
|
|
576
610
|
retry: Retry.Retry,
|
|
577
611
|
telemetry: TELEMETRY,
|
|
@@ -586,9 +620,10 @@ export const createWrappingKey: API.OperationMethod<
|
|
|
586
620
|
CreateWrappingKeyError,
|
|
587
621
|
StackitOpContext
|
|
588
622
|
> = /*@__PURE__*/ API.make(() => ({
|
|
589
|
-
input: __S(
|
|
590
|
-
output: __S(
|
|
591
|
-
errors: [BadRequest, NotFound
|
|
623
|
+
input: __S(100, __c25, 0) as any as S.Schema<CreateWrappingKeyRequest>,
|
|
624
|
+
output: __S(104, __c26, 0) as any as S.Schema<WrappingKey>,
|
|
625
|
+
errors: [BadRequest, NotFound],
|
|
626
|
+
serviceErrors: StackitServiceErrors,
|
|
592
627
|
protocol: StackitProtocol,
|
|
593
628
|
retry: Retry.Retry,
|
|
594
629
|
telemetry: TELEMETRY,
|
|
@@ -603,9 +638,10 @@ export const decrypt: API.OperationMethod<
|
|
|
603
638
|
DecryptError,
|
|
604
639
|
StackitOpContext
|
|
605
640
|
> = /*@__PURE__*/ API.make(() => ({
|
|
606
|
-
input: __S(
|
|
607
|
-
output: __S(
|
|
608
|
-
errors: [BadRequest, NotFound, Conflict
|
|
641
|
+
input: __S(108, __c27, 0) as any as S.Schema<DecryptRequest>,
|
|
642
|
+
output: __S(112, __c28, 0) as any as S.Schema<DecryptedData>,
|
|
643
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
644
|
+
serviceErrors: StackitServiceErrors,
|
|
609
645
|
protocol: StackitProtocol,
|
|
610
646
|
retry: Retry.Retry,
|
|
611
647
|
telemetry: TELEMETRY,
|
|
@@ -620,9 +656,10 @@ export const deleteKey: API.OperationMethod<
|
|
|
620
656
|
DeleteKeyError,
|
|
621
657
|
StackitOpContext
|
|
622
658
|
> = /*@__PURE__*/ API.make(() => ({
|
|
623
|
-
input: __S(
|
|
624
|
-
output: __S(
|
|
625
|
-
errors: [BadRequest, NotFound, Conflict
|
|
659
|
+
input: __S(116, __c29, 0) as any as S.Schema<DeleteKeyRequest>,
|
|
660
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteKeyResponse>,
|
|
661
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
662
|
+
serviceErrors: StackitServiceErrors,
|
|
626
663
|
protocol: StackitProtocol,
|
|
627
664
|
retry: Retry.Retry,
|
|
628
665
|
telemetry: TELEMETRY,
|
|
@@ -637,9 +674,10 @@ export const deleteKeyRing: API.OperationMethod<
|
|
|
637
674
|
DeleteKeyRingError,
|
|
638
675
|
StackitOpContext
|
|
639
676
|
> = /*@__PURE__*/ API.make(() => ({
|
|
640
|
-
input: __S(
|
|
641
|
-
output: __S(
|
|
642
|
-
errors: [BadRequest, NotFound, Conflict
|
|
677
|
+
input: __S(124, __c31, 0) as any as S.Schema<DeleteKeyRingRequest>,
|
|
678
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteKeyRingResponse>,
|
|
679
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
680
|
+
serviceErrors: StackitServiceErrors,
|
|
643
681
|
protocol: StackitProtocol,
|
|
644
682
|
retry: Retry.Retry,
|
|
645
683
|
telemetry: TELEMETRY,
|
|
@@ -654,9 +692,10 @@ export const deleteWrappingKey: API.OperationMethod<
|
|
|
654
692
|
DeleteWrappingKeyError,
|
|
655
693
|
StackitOpContext
|
|
656
694
|
> = /*@__PURE__*/ API.make(() => ({
|
|
657
|
-
input: __S(
|
|
658
|
-
output: __S(
|
|
659
|
-
errors: [BadRequest, NotFound, Conflict
|
|
695
|
+
input: __S(4, __c1, 0) as any as S.Schema<DeleteWrappingKeyRequest>,
|
|
696
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteWrappingKeyResponse>,
|
|
697
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
698
|
+
serviceErrors: StackitServiceErrors,
|
|
660
699
|
protocol: StackitProtocol,
|
|
661
700
|
retry: Retry.Retry,
|
|
662
701
|
telemetry: TELEMETRY,
|
|
@@ -671,9 +710,10 @@ export const destroyVersion: API.OperationMethod<
|
|
|
671
710
|
DestroyVersionError,
|
|
672
711
|
StackitOpContext
|
|
673
712
|
> = /*@__PURE__*/ API.make(() => ({
|
|
674
|
-
input: __S(
|
|
675
|
-
output: __S(
|
|
676
|
-
errors: [BadRequest, NotFound, Conflict
|
|
713
|
+
input: __S(8, __c2, 0) as any as S.Schema<DestroyVersionRequest>,
|
|
714
|
+
output: __S(120, __c30, 0) as any as S.Schema<DestroyVersionResponse>,
|
|
715
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
716
|
+
serviceErrors: StackitServiceErrors,
|
|
677
717
|
protocol: StackitProtocol,
|
|
678
718
|
retry: Retry.Retry,
|
|
679
719
|
telemetry: TELEMETRY,
|
|
@@ -688,9 +728,10 @@ export const disableVersion: API.OperationMethod<
|
|
|
688
728
|
DisableVersionError,
|
|
689
729
|
StackitOpContext
|
|
690
730
|
> = /*@__PURE__*/ API.make(() => ({
|
|
691
|
-
input: __S(
|
|
692
|
-
output: __S(
|
|
693
|
-
errors: [BadRequest, NotFound, Conflict
|
|
731
|
+
input: __S(12, __c3, 0) as any as S.Schema<DisableVersionRequest>,
|
|
732
|
+
output: __S(120, __c30, 0) as any as S.Schema<DisableVersionResponse>,
|
|
733
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
734
|
+
serviceErrors: StackitServiceErrors,
|
|
694
735
|
protocol: StackitProtocol,
|
|
695
736
|
retry: Retry.Retry,
|
|
696
737
|
telemetry: TELEMETRY,
|
|
@@ -705,9 +746,10 @@ export const enableVersion: API.OperationMethod<
|
|
|
705
746
|
EnableVersionError,
|
|
706
747
|
StackitOpContext
|
|
707
748
|
> = /*@__PURE__*/ API.make(() => ({
|
|
708
|
-
input: __S(
|
|
709
|
-
output: __S(
|
|
710
|
-
errors: [BadRequest, NotFound, Conflict
|
|
749
|
+
input: __S(16, __c4, 0) as any as S.Schema<EnableVersionRequest>,
|
|
750
|
+
output: __S(120, __c30, 0) as any as S.Schema<EnableVersionResponse>,
|
|
751
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
752
|
+
serviceErrors: StackitServiceErrors,
|
|
711
753
|
protocol: StackitProtocol,
|
|
712
754
|
retry: Retry.Retry,
|
|
713
755
|
telemetry: TELEMETRY,
|
|
@@ -722,9 +764,10 @@ export const encrypt: API.OperationMethod<
|
|
|
722
764
|
EncryptError,
|
|
723
765
|
StackitOpContext
|
|
724
766
|
> = /*@__PURE__*/ API.make(() => ({
|
|
725
|
-
input: __S(
|
|
726
|
-
output: __S(
|
|
727
|
-
errors: [BadRequest, NotFound, Conflict
|
|
767
|
+
input: __S(20, __c5, 0) as any as S.Schema<EncryptRequest>,
|
|
768
|
+
output: __S(112, __c28, 0) as any as S.Schema<EncryptedData>,
|
|
769
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
770
|
+
serviceErrors: StackitServiceErrors,
|
|
728
771
|
protocol: StackitProtocol,
|
|
729
772
|
retry: Retry.Retry,
|
|
730
773
|
telemetry: TELEMETRY,
|
|
@@ -735,9 +778,10 @@ export type GetKeyError = BadRequest | NotFound | StackitOpError;
|
|
|
735
778
|
/** Get key Returns the details for the given key. */
|
|
736
779
|
export const getKey: API.OperationMethod<GetKeyRequest, Key, GetKeyError, StackitOpContext> =
|
|
737
780
|
/*@__PURE__*/ API.make(() => ({
|
|
738
|
-
input: __S(
|
|
739
|
-
output: __S(
|
|
740
|
-
errors: [BadRequest, NotFound
|
|
781
|
+
input: __S(24, __c6, 0) as any as S.Schema<GetKeyRequest>,
|
|
782
|
+
output: __S(88, __c22, 0) as any as S.Schema<Key>,
|
|
783
|
+
errors: [BadRequest, NotFound],
|
|
784
|
+
serviceErrors: StackitServiceErrors,
|
|
741
785
|
protocol: StackitProtocol,
|
|
742
786
|
retry: Retry.Retry,
|
|
743
787
|
telemetry: TELEMETRY,
|
|
@@ -752,9 +796,10 @@ export const getKeyRing: API.OperationMethod<
|
|
|
752
796
|
GetKeyRingError,
|
|
753
797
|
StackitOpContext
|
|
754
798
|
> = /*@__PURE__*/ API.make(() => ({
|
|
755
|
-
input: __S(
|
|
756
|
-
output: __S(
|
|
757
|
-
errors: [BadRequest, NotFound
|
|
799
|
+
input: __S(28, __c7, 0) as any as S.Schema<GetKeyRingRequest>,
|
|
800
|
+
output: __S(96, __c24, 0) as any as S.Schema<KeyRing>,
|
|
801
|
+
errors: [BadRequest, NotFound],
|
|
802
|
+
serviceErrors: StackitServiceErrors,
|
|
758
803
|
protocol: StackitProtocol,
|
|
759
804
|
retry: Retry.Retry,
|
|
760
805
|
telemetry: TELEMETRY,
|
|
@@ -769,9 +814,10 @@ export const getVersion: API.OperationMethod<
|
|
|
769
814
|
GetVersionError,
|
|
770
815
|
StackitOpContext
|
|
771
816
|
> = /*@__PURE__*/ API.make(() => ({
|
|
772
|
-
input: __S(
|
|
773
|
-
output: __S(
|
|
774
|
-
errors: [BadRequest, NotFound
|
|
817
|
+
input: __S(32, __c8, 0) as any as S.Schema<GetVersionRequest>,
|
|
818
|
+
output: __S(36, __c9, 0) as any as S.Schema<Version>,
|
|
819
|
+
errors: [BadRequest, NotFound],
|
|
820
|
+
serviceErrors: StackitServiceErrors,
|
|
775
821
|
protocol: StackitProtocol,
|
|
776
822
|
retry: Retry.Retry,
|
|
777
823
|
telemetry: TELEMETRY,
|
|
@@ -786,9 +832,10 @@ export const getWrappingKey: API.OperationMethod<
|
|
|
786
832
|
GetWrappingKeyError,
|
|
787
833
|
StackitOpContext
|
|
788
834
|
> = /*@__PURE__*/ API.make(() => ({
|
|
789
|
-
input: __S(
|
|
790
|
-
output: __S(
|
|
791
|
-
errors: [BadRequest, NotFound
|
|
835
|
+
input: __S(40, __c10, 0) as any as S.Schema<GetWrappingKeyRequest>,
|
|
836
|
+
output: __S(104, __c26, 0) as any as S.Schema<WrappingKey>,
|
|
837
|
+
errors: [BadRequest, NotFound],
|
|
838
|
+
serviceErrors: StackitServiceErrors,
|
|
792
839
|
protocol: StackitProtocol,
|
|
793
840
|
retry: Retry.Retry,
|
|
794
841
|
telemetry: TELEMETRY,
|
|
@@ -803,9 +850,10 @@ export const importKey: API.OperationMethod<
|
|
|
803
850
|
ImportKeyError,
|
|
804
851
|
StackitOpContext
|
|
805
852
|
> = /*@__PURE__*/ API.make(() => ({
|
|
806
|
-
input: __S(
|
|
807
|
-
output: __S(
|
|
808
|
-
errors: [BadRequest, NotFound, Conflict
|
|
853
|
+
input: __S(44, __c11, 0) as any as S.Schema<ImportKeyRequest>,
|
|
854
|
+
output: __S(36, __c9, 0) as any as S.Schema<Version>,
|
|
855
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
856
|
+
serviceErrors: StackitServiceErrors,
|
|
809
857
|
protocol: StackitProtocol,
|
|
810
858
|
retry: Retry.Retry,
|
|
811
859
|
telemetry: TELEMETRY,
|
|
@@ -820,9 +868,10 @@ export const listKeyRings: API.OperationMethod<
|
|
|
820
868
|
ListKeyRingsError,
|
|
821
869
|
StackitOpContext
|
|
822
870
|
> = /*@__PURE__*/ API.make(() => ({
|
|
823
|
-
input: __S(
|
|
824
|
-
output: __S(
|
|
825
|
-
errors: [BadRequest
|
|
871
|
+
input: __S(48, __c12, 0) as any as S.Schema<ListKeyRingsRequest>,
|
|
872
|
+
output: __S(50, __c12, 2) as any as S.Schema<KeyRingList>,
|
|
873
|
+
errors: [BadRequest],
|
|
874
|
+
serviceErrors: StackitServiceErrors,
|
|
826
875
|
protocol: StackitProtocol,
|
|
827
876
|
retry: Retry.Retry,
|
|
828
877
|
telemetry: TELEMETRY,
|
|
@@ -837,9 +886,10 @@ export const listKeys: API.OperationMethod<
|
|
|
837
886
|
ListKeysError,
|
|
838
887
|
StackitOpContext
|
|
839
888
|
> = /*@__PURE__*/ API.make(() => ({
|
|
840
|
-
input: __S(
|
|
841
|
-
output: __S(
|
|
842
|
-
errors: [BadRequest, NotFound
|
|
889
|
+
input: __S(52, __c13, 0) as any as S.Schema<ListKeysRequest>,
|
|
890
|
+
output: __S(54, __c13, 2) as any as S.Schema<KeyList>,
|
|
891
|
+
errors: [BadRequest, NotFound],
|
|
892
|
+
serviceErrors: StackitServiceErrors,
|
|
843
893
|
protocol: StackitProtocol,
|
|
844
894
|
retry: Retry.Retry,
|
|
845
895
|
telemetry: TELEMETRY,
|
|
@@ -854,9 +904,10 @@ export const listVersions: API.OperationMethod<
|
|
|
854
904
|
ListVersionsError,
|
|
855
905
|
StackitOpContext
|
|
856
906
|
> = /*@__PURE__*/ API.make(() => ({
|
|
857
|
-
input: __S(
|
|
858
|
-
output: __S(
|
|
859
|
-
errors: [BadRequest, NotFound
|
|
907
|
+
input: __S(56, __c14, 0) as any as S.Schema<ListVersionsRequest>,
|
|
908
|
+
output: __S(58, __c14, 2) as any as S.Schema<VersionList>,
|
|
909
|
+
errors: [BadRequest, NotFound],
|
|
910
|
+
serviceErrors: StackitServiceErrors,
|
|
860
911
|
protocol: StackitProtocol,
|
|
861
912
|
retry: Retry.Retry,
|
|
862
913
|
telemetry: TELEMETRY,
|
|
@@ -871,9 +922,10 @@ export const listWrappingKeys: API.OperationMethod<
|
|
|
871
922
|
ListWrappingKeysError,
|
|
872
923
|
StackitOpContext
|
|
873
924
|
> = /*@__PURE__*/ API.make(() => ({
|
|
874
|
-
input: __S(
|
|
875
|
-
output: __S(
|
|
876
|
-
errors: [BadRequest, NotFound
|
|
925
|
+
input: __S(60, __c15, 0) as any as S.Schema<ListWrappingKeysRequest>,
|
|
926
|
+
output: __S(62, __c15, 2) as any as S.Schema<WrappingKeyList>,
|
|
927
|
+
errors: [BadRequest, NotFound],
|
|
928
|
+
serviceErrors: StackitServiceErrors,
|
|
877
929
|
protocol: StackitProtocol,
|
|
878
930
|
retry: Retry.Retry,
|
|
879
931
|
telemetry: TELEMETRY,
|
|
@@ -888,9 +940,10 @@ export const restoreKey: API.OperationMethod<
|
|
|
888
940
|
RestoreKeyError,
|
|
889
941
|
StackitOpContext
|
|
890
942
|
> = /*@__PURE__*/ API.make(() => ({
|
|
891
|
-
input: __S(
|
|
892
|
-
output: __S(
|
|
893
|
-
errors: [BadRequest, NotFound, Conflict
|
|
943
|
+
input: __S(64, __c16, 0) as any as S.Schema<RestoreKeyRequest>,
|
|
944
|
+
output: __S(120, __c30, 0) as any as S.Schema<RestoreKeyResponse>,
|
|
945
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
946
|
+
serviceErrors: StackitServiceErrors,
|
|
894
947
|
protocol: StackitProtocol,
|
|
895
948
|
retry: Retry.Retry,
|
|
896
949
|
telemetry: TELEMETRY,
|
|
@@ -905,9 +958,10 @@ export const restoreVersion: API.OperationMethod<
|
|
|
905
958
|
RestoreVersionError,
|
|
906
959
|
StackitOpContext
|
|
907
960
|
> = /*@__PURE__*/ API.make(() => ({
|
|
908
|
-
input: __S(
|
|
909
|
-
output: __S(
|
|
910
|
-
errors: [BadRequest, NotFound, Conflict
|
|
961
|
+
input: __S(68, __c17, 0) as any as S.Schema<RestoreVersionRequest>,
|
|
962
|
+
output: __S(120, __c30, 0) as any as S.Schema<RestoreVersionResponse>,
|
|
963
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
964
|
+
serviceErrors: StackitServiceErrors,
|
|
911
965
|
protocol: StackitProtocol,
|
|
912
966
|
retry: Retry.Retry,
|
|
913
967
|
telemetry: TELEMETRY,
|
|
@@ -922,9 +976,10 @@ export const rotateKey: API.OperationMethod<
|
|
|
922
976
|
RotateKeyError,
|
|
923
977
|
StackitOpContext
|
|
924
978
|
> = /*@__PURE__*/ API.make(() => ({
|
|
925
|
-
input: __S(
|
|
926
|
-
output: __S(
|
|
927
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
979
|
+
input: __S(72, __c18, 0) as any as S.Schema<RotateKeyRequest>,
|
|
980
|
+
output: __S(36, __c9, 0) as any as S.Schema<Version>,
|
|
981
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
982
|
+
serviceErrors: StackitServiceErrors,
|
|
928
983
|
protocol: StackitProtocol,
|
|
929
984
|
retry: Retry.Retry,
|
|
930
985
|
telemetry: TELEMETRY,
|
|
@@ -935,9 +990,10 @@ export type SignError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
|
935
990
|
/** Sign Sign data using the given key version as secret. */
|
|
936
991
|
export const sign: API.OperationMethod<SignRequest, SignedData, SignError, StackitOpContext> =
|
|
937
992
|
/*@__PURE__*/ API.make(() => ({
|
|
938
|
-
input: __S(
|
|
939
|
-
output: __S(
|
|
940
|
-
errors: [BadRequest, NotFound, Conflict
|
|
993
|
+
input: __S(76, __c19, 0) as any as S.Schema<SignRequest>,
|
|
994
|
+
output: __S(77, __c19, 1) as any as S.Schema<SignedData>,
|
|
995
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
996
|
+
serviceErrors: StackitServiceErrors,
|
|
941
997
|
protocol: StackitProtocol,
|
|
942
998
|
retry: Retry.Retry,
|
|
943
999
|
telemetry: TELEMETRY,
|
|
@@ -952,9 +1008,10 @@ export const verify: API.OperationMethod<
|
|
|
952
1008
|
VerifyError,
|
|
953
1009
|
StackitOpContext
|
|
954
1010
|
> = /*@__PURE__*/ API.make(() => ({
|
|
955
|
-
input: __S(
|
|
956
|
-
output: __S(
|
|
957
|
-
errors: [BadRequest, NotFound, Conflict
|
|
1011
|
+
input: __S(80, __c20, 0) as any as S.Schema<VerifyRequest>,
|
|
1012
|
+
output: __S(81, __c20, 1) as any as S.Schema<VerifiedData>,
|
|
1013
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
1014
|
+
serviceErrors: StackitServiceErrors,
|
|
958
1015
|
protocol: StackitProtocol,
|
|
959
1016
|
retry: Retry.Retry,
|
|
960
1017
|
telemetry: TELEMETRY,
|
|
@@ -963,6 +1020,16 @@ export const verify: API.OperationMethod<
|
|
|
963
1020
|
|
|
964
1021
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
965
1022
|
function __c0(j: number): any {
|
|
1023
|
+
switch (j) {
|
|
1024
|
+
case 0:
|
|
1025
|
+
return S.suspend(() =>
|
|
1026
|
+
S.Struct({
|
|
1027
|
+
message: S.String,
|
|
1028
|
+
}),
|
|
1029
|
+
).annotate({ identifier: "HttpError" });
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
function __c1(j: number): any {
|
|
966
1033
|
switch (j) {
|
|
967
1034
|
case 0:
|
|
968
1035
|
return S.suspend(() =>
|
|
@@ -982,7 +1049,7 @@ function __c0(j: number): any {
|
|
|
982
1049
|
).annotate({ identifier: "DeleteWrappingKeyRequest" });
|
|
983
1050
|
}
|
|
984
1051
|
}
|
|
985
|
-
function
|
|
1052
|
+
function __c2(j: number): any {
|
|
986
1053
|
switch (j) {
|
|
987
1054
|
case 0:
|
|
988
1055
|
return S.suspend(() =>
|
|
@@ -1003,7 +1070,7 @@ function __c1(j: number): any {
|
|
|
1003
1070
|
).annotate({ identifier: "DestroyVersionRequest" });
|
|
1004
1071
|
}
|
|
1005
1072
|
}
|
|
1006
|
-
function
|
|
1073
|
+
function __c3(j: number): any {
|
|
1007
1074
|
switch (j) {
|
|
1008
1075
|
case 0:
|
|
1009
1076
|
return S.suspend(() =>
|
|
@@ -1024,7 +1091,7 @@ function __c2(j: number): any {
|
|
|
1024
1091
|
).annotate({ identifier: "DisableVersionRequest" });
|
|
1025
1092
|
}
|
|
1026
1093
|
}
|
|
1027
|
-
function
|
|
1094
|
+
function __c4(j: number): any {
|
|
1028
1095
|
switch (j) {
|
|
1029
1096
|
case 0:
|
|
1030
1097
|
return S.suspend(() =>
|
|
@@ -1045,7 +1112,7 @@ function __c3(j: number): any {
|
|
|
1045
1112
|
).annotate({ identifier: "EnableVersionRequest" });
|
|
1046
1113
|
}
|
|
1047
1114
|
}
|
|
1048
|
-
function
|
|
1115
|
+
function __c5(j: number): any {
|
|
1049
1116
|
switch (j) {
|
|
1050
1117
|
case 0:
|
|
1051
1118
|
return S.suspend(() =>
|
|
@@ -1067,7 +1134,7 @@ function __c4(j: number): any {
|
|
|
1067
1134
|
).annotate({ identifier: "EncryptRequest" });
|
|
1068
1135
|
}
|
|
1069
1136
|
}
|
|
1070
|
-
function
|
|
1137
|
+
function __c6(j: number): any {
|
|
1071
1138
|
switch (j) {
|
|
1072
1139
|
case 0:
|
|
1073
1140
|
return S.suspend(() =>
|
|
@@ -1087,7 +1154,7 @@ function __c5(j: number): any {
|
|
|
1087
1154
|
).annotate({ identifier: "GetKeyRequest" });
|
|
1088
1155
|
}
|
|
1089
1156
|
}
|
|
1090
|
-
function
|
|
1157
|
+
function __c7(j: number): any {
|
|
1091
1158
|
switch (j) {
|
|
1092
1159
|
case 0:
|
|
1093
1160
|
return S.suspend(() =>
|
|
@@ -1106,7 +1173,7 @@ function __c6(j: number): any {
|
|
|
1106
1173
|
).annotate({ identifier: "GetKeyRingRequest" });
|
|
1107
1174
|
}
|
|
1108
1175
|
}
|
|
1109
|
-
function
|
|
1176
|
+
function __c8(j: number): any {
|
|
1110
1177
|
switch (j) {
|
|
1111
1178
|
case 0:
|
|
1112
1179
|
return S.suspend(() =>
|
|
@@ -1127,7 +1194,7 @@ function __c7(j: number): any {
|
|
|
1127
1194
|
).annotate({ identifier: "GetVersionRequest" });
|
|
1128
1195
|
}
|
|
1129
1196
|
}
|
|
1130
|
-
function
|
|
1197
|
+
function __c9(j: number): any {
|
|
1131
1198
|
switch (j) {
|
|
1132
1199
|
case 0:
|
|
1133
1200
|
return S.suspend(() =>
|
|
@@ -1144,7 +1211,7 @@ function __c8(j: number): any {
|
|
|
1144
1211
|
).annotate({ identifier: "Version" });
|
|
1145
1212
|
}
|
|
1146
1213
|
}
|
|
1147
|
-
function
|
|
1214
|
+
function __c10(j: number): any {
|
|
1148
1215
|
switch (j) {
|
|
1149
1216
|
case 0:
|
|
1150
1217
|
return S.suspend(() =>
|
|
@@ -1164,7 +1231,7 @@ function __c9(j: number): any {
|
|
|
1164
1231
|
).annotate({ identifier: "GetWrappingKeyRequest" });
|
|
1165
1232
|
}
|
|
1166
1233
|
}
|
|
1167
|
-
function
|
|
1234
|
+
function __c11(j: number): any {
|
|
1168
1235
|
switch (j) {
|
|
1169
1236
|
case 0:
|
|
1170
1237
|
return S.suspend(() =>
|
|
@@ -1186,7 +1253,7 @@ function __c10(j: number): any {
|
|
|
1186
1253
|
).annotate({ identifier: "ImportKeyRequest" });
|
|
1187
1254
|
}
|
|
1188
1255
|
}
|
|
1189
|
-
function
|
|
1256
|
+
function __c12(j: number): any {
|
|
1190
1257
|
switch (j) {
|
|
1191
1258
|
case 0:
|
|
1192
1259
|
return S.suspend(() =>
|
|
@@ -1203,16 +1270,16 @@ function __c11(j: number): any {
|
|
|
1203
1270
|
),
|
|
1204
1271
|
).annotate({ identifier: "ListKeyRingsRequest" });
|
|
1205
1272
|
case 1:
|
|
1206
|
-
return S.Array(__S(
|
|
1273
|
+
return S.Array(__S(96, __c24, 0));
|
|
1207
1274
|
case 2:
|
|
1208
1275
|
return S.suspend(() =>
|
|
1209
1276
|
S.Struct({
|
|
1210
|
-
keyRings: __S(
|
|
1277
|
+
keyRings: __S(49, __c12, 1),
|
|
1211
1278
|
}),
|
|
1212
1279
|
).annotate({ identifier: "KeyRingList" });
|
|
1213
1280
|
}
|
|
1214
1281
|
}
|
|
1215
|
-
function
|
|
1282
|
+
function __c13(j: number): any {
|
|
1216
1283
|
switch (j) {
|
|
1217
1284
|
case 0:
|
|
1218
1285
|
return S.suspend(() =>
|
|
@@ -1230,16 +1297,16 @@ function __c12(j: number): any {
|
|
|
1230
1297
|
),
|
|
1231
1298
|
).annotate({ identifier: "ListKeysRequest" });
|
|
1232
1299
|
case 1:
|
|
1233
|
-
return S.Array(__S(
|
|
1300
|
+
return S.Array(__S(88, __c22, 0));
|
|
1234
1301
|
case 2:
|
|
1235
1302
|
return S.suspend(() =>
|
|
1236
1303
|
S.Struct({
|
|
1237
|
-
keys: __S(
|
|
1304
|
+
keys: __S(53, __c13, 1),
|
|
1238
1305
|
}),
|
|
1239
1306
|
).annotate({ identifier: "KeyList" });
|
|
1240
1307
|
}
|
|
1241
1308
|
}
|
|
1242
|
-
function
|
|
1309
|
+
function __c14(j: number): any {
|
|
1243
1310
|
switch (j) {
|
|
1244
1311
|
case 0:
|
|
1245
1312
|
return S.suspend(() =>
|
|
@@ -1258,16 +1325,16 @@ function __c13(j: number): any {
|
|
|
1258
1325
|
),
|
|
1259
1326
|
).annotate({ identifier: "ListVersionsRequest" });
|
|
1260
1327
|
case 1:
|
|
1261
|
-
return S.Array(__S(
|
|
1328
|
+
return S.Array(__S(36, __c9, 0));
|
|
1262
1329
|
case 2:
|
|
1263
1330
|
return S.suspend(() =>
|
|
1264
1331
|
S.Struct({
|
|
1265
|
-
versions: __S(
|
|
1332
|
+
versions: __S(57, __c14, 1),
|
|
1266
1333
|
}),
|
|
1267
1334
|
).annotate({ identifier: "VersionList" });
|
|
1268
1335
|
}
|
|
1269
1336
|
}
|
|
1270
|
-
function
|
|
1337
|
+
function __c15(j: number): any {
|
|
1271
1338
|
switch (j) {
|
|
1272
1339
|
case 0:
|
|
1273
1340
|
return S.suspend(() =>
|
|
@@ -1285,16 +1352,16 @@ function __c14(j: number): any {
|
|
|
1285
1352
|
),
|
|
1286
1353
|
).annotate({ identifier: "ListWrappingKeysRequest" });
|
|
1287
1354
|
case 1:
|
|
1288
|
-
return S.Array(__S(
|
|
1355
|
+
return S.Array(__S(104, __c26, 0));
|
|
1289
1356
|
case 2:
|
|
1290
1357
|
return S.suspend(() =>
|
|
1291
1358
|
S.Struct({
|
|
1292
|
-
wrappingKeys: __S(
|
|
1359
|
+
wrappingKeys: __S(61, __c15, 1),
|
|
1293
1360
|
}),
|
|
1294
1361
|
).annotate({ identifier: "WrappingKeyList" });
|
|
1295
1362
|
}
|
|
1296
1363
|
}
|
|
1297
|
-
function
|
|
1364
|
+
function __c16(j: number): any {
|
|
1298
1365
|
switch (j) {
|
|
1299
1366
|
case 0:
|
|
1300
1367
|
return S.suspend(() =>
|
|
@@ -1314,7 +1381,7 @@ function __c15(j: number): any {
|
|
|
1314
1381
|
).annotate({ identifier: "RestoreKeyRequest" });
|
|
1315
1382
|
}
|
|
1316
1383
|
}
|
|
1317
|
-
function
|
|
1384
|
+
function __c17(j: number): any {
|
|
1318
1385
|
switch (j) {
|
|
1319
1386
|
case 0:
|
|
1320
1387
|
return S.suspend(() =>
|
|
@@ -1335,7 +1402,7 @@ function __c16(j: number): any {
|
|
|
1335
1402
|
).annotate({ identifier: "RestoreVersionRequest" });
|
|
1336
1403
|
}
|
|
1337
1404
|
}
|
|
1338
|
-
function
|
|
1405
|
+
function __c18(j: number): any {
|
|
1339
1406
|
switch (j) {
|
|
1340
1407
|
case 0:
|
|
1341
1408
|
return S.suspend(() =>
|
|
@@ -1355,7 +1422,7 @@ function __c17(j: number): any {
|
|
|
1355
1422
|
).annotate({ identifier: "RotateKeyRequest" });
|
|
1356
1423
|
}
|
|
1357
1424
|
}
|
|
1358
|
-
function
|
|
1425
|
+
function __c19(j: number): any {
|
|
1359
1426
|
switch (j) {
|
|
1360
1427
|
case 0:
|
|
1361
1428
|
return S.suspend(() =>
|
|
@@ -1384,7 +1451,7 @@ function __c18(j: number): any {
|
|
|
1384
1451
|
).annotate({ identifier: "SignedData" });
|
|
1385
1452
|
}
|
|
1386
1453
|
}
|
|
1387
|
-
function
|
|
1454
|
+
function __c20(j: number): any {
|
|
1388
1455
|
switch (j) {
|
|
1389
1456
|
case 0:
|
|
1390
1457
|
return S.suspend(() =>
|
|
@@ -1413,7 +1480,7 @@ function __c19(j: number): any {
|
|
|
1413
1480
|
).annotate({ identifier: "VerifiedData" });
|
|
1414
1481
|
}
|
|
1415
1482
|
}
|
|
1416
|
-
function
|
|
1483
|
+
function __c21(j: number): any {
|
|
1417
1484
|
switch (j) {
|
|
1418
1485
|
case 0:
|
|
1419
1486
|
return S.suspend(() =>
|
|
@@ -1439,7 +1506,7 @@ function __c20(j: number): any {
|
|
|
1439
1506
|
).annotate({ identifier: "CreateKeyRequest" });
|
|
1440
1507
|
}
|
|
1441
1508
|
}
|
|
1442
|
-
function
|
|
1509
|
+
function __c22(j: number): any {
|
|
1443
1510
|
switch (j) {
|
|
1444
1511
|
case 0:
|
|
1445
1512
|
return S.suspend(() =>
|
|
@@ -1460,7 +1527,7 @@ function __c21(j: number): any {
|
|
|
1460
1527
|
).annotate({ identifier: "Key" });
|
|
1461
1528
|
}
|
|
1462
1529
|
}
|
|
1463
|
-
function
|
|
1530
|
+
function __c23(j: number): any {
|
|
1464
1531
|
switch (j) {
|
|
1465
1532
|
case 0:
|
|
1466
1533
|
return S.suspend(() =>
|
|
@@ -1480,7 +1547,7 @@ function __c22(j: number): any {
|
|
|
1480
1547
|
).annotate({ identifier: "CreateKeyRingRequest" });
|
|
1481
1548
|
}
|
|
1482
1549
|
}
|
|
1483
|
-
function
|
|
1550
|
+
function __c24(j: number): any {
|
|
1484
1551
|
switch (j) {
|
|
1485
1552
|
case 0:
|
|
1486
1553
|
return S.suspend(() =>
|
|
@@ -1494,7 +1561,7 @@ function __c23(j: number): any {
|
|
|
1494
1561
|
).annotate({ identifier: "KeyRing" });
|
|
1495
1562
|
}
|
|
1496
1563
|
}
|
|
1497
|
-
function
|
|
1564
|
+
function __c25(j: number): any {
|
|
1498
1565
|
switch (j) {
|
|
1499
1566
|
case 0:
|
|
1500
1567
|
return S.suspend(() =>
|
|
@@ -1519,7 +1586,7 @@ function __c24(j: number): any {
|
|
|
1519
1586
|
).annotate({ identifier: "CreateWrappingKeyRequest" });
|
|
1520
1587
|
}
|
|
1521
1588
|
}
|
|
1522
|
-
function
|
|
1589
|
+
function __c26(j: number): any {
|
|
1523
1590
|
switch (j) {
|
|
1524
1591
|
case 0:
|
|
1525
1592
|
return S.suspend(() =>
|
|
@@ -1540,7 +1607,7 @@ function __c25(j: number): any {
|
|
|
1540
1607
|
).annotate({ identifier: "WrappingKey" });
|
|
1541
1608
|
}
|
|
1542
1609
|
}
|
|
1543
|
-
function
|
|
1610
|
+
function __c27(j: number): any {
|
|
1544
1611
|
switch (j) {
|
|
1545
1612
|
case 0:
|
|
1546
1613
|
return S.suspend(() =>
|
|
@@ -1562,7 +1629,7 @@ function __c26(j: number): any {
|
|
|
1562
1629
|
).annotate({ identifier: "DecryptRequest" });
|
|
1563
1630
|
}
|
|
1564
1631
|
}
|
|
1565
|
-
function
|
|
1632
|
+
function __c28(j: number): any {
|
|
1566
1633
|
switch (j) {
|
|
1567
1634
|
case 0:
|
|
1568
1635
|
return S.suspend(() =>
|
|
@@ -1572,7 +1639,7 @@ function __c27(j: number): any {
|
|
|
1572
1639
|
).annotate({ identifier: "DecryptedData" });
|
|
1573
1640
|
}
|
|
1574
1641
|
}
|
|
1575
|
-
function
|
|
1642
|
+
function __c29(j: number): any {
|
|
1576
1643
|
switch (j) {
|
|
1577
1644
|
case 0:
|
|
1578
1645
|
return S.suspend(() =>
|
|
@@ -1592,13 +1659,13 @@ function __c28(j: number): any {
|
|
|
1592
1659
|
).annotate({ identifier: "DeleteKeyRequest" });
|
|
1593
1660
|
}
|
|
1594
1661
|
}
|
|
1595
|
-
function
|
|
1662
|
+
function __c30(j: number): any {
|
|
1596
1663
|
switch (j) {
|
|
1597
1664
|
case 0:
|
|
1598
1665
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteKeyResponse" });
|
|
1599
1666
|
}
|
|
1600
1667
|
}
|
|
1601
|
-
function
|
|
1668
|
+
function __c31(j: number): any {
|
|
1602
1669
|
switch (j) {
|
|
1603
1670
|
case 0:
|
|
1604
1671
|
return S.suspend(() =>
|