@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +8 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +19 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +13 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +36 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +63 -2
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +44 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +10 -1
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -127
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +229 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +353 -137
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
-
import {
|
|
6
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -30,36 +30,64 @@ export class BadRequest
|
|
|
30
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
31
|
code: S.Number,
|
|
32
32
|
message: S.String,
|
|
33
|
+
body: /*@__PURE__*/ S.optional(
|
|
34
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
35
|
+
),
|
|
36
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
37
|
}).pipe(C.withBadRequestError),
|
|
34
38
|
[{ status: 400 }],
|
|
35
|
-
)
|
|
39
|
+
)
|
|
40
|
+
{
|
|
41
|
+
declare readonly body?: ErrorResponse | string;
|
|
42
|
+
}
|
|
36
43
|
|
|
37
44
|
export class Conflict
|
|
38
45
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
39
46
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
47
|
code: S.Number,
|
|
41
48
|
message: S.String,
|
|
49
|
+
body: /*@__PURE__*/ S.optional(
|
|
50
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
51
|
+
),
|
|
52
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
53
|
}).pipe(C.withConflictError),
|
|
43
54
|
[{ status: 409 }],
|
|
44
|
-
)
|
|
55
|
+
)
|
|
56
|
+
{
|
|
57
|
+
declare readonly body?: ErrorResponse | string;
|
|
58
|
+
}
|
|
45
59
|
|
|
46
60
|
export class Forbidden
|
|
47
61
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
48
62
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
49
63
|
code: S.Number,
|
|
50
64
|
message: S.String,
|
|
65
|
+
body: /*@__PURE__*/ S.optional(
|
|
66
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
67
|
+
),
|
|
68
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
69
|
}).pipe(C.withAuthError),
|
|
52
70
|
[{ status: 403 }],
|
|
53
|
-
)
|
|
71
|
+
)
|
|
72
|
+
{
|
|
73
|
+
declare readonly body?: ErrorResponse | string;
|
|
74
|
+
}
|
|
54
75
|
|
|
55
76
|
export class NotFound
|
|
56
77
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
57
78
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
58
79
|
code: S.Number,
|
|
59
80
|
message: S.String,
|
|
81
|
+
body: /*@__PURE__*/ S.optional(
|
|
82
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
83
|
+
),
|
|
84
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
60
85
|
}).pipe(C.withBadRequestError),
|
|
61
86
|
[{ status: 404 }],
|
|
62
|
-
)
|
|
87
|
+
)
|
|
88
|
+
{
|
|
89
|
+
declare readonly body?: ErrorResponse | string;
|
|
90
|
+
}
|
|
63
91
|
|
|
64
92
|
/** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.* */
|
|
65
93
|
export type Labels = { [key: string]: string | undefined };
|
|
@@ -363,6 +391,18 @@ export interface PartialUpdateProjectRequest {
|
|
|
363
391
|
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
364
392
|
name?: string | undefined;
|
|
365
393
|
}
|
|
394
|
+
export interface ErrorResponse {
|
|
395
|
+
/** The reason phrase of the status code. */
|
|
396
|
+
error: string;
|
|
397
|
+
/** Description of the error. */
|
|
398
|
+
message: string;
|
|
399
|
+
/** Path which was called. */
|
|
400
|
+
path: string;
|
|
401
|
+
/** Http Status Code. */
|
|
402
|
+
status: number;
|
|
403
|
+
/** Timestamp at which the error occurred. */
|
|
404
|
+
timeStamp: string;
|
|
405
|
+
}
|
|
366
406
|
export type CreateFolderError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
367
407
|
/** Create Folder Creates a new folder within a parent organization or folder. Authorization & Permissions: - Evaluated on Target Parent Container: resource-manager.folder.create (required permission on the target parent organization or folder to create a folder). */
|
|
368
408
|
export const createFolder: API.OperationMethod<
|
|
@@ -371,9 +411,10 @@ export const createFolder: API.OperationMethod<
|
|
|
371
411
|
CreateFolderError,
|
|
372
412
|
StackitOpContext
|
|
373
413
|
> = /*@__PURE__*/ API.make(() => ({
|
|
374
|
-
input: __S(
|
|
375
|
-
output: __S(
|
|
376
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
414
|
+
input: __S(56, __c14, 0) as any as S.Schema<CreateFolderRequest>,
|
|
415
|
+
output: __S(60, __c15, 0) as any as S.Schema<FolderResponse>,
|
|
416
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
417
|
+
serviceErrors: StackitServiceErrors,
|
|
377
418
|
protocol: StackitProtocol,
|
|
378
419
|
retry: Retry.Retry,
|
|
379
420
|
telemetry: TELEMETRY,
|
|
@@ -388,9 +429,10 @@ export const createProject: API.OperationMethod<
|
|
|
388
429
|
CreateProjectError,
|
|
389
430
|
StackitOpContext
|
|
390
431
|
> = /*@__PURE__*/ API.make(() => ({
|
|
391
|
-
input: __S(
|
|
392
|
-
output: __S(
|
|
393
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
432
|
+
input: __S(76, __c19, 0) as any as S.Schema<CreateProjectRequest>,
|
|
433
|
+
output: __S(80, __c20, 0) as any as S.Schema<Project>,
|
|
434
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
435
|
+
serviceErrors: StackitServiceErrors,
|
|
394
436
|
protocol: StackitProtocol,
|
|
395
437
|
retry: Retry.Retry,
|
|
396
438
|
telemetry: TELEMETRY,
|
|
@@ -405,9 +447,10 @@ export const deleteFolder: API.OperationMethod<
|
|
|
405
447
|
DeleteFolderError,
|
|
406
448
|
StackitOpContext
|
|
407
449
|
> = /*@__PURE__*/ API.make(() => ({
|
|
408
|
-
input: __S(
|
|
409
|
-
output: __S(
|
|
410
|
-
errors: [NotFound, Conflict
|
|
450
|
+
input: __S(84, __c21, 0) as any as S.Schema<DeleteFolderRequest>,
|
|
451
|
+
output: __S(88, __c22, 0) as any as S.Schema<DeleteFolderResponse>,
|
|
452
|
+
errors: [NotFound, Conflict],
|
|
453
|
+
serviceErrors: StackitServiceErrors,
|
|
411
454
|
protocol: StackitProtocol,
|
|
412
455
|
retry: Retry.Retry,
|
|
413
456
|
telemetry: TELEMETRY,
|
|
@@ -422,9 +465,10 @@ export const deleteFolderLabels: API.OperationMethod<
|
|
|
422
465
|
DeleteFolderLabelsError,
|
|
423
466
|
StackitOpContext
|
|
424
467
|
> = /*@__PURE__*/ API.make(() => ({
|
|
425
|
-
input: __S(
|
|
426
|
-
output: __S(
|
|
427
|
-
errors: [Conflict
|
|
468
|
+
input: __S(92, __c23, 0) as any as S.Schema<DeleteFolderLabelsRequest>,
|
|
469
|
+
output: __S(88, __c22, 0) as any as S.Schema<DeleteFolderLabelsResponse>,
|
|
470
|
+
errors: [Conflict],
|
|
471
|
+
serviceErrors: StackitServiceErrors,
|
|
428
472
|
protocol: StackitProtocol,
|
|
429
473
|
retry: Retry.Retry,
|
|
430
474
|
telemetry: TELEMETRY,
|
|
@@ -439,9 +483,10 @@ export const deleteOrganizationLabels: API.OperationMethod<
|
|
|
439
483
|
DeleteOrganizationLabelsError,
|
|
440
484
|
StackitOpContext
|
|
441
485
|
> = /*@__PURE__*/ API.make(() => ({
|
|
442
|
-
input: __S(
|
|
443
|
-
output: __S(
|
|
444
|
-
errors: [Conflict
|
|
486
|
+
input: __S(100, __c25, 0) as any as S.Schema<DeleteOrganizationLabelsRequest>,
|
|
487
|
+
output: __S(88, __c22, 0) as any as S.Schema<DeleteOrganizationLabelsResponse>,
|
|
488
|
+
errors: [Conflict],
|
|
489
|
+
serviceErrors: StackitServiceErrors,
|
|
445
490
|
protocol: StackitProtocol,
|
|
446
491
|
retry: Retry.Retry,
|
|
447
492
|
telemetry: TELEMETRY,
|
|
@@ -456,9 +501,10 @@ export const deleteProject: API.OperationMethod<
|
|
|
456
501
|
DeleteProjectError,
|
|
457
502
|
StackitOpContext
|
|
458
503
|
> = /*@__PURE__*/ API.make(() => ({
|
|
459
|
-
input: __S(
|
|
460
|
-
output: __S(
|
|
461
|
-
errors: [Conflict
|
|
504
|
+
input: __S(104, __c26, 0) as any as S.Schema<DeleteProjectRequest>,
|
|
505
|
+
output: __S(88, __c22, 0) as any as S.Schema<DeleteProjectResponse>,
|
|
506
|
+
errors: [Conflict],
|
|
507
|
+
serviceErrors: StackitServiceErrors,
|
|
462
508
|
protocol: StackitProtocol,
|
|
463
509
|
retry: Retry.Retry,
|
|
464
510
|
telemetry: TELEMETRY,
|
|
@@ -473,9 +519,10 @@ export const deleteProjectLabels: API.OperationMethod<
|
|
|
473
519
|
DeleteProjectLabelsError,
|
|
474
520
|
StackitOpContext
|
|
475
521
|
> = /*@__PURE__*/ API.make(() => ({
|
|
476
|
-
input: __S(
|
|
477
|
-
output: __S(
|
|
478
|
-
errors: [Conflict
|
|
522
|
+
input: __S(4, __c1, 0) as any as S.Schema<DeleteProjectLabelsRequest>,
|
|
523
|
+
output: __S(88, __c22, 0) as any as S.Schema<DeleteProjectLabelsResponse>,
|
|
524
|
+
errors: [Conflict],
|
|
525
|
+
serviceErrors: StackitServiceErrors,
|
|
479
526
|
protocol: StackitProtocol,
|
|
480
527
|
retry: Retry.Retry,
|
|
481
528
|
telemetry: TELEMETRY,
|
|
@@ -490,9 +537,10 @@ export const getFolderDetails: API.OperationMethod<
|
|
|
490
537
|
GetFolderDetailsError,
|
|
491
538
|
StackitOpContext
|
|
492
539
|
> = /*@__PURE__*/ API.make(() => ({
|
|
493
|
-
input: __S(
|
|
494
|
-
output: __S(
|
|
495
|
-
errors: [Forbidden, NotFound
|
|
540
|
+
input: __S(8, __c2, 0) as any as S.Schema<GetFolderDetailsRequest>,
|
|
541
|
+
output: __S(9, __c2, 1) as any as S.Schema<GetFolderDetailsResponse>,
|
|
542
|
+
errors: [Forbidden, NotFound],
|
|
543
|
+
serviceErrors: StackitServiceErrors,
|
|
496
544
|
protocol: StackitProtocol,
|
|
497
545
|
retry: Retry.Retry,
|
|
498
546
|
telemetry: TELEMETRY,
|
|
@@ -507,9 +555,10 @@ export const getOrganization: API.OperationMethod<
|
|
|
507
555
|
GetOrganizationError,
|
|
508
556
|
StackitOpContext
|
|
509
557
|
> = /*@__PURE__*/ API.make(() => ({
|
|
510
|
-
input: __S(
|
|
511
|
-
output: __S(
|
|
512
|
-
errors: [NotFound
|
|
558
|
+
input: __S(16, __c4, 0) as any as S.Schema<GetOrganizationRequest>,
|
|
559
|
+
output: __S(20, __c5, 0) as any as S.Schema<OrganizationResponse>,
|
|
560
|
+
errors: [NotFound],
|
|
561
|
+
serviceErrors: StackitServiceErrors,
|
|
513
562
|
protocol: StackitProtocol,
|
|
514
563
|
retry: Retry.Retry,
|
|
515
564
|
telemetry: TELEMETRY,
|
|
@@ -524,9 +573,10 @@ export const getProject: API.OperationMethod<
|
|
|
524
573
|
GetProjectError,
|
|
525
574
|
StackitOpContext
|
|
526
575
|
> = /*@__PURE__*/ API.make(() => ({
|
|
527
|
-
input: __S(
|
|
528
|
-
output: __S(
|
|
529
|
-
errors: [Forbidden, NotFound
|
|
576
|
+
input: __S(24, __c6, 0) as any as S.Schema<GetProjectRequest>,
|
|
577
|
+
output: __S(25, __c6, 1) as any as S.Schema<GetProjectResponse>,
|
|
578
|
+
errors: [Forbidden, NotFound],
|
|
579
|
+
serviceErrors: StackitServiceErrors,
|
|
530
580
|
protocol: StackitProtocol,
|
|
531
581
|
retry: Retry.Retry,
|
|
532
582
|
telemetry: TELEMETRY,
|
|
@@ -541,9 +591,10 @@ export const listFolders: API.OperationMethod<
|
|
|
541
591
|
ListFoldersError,
|
|
542
592
|
StackitOpContext
|
|
543
593
|
> = /*@__PURE__*/ API.make(() => ({
|
|
544
|
-
input: __S(
|
|
545
|
-
output: __S(
|
|
546
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
594
|
+
input: __S(28, __c7, 0) as any as S.Schema<ListFoldersRequest>,
|
|
595
|
+
output: __S(30, __c7, 2) as any as S.Schema<ListFoldersResponse>,
|
|
596
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
597
|
+
serviceErrors: StackitServiceErrors,
|
|
547
598
|
protocol: StackitProtocol,
|
|
548
599
|
retry: Retry.Retry,
|
|
549
600
|
telemetry: TELEMETRY,
|
|
@@ -558,9 +609,10 @@ export const listOrganizations: API.OperationMethod<
|
|
|
558
609
|
ListOrganizationsError,
|
|
559
610
|
StackitOpContext
|
|
560
611
|
> = /*@__PURE__*/ API.make(() => ({
|
|
561
|
-
input: __S(
|
|
562
|
-
output: __S(
|
|
563
|
-
errors: [BadRequest, Forbidden
|
|
612
|
+
input: __S(32, __c8, 0) as any as S.Schema<ListOrganizationsRequest>,
|
|
613
|
+
output: __S(34, __c8, 2) as any as S.Schema<ListOrganizationsResponse>,
|
|
614
|
+
errors: [BadRequest, Forbidden],
|
|
615
|
+
serviceErrors: StackitServiceErrors,
|
|
564
616
|
protocol: StackitProtocol,
|
|
565
617
|
retry: Retry.Retry,
|
|
566
618
|
telemetry: TELEMETRY,
|
|
@@ -575,9 +627,10 @@ export const listProjects: API.OperationMethod<
|
|
|
575
627
|
ListProjectsError,
|
|
576
628
|
StackitOpContext
|
|
577
629
|
> = /*@__PURE__*/ API.make(() => ({
|
|
578
|
-
input: __S(
|
|
579
|
-
output: __S(
|
|
580
|
-
errors: [BadRequest, Forbidden
|
|
630
|
+
input: __S(36, __c9, 0) as any as S.Schema<ListProjectsRequest>,
|
|
631
|
+
output: __S(38, __c9, 2) as any as S.Schema<ListProjectsResponse>,
|
|
632
|
+
errors: [BadRequest, Forbidden],
|
|
633
|
+
serviceErrors: StackitServiceErrors,
|
|
581
634
|
protocol: StackitProtocol,
|
|
582
635
|
retry: Retry.Retry,
|
|
583
636
|
telemetry: TELEMETRY,
|
|
@@ -592,9 +645,10 @@ export const partialUpdateFolder: API.OperationMethod<
|
|
|
592
645
|
PartialUpdateFolderError,
|
|
593
646
|
StackitOpContext
|
|
594
647
|
> = /*@__PURE__*/ API.make(() => ({
|
|
595
|
-
input: __S(
|
|
596
|
-
output: __S(
|
|
597
|
-
errors: [Forbidden, NotFound, Conflict
|
|
648
|
+
input: __S(40, __c10, 0) as any as S.Schema<PartialUpdateFolderRequest>,
|
|
649
|
+
output: __S(60, __c15, 0) as any as S.Schema<FolderResponse>,
|
|
650
|
+
errors: [Forbidden, NotFound, Conflict],
|
|
651
|
+
serviceErrors: StackitServiceErrors,
|
|
598
652
|
protocol: StackitProtocol,
|
|
599
653
|
retry: Retry.Retry,
|
|
600
654
|
telemetry: TELEMETRY,
|
|
@@ -609,9 +663,10 @@ export const partialUpdateOrganization: API.OperationMethod<
|
|
|
609
663
|
PartialUpdateOrganizationError,
|
|
610
664
|
StackitOpContext
|
|
611
665
|
> = /*@__PURE__*/ API.make(() => ({
|
|
612
|
-
input: __S(
|
|
613
|
-
output: __S(
|
|
614
|
-
errors: [NotFound, Conflict
|
|
666
|
+
input: __S(48, __c12, 0) as any as S.Schema<PartialUpdateOrganizationRequest>,
|
|
667
|
+
output: __S(20, __c5, 0) as any as S.Schema<OrganizationResponse>,
|
|
668
|
+
errors: [NotFound, Conflict],
|
|
669
|
+
serviceErrors: StackitServiceErrors,
|
|
615
670
|
protocol: StackitProtocol,
|
|
616
671
|
retry: Retry.Retry,
|
|
617
672
|
telemetry: TELEMETRY,
|
|
@@ -626,9 +681,10 @@ export const partialUpdateProject: API.OperationMethod<
|
|
|
626
681
|
PartialUpdateProjectError,
|
|
627
682
|
StackitOpContext
|
|
628
683
|
> = /*@__PURE__*/ API.make(() => ({
|
|
629
|
-
input: __S(
|
|
630
|
-
output: __S(
|
|
631
|
-
errors: [Forbidden, NotFound, Conflict
|
|
684
|
+
input: __S(52, __c13, 0) as any as S.Schema<PartialUpdateProjectRequest>,
|
|
685
|
+
output: __S(80, __c20, 0) as any as S.Schema<Project>,
|
|
686
|
+
errors: [Forbidden, NotFound, Conflict],
|
|
687
|
+
serviceErrors: StackitServiceErrors,
|
|
632
688
|
protocol: StackitProtocol,
|
|
633
689
|
retry: Retry.Retry,
|
|
634
690
|
telemetry: TELEMETRY,
|
|
@@ -637,12 +693,26 @@ export const partialUpdateProject: API.OperationMethod<
|
|
|
637
693
|
|
|
638
694
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
639
695
|
function __c0(j: number): any {
|
|
696
|
+
switch (j) {
|
|
697
|
+
case 0:
|
|
698
|
+
return S.suspend(() =>
|
|
699
|
+
S.Struct({
|
|
700
|
+
error: S.String,
|
|
701
|
+
message: S.String,
|
|
702
|
+
path: S.String,
|
|
703
|
+
status: S.Number,
|
|
704
|
+
timeStamp: S.String,
|
|
705
|
+
}),
|
|
706
|
+
).annotate({ identifier: "ErrorResponse" });
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
function __c1(j: number): any {
|
|
640
710
|
switch (j) {
|
|
641
711
|
case 0:
|
|
642
712
|
return S.suspend(() =>
|
|
643
713
|
S.Struct({
|
|
644
714
|
containerId: S.String.pipe(T.Label()),
|
|
645
|
-
keys: S.optional(__S(
|
|
715
|
+
keys: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
646
716
|
}).pipe(
|
|
647
717
|
T.Http({
|
|
648
718
|
method: "DELETE",
|
|
@@ -654,7 +724,7 @@ function __c0(j: number): any {
|
|
|
654
724
|
).annotate({ identifier: "DeleteProjectLabelsRequest" });
|
|
655
725
|
}
|
|
656
726
|
}
|
|
657
|
-
function
|
|
727
|
+
function __c2(j: number): any {
|
|
658
728
|
switch (j) {
|
|
659
729
|
case 0:
|
|
660
730
|
return S.suspend(() =>
|
|
@@ -676,16 +746,16 @@ function __c1(j: number): any {
|
|
|
676
746
|
containerId: S.String,
|
|
677
747
|
creationTime: S.String,
|
|
678
748
|
folderId: S.String,
|
|
679
|
-
labels: S.optional(__S(
|
|
749
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
680
750
|
name: S.String,
|
|
681
|
-
parent: __S(
|
|
682
|
-
parents: S.optional(__S(
|
|
751
|
+
parent: __S(72, __c18, 0),
|
|
752
|
+
parents: S.optional(__S(13, __c3, 1)),
|
|
683
753
|
updateTime: S.String,
|
|
684
754
|
}),
|
|
685
755
|
).annotate({ identifier: "GetFolderDetailsResponse" });
|
|
686
756
|
}
|
|
687
757
|
}
|
|
688
|
-
function
|
|
758
|
+
function __c3(j: number): any {
|
|
689
759
|
switch (j) {
|
|
690
760
|
case 0:
|
|
691
761
|
return S.suspend(() =>
|
|
@@ -699,10 +769,10 @@ function __c2(j: number): any {
|
|
|
699
769
|
}),
|
|
700
770
|
).annotate({ identifier: "ParentListItem" });
|
|
701
771
|
case 1:
|
|
702
|
-
return S.Array(__S(
|
|
772
|
+
return S.Array(__S(12, __c3, 0));
|
|
703
773
|
}
|
|
704
774
|
}
|
|
705
|
-
function
|
|
775
|
+
function __c4(j: number): any {
|
|
706
776
|
switch (j) {
|
|
707
777
|
case 0:
|
|
708
778
|
return S.suspend(() =>
|
|
@@ -719,14 +789,14 @@ function __c3(j: number): any {
|
|
|
719
789
|
).annotate({ identifier: "GetOrganizationRequest" });
|
|
720
790
|
}
|
|
721
791
|
}
|
|
722
|
-
function
|
|
792
|
+
function __c5(j: number): any {
|
|
723
793
|
switch (j) {
|
|
724
794
|
case 0:
|
|
725
795
|
return S.suspend(() =>
|
|
726
796
|
S.Struct({
|
|
727
797
|
containerId: S.String,
|
|
728
798
|
creationTime: S.String,
|
|
729
|
-
labels: S.optional(__S(
|
|
799
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
730
800
|
lifecycleState: S.String,
|
|
731
801
|
name: S.String,
|
|
732
802
|
organizationId: S.String,
|
|
@@ -735,7 +805,7 @@ function __c4(j: number): any {
|
|
|
735
805
|
).annotate({ identifier: "OrganizationResponse" });
|
|
736
806
|
}
|
|
737
807
|
}
|
|
738
|
-
function
|
|
808
|
+
function __c6(j: number): any {
|
|
739
809
|
switch (j) {
|
|
740
810
|
case 0:
|
|
741
811
|
return S.suspend(() =>
|
|
@@ -756,24 +826,24 @@ function __c5(j: number): any {
|
|
|
756
826
|
S.Struct({
|
|
757
827
|
containerId: S.String,
|
|
758
828
|
creationTime: S.String,
|
|
759
|
-
labels: S.optional(__S(
|
|
829
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
760
830
|
lifecycleState: S.String,
|
|
761
831
|
name: S.String,
|
|
762
|
-
parent: __S(
|
|
763
|
-
parents: S.optional(__S(
|
|
832
|
+
parent: __S(72, __c18, 0),
|
|
833
|
+
parents: S.optional(__S(13, __c3, 1)),
|
|
764
834
|
projectId: S.String,
|
|
765
835
|
updateTime: S.String,
|
|
766
836
|
}),
|
|
767
837
|
).annotate({ identifier: "GetProjectResponse" });
|
|
768
838
|
}
|
|
769
839
|
}
|
|
770
|
-
function
|
|
840
|
+
function __c7(j: number): any {
|
|
771
841
|
switch (j) {
|
|
772
842
|
case 0:
|
|
773
843
|
return S.suspend(() =>
|
|
774
844
|
S.Struct({
|
|
775
845
|
containerParentId: S.optional(S.String.pipe(T.Query())),
|
|
776
|
-
containerIds: S.optional(__S(
|
|
846
|
+
containerIds: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
777
847
|
member: S.optional(S.String.pipe(T.Query())),
|
|
778
848
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
779
849
|
offset: S.optional(S.Number.pipe(T.Query())),
|
|
@@ -788,23 +858,23 @@ function __c6(j: number): any {
|
|
|
788
858
|
),
|
|
789
859
|
).annotate({ identifier: "ListFoldersRequest" });
|
|
790
860
|
case 1:
|
|
791
|
-
return S.Array(__S(
|
|
861
|
+
return S.Array(__S(60, __c15, 0));
|
|
792
862
|
case 2:
|
|
793
863
|
return S.suspend(() =>
|
|
794
864
|
S.Struct({
|
|
795
|
-
items: __S(
|
|
865
|
+
items: __S(29, __c7, 1),
|
|
796
866
|
limit: S.Number,
|
|
797
867
|
offset: S.Number,
|
|
798
868
|
}),
|
|
799
869
|
).annotate({ identifier: "ListFoldersResponse" });
|
|
800
870
|
}
|
|
801
871
|
}
|
|
802
|
-
function
|
|
872
|
+
function __c8(j: number): any {
|
|
803
873
|
switch (j) {
|
|
804
874
|
case 0:
|
|
805
875
|
return S.suspend(() =>
|
|
806
876
|
S.Struct({
|
|
807
|
-
containerIds: S.optional(__S(
|
|
877
|
+
containerIds: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
808
878
|
member: S.optional(S.String.pipe(T.Query())),
|
|
809
879
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
810
880
|
offset: S.optional(S.Number.pipe(T.Query())),
|
|
@@ -819,24 +889,24 @@ function __c7(j: number): any {
|
|
|
819
889
|
),
|
|
820
890
|
).annotate({ identifier: "ListOrganizationsRequest" });
|
|
821
891
|
case 1:
|
|
822
|
-
return S.Array(__S(
|
|
892
|
+
return S.Array(__S(20, __c5, 0));
|
|
823
893
|
case 2:
|
|
824
894
|
return S.suspend(() =>
|
|
825
895
|
S.Struct({
|
|
826
|
-
items: __S(
|
|
896
|
+
items: __S(33, __c8, 1),
|
|
827
897
|
limit: S.Number,
|
|
828
898
|
offset: S.Number,
|
|
829
899
|
}),
|
|
830
900
|
).annotate({ identifier: "ListOrganizationsResponse" });
|
|
831
901
|
}
|
|
832
902
|
}
|
|
833
|
-
function
|
|
903
|
+
function __c9(j: number): any {
|
|
834
904
|
switch (j) {
|
|
835
905
|
case 0:
|
|
836
906
|
return S.suspend(() =>
|
|
837
907
|
S.Struct({
|
|
838
908
|
containerParentId: S.optional(S.String.pipe(T.Query())),
|
|
839
|
-
containerIds: S.optional(__S(
|
|
909
|
+
containerIds: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
840
910
|
member: S.optional(S.String.pipe(T.Query())),
|
|
841
911
|
offset: S.optional(S.Number.pipe(T.Query())),
|
|
842
912
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
@@ -851,25 +921,25 @@ function __c8(j: number): any {
|
|
|
851
921
|
),
|
|
852
922
|
).annotate({ identifier: "ListProjectsRequest" });
|
|
853
923
|
case 1:
|
|
854
|
-
return S.Array(__S(
|
|
924
|
+
return S.Array(__S(80, __c20, 0));
|
|
855
925
|
case 2:
|
|
856
926
|
return S.suspend(() =>
|
|
857
927
|
S.Struct({
|
|
858
|
-
items: __S(
|
|
928
|
+
items: __S(37, __c9, 1),
|
|
859
929
|
limit: S.Number,
|
|
860
930
|
offset: S.Number,
|
|
861
931
|
}),
|
|
862
932
|
).annotate({ identifier: "ListProjectsResponse" });
|
|
863
933
|
}
|
|
864
934
|
}
|
|
865
|
-
function
|
|
935
|
+
function __c10(j: number): any {
|
|
866
936
|
switch (j) {
|
|
867
937
|
case 0:
|
|
868
938
|
return S.suspend(() =>
|
|
869
939
|
S.Struct({
|
|
870
940
|
containerId: S.String.pipe(T.Label()),
|
|
871
941
|
containerParentId: S.optional(S.String),
|
|
872
|
-
labels: S.optional(__S(
|
|
942
|
+
labels: S.optional(__S(44, __c11, 0)),
|
|
873
943
|
name: S.optional(S.String),
|
|
874
944
|
}).pipe(
|
|
875
945
|
T.Http({
|
|
@@ -882,19 +952,19 @@ function __c9(j: number): any {
|
|
|
882
952
|
).annotate({ identifier: "PartialUpdateFolderRequest" });
|
|
883
953
|
}
|
|
884
954
|
}
|
|
885
|
-
function
|
|
955
|
+
function __c11(j: number): any {
|
|
886
956
|
switch (j) {
|
|
887
957
|
case 0:
|
|
888
958
|
return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
|
|
889
959
|
}
|
|
890
960
|
}
|
|
891
|
-
function
|
|
961
|
+
function __c12(j: number): any {
|
|
892
962
|
switch (j) {
|
|
893
963
|
case 0:
|
|
894
964
|
return S.suspend(() =>
|
|
895
965
|
S.Struct({
|
|
896
966
|
id: S.String.pipe(T.Label()),
|
|
897
|
-
labels: S.optional(__S(
|
|
967
|
+
labels: S.optional(__S(44, __c11, 0)),
|
|
898
968
|
name: S.optional(S.String),
|
|
899
969
|
}).pipe(
|
|
900
970
|
T.Http({
|
|
@@ -907,14 +977,14 @@ function __c11(j: number): any {
|
|
|
907
977
|
).annotate({ identifier: "PartialUpdateOrganizationRequest" });
|
|
908
978
|
}
|
|
909
979
|
}
|
|
910
|
-
function
|
|
980
|
+
function __c13(j: number): any {
|
|
911
981
|
switch (j) {
|
|
912
982
|
case 0:
|
|
913
983
|
return S.suspend(() =>
|
|
914
984
|
S.Struct({
|
|
915
985
|
id: S.String.pipe(T.Label()),
|
|
916
986
|
containerParentId: S.optional(S.String),
|
|
917
|
-
labels: S.optional(__S(
|
|
987
|
+
labels: S.optional(__S(44, __c11, 0)),
|
|
918
988
|
name: S.optional(S.String),
|
|
919
989
|
}).pipe(
|
|
920
990
|
T.Http({
|
|
@@ -927,14 +997,14 @@ function __c12(j: number): any {
|
|
|
927
997
|
).annotate({ identifier: "PartialUpdateProjectRequest" });
|
|
928
998
|
}
|
|
929
999
|
}
|
|
930
|
-
function
|
|
1000
|
+
function __c14(j: number): any {
|
|
931
1001
|
switch (j) {
|
|
932
1002
|
case 0:
|
|
933
1003
|
return S.suspend(() =>
|
|
934
1004
|
S.Struct({
|
|
935
1005
|
containerParentId: S.String,
|
|
936
|
-
labels: S.optional(__S(
|
|
937
|
-
members: S.optional(__S(
|
|
1006
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
1007
|
+
members: S.optional(__S(65, __c16, 1)),
|
|
938
1008
|
name: S.String,
|
|
939
1009
|
}).pipe(
|
|
940
1010
|
T.Http({
|
|
@@ -947,7 +1017,7 @@ function __c13(j: number): any {
|
|
|
947
1017
|
).annotate({ identifier: "CreateFolderRequest" });
|
|
948
1018
|
}
|
|
949
1019
|
}
|
|
950
|
-
function
|
|
1020
|
+
function __c15(j: number): any {
|
|
951
1021
|
switch (j) {
|
|
952
1022
|
case 0:
|
|
953
1023
|
return S.suspend(() =>
|
|
@@ -955,15 +1025,15 @@ function __c14(j: number): any {
|
|
|
955
1025
|
containerId: S.String,
|
|
956
1026
|
creationTime: S.String,
|
|
957
1027
|
folderId: S.String,
|
|
958
|
-
labels: S.optional(__S(
|
|
1028
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
959
1029
|
name: S.String,
|
|
960
|
-
parent: __S(
|
|
1030
|
+
parent: __S(72, __c18, 0),
|
|
961
1031
|
updateTime: S.String,
|
|
962
1032
|
}),
|
|
963
1033
|
).annotate({ identifier: "FolderResponse" });
|
|
964
1034
|
}
|
|
965
1035
|
}
|
|
966
|
-
function
|
|
1036
|
+
function __c16(j: number): any {
|
|
967
1037
|
switch (j) {
|
|
968
1038
|
case 0:
|
|
969
1039
|
return S.suspend(() =>
|
|
@@ -973,16 +1043,16 @@ function __c15(j: number): any {
|
|
|
973
1043
|
}),
|
|
974
1044
|
).annotate({ identifier: "Member" });
|
|
975
1045
|
case 1:
|
|
976
|
-
return S.Array(__S(
|
|
1046
|
+
return S.Array(__S(64, __c16, 0));
|
|
977
1047
|
}
|
|
978
1048
|
}
|
|
979
|
-
function
|
|
1049
|
+
function __c17(j: number): any {
|
|
980
1050
|
switch (j) {
|
|
981
1051
|
case 0:
|
|
982
1052
|
return S.Record(S.String, S.String);
|
|
983
1053
|
}
|
|
984
1054
|
}
|
|
985
|
-
function
|
|
1055
|
+
function __c18(j: number): any {
|
|
986
1056
|
switch (j) {
|
|
987
1057
|
case 0:
|
|
988
1058
|
return S.suspend(() =>
|
|
@@ -994,14 +1064,14 @@ function __c17(j: number): any {
|
|
|
994
1064
|
).annotate({ identifier: "Parent" });
|
|
995
1065
|
}
|
|
996
1066
|
}
|
|
997
|
-
function
|
|
1067
|
+
function __c19(j: number): any {
|
|
998
1068
|
switch (j) {
|
|
999
1069
|
case 0:
|
|
1000
1070
|
return S.suspend(() =>
|
|
1001
1071
|
S.Struct({
|
|
1002
1072
|
containerParentId: S.String,
|
|
1003
|
-
labels: S.optional(__S(
|
|
1004
|
-
members: S.optional(__S(
|
|
1073
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
1074
|
+
members: S.optional(__S(65, __c16, 1)),
|
|
1005
1075
|
name: S.String,
|
|
1006
1076
|
}).pipe(
|
|
1007
1077
|
T.Http({
|
|
@@ -1014,24 +1084,24 @@ function __c18(j: number): any {
|
|
|
1014
1084
|
).annotate({ identifier: "CreateProjectRequest" });
|
|
1015
1085
|
}
|
|
1016
1086
|
}
|
|
1017
|
-
function
|
|
1087
|
+
function __c20(j: number): any {
|
|
1018
1088
|
switch (j) {
|
|
1019
1089
|
case 0:
|
|
1020
1090
|
return S.suspend(() =>
|
|
1021
1091
|
S.Struct({
|
|
1022
1092
|
containerId: S.String,
|
|
1023
1093
|
creationTime: S.String,
|
|
1024
|
-
labels: S.optional(__S(
|
|
1094
|
+
labels: S.optional(__S(68, __c17, 0)),
|
|
1025
1095
|
lifecycleState: S.String,
|
|
1026
1096
|
name: S.String,
|
|
1027
|
-
parent: __S(
|
|
1097
|
+
parent: __S(72, __c18, 0),
|
|
1028
1098
|
projectId: S.String,
|
|
1029
1099
|
updateTime: S.String,
|
|
1030
1100
|
}),
|
|
1031
1101
|
).annotate({ identifier: "Project" });
|
|
1032
1102
|
}
|
|
1033
1103
|
}
|
|
1034
|
-
function
|
|
1104
|
+
function __c21(j: number): any {
|
|
1035
1105
|
switch (j) {
|
|
1036
1106
|
case 0:
|
|
1037
1107
|
return S.suspend(() =>
|
|
@@ -1049,19 +1119,19 @@ function __c20(j: number): any {
|
|
|
1049
1119
|
).annotate({ identifier: "DeleteFolderRequest" });
|
|
1050
1120
|
}
|
|
1051
1121
|
}
|
|
1052
|
-
function
|
|
1122
|
+
function __c22(j: number): any {
|
|
1053
1123
|
switch (j) {
|
|
1054
1124
|
case 0:
|
|
1055
1125
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteFolderResponse" });
|
|
1056
1126
|
}
|
|
1057
1127
|
}
|
|
1058
|
-
function
|
|
1128
|
+
function __c23(j: number): any {
|
|
1059
1129
|
switch (j) {
|
|
1060
1130
|
case 0:
|
|
1061
1131
|
return S.suspend(() =>
|
|
1062
1132
|
S.Struct({
|
|
1063
1133
|
containerId: S.String.pipe(T.Label()),
|
|
1064
|
-
keys: S.optional(__S(
|
|
1134
|
+
keys: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
1065
1135
|
}).pipe(
|
|
1066
1136
|
T.Http({
|
|
1067
1137
|
method: "DELETE",
|
|
@@ -1073,19 +1143,19 @@ function __c22(j: number): any {
|
|
|
1073
1143
|
).annotate({ identifier: "DeleteFolderLabelsRequest" });
|
|
1074
1144
|
}
|
|
1075
1145
|
}
|
|
1076
|
-
function
|
|
1146
|
+
function __c24(j: number): any {
|
|
1077
1147
|
switch (j) {
|
|
1078
1148
|
case 0:
|
|
1079
1149
|
return S.Array(S.String);
|
|
1080
1150
|
}
|
|
1081
1151
|
}
|
|
1082
|
-
function
|
|
1152
|
+
function __c25(j: number): any {
|
|
1083
1153
|
switch (j) {
|
|
1084
1154
|
case 0:
|
|
1085
1155
|
return S.suspend(() =>
|
|
1086
1156
|
S.Struct({
|
|
1087
1157
|
containerId: S.String.pipe(T.Label()),
|
|
1088
|
-
keys: S.optional(__S(
|
|
1158
|
+
keys: S.optional(__S(96, __c24, 0).pipe(T.Query())),
|
|
1089
1159
|
}).pipe(
|
|
1090
1160
|
T.Http({
|
|
1091
1161
|
method: "DELETE",
|
|
@@ -1097,7 +1167,7 @@ function __c24(j: number): any {
|
|
|
1097
1167
|
).annotate({ identifier: "DeleteOrganizationLabelsRequest" });
|
|
1098
1168
|
}
|
|
1099
1169
|
}
|
|
1100
|
-
function
|
|
1170
|
+
function __c26(j: number): any {
|
|
1101
1171
|
switch (j) {
|
|
1102
1172
|
case 0:
|
|
1103
1173
|
return S.suspend(() =>
|