@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
|
@@ -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,36 +31,68 @@ 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(0, __c0, 0)), 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?: Error | 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(0, __c0, 0)), 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?: Error | 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([
|
|
68
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
69
|
+
/*@__PURE__*/ S.suspend(() => __S(45, __c11, 1)),
|
|
70
|
+
S.String,
|
|
71
|
+
]),
|
|
72
|
+
),
|
|
73
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
74
|
}).pipe(C.withAuthError),
|
|
53
75
|
[{ status: 403 }],
|
|
54
|
-
)
|
|
76
|
+
)
|
|
77
|
+
{
|
|
78
|
+
declare readonly body?: Error | AuthError | string;
|
|
79
|
+
}
|
|
55
80
|
|
|
56
81
|
export class NotFound
|
|
57
82
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
58
83
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
59
84
|
code: S.Number,
|
|
60
85
|
message: S.String,
|
|
86
|
+
body: /*@__PURE__*/ S.optional(
|
|
87
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
88
|
+
),
|
|
89
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
61
90
|
}).pipe(C.withBadRequestError),
|
|
62
91
|
[{ status: 404 }],
|
|
63
|
-
)
|
|
92
|
+
)
|
|
93
|
+
{
|
|
94
|
+
declare readonly body?: Error | string;
|
|
95
|
+
}
|
|
64
96
|
|
|
65
97
|
export interface CreateFederatedIdentityProviderRequestAssertionsItem {
|
|
66
98
|
/** Item to compare */
|
|
@@ -384,6 +416,22 @@ export interface PartialUpdateServiceAccountKeyResponse {
|
|
|
384
416
|
/** If specified, the timestamp until the key is active. May be null */
|
|
385
417
|
validUntil?: string | undefined;
|
|
386
418
|
}
|
|
419
|
+
/** Contains error information. */
|
|
420
|
+
export interface Error {
|
|
421
|
+
error: string;
|
|
422
|
+
message: string;
|
|
423
|
+
path: string;
|
|
424
|
+
status: number;
|
|
425
|
+
timeStamp: string;
|
|
426
|
+
}
|
|
427
|
+
export interface AuthErrorError {
|
|
428
|
+
code: number;
|
|
429
|
+
message: string;
|
|
430
|
+
status: string;
|
|
431
|
+
}
|
|
432
|
+
export interface AuthError {
|
|
433
|
+
error: AuthErrorError;
|
|
434
|
+
}
|
|
387
435
|
export type CreateFederatedIdentityProviderError =
|
|
388
436
|
| BadRequest
|
|
389
437
|
| Forbidden
|
|
@@ -396,9 +444,10 @@ export const createFederatedIdentityProvider: API.OperationMethod<
|
|
|
396
444
|
CreateFederatedIdentityProviderError,
|
|
397
445
|
StackitOpContext
|
|
398
446
|
> = /*@__PURE__*/ API.make(() => ({
|
|
399
|
-
input: __S(
|
|
400
|
-
output: __S(
|
|
401
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
447
|
+
input: __S(48, __c12, 0) as any as S.Schema<CreateFederatedIdentityProviderRequest>,
|
|
448
|
+
output: __S(54, __c13, 2) as any as S.Schema<FederatedIdentityProvider>,
|
|
449
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
450
|
+
serviceErrors: StackitServiceErrors,
|
|
402
451
|
protocol: StackitProtocol,
|
|
403
452
|
retry: Retry.Retry,
|
|
404
453
|
telemetry: TELEMETRY,
|
|
@@ -413,9 +462,10 @@ export const createServiceAccount: API.OperationMethod<
|
|
|
413
462
|
CreateServiceAccountError,
|
|
414
463
|
StackitOpContext
|
|
415
464
|
> = /*@__PURE__*/ API.make(() => ({
|
|
416
|
-
input: __S(
|
|
417
|
-
output: __S(
|
|
418
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
465
|
+
input: __S(60, __c15, 0) as any as S.Schema<CreateServiceAccountRequest>,
|
|
466
|
+
output: __S(64, __c16, 0) as any as S.Schema<ServiceAccount2>,
|
|
467
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
468
|
+
serviceErrors: StackitServiceErrors,
|
|
419
469
|
protocol: StackitProtocol,
|
|
420
470
|
retry: Retry.Retry,
|
|
421
471
|
telemetry: TELEMETRY,
|
|
@@ -430,9 +480,10 @@ export const createServiceAccountKey: API.OperationMethod<
|
|
|
430
480
|
CreateServiceAccountKeyError,
|
|
431
481
|
StackitOpContext
|
|
432
482
|
> = /*@__PURE__*/ API.make(() => ({
|
|
433
|
-
input: __S(
|
|
434
|
-
output: __S(
|
|
435
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
483
|
+
input: __S(68, __c17, 0) as any as S.Schema<CreateServiceAccountKeyRequest>,
|
|
484
|
+
output: __S(70, __c17, 2) as any as S.Schema<CreateServiceAccountKeyResponse>,
|
|
485
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
486
|
+
serviceErrors: StackitServiceErrors,
|
|
436
487
|
protocol: StackitProtocol,
|
|
437
488
|
retry: Retry.Retry,
|
|
438
489
|
telemetry: TELEMETRY,
|
|
@@ -447,9 +498,10 @@ export const createShortLivedAccessToken: API.OperationMethod<
|
|
|
447
498
|
CreateShortLivedAccessTokenError,
|
|
448
499
|
StackitOpContext
|
|
449
500
|
> = /*@__PURE__*/ API.make(() => ({
|
|
450
|
-
input: __S(
|
|
451
|
-
output: __S(
|
|
452
|
-
errors: [BadRequest, Forbidden
|
|
501
|
+
input: __S(72, __c18, 0) as any as S.Schema<CreateShortLivedAccessTokenRequest>,
|
|
502
|
+
output: __S(73, __c18, 1) as any as S.Schema<CreateShortLivedAccessTokenResponse>,
|
|
503
|
+
errors: [BadRequest, Forbidden],
|
|
504
|
+
serviceErrors: StackitServiceErrors,
|
|
453
505
|
protocol: StackitProtocol,
|
|
454
506
|
retry: Retry.Retry,
|
|
455
507
|
telemetry: TELEMETRY,
|
|
@@ -464,9 +516,10 @@ export const deleteServiceAccount: API.OperationMethod<
|
|
|
464
516
|
DeleteServiceAccountError,
|
|
465
517
|
StackitOpContext
|
|
466
518
|
> = /*@__PURE__*/ API.make(() => ({
|
|
467
|
-
input: __S(
|
|
468
|
-
output: __S(
|
|
469
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
519
|
+
input: __S(76, __c19, 0) as any as S.Schema<DeleteServiceAccountRequest>,
|
|
520
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteServiceAccountResponse>,
|
|
521
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
522
|
+
serviceErrors: StackitServiceErrors,
|
|
470
523
|
protocol: StackitProtocol,
|
|
471
524
|
retry: Retry.Retry,
|
|
472
525
|
telemetry: TELEMETRY,
|
|
@@ -481,9 +534,10 @@ export const deleteServiceAccountKey: API.OperationMethod<
|
|
|
481
534
|
DeleteServiceAccountKeyError,
|
|
482
535
|
StackitOpContext
|
|
483
536
|
> = /*@__PURE__*/ API.make(() => ({
|
|
484
|
-
input: __S(
|
|
485
|
-
output: __S(
|
|
486
|
-
errors: [BadRequest, Forbidden
|
|
537
|
+
input: __S(84, __c21, 0) as any as S.Schema<DeleteServiceAccountKeyRequest>,
|
|
538
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteServiceAccountKeyResponse>,
|
|
539
|
+
errors: [BadRequest, Forbidden],
|
|
540
|
+
serviceErrors: StackitServiceErrors,
|
|
487
541
|
protocol: StackitProtocol,
|
|
488
542
|
retry: Retry.Retry,
|
|
489
543
|
telemetry: TELEMETRY,
|
|
@@ -498,9 +552,10 @@ export const deleteServiceFederatedIdentityProvider: API.OperationMethod<
|
|
|
498
552
|
DeleteServiceFederatedIdentityProviderError,
|
|
499
553
|
StackitOpContext
|
|
500
554
|
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
-
input: __S(
|
|
502
|
-
output: __S(
|
|
503
|
-
errors: [BadRequest, Forbidden
|
|
555
|
+
input: __S(4, __c1, 0) as any as S.Schema<DeleteServiceFederatedIdentityProviderRequest>,
|
|
556
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteServiceFederatedIdentityProviderResponse>,
|
|
557
|
+
errors: [BadRequest, Forbidden],
|
|
558
|
+
serviceErrors: StackitServiceErrors,
|
|
504
559
|
protocol: StackitProtocol,
|
|
505
560
|
retry: Retry.Retry,
|
|
506
561
|
telemetry: TELEMETRY,
|
|
@@ -515,9 +570,10 @@ export const getFederatedIdentityProvider: API.OperationMethod<
|
|
|
515
570
|
GetFederatedIdentityProviderError,
|
|
516
571
|
StackitOpContext
|
|
517
572
|
> = /*@__PURE__*/ API.make(() => ({
|
|
518
|
-
input: __S(
|
|
519
|
-
output: __S(
|
|
520
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
573
|
+
input: __S(8, __c2, 0) as any as S.Schema<GetFederatedIdentityProviderRequest>,
|
|
574
|
+
output: __S(54, __c13, 2) as any as S.Schema<FederatedIdentityProvider>,
|
|
575
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
576
|
+
serviceErrors: StackitServiceErrors,
|
|
521
577
|
protocol: StackitProtocol,
|
|
522
578
|
retry: Retry.Retry,
|
|
523
579
|
telemetry: TELEMETRY,
|
|
@@ -528,9 +584,10 @@ export type GetJWKSError = StackitOpError;
|
|
|
528
584
|
/** Get JSON Web Key set of the service account Get JSON Web Key set of the service account */
|
|
529
585
|
export const getJWKS: API.OperationMethod<GetJWKSRequest, JWKS, GetJWKSError, StackitOpContext> =
|
|
530
586
|
/*@__PURE__*/ API.make(() => ({
|
|
531
|
-
input: __S(
|
|
532
|
-
output: __S(
|
|
533
|
-
errors: [
|
|
587
|
+
input: __S(12, __c3, 0) as any as S.Schema<GetJWKSRequest>,
|
|
588
|
+
output: __S(15, __c3, 3) as any as S.Schema<JWKS>,
|
|
589
|
+
errors: [],
|
|
590
|
+
serviceErrors: StackitServiceErrors,
|
|
534
591
|
protocol: StackitProtocol,
|
|
535
592
|
retry: Retry.Retry,
|
|
536
593
|
telemetry: TELEMETRY,
|
|
@@ -545,9 +602,10 @@ export const getServiceAccountKey: API.OperationMethod<
|
|
|
545
602
|
GetServiceAccountKeyError,
|
|
546
603
|
StackitOpContext
|
|
547
604
|
> = /*@__PURE__*/ API.make(() => ({
|
|
548
|
-
input: __S(
|
|
549
|
-
output: __S(
|
|
550
|
-
errors: [BadRequest, Forbidden
|
|
605
|
+
input: __S(16, __c4, 0) as any as S.Schema<GetServiceAccountKeyRequest>,
|
|
606
|
+
output: __S(18, __c4, 2) as any as S.Schema<GetServiceAccountKeyResponse>,
|
|
607
|
+
errors: [BadRequest, Forbidden],
|
|
608
|
+
serviceErrors: StackitServiceErrors,
|
|
551
609
|
protocol: StackitProtocol,
|
|
552
610
|
retry: Retry.Retry,
|
|
553
611
|
telemetry: TELEMETRY,
|
|
@@ -562,9 +620,10 @@ export const listFederatedIdentityProviders: API.OperationMethod<
|
|
|
562
620
|
ListFederatedIdentityProvidersError,
|
|
563
621
|
StackitOpContext
|
|
564
622
|
> = /*@__PURE__*/ API.make(() => ({
|
|
565
|
-
input: __S(
|
|
566
|
-
output: __S(
|
|
567
|
-
errors: [BadRequest, Forbidden
|
|
623
|
+
input: __S(20, __c5, 0) as any as S.Schema<ListFederatedIdentityProvidersRequest>,
|
|
624
|
+
output: __S(22, __c5, 2) as any as S.Schema<FederatedListFederatedIdentityProvidersResponse>,
|
|
625
|
+
errors: [BadRequest, Forbidden],
|
|
626
|
+
serviceErrors: StackitServiceErrors,
|
|
568
627
|
protocol: StackitProtocol,
|
|
569
628
|
retry: Retry.Retry,
|
|
570
629
|
telemetry: TELEMETRY,
|
|
@@ -579,9 +638,10 @@ export const listServiceAccountKeys: API.OperationMethod<
|
|
|
579
638
|
ListServiceAccountKeysError,
|
|
580
639
|
StackitOpContext
|
|
581
640
|
> = /*@__PURE__*/ API.make(() => ({
|
|
582
|
-
input: __S(
|
|
583
|
-
output: __S(
|
|
584
|
-
errors: [BadRequest, Forbidden
|
|
641
|
+
input: __S(24, __c6, 0) as any as S.Schema<ListServiceAccountKeysRequest>,
|
|
642
|
+
output: __S(26, __c6, 2) as any as S.Schema<ListServiceAccountKeysResponse>,
|
|
643
|
+
errors: [BadRequest, Forbidden],
|
|
644
|
+
serviceErrors: StackitServiceErrors,
|
|
585
645
|
protocol: StackitProtocol,
|
|
586
646
|
retry: Retry.Retry,
|
|
587
647
|
telemetry: TELEMETRY,
|
|
@@ -596,9 +656,10 @@ export const listServiceAccounts: API.OperationMethod<
|
|
|
596
656
|
ListServiceAccountsError,
|
|
597
657
|
StackitOpContext
|
|
598
658
|
> = /*@__PURE__*/ API.make(() => ({
|
|
599
|
-
input: __S(
|
|
600
|
-
output: __S(
|
|
601
|
-
errors: [BadRequest, Forbidden
|
|
659
|
+
input: __S(32, __c8, 0) as any as S.Schema<ListServiceAccountsRequest>,
|
|
660
|
+
output: __S(34, __c8, 2) as any as S.Schema<ListServiceAccountsResponse>,
|
|
661
|
+
errors: [BadRequest, Forbidden],
|
|
662
|
+
serviceErrors: StackitServiceErrors,
|
|
602
663
|
protocol: StackitProtocol,
|
|
603
664
|
retry: Retry.Retry,
|
|
604
665
|
telemetry: TELEMETRY,
|
|
@@ -618,12 +679,13 @@ export const partialUpdateServiceAccountFederatedIdentityProvider: API.Operation
|
|
|
618
679
|
StackitOpContext
|
|
619
680
|
> = /*@__PURE__*/ API.make(() => ({
|
|
620
681
|
input: __S(
|
|
621
|
-
|
|
622
|
-
|
|
682
|
+
36,
|
|
683
|
+
__c9,
|
|
623
684
|
0,
|
|
624
685
|
) as any as S.Schema<PartialUpdateServiceAccountFederatedIdentityProviderRequest>,
|
|
625
|
-
output: __S(
|
|
626
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
686
|
+
output: __S(54, __c13, 2) as any as S.Schema<FederatedIdentityProvider>,
|
|
687
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
688
|
+
serviceErrors: StackitServiceErrors,
|
|
627
689
|
protocol: StackitProtocol,
|
|
628
690
|
retry: Retry.Retry,
|
|
629
691
|
telemetry: TELEMETRY,
|
|
@@ -642,9 +704,10 @@ export const partialUpdateServiceAccountKey: API.OperationMethod<
|
|
|
642
704
|
PartialUpdateServiceAccountKeyError,
|
|
643
705
|
StackitOpContext
|
|
644
706
|
> = /*@__PURE__*/ API.make(() => ({
|
|
645
|
-
input: __S(
|
|
646
|
-
output: __S(
|
|
647
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
707
|
+
input: __S(40, __c10, 0) as any as S.Schema<PartialUpdateServiceAccountKeyRequest>,
|
|
708
|
+
output: __S(28, __c7, 0) as any as S.Schema<PartialUpdateServiceAccountKeyResponse>,
|
|
709
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
710
|
+
serviceErrors: StackitServiceErrors,
|
|
648
711
|
protocol: StackitProtocol,
|
|
649
712
|
retry: Retry.Retry,
|
|
650
713
|
telemetry: TELEMETRY,
|
|
@@ -653,6 +716,20 @@ export const partialUpdateServiceAccountKey: API.OperationMethod<
|
|
|
653
716
|
|
|
654
717
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
655
718
|
function __c0(j: number): any {
|
|
719
|
+
switch (j) {
|
|
720
|
+
case 0:
|
|
721
|
+
return S.suspend(() =>
|
|
722
|
+
S.Struct({
|
|
723
|
+
error: S.String,
|
|
724
|
+
message: S.String,
|
|
725
|
+
path: S.String,
|
|
726
|
+
status: S.Number,
|
|
727
|
+
timeStamp: S.String,
|
|
728
|
+
}),
|
|
729
|
+
).annotate({ identifier: "Error" });
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
function __c1(j: number): any {
|
|
656
733
|
switch (j) {
|
|
657
734
|
case 0:
|
|
658
735
|
return S.suspend(() =>
|
|
@@ -671,7 +748,7 @@ function __c0(j: number): any {
|
|
|
671
748
|
).annotate({ identifier: "DeleteServiceFederatedIdentityProviderRequest" });
|
|
672
749
|
}
|
|
673
750
|
}
|
|
674
|
-
function
|
|
751
|
+
function __c2(j: number): any {
|
|
675
752
|
switch (j) {
|
|
676
753
|
case 0:
|
|
677
754
|
return S.suspend(() =>
|
|
@@ -690,7 +767,7 @@ function __c1(j: number): any {
|
|
|
690
767
|
).annotate({ identifier: "GetFederatedIdentityProviderRequest" });
|
|
691
768
|
}
|
|
692
769
|
}
|
|
693
|
-
function
|
|
770
|
+
function __c3(j: number): any {
|
|
694
771
|
switch (j) {
|
|
695
772
|
case 0:
|
|
696
773
|
return S.suspend(() =>
|
|
@@ -722,16 +799,16 @@ function __c2(j: number): any {
|
|
|
722
799
|
}),
|
|
723
800
|
).annotate({ identifier: "JWK" });
|
|
724
801
|
case 2:
|
|
725
|
-
return S.Array(__S(
|
|
802
|
+
return S.Array(__S(13, __c3, 1));
|
|
726
803
|
case 3:
|
|
727
804
|
return S.suspend(() =>
|
|
728
805
|
S.Struct({
|
|
729
|
-
keys: __S(
|
|
806
|
+
keys: __S(14, __c3, 2),
|
|
730
807
|
}),
|
|
731
808
|
).annotate({ identifier: "JWKS" });
|
|
732
809
|
}
|
|
733
810
|
}
|
|
734
|
-
function
|
|
811
|
+
function __c4(j: number): any {
|
|
735
812
|
switch (j) {
|
|
736
813
|
case 0:
|
|
737
814
|
return S.suspend(() =>
|
|
@@ -763,7 +840,7 @@ function __c3(j: number): any {
|
|
|
763
840
|
S.Struct({
|
|
764
841
|
active: S.Boolean,
|
|
765
842
|
createdAt: S.String,
|
|
766
|
-
credentials: __S(
|
|
843
|
+
credentials: __S(17, __c4, 1),
|
|
767
844
|
id: S.String,
|
|
768
845
|
keyAlgorithm: S.String,
|
|
769
846
|
keyOrigin: S.String,
|
|
@@ -774,7 +851,7 @@ function __c3(j: number): any {
|
|
|
774
851
|
).annotate({ identifier: "GetServiceAccountKeyResponse" });
|
|
775
852
|
}
|
|
776
853
|
}
|
|
777
|
-
function
|
|
854
|
+
function __c5(j: number): any {
|
|
778
855
|
switch (j) {
|
|
779
856
|
case 0:
|
|
780
857
|
return S.suspend(() =>
|
|
@@ -791,19 +868,19 @@ function __c4(j: number): any {
|
|
|
791
868
|
),
|
|
792
869
|
).annotate({ identifier: "ListFederatedIdentityProvidersRequest" });
|
|
793
870
|
case 1:
|
|
794
|
-
return S.Array(__S(
|
|
871
|
+
return S.Array(__S(54, __c13, 2));
|
|
795
872
|
case 2:
|
|
796
873
|
return S.suspend(() =>
|
|
797
874
|
S.Struct({
|
|
798
875
|
itemsPerPage: S.Number,
|
|
799
|
-
resources: __S(
|
|
876
|
+
resources: __S(21, __c5, 1),
|
|
800
877
|
startIndex: S.Number,
|
|
801
878
|
totalResults: S.Number,
|
|
802
879
|
}),
|
|
803
880
|
).annotate({ identifier: "FederatedListFederatedIdentityProvidersResponse" });
|
|
804
881
|
}
|
|
805
882
|
}
|
|
806
|
-
function
|
|
883
|
+
function __c6(j: number): any {
|
|
807
884
|
switch (j) {
|
|
808
885
|
case 0:
|
|
809
886
|
return S.suspend(() =>
|
|
@@ -820,16 +897,16 @@ function __c5(j: number): any {
|
|
|
820
897
|
),
|
|
821
898
|
).annotate({ identifier: "ListServiceAccountKeysRequest" });
|
|
822
899
|
case 1:
|
|
823
|
-
return S.Array(__S(
|
|
900
|
+
return S.Array(__S(28, __c7, 0));
|
|
824
901
|
case 2:
|
|
825
902
|
return S.suspend(() =>
|
|
826
903
|
S.Struct({
|
|
827
|
-
items: __S(
|
|
904
|
+
items: __S(25, __c6, 1),
|
|
828
905
|
}),
|
|
829
906
|
).annotate({ identifier: "ListServiceAccountKeysResponse" });
|
|
830
907
|
}
|
|
831
908
|
}
|
|
832
|
-
function
|
|
909
|
+
function __c7(j: number): any {
|
|
833
910
|
switch (j) {
|
|
834
911
|
case 0:
|
|
835
912
|
return S.suspend(() =>
|
|
@@ -845,7 +922,7 @@ function __c6(j: number): any {
|
|
|
845
922
|
).annotate({ identifier: "ServiceAccountKeyListResponse" });
|
|
846
923
|
}
|
|
847
924
|
}
|
|
848
|
-
function
|
|
925
|
+
function __c8(j: number): any {
|
|
849
926
|
switch (j) {
|
|
850
927
|
case 0:
|
|
851
928
|
return S.suspend(() =>
|
|
@@ -861,16 +938,16 @@ function __c7(j: number): any {
|
|
|
861
938
|
),
|
|
862
939
|
).annotate({ identifier: "ListServiceAccountsRequest" });
|
|
863
940
|
case 1:
|
|
864
|
-
return S.Array(__S(
|
|
941
|
+
return S.Array(__S(64, __c16, 0));
|
|
865
942
|
case 2:
|
|
866
943
|
return S.suspend(() =>
|
|
867
944
|
S.Struct({
|
|
868
|
-
items: __S(
|
|
945
|
+
items: __S(33, __c8, 1),
|
|
869
946
|
}),
|
|
870
947
|
).annotate({ identifier: "ListServiceAccountsResponse" });
|
|
871
948
|
}
|
|
872
949
|
}
|
|
873
|
-
function
|
|
950
|
+
function __c9(j: number): any {
|
|
874
951
|
switch (j) {
|
|
875
952
|
case 0:
|
|
876
953
|
return S.suspend(() =>
|
|
@@ -878,7 +955,7 @@ function __c8(j: number): any {
|
|
|
878
955
|
projectId: S.String.pipe(T.Label()),
|
|
879
956
|
serviceAccountEmail: S.String.pipe(T.Label()),
|
|
880
957
|
federationId: S.String.pipe(T.Label()),
|
|
881
|
-
assertions: S.optional(__S(
|
|
958
|
+
assertions: S.optional(__S(57, __c14, 1)),
|
|
882
959
|
issuer: S.String,
|
|
883
960
|
name: S.String,
|
|
884
961
|
}).pipe(
|
|
@@ -892,7 +969,7 @@ function __c8(j: number): any {
|
|
|
892
969
|
).annotate({ identifier: "PartialUpdateServiceAccountFederatedIdentityProviderRequest" });
|
|
893
970
|
}
|
|
894
971
|
}
|
|
895
|
-
function
|
|
972
|
+
function __c10(j: number): any {
|
|
896
973
|
switch (j) {
|
|
897
974
|
case 0:
|
|
898
975
|
return S.suspend(() =>
|
|
@@ -913,14 +990,32 @@ function __c9(j: number): any {
|
|
|
913
990
|
).annotate({ identifier: "PartialUpdateServiceAccountKeyRequest" });
|
|
914
991
|
}
|
|
915
992
|
}
|
|
916
|
-
function
|
|
993
|
+
function __c11(j: number): any {
|
|
994
|
+
switch (j) {
|
|
995
|
+
case 0:
|
|
996
|
+
return S.suspend(() =>
|
|
997
|
+
S.Struct({
|
|
998
|
+
code: S.Number,
|
|
999
|
+
message: S.String,
|
|
1000
|
+
status: S.String,
|
|
1001
|
+
}),
|
|
1002
|
+
).annotate({ identifier: "AuthErrorError" });
|
|
1003
|
+
case 1:
|
|
1004
|
+
return S.suspend(() =>
|
|
1005
|
+
S.Struct({
|
|
1006
|
+
error: __S(44, __c11, 0),
|
|
1007
|
+
}),
|
|
1008
|
+
).annotate({ identifier: "AuthError" });
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
function __c12(j: number): any {
|
|
917
1012
|
switch (j) {
|
|
918
1013
|
case 0:
|
|
919
1014
|
return S.suspend(() =>
|
|
920
1015
|
S.Struct({
|
|
921
1016
|
projectId: S.String.pipe(T.Label()),
|
|
922
1017
|
serviceAccountEmail: S.String.pipe(T.Label()),
|
|
923
|
-
assertions: S.optional(__S(
|
|
1018
|
+
assertions: S.optional(__S(57, __c14, 1)),
|
|
924
1019
|
issuer: S.String,
|
|
925
1020
|
name: S.String,
|
|
926
1021
|
}).pipe(
|
|
@@ -934,7 +1029,7 @@ function __c10(j: number): any {
|
|
|
934
1029
|
).annotate({ identifier: "CreateFederatedIdentityProviderRequest" });
|
|
935
1030
|
}
|
|
936
1031
|
}
|
|
937
|
-
function
|
|
1032
|
+
function __c13(j: number): any {
|
|
938
1033
|
switch (j) {
|
|
939
1034
|
case 0:
|
|
940
1035
|
return S.suspend(() =>
|
|
@@ -945,11 +1040,11 @@ function __c11(j: number): any {
|
|
|
945
1040
|
}),
|
|
946
1041
|
).annotate({ identifier: "FederatedIdentityProviderAssertionsItem" });
|
|
947
1042
|
case 1:
|
|
948
|
-
return S.Array(__S(
|
|
1043
|
+
return S.Array(__S(52, __c13, 0));
|
|
949
1044
|
case 2:
|
|
950
1045
|
return S.suspend(() =>
|
|
951
1046
|
S.Struct({
|
|
952
|
-
assertions: __S(
|
|
1047
|
+
assertions: __S(53, __c13, 1),
|
|
953
1048
|
createdAt: S.String,
|
|
954
1049
|
id: S.optional(S.String),
|
|
955
1050
|
issuer: S.String,
|
|
@@ -959,7 +1054,7 @@ function __c11(j: number): any {
|
|
|
959
1054
|
).annotate({ identifier: "FederatedIdentityProvider" });
|
|
960
1055
|
}
|
|
961
1056
|
}
|
|
962
|
-
function
|
|
1057
|
+
function __c14(j: number): any {
|
|
963
1058
|
switch (j) {
|
|
964
1059
|
case 0:
|
|
965
1060
|
return S.suspend(() =>
|
|
@@ -970,10 +1065,10 @@ function __c12(j: number): any {
|
|
|
970
1065
|
}),
|
|
971
1066
|
).annotate({ identifier: "CreateFederatedIdentityProviderRequestAssertionsItem" });
|
|
972
1067
|
case 1:
|
|
973
|
-
return S.Array(__S(
|
|
1068
|
+
return S.Array(__S(56, __c14, 0));
|
|
974
1069
|
}
|
|
975
1070
|
}
|
|
976
|
-
function
|
|
1071
|
+
function __c15(j: number): any {
|
|
977
1072
|
switch (j) {
|
|
978
1073
|
case 0:
|
|
979
1074
|
return S.suspend(() =>
|
|
@@ -991,7 +1086,7 @@ function __c13(j: number): any {
|
|
|
991
1086
|
).annotate({ identifier: "CreateServiceAccountRequest" });
|
|
992
1087
|
}
|
|
993
1088
|
}
|
|
994
|
-
function
|
|
1089
|
+
function __c16(j: number): any {
|
|
995
1090
|
switch (j) {
|
|
996
1091
|
case 0:
|
|
997
1092
|
return S.suspend(() =>
|
|
@@ -1004,7 +1099,7 @@ function __c14(j: number): any {
|
|
|
1004
1099
|
).annotate({ identifier: "ServiceAccount2" });
|
|
1005
1100
|
}
|
|
1006
1101
|
}
|
|
1007
|
-
function
|
|
1102
|
+
function __c17(j: number): any {
|
|
1008
1103
|
switch (j) {
|
|
1009
1104
|
case 0:
|
|
1010
1105
|
return S.suspend(() =>
|
|
@@ -1039,7 +1134,7 @@ function __c15(j: number): any {
|
|
|
1039
1134
|
S.Struct({
|
|
1040
1135
|
active: S.Boolean,
|
|
1041
1136
|
createdAt: S.String,
|
|
1042
|
-
credentials: __S(
|
|
1137
|
+
credentials: __S(69, __c17, 1),
|
|
1043
1138
|
id: S.String,
|
|
1044
1139
|
keyAlgorithm: S.String,
|
|
1045
1140
|
keyOrigin: S.String,
|
|
@@ -1050,7 +1145,7 @@ function __c15(j: number): any {
|
|
|
1050
1145
|
).annotate({ identifier: "CreateServiceAccountKeyResponse" });
|
|
1051
1146
|
}
|
|
1052
1147
|
}
|
|
1053
|
-
function
|
|
1148
|
+
function __c18(j: number): any {
|
|
1054
1149
|
switch (j) {
|
|
1055
1150
|
case 0:
|
|
1056
1151
|
return S.suspend(() =>
|
|
@@ -1079,7 +1174,7 @@ function __c16(j: number): any {
|
|
|
1079
1174
|
).annotate({ identifier: "CreateShortLivedAccessTokenResponse" });
|
|
1080
1175
|
}
|
|
1081
1176
|
}
|
|
1082
|
-
function
|
|
1177
|
+
function __c19(j: number): any {
|
|
1083
1178
|
switch (j) {
|
|
1084
1179
|
case 0:
|
|
1085
1180
|
return S.suspend(() =>
|
|
@@ -1097,13 +1192,13 @@ function __c17(j: number): any {
|
|
|
1097
1192
|
).annotate({ identifier: "DeleteServiceAccountRequest" });
|
|
1098
1193
|
}
|
|
1099
1194
|
}
|
|
1100
|
-
function
|
|
1195
|
+
function __c20(j: number): any {
|
|
1101
1196
|
switch (j) {
|
|
1102
1197
|
case 0:
|
|
1103
1198
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteServiceAccountResponse" });
|
|
1104
1199
|
}
|
|
1105
1200
|
}
|
|
1106
|
-
function
|
|
1201
|
+
function __c21(j: number): any {
|
|
1107
1202
|
switch (j) {
|
|
1108
1203
|
case 0:
|
|
1109
1204
|
return S.suspend(() =>
|