@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.21
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 +34 -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 +42 -1
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +43 -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 +226 -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 +285 -133
- 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
|
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import type * as Redacted from "effect/Redacted";
|
|
7
|
-
import {
|
|
7
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
8
8
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
9
9
|
import * as Retry from "../retry.ts";
|
|
10
10
|
import * as T from "../traits.ts";
|
|
@@ -31,45 +31,84 @@ export class BadRequest
|
|
|
31
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
32
32
|
code: S.Number,
|
|
33
33
|
message: S.String,
|
|
34
|
+
body: /*@__PURE__*/ S.optional(
|
|
35
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
36
|
+
),
|
|
37
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
38
|
}).pipe(C.withBadRequestError),
|
|
35
39
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
40
|
+
)
|
|
41
|
+
{
|
|
42
|
+
declare readonly body?: ErrorMessage | string;
|
|
43
|
+
}
|
|
37
44
|
|
|
38
45
|
export class Conflict
|
|
39
46
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
40
47
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
48
|
code: S.Number,
|
|
42
49
|
message: S.String,
|
|
50
|
+
body: /*@__PURE__*/ S.optional(
|
|
51
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
52
|
+
),
|
|
53
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
54
|
}).pipe(C.withConflictError),
|
|
44
55
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
56
|
+
)
|
|
57
|
+
{
|
|
58
|
+
declare readonly body?: ErrorMessage | string;
|
|
59
|
+
}
|
|
46
60
|
|
|
47
61
|
export class Forbidden
|
|
48
62
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
63
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
50
64
|
code: S.Number,
|
|
51
65
|
message: S.String,
|
|
66
|
+
body: /*@__PURE__*/ S.optional(
|
|
67
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
68
|
+
),
|
|
69
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
70
|
}).pipe(C.withAuthError),
|
|
53
71
|
[{ status: 403 }],
|
|
54
|
-
)
|
|
72
|
+
)
|
|
73
|
+
{
|
|
74
|
+
declare readonly body?: ErrorMessage | string;
|
|
75
|
+
}
|
|
55
76
|
|
|
56
77
|
export class NotFound
|
|
57
78
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
58
79
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
59
80
|
code: S.Number,
|
|
60
81
|
message: S.String,
|
|
82
|
+
body: /*@__PURE__*/ S.optional(
|
|
83
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
84
|
+
),
|
|
85
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
61
86
|
}).pipe(C.withBadRequestError),
|
|
62
87
|
[{ status: 404 }],
|
|
63
|
-
)
|
|
88
|
+
)
|
|
89
|
+
{
|
|
90
|
+
declare readonly body?: ErrorMessage | string;
|
|
91
|
+
}
|
|
64
92
|
|
|
65
93
|
export class UnprocessableEntity
|
|
66
94
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
67
95
|
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
68
96
|
code: S.Number,
|
|
69
97
|
message: S.String,
|
|
98
|
+
body: /*@__PURE__*/ S.optional(
|
|
99
|
+
/*@__PURE__*/ S.Union([
|
|
100
|
+
/*@__PURE__*/ S.suspend(() => __S(83, __c20, 3)),
|
|
101
|
+
/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
|
|
102
|
+
S.String,
|
|
103
|
+
]),
|
|
104
|
+
),
|
|
105
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
70
106
|
}).pipe(C.withBadRequestError),
|
|
71
107
|
[{ status: 422 }],
|
|
72
|
-
)
|
|
108
|
+
)
|
|
109
|
+
{
|
|
110
|
+
declare readonly body?: HTTPValidationError | ErrorMessage | string;
|
|
111
|
+
}
|
|
73
112
|
|
|
74
113
|
export interface CreateAccessKeyRequest {
|
|
75
114
|
/** STACKIT project ID */
|
|
@@ -371,6 +410,25 @@ export interface UpdateServiceRequest {
|
|
|
371
410
|
/** Project labels */
|
|
372
411
|
labels: UpdateServiceRequestLabelsMap;
|
|
373
412
|
}
|
|
413
|
+
export interface DetailedError {
|
|
414
|
+
key: string;
|
|
415
|
+
msg: string;
|
|
416
|
+
}
|
|
417
|
+
export type ErrorMessageDetailList = Array<DetailedError>;
|
|
418
|
+
export interface ErrorMessage {
|
|
419
|
+
detail: ErrorMessageDetailList;
|
|
420
|
+
}
|
|
421
|
+
export type ValidationErrorLocItem = string | number;
|
|
422
|
+
export type ValidationErrorLocList = Array<ValidationErrorLocItem>;
|
|
423
|
+
export interface ValidationError {
|
|
424
|
+
loc: ValidationErrorLocList;
|
|
425
|
+
msg: string;
|
|
426
|
+
type: string;
|
|
427
|
+
}
|
|
428
|
+
export type HTTPValidationErrorDetailList = Array<ValidationError>;
|
|
429
|
+
export interface HTTPValidationError {
|
|
430
|
+
detail?: HTTPValidationErrorDetailList | undefined;
|
|
431
|
+
}
|
|
374
432
|
export type CreateAccessKeyError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
375
433
|
/** Create Access Key Create an access key for the given project. */
|
|
376
434
|
export const createAccessKey: API.OperationMethod<
|
|
@@ -379,9 +437,10 @@ export const createAccessKey: API.OperationMethod<
|
|
|
379
437
|
CreateAccessKeyError,
|
|
380
438
|
StackitOpContext
|
|
381
439
|
> = /*@__PURE__*/ API.make(() => ({
|
|
382
|
-
input: __S(
|
|
383
|
-
output: __S(
|
|
384
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
440
|
+
input: __S(84, __c21, 0) as any as S.Schema<CreateAccessKeyRequest>,
|
|
441
|
+
output: __S(85, __c21, 1) as any as S.Schema<CreateAccessKeyResponse>,
|
|
442
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
443
|
+
serviceErrors: StackitServiceErrors,
|
|
385
444
|
protocol: StackitProtocol,
|
|
386
445
|
retry: Retry.Retry,
|
|
387
446
|
telemetry: TELEMETRY,
|
|
@@ -396,9 +455,10 @@ export const createBucket: API.OperationMethod<
|
|
|
396
455
|
CreateBucketError,
|
|
397
456
|
StackitOpContext
|
|
398
457
|
> = /*@__PURE__*/ API.make(() => ({
|
|
399
|
-
input: __S(
|
|
400
|
-
output: __S(
|
|
401
|
-
errors: [NotFound, Conflict, UnprocessableEntity
|
|
458
|
+
input: __S(88, __c22, 0) as any as S.Schema<CreateBucketRequest>,
|
|
459
|
+
output: __S(92, __c23, 0) as any as S.Schema<CreateBucketResponse>,
|
|
460
|
+
errors: [NotFound, Conflict, UnprocessableEntity],
|
|
461
|
+
serviceErrors: StackitServiceErrors,
|
|
402
462
|
protocol: StackitProtocol,
|
|
403
463
|
retry: Retry.Retry,
|
|
404
464
|
telemetry: TELEMETRY,
|
|
@@ -413,9 +473,10 @@ export const createComplianceLock: API.OperationMethod<
|
|
|
413
473
|
CreateComplianceLockError,
|
|
414
474
|
StackitOpContext
|
|
415
475
|
> = /*@__PURE__*/ API.make(() => ({
|
|
416
|
-
input: __S(
|
|
417
|
-
output: __S(
|
|
418
|
-
errors: [NotFound, Conflict
|
|
476
|
+
input: __S(96, __c24, 0) as any as S.Schema<CreateComplianceLockRequest>,
|
|
477
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
478
|
+
errors: [NotFound, Conflict],
|
|
479
|
+
serviceErrors: StackitServiceErrors,
|
|
419
480
|
protocol: StackitProtocol,
|
|
420
481
|
retry: Retry.Retry,
|
|
421
482
|
telemetry: TELEMETRY,
|
|
@@ -435,9 +496,10 @@ export const createCredentialsGroup: API.OperationMethod<
|
|
|
435
496
|
CreateCredentialsGroupError,
|
|
436
497
|
StackitOpContext
|
|
437
498
|
> = /*@__PURE__*/ API.make(() => ({
|
|
438
|
-
input: __S(
|
|
439
|
-
output: __S(
|
|
440
|
-
errors: [Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
499
|
+
input: __S(104, __c26, 0) as any as S.Schema<CreateCredentialsGroupRequest>,
|
|
500
|
+
output: __S(105, __c26, 1) as any as S.Schema<CreateCredentialsGroupResponse>,
|
|
501
|
+
errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
502
|
+
serviceErrors: StackitServiceErrors,
|
|
441
503
|
protocol: StackitProtocol,
|
|
442
504
|
retry: Retry.Retry,
|
|
443
505
|
telemetry: TELEMETRY,
|
|
@@ -452,9 +514,10 @@ export const deleteAccessKey: API.OperationMethod<
|
|
|
452
514
|
DeleteAccessKeyError,
|
|
453
515
|
StackitOpContext
|
|
454
516
|
> = /*@__PURE__*/ API.make(() => ({
|
|
455
|
-
input: __S(
|
|
456
|
-
output: __S(
|
|
457
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
517
|
+
input: __S(112, __c28, 0) as any as S.Schema<DeleteAccessKeyRequest>,
|
|
518
|
+
output: __S(113, __c28, 1) as any as S.Schema<DeleteAccessKeyResponse>,
|
|
519
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
520
|
+
serviceErrors: StackitServiceErrors,
|
|
458
521
|
protocol: StackitProtocol,
|
|
459
522
|
retry: Retry.Retry,
|
|
460
523
|
telemetry: TELEMETRY,
|
|
@@ -469,9 +532,10 @@ export const deleteBucket: API.OperationMethod<
|
|
|
469
532
|
DeleteBucketError,
|
|
470
533
|
StackitOpContext
|
|
471
534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
472
|
-
input: __S(
|
|
473
|
-
output: __S(
|
|
474
|
-
errors: [NotFound, UnprocessableEntity
|
|
535
|
+
input: __S(4, __c1, 0) as any as S.Schema<DeleteBucketRequest>,
|
|
536
|
+
output: __S(92, __c23, 0) as any as S.Schema<DeleteBucketResponse>,
|
|
537
|
+
errors: [NotFound, UnprocessableEntity],
|
|
538
|
+
serviceErrors: StackitServiceErrors,
|
|
475
539
|
protocol: StackitProtocol,
|
|
476
540
|
retry: Retry.Retry,
|
|
477
541
|
telemetry: TELEMETRY,
|
|
@@ -486,9 +550,10 @@ export const deleteComplianceLock: API.OperationMethod<
|
|
|
486
550
|
DeleteComplianceLockError,
|
|
487
551
|
StackitOpContext
|
|
488
552
|
> = /*@__PURE__*/ API.make(() => ({
|
|
489
|
-
input: __S(
|
|
490
|
-
output: __S(
|
|
491
|
-
errors: [NotFound, Conflict
|
|
553
|
+
input: __S(8, __c2, 0) as any as S.Schema<DeleteComplianceLockRequest>,
|
|
554
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
555
|
+
errors: [NotFound, Conflict],
|
|
556
|
+
serviceErrors: StackitServiceErrors,
|
|
492
557
|
protocol: StackitProtocol,
|
|
493
558
|
retry: Retry.Retry,
|
|
494
559
|
telemetry: TELEMETRY,
|
|
@@ -503,9 +568,10 @@ export const deleteCredentialsGroup: API.OperationMethod<
|
|
|
503
568
|
DeleteCredentialsGroupError,
|
|
504
569
|
StackitOpContext
|
|
505
570
|
> = /*@__PURE__*/ API.make(() => ({
|
|
506
|
-
input: __S(
|
|
507
|
-
output: __S(
|
|
508
|
-
errors: [NotFound, UnprocessableEntity
|
|
571
|
+
input: __S(12, __c3, 0) as any as S.Schema<DeleteCredentialsGroupRequest>,
|
|
572
|
+
output: __S(13, __c3, 1) as any as S.Schema<DeleteCredentialsGroupResponse>,
|
|
573
|
+
errors: [NotFound, UnprocessableEntity],
|
|
574
|
+
serviceErrors: StackitServiceErrors,
|
|
509
575
|
protocol: StackitProtocol,
|
|
510
576
|
retry: Retry.Retry,
|
|
511
577
|
telemetry: TELEMETRY,
|
|
@@ -520,9 +586,10 @@ export const deleteDefaultRetention: API.OperationMethod<
|
|
|
520
586
|
DeleteDefaultRetentionError,
|
|
521
587
|
StackitOpContext
|
|
522
588
|
> = /*@__PURE__*/ API.make(() => ({
|
|
523
|
-
input: __S(
|
|
524
|
-
output: __S(
|
|
525
|
-
errors: [NotFound, Conflict
|
|
589
|
+
input: __S(16, __c4, 0) as any as S.Schema<DeleteDefaultRetentionRequest>,
|
|
590
|
+
output: __S(92, __c23, 0) as any as S.Schema<DeleteDefaultRetentionResponse>,
|
|
591
|
+
errors: [NotFound, Conflict],
|
|
592
|
+
serviceErrors: StackitServiceErrors,
|
|
526
593
|
protocol: StackitProtocol,
|
|
527
594
|
retry: Retry.Retry,
|
|
528
595
|
telemetry: TELEMETRY,
|
|
@@ -543,9 +610,10 @@ export const disableService: API.OperationMethod<
|
|
|
543
610
|
DisableServiceError,
|
|
544
611
|
StackitOpContext
|
|
545
612
|
> = /*@__PURE__*/ API.make(() => ({
|
|
546
|
-
input: __S(
|
|
547
|
-
output: __S(
|
|
548
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
613
|
+
input: __S(20, __c5, 0) as any as S.Schema<DisableServiceRequest>,
|
|
614
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
615
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
616
|
+
serviceErrors: StackitServiceErrors,
|
|
549
617
|
protocol: StackitProtocol,
|
|
550
618
|
retry: Retry.Retry,
|
|
551
619
|
telemetry: TELEMETRY,
|
|
@@ -560,9 +628,10 @@ export const enableService: API.OperationMethod<
|
|
|
560
628
|
EnableServiceError,
|
|
561
629
|
StackitOpContext
|
|
562
630
|
> = /*@__PURE__*/ API.make(() => ({
|
|
563
|
-
input: __S(
|
|
564
|
-
output: __S(
|
|
565
|
-
errors: [Forbidden, Conflict, UnprocessableEntity
|
|
631
|
+
input: __S(28, __c7, 0) as any as S.Schema<EnableServiceRequest>,
|
|
632
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
633
|
+
errors: [Forbidden, Conflict, UnprocessableEntity],
|
|
634
|
+
serviceErrors: StackitServiceErrors,
|
|
566
635
|
protocol: StackitProtocol,
|
|
567
636
|
retry: Retry.Retry,
|
|
568
637
|
telemetry: TELEMETRY,
|
|
@@ -577,9 +646,10 @@ export const getBucket: API.OperationMethod<
|
|
|
577
646
|
GetBucketError,
|
|
578
647
|
StackitOpContext
|
|
579
648
|
> = /*@__PURE__*/ API.make(() => ({
|
|
580
|
-
input: __S(
|
|
581
|
-
output: __S(
|
|
582
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
649
|
+
input: __S(32, __c8, 0) as any as S.Schema<GetBucketRequest>,
|
|
650
|
+
output: __S(33, __c8, 1) as any as S.Schema<GetBucketResponse>,
|
|
651
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
652
|
+
serviceErrors: StackitServiceErrors,
|
|
583
653
|
protocol: StackitProtocol,
|
|
584
654
|
retry: Retry.Retry,
|
|
585
655
|
telemetry: TELEMETRY,
|
|
@@ -594,9 +664,10 @@ export const getComplianceLock: API.OperationMethod<
|
|
|
594
664
|
GetComplianceLockError,
|
|
595
665
|
StackitOpContext
|
|
596
666
|
> = /*@__PURE__*/ API.make(() => ({
|
|
597
|
-
input: __S(
|
|
598
|
-
output: __S(
|
|
599
|
-
errors: [NotFound
|
|
667
|
+
input: __S(40, __c10, 0) as any as S.Schema<GetComplianceLockRequest>,
|
|
668
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
669
|
+
errors: [NotFound],
|
|
670
|
+
serviceErrors: StackitServiceErrors,
|
|
600
671
|
protocol: StackitProtocol,
|
|
601
672
|
retry: Retry.Retry,
|
|
602
673
|
telemetry: TELEMETRY,
|
|
@@ -611,9 +682,10 @@ export const getCredentialsGroup: API.OperationMethod<
|
|
|
611
682
|
GetCredentialsGroupError,
|
|
612
683
|
StackitOpContext
|
|
613
684
|
> = /*@__PURE__*/ API.make(() => ({
|
|
614
|
-
input: __S(
|
|
615
|
-
output: __S(
|
|
616
|
-
errors: [NotFound, UnprocessableEntity
|
|
685
|
+
input: __S(44, __c11, 0) as any as S.Schema<GetCredentialsGroupRequest>,
|
|
686
|
+
output: __S(46, __c11, 2) as any as S.Schema<GetCredentialsGroupResponse>,
|
|
687
|
+
errors: [NotFound, UnprocessableEntity],
|
|
688
|
+
serviceErrors: StackitServiceErrors,
|
|
617
689
|
protocol: StackitProtocol,
|
|
618
690
|
retry: Retry.Retry,
|
|
619
691
|
telemetry: TELEMETRY,
|
|
@@ -628,9 +700,10 @@ export const getDefaultRetention: API.OperationMethod<
|
|
|
628
700
|
GetDefaultRetentionError,
|
|
629
701
|
StackitOpContext
|
|
630
702
|
> = /*@__PURE__*/ API.make(() => ({
|
|
631
|
-
input: __S(
|
|
632
|
-
output: __S(
|
|
633
|
-
errors: [NotFound, Conflict
|
|
703
|
+
input: __S(48, __c12, 0) as any as S.Schema<GetDefaultRetentionRequest>,
|
|
704
|
+
output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
|
|
705
|
+
errors: [NotFound, Conflict],
|
|
706
|
+
serviceErrors: StackitServiceErrors,
|
|
634
707
|
protocol: StackitProtocol,
|
|
635
708
|
retry: Retry.Retry,
|
|
636
709
|
telemetry: TELEMETRY,
|
|
@@ -645,9 +718,10 @@ export const getServiceStatus: API.OperationMethod<
|
|
|
645
718
|
GetServiceStatusError,
|
|
646
719
|
StackitOpContext
|
|
647
720
|
> = /*@__PURE__*/ API.make(() => ({
|
|
648
|
-
input: __S(
|
|
649
|
-
output: __S(
|
|
650
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
721
|
+
input: __S(56, __c14, 0) as any as S.Schema<GetServiceStatusRequest>,
|
|
722
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
723
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
724
|
+
serviceErrors: StackitServiceErrors,
|
|
651
725
|
protocol: StackitProtocol,
|
|
652
726
|
retry: Retry.Retry,
|
|
653
727
|
telemetry: TELEMETRY,
|
|
@@ -662,9 +736,10 @@ export const listAccessKeys: API.OperationMethod<
|
|
|
662
736
|
ListAccessKeysError,
|
|
663
737
|
StackitOpContext
|
|
664
738
|
> = /*@__PURE__*/ API.make(() => ({
|
|
665
|
-
input: __S(
|
|
666
|
-
output: __S(
|
|
667
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
739
|
+
input: __S(60, __c15, 0) as any as S.Schema<ListAccessKeysRequest>,
|
|
740
|
+
output: __S(63, __c15, 3) as any as S.Schema<ListAccessKeysResponse>,
|
|
741
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
742
|
+
serviceErrors: StackitServiceErrors,
|
|
668
743
|
protocol: StackitProtocol,
|
|
669
744
|
retry: Retry.Retry,
|
|
670
745
|
telemetry: TELEMETRY,
|
|
@@ -679,9 +754,10 @@ export const listBuckets: API.OperationMethod<
|
|
|
679
754
|
ListBucketsError,
|
|
680
755
|
StackitOpContext
|
|
681
756
|
> = /*@__PURE__*/ API.make(() => ({
|
|
682
|
-
input: __S(
|
|
683
|
-
output: __S(
|
|
684
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
757
|
+
input: __S(64, __c16, 0) as any as S.Schema<ListBucketsRequest>,
|
|
758
|
+
output: __S(66, __c16, 2) as any as S.Schema<ListBucketsResponse>,
|
|
759
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
760
|
+
serviceErrors: StackitServiceErrors,
|
|
685
761
|
protocol: StackitProtocol,
|
|
686
762
|
retry: Retry.Retry,
|
|
687
763
|
telemetry: TELEMETRY,
|
|
@@ -696,9 +772,10 @@ export const listCredentialsGroups: API.OperationMethod<
|
|
|
696
772
|
ListCredentialsGroupsError,
|
|
697
773
|
StackitOpContext
|
|
698
774
|
> = /*@__PURE__*/ API.make(() => ({
|
|
699
|
-
input: __S(
|
|
700
|
-
output: __S(
|
|
701
|
-
errors: [NotFound, UnprocessableEntity
|
|
775
|
+
input: __S(68, __c17, 0) as any as S.Schema<ListCredentialsGroupsRequest>,
|
|
776
|
+
output: __S(70, __c17, 2) as any as S.Schema<ListCredentialsGroupsResponse>,
|
|
777
|
+
errors: [NotFound, UnprocessableEntity],
|
|
778
|
+
serviceErrors: StackitServiceErrors,
|
|
702
779
|
protocol: StackitProtocol,
|
|
703
780
|
retry: Retry.Retry,
|
|
704
781
|
telemetry: TELEMETRY,
|
|
@@ -713,9 +790,10 @@ export const setDefaultRetention: API.OperationMethod<
|
|
|
713
790
|
SetDefaultRetentionError,
|
|
714
791
|
StackitOpContext
|
|
715
792
|
> = /*@__PURE__*/ API.make(() => ({
|
|
716
|
-
input: __S(
|
|
717
|
-
output: __S(
|
|
718
|
-
errors: [BadRequest, NotFound, Conflict
|
|
793
|
+
input: __S(72, __c18, 0) as any as S.Schema<SetDefaultRetentionRequest>,
|
|
794
|
+
output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
|
|
795
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
796
|
+
serviceErrors: StackitServiceErrors,
|
|
719
797
|
protocol: StackitProtocol,
|
|
720
798
|
retry: Retry.Retry,
|
|
721
799
|
telemetry: TELEMETRY,
|
|
@@ -730,9 +808,10 @@ export const updateService: API.OperationMethod<
|
|
|
730
808
|
UpdateServiceError,
|
|
731
809
|
StackitOpContext
|
|
732
810
|
> = /*@__PURE__*/ API.make(() => ({
|
|
733
|
-
input: __S(
|
|
734
|
-
output: __S(
|
|
735
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
811
|
+
input: __S(76, __c19, 0) as any as S.Schema<UpdateServiceRequest>,
|
|
812
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
813
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
814
|
+
serviceErrors: StackitServiceErrors,
|
|
736
815
|
protocol: StackitProtocol,
|
|
737
816
|
retry: Retry.Retry,
|
|
738
817
|
telemetry: TELEMETRY,
|
|
@@ -741,6 +820,25 @@ export const updateService: API.OperationMethod<
|
|
|
741
820
|
|
|
742
821
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
743
822
|
function __c0(j: number): any {
|
|
823
|
+
switch (j) {
|
|
824
|
+
case 0:
|
|
825
|
+
return S.suspend(() =>
|
|
826
|
+
S.Struct({
|
|
827
|
+
key: S.String,
|
|
828
|
+
msg: S.String,
|
|
829
|
+
}),
|
|
830
|
+
).annotate({ identifier: "DetailedError" });
|
|
831
|
+
case 1:
|
|
832
|
+
return S.Array(__S(0, __c0, 0));
|
|
833
|
+
case 2:
|
|
834
|
+
return S.suspend(() =>
|
|
835
|
+
S.Struct({
|
|
836
|
+
detail: __S(1, __c0, 1),
|
|
837
|
+
}),
|
|
838
|
+
).annotate({ identifier: "ErrorMessage" });
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
function __c1(j: number): any {
|
|
744
842
|
switch (j) {
|
|
745
843
|
case 0:
|
|
746
844
|
return S.suspend(() =>
|
|
@@ -759,7 +857,7 @@ function __c0(j: number): any {
|
|
|
759
857
|
).annotate({ identifier: "DeleteBucketRequest" });
|
|
760
858
|
}
|
|
761
859
|
}
|
|
762
|
-
function
|
|
860
|
+
function __c2(j: number): any {
|
|
763
861
|
switch (j) {
|
|
764
862
|
case 0:
|
|
765
863
|
return S.suspend(() =>
|
|
@@ -777,7 +875,7 @@ function __c1(j: number): any {
|
|
|
777
875
|
).annotate({ identifier: "DeleteComplianceLockRequest" });
|
|
778
876
|
}
|
|
779
877
|
}
|
|
780
|
-
function
|
|
878
|
+
function __c3(j: number): any {
|
|
781
879
|
switch (j) {
|
|
782
880
|
case 0:
|
|
783
881
|
return S.suspend(() =>
|
|
@@ -803,7 +901,7 @@ function __c2(j: number): any {
|
|
|
803
901
|
).annotate({ identifier: "DeleteCredentialsGroupResponse" });
|
|
804
902
|
}
|
|
805
903
|
}
|
|
806
|
-
function
|
|
904
|
+
function __c4(j: number): any {
|
|
807
905
|
switch (j) {
|
|
808
906
|
case 0:
|
|
809
907
|
return S.suspend(() =>
|
|
@@ -822,7 +920,7 @@ function __c3(j: number): any {
|
|
|
822
920
|
).annotate({ identifier: "DeleteDefaultRetentionRequest" });
|
|
823
921
|
}
|
|
824
922
|
}
|
|
825
|
-
function
|
|
923
|
+
function __c5(j: number): any {
|
|
826
924
|
switch (j) {
|
|
827
925
|
case 0:
|
|
828
926
|
return S.suspend(() =>
|
|
@@ -840,21 +938,21 @@ function __c4(j: number): any {
|
|
|
840
938
|
).annotate({ identifier: "DisableServiceRequest" });
|
|
841
939
|
}
|
|
842
940
|
}
|
|
843
|
-
function
|
|
941
|
+
function __c6(j: number): any {
|
|
844
942
|
switch (j) {
|
|
845
943
|
case 0:
|
|
846
944
|
return S.Record(S.String, S.String);
|
|
847
945
|
case 1:
|
|
848
946
|
return S.suspend(() =>
|
|
849
947
|
S.Struct({
|
|
850
|
-
labels: S.optional(__S(
|
|
948
|
+
labels: S.optional(__S(24, __c6, 0)),
|
|
851
949
|
project: S.String,
|
|
852
950
|
scope: S.String,
|
|
853
951
|
}),
|
|
854
952
|
).annotate({ identifier: "ProjectStatus" });
|
|
855
953
|
}
|
|
856
954
|
}
|
|
857
|
-
function
|
|
955
|
+
function __c7(j: number): any {
|
|
858
956
|
switch (j) {
|
|
859
957
|
case 0:
|
|
860
958
|
return S.suspend(() =>
|
|
@@ -872,7 +970,7 @@ function __c6(j: number): any {
|
|
|
872
970
|
).annotate({ identifier: "EnableServiceRequest" });
|
|
873
971
|
}
|
|
874
972
|
}
|
|
875
|
-
function
|
|
973
|
+
function __c8(j: number): any {
|
|
876
974
|
switch (j) {
|
|
877
975
|
case 0:
|
|
878
976
|
return S.suspend(() =>
|
|
@@ -892,13 +990,13 @@ function __c7(j: number): any {
|
|
|
892
990
|
case 1:
|
|
893
991
|
return S.suspend(() =>
|
|
894
992
|
S.Struct({
|
|
895
|
-
bucket: __S(
|
|
993
|
+
bucket: __S(36, __c9, 0),
|
|
896
994
|
project: S.String,
|
|
897
995
|
}),
|
|
898
996
|
).annotate({ identifier: "GetBucketResponse" });
|
|
899
997
|
}
|
|
900
998
|
}
|
|
901
|
-
function
|
|
999
|
+
function __c9(j: number): any {
|
|
902
1000
|
switch (j) {
|
|
903
1001
|
case 0:
|
|
904
1002
|
return S.suspend(() =>
|
|
@@ -912,7 +1010,7 @@ function __c8(j: number): any {
|
|
|
912
1010
|
).annotate({ identifier: "Bucket" });
|
|
913
1011
|
}
|
|
914
1012
|
}
|
|
915
|
-
function
|
|
1013
|
+
function __c10(j: number): any {
|
|
916
1014
|
switch (j) {
|
|
917
1015
|
case 0:
|
|
918
1016
|
return S.suspend(() =>
|
|
@@ -930,7 +1028,7 @@ function __c9(j: number): any {
|
|
|
930
1028
|
).annotate({ identifier: "GetComplianceLockRequest" });
|
|
931
1029
|
}
|
|
932
1030
|
}
|
|
933
|
-
function
|
|
1031
|
+
function __c11(j: number): any {
|
|
934
1032
|
switch (j) {
|
|
935
1033
|
case 0:
|
|
936
1034
|
return S.suspend(() =>
|
|
@@ -959,13 +1057,13 @@ function __c10(j: number): any {
|
|
|
959
1057
|
case 2:
|
|
960
1058
|
return S.suspend(() =>
|
|
961
1059
|
S.Struct({
|
|
962
|
-
credentialsGroup: __S(
|
|
1060
|
+
credentialsGroup: __S(45, __c11, 1),
|
|
963
1061
|
project: S.String,
|
|
964
1062
|
}),
|
|
965
1063
|
).annotate({ identifier: "GetCredentialsGroupResponse" });
|
|
966
1064
|
}
|
|
967
1065
|
}
|
|
968
|
-
function
|
|
1066
|
+
function __c12(j: number): any {
|
|
969
1067
|
switch (j) {
|
|
970
1068
|
case 0:
|
|
971
1069
|
return S.suspend(() =>
|
|
@@ -984,7 +1082,7 @@ function __c11(j: number): any {
|
|
|
984
1082
|
).annotate({ identifier: "GetDefaultRetentionRequest" });
|
|
985
1083
|
}
|
|
986
1084
|
}
|
|
987
|
-
function
|
|
1085
|
+
function __c13(j: number): any {
|
|
988
1086
|
switch (j) {
|
|
989
1087
|
case 0:
|
|
990
1088
|
return S.suspend(() =>
|
|
@@ -997,7 +1095,7 @@ function __c12(j: number): any {
|
|
|
997
1095
|
).annotate({ identifier: "DefaultRetentionResponse" });
|
|
998
1096
|
}
|
|
999
1097
|
}
|
|
1000
|
-
function
|
|
1098
|
+
function __c14(j: number): any {
|
|
1001
1099
|
switch (j) {
|
|
1002
1100
|
case 0:
|
|
1003
1101
|
return S.suspend(() =>
|
|
@@ -1015,7 +1113,7 @@ function __c13(j: number): any {
|
|
|
1015
1113
|
).annotate({ identifier: "GetServiceStatusRequest" });
|
|
1016
1114
|
}
|
|
1017
1115
|
}
|
|
1018
|
-
function
|
|
1116
|
+
function __c15(j: number): any {
|
|
1019
1117
|
switch (j) {
|
|
1020
1118
|
case 0:
|
|
1021
1119
|
return S.suspend(() =>
|
|
@@ -1041,17 +1139,17 @@ function __c14(j: number): any {
|
|
|
1041
1139
|
}),
|
|
1042
1140
|
).annotate({ identifier: "AccessKey" });
|
|
1043
1141
|
case 2:
|
|
1044
|
-
return S.Array(__S(
|
|
1142
|
+
return S.Array(__S(61, __c15, 1));
|
|
1045
1143
|
case 3:
|
|
1046
1144
|
return S.suspend(() =>
|
|
1047
1145
|
S.Struct({
|
|
1048
|
-
accessKeys: __S(
|
|
1146
|
+
accessKeys: __S(62, __c15, 2),
|
|
1049
1147
|
project: S.String,
|
|
1050
1148
|
}),
|
|
1051
1149
|
).annotate({ identifier: "ListAccessKeysResponse" });
|
|
1052
1150
|
}
|
|
1053
1151
|
}
|
|
1054
|
-
function
|
|
1152
|
+
function __c16(j: number): any {
|
|
1055
1153
|
switch (j) {
|
|
1056
1154
|
case 0:
|
|
1057
1155
|
return S.suspend(() =>
|
|
@@ -1068,17 +1166,17 @@ function __c15(j: number): any {
|
|
|
1068
1166
|
),
|
|
1069
1167
|
).annotate({ identifier: "ListBucketsRequest" });
|
|
1070
1168
|
case 1:
|
|
1071
|
-
return S.Array(__S(
|
|
1169
|
+
return S.Array(__S(36, __c9, 0));
|
|
1072
1170
|
case 2:
|
|
1073
1171
|
return S.suspend(() =>
|
|
1074
1172
|
S.Struct({
|
|
1075
|
-
buckets: __S(
|
|
1173
|
+
buckets: __S(65, __c16, 1),
|
|
1076
1174
|
project: S.String,
|
|
1077
1175
|
}),
|
|
1078
1176
|
).annotate({ identifier: "ListBucketsResponse" });
|
|
1079
1177
|
}
|
|
1080
1178
|
}
|
|
1081
|
-
function
|
|
1179
|
+
function __c17(j: number): any {
|
|
1082
1180
|
switch (j) {
|
|
1083
1181
|
case 0:
|
|
1084
1182
|
return S.suspend(() =>
|
|
@@ -1095,17 +1193,17 @@ function __c16(j: number): any {
|
|
|
1095
1193
|
),
|
|
1096
1194
|
).annotate({ identifier: "ListCredentialsGroupsRequest" });
|
|
1097
1195
|
case 1:
|
|
1098
|
-
return S.Array(__S(
|
|
1196
|
+
return S.Array(__S(108, __c27, 0));
|
|
1099
1197
|
case 2:
|
|
1100
1198
|
return S.suspend(() =>
|
|
1101
1199
|
S.Struct({
|
|
1102
|
-
credentialsGroups: __S(
|
|
1200
|
+
credentialsGroups: __S(69, __c17, 1),
|
|
1103
1201
|
project: S.String,
|
|
1104
1202
|
}),
|
|
1105
1203
|
).annotate({ identifier: "ListCredentialsGroupsResponse" });
|
|
1106
1204
|
}
|
|
1107
1205
|
}
|
|
1108
|
-
function
|
|
1206
|
+
function __c18(j: number): any {
|
|
1109
1207
|
switch (j) {
|
|
1110
1208
|
case 0:
|
|
1111
1209
|
return S.suspend(() =>
|
|
@@ -1126,14 +1224,14 @@ function __c17(j: number): any {
|
|
|
1126
1224
|
).annotate({ identifier: "SetDefaultRetentionRequest" });
|
|
1127
1225
|
}
|
|
1128
1226
|
}
|
|
1129
|
-
function
|
|
1227
|
+
function __c19(j: number): any {
|
|
1130
1228
|
switch (j) {
|
|
1131
1229
|
case 0:
|
|
1132
1230
|
return S.suspend(() =>
|
|
1133
1231
|
S.Struct({
|
|
1134
1232
|
projectId: S.String.pipe(T.Label()),
|
|
1135
1233
|
region: S.String.pipe(T.Label()),
|
|
1136
|
-
labels: __S(
|
|
1234
|
+
labels: __S(24, __c6, 0),
|
|
1137
1235
|
}).pipe(
|
|
1138
1236
|
T.Http({
|
|
1139
1237
|
method: "PUT",
|
|
@@ -1145,7 +1243,29 @@ function __c18(j: number): any {
|
|
|
1145
1243
|
).annotate({ identifier: "UpdateServiceRequest" });
|
|
1146
1244
|
}
|
|
1147
1245
|
}
|
|
1148
|
-
function
|
|
1246
|
+
function __c20(j: number): any {
|
|
1247
|
+
switch (j) {
|
|
1248
|
+
case 0:
|
|
1249
|
+
return S.Array(S.Unknown);
|
|
1250
|
+
case 1:
|
|
1251
|
+
return S.suspend(() =>
|
|
1252
|
+
S.Struct({
|
|
1253
|
+
loc: __S(80, __c20, 0),
|
|
1254
|
+
msg: S.String,
|
|
1255
|
+
type: S.String,
|
|
1256
|
+
}),
|
|
1257
|
+
).annotate({ identifier: "ValidationError" });
|
|
1258
|
+
case 2:
|
|
1259
|
+
return S.Array(__S(81, __c20, 1));
|
|
1260
|
+
case 3:
|
|
1261
|
+
return S.suspend(() =>
|
|
1262
|
+
S.Struct({
|
|
1263
|
+
detail: S.optional(__S(82, __c20, 2)),
|
|
1264
|
+
}),
|
|
1265
|
+
).annotate({ identifier: "HTTPValidationError" });
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
function __c21(j: number): any {
|
|
1149
1269
|
switch (j) {
|
|
1150
1270
|
case 0:
|
|
1151
1271
|
return S.suspend(() =>
|
|
@@ -1176,7 +1296,7 @@ function __c19(j: number): any {
|
|
|
1176
1296
|
).annotate({ identifier: "CreateAccessKeyResponse" });
|
|
1177
1297
|
}
|
|
1178
1298
|
}
|
|
1179
|
-
function
|
|
1299
|
+
function __c22(j: number): any {
|
|
1180
1300
|
switch (j) {
|
|
1181
1301
|
case 0:
|
|
1182
1302
|
return S.suspend(() =>
|
|
@@ -1196,7 +1316,7 @@ function __c20(j: number): any {
|
|
|
1196
1316
|
).annotate({ identifier: "CreateBucketRequest" });
|
|
1197
1317
|
}
|
|
1198
1318
|
}
|
|
1199
|
-
function
|
|
1319
|
+
function __c23(j: number): any {
|
|
1200
1320
|
switch (j) {
|
|
1201
1321
|
case 0:
|
|
1202
1322
|
return S.suspend(() =>
|
|
@@ -1207,7 +1327,7 @@ function __c21(j: number): any {
|
|
|
1207
1327
|
).annotate({ identifier: "CreateBucketResponse" });
|
|
1208
1328
|
}
|
|
1209
1329
|
}
|
|
1210
|
-
function
|
|
1330
|
+
function __c24(j: number): any {
|
|
1211
1331
|
switch (j) {
|
|
1212
1332
|
case 0:
|
|
1213
1333
|
return S.suspend(() =>
|
|
@@ -1225,7 +1345,7 @@ function __c22(j: number): any {
|
|
|
1225
1345
|
).annotate({ identifier: "CreateComplianceLockRequest" });
|
|
1226
1346
|
}
|
|
1227
1347
|
}
|
|
1228
|
-
function
|
|
1348
|
+
function __c25(j: number): any {
|
|
1229
1349
|
switch (j) {
|
|
1230
1350
|
case 0:
|
|
1231
1351
|
return S.suspend(() =>
|
|
@@ -1236,7 +1356,7 @@ function __c23(j: number): any {
|
|
|
1236
1356
|
).annotate({ identifier: "ComplianceLockResponse" });
|
|
1237
1357
|
}
|
|
1238
1358
|
}
|
|
1239
|
-
function
|
|
1359
|
+
function __c26(j: number): any {
|
|
1240
1360
|
switch (j) {
|
|
1241
1361
|
case 0:
|
|
1242
1362
|
return S.suspend(() =>
|
|
@@ -1256,13 +1376,13 @@ function __c24(j: number): any {
|
|
|
1256
1376
|
case 1:
|
|
1257
1377
|
return S.suspend(() =>
|
|
1258
1378
|
S.Struct({
|
|
1259
|
-
credentialsGroup: __S(
|
|
1379
|
+
credentialsGroup: __S(108, __c27, 0),
|
|
1260
1380
|
project: S.String,
|
|
1261
1381
|
}),
|
|
1262
1382
|
).annotate({ identifier: "CreateCredentialsGroupResponse" });
|
|
1263
1383
|
}
|
|
1264
1384
|
}
|
|
1265
|
-
function
|
|
1385
|
+
function __c27(j: number): any {
|
|
1266
1386
|
switch (j) {
|
|
1267
1387
|
case 0:
|
|
1268
1388
|
return S.suspend(() =>
|
|
@@ -1274,7 +1394,7 @@ function __c25(j: number): any {
|
|
|
1274
1394
|
).annotate({ identifier: "CredentialsGroup" });
|
|
1275
1395
|
}
|
|
1276
1396
|
}
|
|
1277
|
-
function
|
|
1397
|
+
function __c28(j: number): any {
|
|
1278
1398
|
switch (j) {
|
|
1279
1399
|
case 0:
|
|
1280
1400
|
return S.suspend(() =>
|