@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(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([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), 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?: Error | 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(0, __c0, 0)), 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?: Error | 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(226, __c28, 2)),
|
|
101
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
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?: ValidationError | Error | string;
|
|
111
|
+
}
|
|
73
112
|
|
|
74
113
|
export type CloneInstanceRequestRegion = "eu01" | "eu02";
|
|
75
114
|
export interface CloneInstanceOverrides {
|
|
@@ -703,6 +742,28 @@ export interface UpdateUserRequest {
|
|
|
703
742
|
roles: UpdateUserRequestRolesList;
|
|
704
743
|
}
|
|
705
744
|
export interface UpdateUserResponse {}
|
|
745
|
+
export interface Error {
|
|
746
|
+
/** The http error code of the error. */
|
|
747
|
+
code: number;
|
|
748
|
+
/** More detailed information about the error. */
|
|
749
|
+
message: string;
|
|
750
|
+
/** The trace id of the request. */
|
|
751
|
+
traceId: string;
|
|
752
|
+
/** Describes in which state the api was when the error happened. */
|
|
753
|
+
type: string;
|
|
754
|
+
}
|
|
755
|
+
export interface ValidationErrorValidationItem {
|
|
756
|
+
field: string;
|
|
757
|
+
message: string;
|
|
758
|
+
}
|
|
759
|
+
/** errors for all fields where the error happened */
|
|
760
|
+
export type ValidationErrorValidationList = Array<ValidationErrorValidationItem>;
|
|
761
|
+
export interface ValidationError {
|
|
762
|
+
/** the http error should be always 422 for validationError */
|
|
763
|
+
code: number;
|
|
764
|
+
/** errors for all fields where the error happened */
|
|
765
|
+
validation: ValidationErrorValidationList;
|
|
766
|
+
}
|
|
706
767
|
export type CloneInstanceError =
|
|
707
768
|
| BadRequest
|
|
708
769
|
| Forbidden
|
|
@@ -717,9 +778,10 @@ export const cloneInstance: API.OperationMethod<
|
|
|
717
778
|
CloneInstanceError,
|
|
718
779
|
StackitOpContext
|
|
719
780
|
> = /*@__PURE__*/ API.make(() => ({
|
|
720
|
-
input: __S(
|
|
721
|
-
output: __S(
|
|
722
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
781
|
+
input: __S(233, __c29, 1) as any as S.Schema<CloneInstanceRequest>,
|
|
782
|
+
output: __S(240, __c30, 0) as any as S.Schema<CloneInstanceResponse>,
|
|
783
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
784
|
+
serviceErrors: StackitServiceErrors,
|
|
723
785
|
protocol: StackitProtocol,
|
|
724
786
|
retry: Retry.Retry,
|
|
725
787
|
telemetry: TELEMETRY,
|
|
@@ -740,9 +802,10 @@ export const createDatabase: API.OperationMethod<
|
|
|
740
802
|
CreateDatabaseError,
|
|
741
803
|
StackitOpContext
|
|
742
804
|
> = /*@__PURE__*/ API.make(() => ({
|
|
743
|
-
input: __S(
|
|
744
|
-
output: __S(
|
|
745
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
805
|
+
input: __S(248, __c31, 0) as any as S.Schema<CreateDatabaseRequest>,
|
|
806
|
+
output: __S(249, __c31, 1) as any as S.Schema<CreateDatabaseResponse>,
|
|
807
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
808
|
+
serviceErrors: StackitServiceErrors,
|
|
746
809
|
protocol: StackitProtocol,
|
|
747
810
|
retry: Retry.Retry,
|
|
748
811
|
telemetry: TELEMETRY,
|
|
@@ -762,9 +825,10 @@ export const createInstance: API.OperationMethod<
|
|
|
762
825
|
CreateInstanceError,
|
|
763
826
|
StackitOpContext
|
|
764
827
|
> = /*@__PURE__*/ API.make(() => ({
|
|
765
|
-
input: __S(
|
|
766
|
-
output: __S(
|
|
767
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
828
|
+
input: __S(258, __c32, 2) as any as S.Schema<CreateInstanceRequest>,
|
|
829
|
+
output: __S(240, __c30, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
830
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
831
|
+
serviceErrors: StackitServiceErrors,
|
|
768
832
|
protocol: StackitProtocol,
|
|
769
833
|
retry: Retry.Retry,
|
|
770
834
|
telemetry: TELEMETRY,
|
|
@@ -785,9 +849,10 @@ export const createUser: API.OperationMethod<
|
|
|
785
849
|
CreateUserError,
|
|
786
850
|
StackitOpContext
|
|
787
851
|
> = /*@__PURE__*/ API.make(() => ({
|
|
788
|
-
input: __S(
|
|
789
|
-
output: __S(
|
|
790
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
852
|
+
input: __S(288, __c36, 0) as any as S.Schema<CreateUserRequest>,
|
|
853
|
+
output: __S(289, __c36, 1) as any as S.Schema<CreateUserResponse>,
|
|
854
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
855
|
+
serviceErrors: StackitServiceErrors,
|
|
791
856
|
protocol: StackitProtocol,
|
|
792
857
|
retry: Retry.Retry,
|
|
793
858
|
telemetry: TELEMETRY,
|
|
@@ -802,9 +867,10 @@ export const deleteDatabase: API.OperationMethod<
|
|
|
802
867
|
DeleteDatabaseError,
|
|
803
868
|
StackitOpContext
|
|
804
869
|
> = /*@__PURE__*/ API.make(() => ({
|
|
805
|
-
input: __S(
|
|
806
|
-
output: __S(
|
|
807
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
870
|
+
input: __S(296, __c37, 0) as any as S.Schema<DeleteDatabaseRequest>,
|
|
871
|
+
output: __S(304, __c38, 0) as any as S.Schema<DeleteDatabaseResponse>,
|
|
872
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
873
|
+
serviceErrors: StackitServiceErrors,
|
|
808
874
|
protocol: StackitProtocol,
|
|
809
875
|
retry: Retry.Retry,
|
|
810
876
|
telemetry: TELEMETRY,
|
|
@@ -819,9 +885,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
819
885
|
DeleteInstanceError,
|
|
820
886
|
StackitOpContext
|
|
821
887
|
> = /*@__PURE__*/ API.make(() => ({
|
|
822
|
-
input: __S(
|
|
823
|
-
output: __S(
|
|
824
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
888
|
+
input: __S(8, __c1, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
889
|
+
output: __S(304, __c38, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
890
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
891
|
+
serviceErrors: StackitServiceErrors,
|
|
825
892
|
protocol: StackitProtocol,
|
|
826
893
|
retry: Retry.Retry,
|
|
827
894
|
telemetry: TELEMETRY,
|
|
@@ -836,9 +903,10 @@ export const deleteUser: API.OperationMethod<
|
|
|
836
903
|
DeleteUserError,
|
|
837
904
|
StackitOpContext
|
|
838
905
|
> = /*@__PURE__*/ API.make(() => ({
|
|
839
|
-
input: __S(
|
|
840
|
-
output: __S(
|
|
841
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
906
|
+
input: __S(16, __c2, 0) as any as S.Schema<DeleteUserRequest>,
|
|
907
|
+
output: __S(304, __c38, 0) as any as S.Schema<DeleteUserResponse>,
|
|
908
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
909
|
+
serviceErrors: StackitServiceErrors,
|
|
842
910
|
protocol: StackitProtocol,
|
|
843
911
|
retry: Retry.Retry,
|
|
844
912
|
telemetry: TELEMETRY,
|
|
@@ -853,9 +921,10 @@ export const getBackup: API.OperationMethod<
|
|
|
853
921
|
GetBackupError,
|
|
854
922
|
StackitOpContext
|
|
855
923
|
> = /*@__PURE__*/ API.make(() => ({
|
|
856
|
-
input: __S(
|
|
857
|
-
output: __S(
|
|
858
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
924
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetBackupRequest>,
|
|
925
|
+
output: __S(32, __c4, 0) as any as S.Schema<BackupData>,
|
|
926
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
927
|
+
serviceErrors: StackitServiceErrors,
|
|
859
928
|
protocol: StackitProtocol,
|
|
860
929
|
retry: Retry.Retry,
|
|
861
930
|
telemetry: TELEMETRY,
|
|
@@ -870,9 +939,10 @@ export const getDatabase: API.OperationMethod<
|
|
|
870
939
|
GetDatabaseError,
|
|
871
940
|
StackitOpContext
|
|
872
941
|
> = /*@__PURE__*/ API.make(() => ({
|
|
873
|
-
input: __S(
|
|
874
|
-
output: __S(
|
|
875
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
942
|
+
input: __S(40, __c5, 0) as any as S.Schema<GetDatabaseRequest>,
|
|
943
|
+
output: __S(48, __c6, 0) as any as S.Schema<GetDatabaseResponse>,
|
|
944
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
945
|
+
serviceErrors: StackitServiceErrors,
|
|
876
946
|
protocol: StackitProtocol,
|
|
877
947
|
retry: Retry.Retry,
|
|
878
948
|
telemetry: TELEMETRY,
|
|
@@ -887,9 +957,10 @@ export const getInstance: API.OperationMethod<
|
|
|
887
957
|
GetInstanceError,
|
|
888
958
|
StackitOpContext
|
|
889
959
|
> = /*@__PURE__*/ API.make(() => ({
|
|
890
|
-
input: __S(
|
|
891
|
-
output: __S(
|
|
892
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
960
|
+
input: __S(56, __c7, 0) as any as S.Schema<GetInstanceRequest>,
|
|
961
|
+
output: __S(60, __c7, 4) as any as S.Schema<GetInstanceResponse>,
|
|
962
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
963
|
+
serviceErrors: StackitServiceErrors,
|
|
893
964
|
protocol: StackitProtocol,
|
|
894
965
|
retry: Retry.Retry,
|
|
895
966
|
telemetry: TELEMETRY,
|
|
@@ -904,9 +975,10 @@ export const getUser: API.OperationMethod<
|
|
|
904
975
|
GetUserError,
|
|
905
976
|
StackitOpContext
|
|
906
977
|
> = /*@__PURE__*/ API.make(() => ({
|
|
907
|
-
input: __S(
|
|
908
|
-
output: __S(
|
|
909
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
978
|
+
input: __S(72, __c9, 0) as any as S.Schema<GetUserRequest>,
|
|
979
|
+
output: __S(73, __c9, 1) as any as S.Schema<GetUserResponse>,
|
|
980
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
981
|
+
serviceErrors: StackitServiceErrors,
|
|
910
982
|
protocol: StackitProtocol,
|
|
911
983
|
retry: Retry.Retry,
|
|
912
984
|
telemetry: TELEMETRY,
|
|
@@ -921,9 +993,10 @@ export const listBackups: API.OperationMethod<
|
|
|
921
993
|
ListBackupsError,
|
|
922
994
|
StackitOpContext
|
|
923
995
|
> = /*@__PURE__*/ API.make(() => ({
|
|
924
|
-
input: __S(
|
|
925
|
-
output: __S(
|
|
926
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
996
|
+
input: __S(80, __c10, 0) as any as S.Schema<ListBackupsRequest>,
|
|
997
|
+
output: __S(82, __c10, 2) as any as S.Schema<ListBackupsResponse>,
|
|
998
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
999
|
+
serviceErrors: StackitServiceErrors,
|
|
927
1000
|
protocol: StackitProtocol,
|
|
928
1001
|
retry: Retry.Retry,
|
|
929
1002
|
telemetry: TELEMETRY,
|
|
@@ -938,9 +1011,10 @@ export const listCollations: API.OperationMethod<
|
|
|
938
1011
|
ListCollationsError,
|
|
939
1012
|
StackitOpContext
|
|
940
1013
|
> = /*@__PURE__*/ API.make(() => ({
|
|
941
|
-
input: __S(
|
|
942
|
-
output: __S(
|
|
943
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1014
|
+
input: __S(96, __c12, 0) as any as S.Schema<ListCollationsRequest>,
|
|
1015
|
+
output: __S(97, __c12, 1) as any as S.Schema<ListCollationsResponse>,
|
|
1016
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1017
|
+
serviceErrors: StackitServiceErrors,
|
|
944
1018
|
protocol: StackitProtocol,
|
|
945
1019
|
retry: Retry.Retry,
|
|
946
1020
|
telemetry: TELEMETRY,
|
|
@@ -955,9 +1029,10 @@ export const listDatabases: API.OperationMethod<
|
|
|
955
1029
|
ListDatabasesError,
|
|
956
1030
|
StackitOpContext
|
|
957
1031
|
> = /*@__PURE__*/ API.make(() => ({
|
|
958
|
-
input: __S(
|
|
959
|
-
output: __S(
|
|
960
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1032
|
+
input: __S(104, __c13, 0) as any as S.Schema<ListDatabasesRequest>,
|
|
1033
|
+
output: __S(106, __c13, 2) as any as S.Schema<ListDatabasesResponse>,
|
|
1034
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1035
|
+
serviceErrors: StackitServiceErrors,
|
|
961
1036
|
protocol: StackitProtocol,
|
|
962
1037
|
retry: Retry.Retry,
|
|
963
1038
|
telemetry: TELEMETRY,
|
|
@@ -972,9 +1047,10 @@ export const listFlavors2: API.OperationMethod<
|
|
|
972
1047
|
ListFlavors2Error,
|
|
973
1048
|
StackitOpContext
|
|
974
1049
|
> = /*@__PURE__*/ API.make(() => ({
|
|
975
|
-
input: __S(
|
|
976
|
-
output: __S(
|
|
977
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1050
|
+
input: __S(112, __c14, 0) as any as S.Schema<ListFlavorsRequest>,
|
|
1051
|
+
output: __S(117, __c14, 5) as any as S.Schema<ListFlavorsResponse>,
|
|
1052
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1053
|
+
serviceErrors: StackitServiceErrors,
|
|
978
1054
|
protocol: StackitProtocol,
|
|
979
1055
|
retry: Retry.Retry,
|
|
980
1056
|
telemetry: TELEMETRY,
|
|
@@ -989,9 +1065,10 @@ export const listInstances: API.OperationMethod<
|
|
|
989
1065
|
ListInstancesError,
|
|
990
1066
|
StackitOpContext
|
|
991
1067
|
> = /*@__PURE__*/ API.make(() => ({
|
|
992
|
-
input: __S(
|
|
993
|
-
output: __S(
|
|
994
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1068
|
+
input: __S(120, __c15, 0) as any as S.Schema<ListInstancesRequest>,
|
|
1069
|
+
output: __S(123, __c15, 3) as any as S.Schema<ListInstancesResponse>,
|
|
1070
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1071
|
+
serviceErrors: StackitServiceErrors,
|
|
995
1072
|
protocol: StackitProtocol,
|
|
996
1073
|
retry: Retry.Retry,
|
|
997
1074
|
telemetry: TELEMETRY,
|
|
@@ -1006,9 +1083,10 @@ export const listRoles: API.OperationMethod<
|
|
|
1006
1083
|
ListRolesError,
|
|
1007
1084
|
StackitOpContext
|
|
1008
1085
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1009
|
-
input: __S(
|
|
1010
|
-
output: __S(
|
|
1011
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1086
|
+
input: __S(128, __c16, 0) as any as S.Schema<ListRolesRequest>,
|
|
1087
|
+
output: __S(129, __c16, 1) as any as S.Schema<ListRolesResponse>,
|
|
1088
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1089
|
+
serviceErrors: StackitServiceErrors,
|
|
1012
1090
|
protocol: StackitProtocol,
|
|
1013
1091
|
retry: Retry.Retry,
|
|
1014
1092
|
telemetry: TELEMETRY,
|
|
@@ -1023,9 +1101,10 @@ export const listUsers: API.OperationMethod<
|
|
|
1023
1101
|
ListUsersError,
|
|
1024
1102
|
StackitOpContext
|
|
1025
1103
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1026
|
-
input: __S(
|
|
1027
|
-
output: __S(
|
|
1028
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1104
|
+
input: __S(136, __c17, 0) as any as S.Schema<ListUsersRequest>,
|
|
1105
|
+
output: __S(139, __c17, 3) as any as S.Schema<ListUsersResponse>,
|
|
1106
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1107
|
+
serviceErrors: StackitServiceErrors,
|
|
1029
1108
|
protocol: StackitProtocol,
|
|
1030
1109
|
retry: Retry.Retry,
|
|
1031
1110
|
telemetry: TELEMETRY,
|
|
@@ -1040,9 +1119,10 @@ export const listVersions: API.OperationMethod<
|
|
|
1040
1119
|
ListVersionsError,
|
|
1041
1120
|
StackitOpContext
|
|
1042
1121
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1043
|
-
input: __S(
|
|
1044
|
-
output: __S(
|
|
1045
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
1122
|
+
input: __S(144, __c18, 0) as any as S.Schema<ListVersionsRequest>,
|
|
1123
|
+
output: __S(147, __c18, 3) as any as S.Schema<ListVersionsResponse>,
|
|
1124
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1125
|
+
serviceErrors: StackitServiceErrors,
|
|
1046
1126
|
protocol: StackitProtocol,
|
|
1047
1127
|
retry: Retry.Retry,
|
|
1048
1128
|
telemetry: TELEMETRY,
|
|
@@ -1062,9 +1142,10 @@ export const partialUpdateDatabase: API.OperationMethod<
|
|
|
1062
1142
|
PartialUpdateDatabaseError,
|
|
1063
1143
|
StackitOpContext
|
|
1064
1144
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1065
|
-
input: __S(
|
|
1066
|
-
output: __S(
|
|
1067
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1145
|
+
input: __S(152, __c19, 0) as any as S.Schema<PartialUpdateDatabaseRequest>,
|
|
1146
|
+
output: __S(304, __c38, 0) as any as S.Schema<PartialUpdateDatabaseResponse>,
|
|
1147
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1148
|
+
serviceErrors: StackitServiceErrors,
|
|
1068
1149
|
protocol: StackitProtocol,
|
|
1069
1150
|
retry: Retry.Retry,
|
|
1070
1151
|
telemetry: TELEMETRY,
|
|
@@ -1084,9 +1165,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
1084
1165
|
PartialUpdateInstanceError,
|
|
1085
1166
|
StackitOpContext
|
|
1086
1167
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1087
|
-
input: __S(
|
|
1088
|
-
output: __S(
|
|
1089
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1168
|
+
input: __S(161, __c20, 1) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
1169
|
+
output: __S(304, __c38, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
1170
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1171
|
+
serviceErrors: StackitServiceErrors,
|
|
1090
1172
|
protocol: StackitProtocol,
|
|
1091
1173
|
retry: Retry.Retry,
|
|
1092
1174
|
telemetry: TELEMETRY,
|
|
@@ -1106,9 +1188,10 @@ export const partialUpdateUser: API.OperationMethod<
|
|
|
1106
1188
|
PartialUpdateUserError,
|
|
1107
1189
|
StackitOpContext
|
|
1108
1190
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1109
|
-
input: __S(
|
|
1110
|
-
output: __S(
|
|
1111
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1191
|
+
input: __S(176, __c22, 0) as any as S.Schema<PartialUpdateUserRequest>,
|
|
1192
|
+
output: __S(304, __c38, 0) as any as S.Schema<PartialUpdateUserResponse>,
|
|
1193
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1194
|
+
serviceErrors: StackitServiceErrors,
|
|
1112
1195
|
protocol: StackitProtocol,
|
|
1113
1196
|
retry: Retry.Retry,
|
|
1114
1197
|
telemetry: TELEMETRY,
|
|
@@ -1128,9 +1211,10 @@ export const resetUserPassword: API.OperationMethod<
|
|
|
1128
1211
|
ResetUserPasswordError,
|
|
1129
1212
|
StackitOpContext
|
|
1130
1213
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1131
|
-
input: __S(
|
|
1132
|
-
output: __S(
|
|
1133
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1214
|
+
input: __S(184, __c23, 0) as any as S.Schema<ResetUserPasswordRequest>,
|
|
1215
|
+
output: __S(185, __c23, 1) as any as S.Schema<ResetUserPasswordResponse>,
|
|
1216
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1217
|
+
serviceErrors: StackitServiceErrors,
|
|
1134
1218
|
protocol: StackitProtocol,
|
|
1135
1219
|
retry: Retry.Retry,
|
|
1136
1220
|
telemetry: TELEMETRY,
|
|
@@ -1150,9 +1234,10 @@ export const updateDatabase: API.OperationMethod<
|
|
|
1150
1234
|
UpdateDatabaseError,
|
|
1151
1235
|
StackitOpContext
|
|
1152
1236
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1153
|
-
input: __S(
|
|
1154
|
-
output: __S(
|
|
1155
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1237
|
+
input: __S(192, __c24, 0) as any as S.Schema<UpdateDatabaseRequest>,
|
|
1238
|
+
output: __S(304, __c38, 0) as any as S.Schema<UpdateDatabaseResponse>,
|
|
1239
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1240
|
+
serviceErrors: StackitServiceErrors,
|
|
1156
1241
|
protocol: StackitProtocol,
|
|
1157
1242
|
retry: Retry.Retry,
|
|
1158
1243
|
telemetry: TELEMETRY,
|
|
@@ -1172,9 +1257,10 @@ export const updateInstance: API.OperationMethod<
|
|
|
1172
1257
|
UpdateInstanceError,
|
|
1173
1258
|
StackitOpContext
|
|
1174
1259
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1175
|
-
input: __S(
|
|
1176
|
-
output: __S(
|
|
1177
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1260
|
+
input: __S(201, __c25, 1) as any as S.Schema<UpdateInstanceRequest>,
|
|
1261
|
+
output: __S(304, __c38, 0) as any as S.Schema<UpdateInstanceResponse>,
|
|
1262
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1263
|
+
serviceErrors: StackitServiceErrors,
|
|
1178
1264
|
protocol: StackitProtocol,
|
|
1179
1265
|
retry: Retry.Retry,
|
|
1180
1266
|
telemetry: TELEMETRY,
|
|
@@ -1194,9 +1280,10 @@ export const updateInstanceProtection: API.OperationMethod<
|
|
|
1194
1280
|
UpdateInstanceProtectionError,
|
|
1195
1281
|
StackitOpContext
|
|
1196
1282
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1197
|
-
input: __S(
|
|
1198
|
-
output: __S(
|
|
1199
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1283
|
+
input: __S(208, __c26, 0) as any as S.Schema<UpdateInstanceProtectionRequest>,
|
|
1284
|
+
output: __S(209, __c26, 1) as any as S.Schema<UpdateInstanceProtectionResponse>,
|
|
1285
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1286
|
+
serviceErrors: StackitServiceErrors,
|
|
1200
1287
|
protocol: StackitProtocol,
|
|
1201
1288
|
retry: Retry.Retry,
|
|
1202
1289
|
telemetry: TELEMETRY,
|
|
@@ -1216,9 +1303,10 @@ export const updateUser: API.OperationMethod<
|
|
|
1216
1303
|
UpdateUserError,
|
|
1217
1304
|
StackitOpContext
|
|
1218
1305
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1219
|
-
input: __S(
|
|
1220
|
-
output: __S(
|
|
1221
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity
|
|
1306
|
+
input: __S(216, __c27, 0) as any as S.Schema<UpdateUserRequest>,
|
|
1307
|
+
output: __S(304, __c38, 0) as any as S.Schema<UpdateUserResponse>,
|
|
1308
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
1309
|
+
serviceErrors: StackitServiceErrors,
|
|
1222
1310
|
protocol: StackitProtocol,
|
|
1223
1311
|
retry: Retry.Retry,
|
|
1224
1312
|
telemetry: TELEMETRY,
|
|
@@ -1227,6 +1315,19 @@ export const updateUser: API.OperationMethod<
|
|
|
1227
1315
|
|
|
1228
1316
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1229
1317
|
function __c0(j: number): any {
|
|
1318
|
+
switch (j) {
|
|
1319
|
+
case 0:
|
|
1320
|
+
return S.suspend(() =>
|
|
1321
|
+
S.Struct({
|
|
1322
|
+
code: S.Number,
|
|
1323
|
+
message: S.String,
|
|
1324
|
+
traceId: S.String,
|
|
1325
|
+
type: S.String,
|
|
1326
|
+
}),
|
|
1327
|
+
).annotate({ identifier: "Error" });
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
function __c1(j: number): any {
|
|
1230
1331
|
switch (j) {
|
|
1231
1332
|
case 0:
|
|
1232
1333
|
return S.suspend(() =>
|
|
@@ -1245,7 +1346,7 @@ function __c0(j: number): any {
|
|
|
1245
1346
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1246
1347
|
}
|
|
1247
1348
|
}
|
|
1248
|
-
function
|
|
1349
|
+
function __c2(j: number): any {
|
|
1249
1350
|
switch (j) {
|
|
1250
1351
|
case 0:
|
|
1251
1352
|
return S.suspend(() =>
|
|
@@ -1265,7 +1366,7 @@ function __c1(j: number): any {
|
|
|
1265
1366
|
).annotate({ identifier: "DeleteUserRequest" });
|
|
1266
1367
|
}
|
|
1267
1368
|
}
|
|
1268
|
-
function
|
|
1369
|
+
function __c3(j: number): any {
|
|
1269
1370
|
switch (j) {
|
|
1270
1371
|
case 0:
|
|
1271
1372
|
return S.suspend(() =>
|
|
@@ -1285,7 +1386,7 @@ function __c2(j: number): any {
|
|
|
1285
1386
|
).annotate({ identifier: "GetBackupRequest" });
|
|
1286
1387
|
}
|
|
1287
1388
|
}
|
|
1288
|
-
function
|
|
1389
|
+
function __c4(j: number): any {
|
|
1289
1390
|
switch (j) {
|
|
1290
1391
|
case 0:
|
|
1291
1392
|
return S.suspend(() =>
|
|
@@ -1300,7 +1401,7 @@ function __c3(j: number): any {
|
|
|
1300
1401
|
).annotate({ identifier: "BackupData" });
|
|
1301
1402
|
}
|
|
1302
1403
|
}
|
|
1303
|
-
function
|
|
1404
|
+
function __c5(j: number): any {
|
|
1304
1405
|
switch (j) {
|
|
1305
1406
|
case 0:
|
|
1306
1407
|
return S.suspend(() =>
|
|
@@ -1320,7 +1421,7 @@ function __c4(j: number): any {
|
|
|
1320
1421
|
).annotate({ identifier: "GetDatabaseRequest" });
|
|
1321
1422
|
}
|
|
1322
1423
|
}
|
|
1323
|
-
function
|
|
1424
|
+
function __c6(j: number): any {
|
|
1324
1425
|
switch (j) {
|
|
1325
1426
|
case 0:
|
|
1326
1427
|
return S.suspend(() =>
|
|
@@ -1332,7 +1433,7 @@ function __c5(j: number): any {
|
|
|
1332
1433
|
).annotate({ identifier: "GetDatabaseResponse" });
|
|
1333
1434
|
}
|
|
1334
1435
|
}
|
|
1335
|
-
function
|
|
1436
|
+
function __c7(j: number): any {
|
|
1336
1437
|
switch (j) {
|
|
1337
1438
|
case 0:
|
|
1338
1439
|
return S.suspend(() =>
|
|
@@ -1359,14 +1460,14 @@ function __c6(j: number): any {
|
|
|
1359
1460
|
case 2:
|
|
1360
1461
|
return S.suspend(() =>
|
|
1361
1462
|
S.Struct({
|
|
1362
|
-
write: __S(
|
|
1463
|
+
write: __S(57, __c7, 1),
|
|
1363
1464
|
}),
|
|
1364
1465
|
).annotate({ identifier: "InstanceConnectionInfo" });
|
|
1365
1466
|
case 3:
|
|
1366
1467
|
return S.suspend(() =>
|
|
1367
1468
|
S.Struct({
|
|
1368
1469
|
accessScope: S.optional(S.String),
|
|
1369
|
-
acl: __S(
|
|
1470
|
+
acl: __S(280, __c35, 0),
|
|
1370
1471
|
instanceAddress: S.optional(S.String),
|
|
1371
1472
|
routerAddress: S.optional(S.String),
|
|
1372
1473
|
}),
|
|
@@ -1375,23 +1476,23 @@ function __c6(j: number): any {
|
|
|
1375
1476
|
return S.suspend(() =>
|
|
1376
1477
|
S.Struct({
|
|
1377
1478
|
backupSchedule: S.String,
|
|
1378
|
-
connectionInfo: __S(
|
|
1379
|
-
encryption: S.optional(__S(
|
|
1479
|
+
connectionInfo: __S(58, __c7, 2),
|
|
1480
|
+
encryption: S.optional(__S(264, __c33, 0)),
|
|
1380
1481
|
flavorId: S.String,
|
|
1381
1482
|
id: S.String,
|
|
1382
1483
|
isDeletable: S.Boolean,
|
|
1383
|
-
labels: S.optional(__S(
|
|
1484
|
+
labels: S.optional(__S(272, __c34, 0)),
|
|
1384
1485
|
name: S.String,
|
|
1385
|
-
network: __S(
|
|
1486
|
+
network: __S(59, __c7, 3),
|
|
1386
1487
|
retentionDays: S.NullOr(S.Number),
|
|
1387
1488
|
state: S.String,
|
|
1388
|
-
storage: __S(
|
|
1489
|
+
storage: __S(64, __c8, 0),
|
|
1389
1490
|
version: S.String,
|
|
1390
1491
|
}),
|
|
1391
1492
|
).annotate({ identifier: "GetInstanceResponse" });
|
|
1392
1493
|
}
|
|
1393
1494
|
}
|
|
1394
|
-
function
|
|
1495
|
+
function __c8(j: number): any {
|
|
1395
1496
|
switch (j) {
|
|
1396
1497
|
case 0:
|
|
1397
1498
|
return S.suspend(() =>
|
|
@@ -1402,7 +1503,7 @@ function __c7(j: number): any {
|
|
|
1402
1503
|
).annotate({ identifier: "Storage" });
|
|
1403
1504
|
}
|
|
1404
1505
|
}
|
|
1405
|
-
function
|
|
1506
|
+
function __c9(j: number): any {
|
|
1406
1507
|
switch (j) {
|
|
1407
1508
|
case 0:
|
|
1408
1509
|
return S.suspend(() =>
|
|
@@ -1425,13 +1526,13 @@ function __c8(j: number): any {
|
|
|
1425
1526
|
S.Struct({
|
|
1426
1527
|
id: S.Number,
|
|
1427
1528
|
name: S.String,
|
|
1428
|
-
roles: __S(
|
|
1529
|
+
roles: __S(280, __c35, 0),
|
|
1429
1530
|
state: S.String,
|
|
1430
1531
|
}),
|
|
1431
1532
|
).annotate({ identifier: "GetUserResponse" });
|
|
1432
1533
|
}
|
|
1433
1534
|
}
|
|
1434
|
-
function
|
|
1535
|
+
function __c10(j: number): any {
|
|
1435
1536
|
switch (j) {
|
|
1436
1537
|
case 0:
|
|
1437
1538
|
return S.suspend(() =>
|
|
@@ -1452,17 +1553,17 @@ function __c9(j: number): any {
|
|
|
1452
1553
|
),
|
|
1453
1554
|
).annotate({ identifier: "ListBackupsRequest" });
|
|
1454
1555
|
case 1:
|
|
1455
|
-
return S.Array(__S(
|
|
1556
|
+
return S.Array(__S(32, __c4, 0));
|
|
1456
1557
|
case 2:
|
|
1457
1558
|
return S.suspend(() =>
|
|
1458
1559
|
S.Struct({
|
|
1459
|
-
backups: __S(
|
|
1460
|
-
pagination: __S(
|
|
1560
|
+
backups: __S(81, __c10, 1),
|
|
1561
|
+
pagination: __S(88, __c11, 0),
|
|
1461
1562
|
}),
|
|
1462
1563
|
).annotate({ identifier: "ListBackupsResponse" });
|
|
1463
1564
|
}
|
|
1464
1565
|
}
|
|
1465
|
-
function
|
|
1566
|
+
function __c11(j: number): any {
|
|
1466
1567
|
switch (j) {
|
|
1467
1568
|
case 0:
|
|
1468
1569
|
return S.suspend(() =>
|
|
@@ -1476,7 +1577,7 @@ function __c10(j: number): any {
|
|
|
1476
1577
|
).annotate({ identifier: "Pagination" });
|
|
1477
1578
|
}
|
|
1478
1579
|
}
|
|
1479
|
-
function
|
|
1580
|
+
function __c12(j: number): any {
|
|
1480
1581
|
switch (j) {
|
|
1481
1582
|
case 0:
|
|
1482
1583
|
return S.suspend(() =>
|
|
@@ -1496,12 +1597,12 @@ function __c11(j: number): any {
|
|
|
1496
1597
|
case 1:
|
|
1497
1598
|
return S.suspend(() =>
|
|
1498
1599
|
S.Struct({
|
|
1499
|
-
collations: __S(
|
|
1600
|
+
collations: __S(280, __c35, 0),
|
|
1500
1601
|
}),
|
|
1501
1602
|
).annotate({ identifier: "ListCollationsResponse" });
|
|
1502
1603
|
}
|
|
1503
1604
|
}
|
|
1504
|
-
function
|
|
1605
|
+
function __c13(j: number): any {
|
|
1505
1606
|
switch (j) {
|
|
1506
1607
|
case 0:
|
|
1507
1608
|
return S.suspend(() =>
|
|
@@ -1522,17 +1623,17 @@ function __c12(j: number): any {
|
|
|
1522
1623
|
),
|
|
1523
1624
|
).annotate({ identifier: "ListDatabasesRequest" });
|
|
1524
1625
|
case 1:
|
|
1525
|
-
return S.Array(__S(
|
|
1626
|
+
return S.Array(__S(48, __c6, 0));
|
|
1526
1627
|
case 2:
|
|
1527
1628
|
return S.suspend(() =>
|
|
1528
1629
|
S.Struct({
|
|
1529
|
-
databases: __S(
|
|
1530
|
-
pagination: __S(
|
|
1630
|
+
databases: __S(105, __c13, 1),
|
|
1631
|
+
pagination: __S(88, __c11, 0),
|
|
1531
1632
|
}),
|
|
1532
1633
|
).annotate({ identifier: "ListDatabasesResponse" });
|
|
1533
1634
|
}
|
|
1534
1635
|
}
|
|
1535
|
-
function
|
|
1636
|
+
function __c14(j: number): any {
|
|
1536
1637
|
switch (j) {
|
|
1537
1638
|
case 0:
|
|
1538
1639
|
return S.suspend(() =>
|
|
@@ -1560,7 +1661,7 @@ function __c13(j: number): any {
|
|
|
1560
1661
|
}),
|
|
1561
1662
|
).annotate({ identifier: "FlavorStorageClassesStorageClass" });
|
|
1562
1663
|
case 2:
|
|
1563
|
-
return S.Array(__S(
|
|
1664
|
+
return S.Array(__S(113, __c14, 1));
|
|
1564
1665
|
case 3:
|
|
1565
1666
|
return S.suspend(() =>
|
|
1566
1667
|
S.Struct({
|
|
@@ -1571,21 +1672,21 @@ function __c13(j: number): any {
|
|
|
1571
1672
|
memory: S.Number,
|
|
1572
1673
|
minGB: S.Number,
|
|
1573
1674
|
nodeType: S.String,
|
|
1574
|
-
storageClasses: __S(
|
|
1675
|
+
storageClasses: __S(114, __c14, 2),
|
|
1575
1676
|
}),
|
|
1576
1677
|
).annotate({ identifier: "ListFlavors" });
|
|
1577
1678
|
case 4:
|
|
1578
|
-
return S.Array(__S(
|
|
1679
|
+
return S.Array(__S(115, __c14, 3));
|
|
1579
1680
|
case 5:
|
|
1580
1681
|
return S.suspend(() =>
|
|
1581
1682
|
S.Struct({
|
|
1582
|
-
flavors: __S(
|
|
1583
|
-
pagination: __S(
|
|
1683
|
+
flavors: __S(116, __c14, 4),
|
|
1684
|
+
pagination: __S(88, __c11, 0),
|
|
1584
1685
|
}),
|
|
1585
1686
|
).annotate({ identifier: "ListFlavorsResponse" });
|
|
1586
1687
|
}
|
|
1587
1688
|
}
|
|
1588
|
-
function
|
|
1689
|
+
function __c15(j: number): any {
|
|
1589
1690
|
switch (j) {
|
|
1590
1691
|
case 0:
|
|
1591
1692
|
return S.suspend(() =>
|
|
@@ -1613,22 +1714,22 @@ function __c14(j: number): any {
|
|
|
1613
1714
|
isDeletable: S.Boolean,
|
|
1614
1715
|
name: S.String,
|
|
1615
1716
|
state: S.String,
|
|
1616
|
-
storage: S.optional(__S(
|
|
1717
|
+
storage: S.optional(__S(64, __c8, 0)),
|
|
1617
1718
|
version: S.optional(S.String),
|
|
1618
1719
|
}),
|
|
1619
1720
|
).annotate({ identifier: "ListInstance" });
|
|
1620
1721
|
case 2:
|
|
1621
|
-
return S.Array(__S(
|
|
1722
|
+
return S.Array(__S(121, __c15, 1));
|
|
1622
1723
|
case 3:
|
|
1623
1724
|
return S.suspend(() =>
|
|
1624
1725
|
S.Struct({
|
|
1625
|
-
instances: __S(
|
|
1626
|
-
pagination: __S(
|
|
1726
|
+
instances: __S(122, __c15, 2),
|
|
1727
|
+
pagination: __S(88, __c11, 0),
|
|
1627
1728
|
}),
|
|
1628
1729
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1629
1730
|
}
|
|
1630
1731
|
}
|
|
1631
|
-
function
|
|
1732
|
+
function __c16(j: number): any {
|
|
1632
1733
|
switch (j) {
|
|
1633
1734
|
case 0:
|
|
1634
1735
|
return S.suspend(() =>
|
|
@@ -1648,12 +1749,12 @@ function __c15(j: number): any {
|
|
|
1648
1749
|
case 1:
|
|
1649
1750
|
return S.suspend(() =>
|
|
1650
1751
|
S.Struct({
|
|
1651
|
-
roles: __S(
|
|
1752
|
+
roles: __S(280, __c35, 0),
|
|
1652
1753
|
}),
|
|
1653
1754
|
).annotate({ identifier: "ListRolesResponse" });
|
|
1654
1755
|
}
|
|
1655
1756
|
}
|
|
1656
|
-
function
|
|
1757
|
+
function __c17(j: number): any {
|
|
1657
1758
|
switch (j) {
|
|
1658
1759
|
case 0:
|
|
1659
1760
|
return S.suspend(() =>
|
|
@@ -1682,17 +1783,17 @@ function __c16(j: number): any {
|
|
|
1682
1783
|
}),
|
|
1683
1784
|
).annotate({ identifier: "ListUser" });
|
|
1684
1785
|
case 2:
|
|
1685
|
-
return S.Array(__S(
|
|
1786
|
+
return S.Array(__S(137, __c17, 1));
|
|
1686
1787
|
case 3:
|
|
1687
1788
|
return S.suspend(() =>
|
|
1688
1789
|
S.Struct({
|
|
1689
|
-
pagination: __S(
|
|
1690
|
-
users: __S(
|
|
1790
|
+
pagination: __S(88, __c11, 0),
|
|
1791
|
+
users: __S(138, __c17, 2),
|
|
1691
1792
|
}),
|
|
1692
1793
|
).annotate({ identifier: "ListUsersResponse" });
|
|
1693
1794
|
}
|
|
1694
1795
|
}
|
|
1695
|
-
function
|
|
1796
|
+
function __c18(j: number): any {
|
|
1696
1797
|
switch (j) {
|
|
1697
1798
|
case 0:
|
|
1698
1799
|
return S.suspend(() =>
|
|
@@ -1718,16 +1819,16 @@ function __c17(j: number): any {
|
|
|
1718
1819
|
}),
|
|
1719
1820
|
).annotate({ identifier: "Version" });
|
|
1720
1821
|
case 2:
|
|
1721
|
-
return S.Array(__S(
|
|
1822
|
+
return S.Array(__S(145, __c18, 1));
|
|
1722
1823
|
case 3:
|
|
1723
1824
|
return S.suspend(() =>
|
|
1724
1825
|
S.Struct({
|
|
1725
|
-
versions: __S(
|
|
1826
|
+
versions: __S(146, __c18, 2),
|
|
1726
1827
|
}),
|
|
1727
1828
|
).annotate({ identifier: "ListVersionsResponse" });
|
|
1728
1829
|
}
|
|
1729
1830
|
}
|
|
1730
|
-
function
|
|
1831
|
+
function __c19(j: number): any {
|
|
1731
1832
|
switch (j) {
|
|
1732
1833
|
case 0:
|
|
1733
1834
|
return S.suspend(() =>
|
|
@@ -1749,12 +1850,12 @@ function __c18(j: number): any {
|
|
|
1749
1850
|
).annotate({ identifier: "PartialUpdateDatabaseRequest" });
|
|
1750
1851
|
}
|
|
1751
1852
|
}
|
|
1752
|
-
function
|
|
1853
|
+
function __c20(j: number): any {
|
|
1753
1854
|
switch (j) {
|
|
1754
1855
|
case 0:
|
|
1755
1856
|
return S.suspend(() =>
|
|
1756
1857
|
S.Struct({
|
|
1757
|
-
acl: S.optional(__S(
|
|
1858
|
+
acl: S.optional(__S(280, __c35, 0)),
|
|
1758
1859
|
}),
|
|
1759
1860
|
).annotate({ identifier: "InstanceNetworkOpt" });
|
|
1760
1861
|
case 1:
|
|
@@ -1765,11 +1866,11 @@ function __c19(j: number): any {
|
|
|
1765
1866
|
instanceId: S.String.pipe(T.Label()),
|
|
1766
1867
|
backupSchedule: S.optional(S.String),
|
|
1767
1868
|
flavorId: S.optional(S.String),
|
|
1768
|
-
labels: S.optional(__S(
|
|
1869
|
+
labels: S.optional(__S(272, __c34, 0)),
|
|
1769
1870
|
name: S.optional(S.String),
|
|
1770
|
-
network: S.optional(__S(
|
|
1871
|
+
network: S.optional(__S(160, __c20, 0)),
|
|
1771
1872
|
retentionDays: S.optional(S.Number),
|
|
1772
|
-
storage: S.optional(__S(
|
|
1873
|
+
storage: S.optional(__S(168, __c21, 0)),
|
|
1773
1874
|
version: S.optional(S.String),
|
|
1774
1875
|
}).pipe(
|
|
1775
1876
|
T.Http({
|
|
@@ -1782,7 +1883,7 @@ function __c19(j: number): any {
|
|
|
1782
1883
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1783
1884
|
}
|
|
1784
1885
|
}
|
|
1785
|
-
function
|
|
1886
|
+
function __c21(j: number): any {
|
|
1786
1887
|
switch (j) {
|
|
1787
1888
|
case 0:
|
|
1788
1889
|
return S.suspend(() =>
|
|
@@ -1792,7 +1893,7 @@ function __c20(j: number): any {
|
|
|
1792
1893
|
).annotate({ identifier: "StorageUpdate" });
|
|
1793
1894
|
}
|
|
1794
1895
|
}
|
|
1795
|
-
function
|
|
1896
|
+
function __c22(j: number): any {
|
|
1796
1897
|
switch (j) {
|
|
1797
1898
|
case 0:
|
|
1798
1899
|
return S.suspend(() =>
|
|
@@ -1802,7 +1903,7 @@ function __c21(j: number): any {
|
|
|
1802
1903
|
instanceId: S.String.pipe(T.Label()),
|
|
1803
1904
|
userId: S.Number.pipe(T.Label()),
|
|
1804
1905
|
name: S.optional(S.String),
|
|
1805
|
-
roles: S.optional(__S(
|
|
1906
|
+
roles: S.optional(__S(280, __c35, 0)),
|
|
1806
1907
|
}).pipe(
|
|
1807
1908
|
T.Http({
|
|
1808
1909
|
method: "PATCH",
|
|
@@ -1814,7 +1915,7 @@ function __c21(j: number): any {
|
|
|
1814
1915
|
).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
1815
1916
|
}
|
|
1816
1917
|
}
|
|
1817
|
-
function
|
|
1918
|
+
function __c23(j: number): any {
|
|
1818
1919
|
switch (j) {
|
|
1819
1920
|
case 0:
|
|
1820
1921
|
return S.suspend(() =>
|
|
@@ -1842,7 +1943,7 @@ function __c22(j: number): any {
|
|
|
1842
1943
|
).annotate({ identifier: "ResetUserPasswordResponse" });
|
|
1843
1944
|
}
|
|
1844
1945
|
}
|
|
1845
|
-
function
|
|
1946
|
+
function __c24(j: number): any {
|
|
1846
1947
|
switch (j) {
|
|
1847
1948
|
case 0:
|
|
1848
1949
|
return S.suspend(() =>
|
|
@@ -1864,12 +1965,12 @@ function __c23(j: number): any {
|
|
|
1864
1965
|
).annotate({ identifier: "UpdateDatabaseRequest" });
|
|
1865
1966
|
}
|
|
1866
1967
|
}
|
|
1867
|
-
function
|
|
1968
|
+
function __c25(j: number): any {
|
|
1868
1969
|
switch (j) {
|
|
1869
1970
|
case 0:
|
|
1870
1971
|
return S.suspend(() =>
|
|
1871
1972
|
S.Struct({
|
|
1872
|
-
acl: __S(
|
|
1973
|
+
acl: __S(280, __c35, 0),
|
|
1873
1974
|
}),
|
|
1874
1975
|
).annotate({ identifier: "InstanceNetworkUpdate" });
|
|
1875
1976
|
case 1:
|
|
@@ -1880,11 +1981,11 @@ function __c24(j: number): any {
|
|
|
1880
1981
|
instanceId: S.String.pipe(T.Label()),
|
|
1881
1982
|
backupSchedule: S.String,
|
|
1882
1983
|
flavorId: S.String,
|
|
1883
|
-
labels: S.optional(__S(
|
|
1984
|
+
labels: S.optional(__S(272, __c34, 0)),
|
|
1884
1985
|
name: S.String,
|
|
1885
|
-
network: __S(
|
|
1986
|
+
network: __S(200, __c25, 0),
|
|
1886
1987
|
retentionDays: S.NullOr(S.Number),
|
|
1887
|
-
storage: __S(
|
|
1988
|
+
storage: __S(168, __c21, 0),
|
|
1888
1989
|
version: S.String,
|
|
1889
1990
|
}).pipe(
|
|
1890
1991
|
T.Http({
|
|
@@ -1897,7 +1998,7 @@ function __c24(j: number): any {
|
|
|
1897
1998
|
).annotate({ identifier: "UpdateInstanceRequest" });
|
|
1898
1999
|
}
|
|
1899
2000
|
}
|
|
1900
|
-
function
|
|
2001
|
+
function __c26(j: number): any {
|
|
1901
2002
|
switch (j) {
|
|
1902
2003
|
case 0:
|
|
1903
2004
|
return S.suspend(() =>
|
|
@@ -1923,7 +2024,7 @@ function __c25(j: number): any {
|
|
|
1923
2024
|
).annotate({ identifier: "UpdateInstanceProtectionResponse" });
|
|
1924
2025
|
}
|
|
1925
2026
|
}
|
|
1926
|
-
function
|
|
2027
|
+
function __c27(j: number): any {
|
|
1927
2028
|
switch (j) {
|
|
1928
2029
|
case 0:
|
|
1929
2030
|
return S.suspend(() =>
|
|
@@ -1933,7 +2034,7 @@ function __c26(j: number): any {
|
|
|
1933
2034
|
instanceId: S.String.pipe(T.Label()),
|
|
1934
2035
|
userId: S.Number.pipe(T.Label()),
|
|
1935
2036
|
name: S.optional(S.String),
|
|
1936
|
-
roles: __S(
|
|
2037
|
+
roles: __S(280, __c35, 0),
|
|
1937
2038
|
}).pipe(
|
|
1938
2039
|
T.Http({
|
|
1939
2040
|
method: "PUT",
|
|
@@ -1945,7 +2046,27 @@ function __c26(j: number): any {
|
|
|
1945
2046
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1946
2047
|
}
|
|
1947
2048
|
}
|
|
1948
|
-
function
|
|
2049
|
+
function __c28(j: number): any {
|
|
2050
|
+
switch (j) {
|
|
2051
|
+
case 0:
|
|
2052
|
+
return S.suspend(() =>
|
|
2053
|
+
S.Struct({
|
|
2054
|
+
field: S.String,
|
|
2055
|
+
message: S.String,
|
|
2056
|
+
}),
|
|
2057
|
+
).annotate({ identifier: "ValidationErrorValidationItem" });
|
|
2058
|
+
case 1:
|
|
2059
|
+
return S.Array(__S(224, __c28, 0));
|
|
2060
|
+
case 2:
|
|
2061
|
+
return S.suspend(() =>
|
|
2062
|
+
S.Struct({
|
|
2063
|
+
code: S.Number,
|
|
2064
|
+
validation: __S(225, __c28, 1),
|
|
2065
|
+
}),
|
|
2066
|
+
).annotate({ identifier: "ValidationError" });
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
function __c29(j: number): any {
|
|
1949
2070
|
switch (j) {
|
|
1950
2071
|
case 0:
|
|
1951
2072
|
return S.suspend(() =>
|
|
@@ -1961,7 +2082,7 @@ function __c27(j: number): any {
|
|
|
1961
2082
|
projectId: S.String.pipe(T.Label()),
|
|
1962
2083
|
region: S.String.pipe(T.Label()),
|
|
1963
2084
|
instanceId: S.String.pipe(T.Label()),
|
|
1964
|
-
instanceOverrides: __S(
|
|
2085
|
+
instanceOverrides: __S(232, __c29, 0),
|
|
1965
2086
|
pointInTime: S.String,
|
|
1966
2087
|
}).pipe(
|
|
1967
2088
|
T.Http({
|
|
@@ -1974,7 +2095,7 @@ function __c27(j: number): any {
|
|
|
1974
2095
|
).annotate({ identifier: "CloneInstanceRequest" });
|
|
1975
2096
|
}
|
|
1976
2097
|
}
|
|
1977
|
-
function
|
|
2098
|
+
function __c30(j: number): any {
|
|
1978
2099
|
switch (j) {
|
|
1979
2100
|
case 0:
|
|
1980
2101
|
return S.suspend(() =>
|
|
@@ -1984,7 +2105,7 @@ function __c28(j: number): any {
|
|
|
1984
2105
|
).annotate({ identifier: "CloneInstanceResponse" });
|
|
1985
2106
|
}
|
|
1986
2107
|
}
|
|
1987
|
-
function
|
|
2108
|
+
function __c31(j: number): any {
|
|
1988
2109
|
switch (j) {
|
|
1989
2110
|
case 0:
|
|
1990
2111
|
return S.suspend(() =>
|
|
@@ -2011,13 +2132,13 @@ function __c29(j: number): any {
|
|
|
2011
2132
|
).annotate({ identifier: "CreateDatabaseResponse" });
|
|
2012
2133
|
}
|
|
2013
2134
|
}
|
|
2014
|
-
function
|
|
2135
|
+
function __c32(j: number): any {
|
|
2015
2136
|
switch (j) {
|
|
2016
2137
|
case 0:
|
|
2017
2138
|
return S.suspend(() =>
|
|
2018
2139
|
S.Struct({
|
|
2019
2140
|
accessScope: S.optional(S.String),
|
|
2020
|
-
acl: __S(
|
|
2141
|
+
acl: __S(280, __c35, 0),
|
|
2021
2142
|
}),
|
|
2022
2143
|
).annotate({ identifier: "InstanceNetworkCreate" });
|
|
2023
2144
|
case 1:
|
|
@@ -2033,13 +2154,13 @@ function __c30(j: number): any {
|
|
|
2033
2154
|
projectId: S.String.pipe(T.Label()),
|
|
2034
2155
|
region: S.String.pipe(T.Label()),
|
|
2035
2156
|
backupSchedule: S.String,
|
|
2036
|
-
encryption: S.optional(__S(
|
|
2157
|
+
encryption: S.optional(__S(264, __c33, 0)),
|
|
2037
2158
|
flavorId: S.String,
|
|
2038
|
-
labels: S.optional(__S(
|
|
2159
|
+
labels: S.optional(__S(272, __c34, 0)),
|
|
2039
2160
|
name: S.String,
|
|
2040
|
-
network: __S(
|
|
2161
|
+
network: __S(256, __c32, 0),
|
|
2041
2162
|
retentionDays: S.NullOr(S.Number),
|
|
2042
|
-
storage: __S(
|
|
2163
|
+
storage: __S(257, __c32, 1),
|
|
2043
2164
|
version: S.String,
|
|
2044
2165
|
}).pipe(
|
|
2045
2166
|
T.Http({
|
|
@@ -2052,7 +2173,7 @@ function __c30(j: number): any {
|
|
|
2052
2173
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
2053
2174
|
}
|
|
2054
2175
|
}
|
|
2055
|
-
function
|
|
2176
|
+
function __c33(j: number): any {
|
|
2056
2177
|
switch (j) {
|
|
2057
2178
|
case 0:
|
|
2058
2179
|
return S.suspend(() =>
|
|
@@ -2065,19 +2186,19 @@ function __c31(j: number): any {
|
|
|
2065
2186
|
).annotate({ identifier: "InstanceEncryption" });
|
|
2066
2187
|
}
|
|
2067
2188
|
}
|
|
2068
|
-
function
|
|
2189
|
+
function __c34(j: number): any {
|
|
2069
2190
|
switch (j) {
|
|
2070
2191
|
case 0:
|
|
2071
2192
|
return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
|
|
2072
2193
|
}
|
|
2073
2194
|
}
|
|
2074
|
-
function
|
|
2195
|
+
function __c35(j: number): any {
|
|
2075
2196
|
switch (j) {
|
|
2076
2197
|
case 0:
|
|
2077
2198
|
return S.Array(S.String);
|
|
2078
2199
|
}
|
|
2079
2200
|
}
|
|
2080
|
-
function
|
|
2201
|
+
function __c36(j: number): any {
|
|
2081
2202
|
switch (j) {
|
|
2082
2203
|
case 0:
|
|
2083
2204
|
return S.suspend(() =>
|
|
@@ -2086,7 +2207,7 @@ function __c34(j: number): any {
|
|
|
2086
2207
|
region: S.String.pipe(T.Label()),
|
|
2087
2208
|
instanceId: S.String.pipe(T.Label()),
|
|
2088
2209
|
name: S.String,
|
|
2089
|
-
roles: S.optional(__S(
|
|
2210
|
+
roles: S.optional(__S(280, __c35, 0)),
|
|
2090
2211
|
}).pipe(
|
|
2091
2212
|
T.Http({
|
|
2092
2213
|
method: "POST",
|
|
@@ -2107,7 +2228,7 @@ function __c34(j: number): any {
|
|
|
2107
2228
|
).annotate({ identifier: "CreateUserResponse" });
|
|
2108
2229
|
}
|
|
2109
2230
|
}
|
|
2110
|
-
function
|
|
2231
|
+
function __c37(j: number): any {
|
|
2111
2232
|
switch (j) {
|
|
2112
2233
|
case 0:
|
|
2113
2234
|
return S.suspend(() =>
|
|
@@ -2127,7 +2248,7 @@ function __c35(j: number): any {
|
|
|
2127
2248
|
).annotate({ identifier: "DeleteDatabaseRequest" });
|
|
2128
2249
|
}
|
|
2129
2250
|
}
|
|
2130
|
-
function
|
|
2251
|
+
function __c38(j: number): any {
|
|
2131
2252
|
switch (j) {
|
|
2132
2253
|
case 0:
|
|
2133
2254
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDatabaseResponse" });
|