@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,27 +31,48 @@ export class BadRequest
|
|
|
31
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
32
32
|
code: S.Number,
|
|
33
33
|
message: S.String,
|
|
34
|
+
body: /*@__PURE__*/ S.optional(
|
|
35
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
36
|
+
),
|
|
37
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
38
|
}).pipe(C.withBadRequestError),
|
|
35
39
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
40
|
+
)
|
|
41
|
+
{
|
|
42
|
+
declare readonly body?: 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(2, __c0, 2)), S.String]),
|
|
52
|
+
),
|
|
53
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
54
|
}).pipe(C.withConflictError),
|
|
44
55
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
56
|
+
)
|
|
57
|
+
{
|
|
58
|
+
declare readonly body?: Error | string;
|
|
59
|
+
}
|
|
46
60
|
|
|
47
61
|
export class NotFound
|
|
48
62
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
63
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
50
64
|
code: S.Number,
|
|
51
65
|
message: S.String,
|
|
66
|
+
body: /*@__PURE__*/ S.optional(
|
|
67
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
68
|
+
),
|
|
69
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
70
|
}).pipe(C.withBadRequestError),
|
|
53
71
|
[{ status: 404 }],
|
|
54
|
-
)
|
|
72
|
+
)
|
|
73
|
+
{
|
|
74
|
+
declare readonly body?: Error | string;
|
|
75
|
+
}
|
|
55
76
|
|
|
56
77
|
export type CloneInstanceRequestRegion = "eu01" | "eu02";
|
|
57
78
|
export interface CloneInstanceRequest {
|
|
@@ -622,6 +643,14 @@ export interface UpdateUserRequest {
|
|
|
622
643
|
roles: UpdateUserRequestRolesList;
|
|
623
644
|
}
|
|
624
645
|
export interface UpdateUserResponse {}
|
|
646
|
+
export type ErrorFieldsValueList = Array<string>;
|
|
647
|
+
export type ErrorFieldsMap = { [key: string]: ErrorFieldsValueList | undefined };
|
|
648
|
+
export interface Error {
|
|
649
|
+
code?: number | undefined;
|
|
650
|
+
fields?: ErrorFieldsMap | undefined;
|
|
651
|
+
message?: string | undefined;
|
|
652
|
+
type?: string | undefined;
|
|
653
|
+
}
|
|
625
654
|
export type CloneInstanceError = BadRequest | NotFound | StackitOpError;
|
|
626
655
|
/** Clone instance Clone an instance via PIT restore<br/> Note that the Timestamp is a RFC3339 standard and uses by default UTC time format<br/> As an example a valid timestamp look like "2023-04-20T15:05:15Z" */
|
|
627
656
|
export const cloneInstance: API.OperationMethod<
|
|
@@ -630,9 +659,10 @@ export const cloneInstance: API.OperationMethod<
|
|
|
630
659
|
CloneInstanceError,
|
|
631
660
|
StackitOpContext
|
|
632
661
|
> = /*@__PURE__*/ API.make(() => ({
|
|
633
|
-
input: __S(
|
|
634
|
-
output: __S(
|
|
635
|
-
errors: [BadRequest, NotFound
|
|
662
|
+
input: __S(320, __c20, 0) as any as S.Schema<CloneInstanceRequest>,
|
|
663
|
+
output: __S(321, __c20, 1) as any as S.Schema<CloneInstanceResponse>,
|
|
664
|
+
errors: [BadRequest, NotFound],
|
|
665
|
+
serviceErrors: StackitServiceErrors,
|
|
636
666
|
protocol: StackitProtocol,
|
|
637
667
|
retry: Retry.Retry,
|
|
638
668
|
telemetry: TELEMETRY,
|
|
@@ -647,9 +677,10 @@ export const createInstance: API.OperationMethod<
|
|
|
647
677
|
CreateInstanceError,
|
|
648
678
|
StackitOpContext
|
|
649
679
|
> = /*@__PURE__*/ API.make(() => ({
|
|
650
|
-
input: __S(
|
|
651
|
-
output: __S(
|
|
652
|
-
errors: [BadRequest, NotFound
|
|
680
|
+
input: __S(336, __c21, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
681
|
+
output: __S(337, __c21, 1) as any as S.Schema<CreateInstanceResponse>,
|
|
682
|
+
errors: [BadRequest, NotFound],
|
|
683
|
+
serviceErrors: StackitServiceErrors,
|
|
653
684
|
protocol: StackitProtocol,
|
|
654
685
|
retry: Retry.Retry,
|
|
655
686
|
telemetry: TELEMETRY,
|
|
@@ -666,7 +697,8 @@ export const createUser: API.OperationMethod<
|
|
|
666
697
|
> = /*@__PURE__*/ API.make(() => ({
|
|
667
698
|
input: __S(384, __c24, 0) as any as S.Schema<CreateUserRequest>,
|
|
668
699
|
output: __S(385, __c24, 1) as any as S.Schema<CreateUserResponse>,
|
|
669
|
-
errors: [BadRequest, NotFound, Conflict
|
|
700
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
701
|
+
serviceErrors: StackitServiceErrors,
|
|
670
702
|
protocol: StackitProtocol,
|
|
671
703
|
retry: Retry.Retry,
|
|
672
704
|
telemetry: TELEMETRY,
|
|
@@ -683,7 +715,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
683
715
|
> = /*@__PURE__*/ API.make(() => ({
|
|
684
716
|
input: __S(416, __c26, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
685
717
|
output: __S(432, __c27, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
686
|
-
errors: [BadRequest, NotFound
|
|
718
|
+
errors: [BadRequest, NotFound],
|
|
719
|
+
serviceErrors: StackitServiceErrors,
|
|
687
720
|
protocol: StackitProtocol,
|
|
688
721
|
retry: Retry.Retry,
|
|
689
722
|
telemetry: TELEMETRY,
|
|
@@ -700,7 +733,8 @@ export const deleteUser: API.OperationMethod<
|
|
|
700
733
|
> = /*@__PURE__*/ API.make(() => ({
|
|
701
734
|
input: __S(448, __c28, 0) as any as S.Schema<DeleteUserRequest>,
|
|
702
735
|
output: __S(432, __c27, 0) as any as S.Schema<DeleteUserResponse>,
|
|
703
|
-
errors: [BadRequest, NotFound
|
|
736
|
+
errors: [BadRequest, NotFound],
|
|
737
|
+
serviceErrors: StackitServiceErrors,
|
|
704
738
|
protocol: StackitProtocol,
|
|
705
739
|
retry: Retry.Retry,
|
|
706
740
|
telemetry: TELEMETRY,
|
|
@@ -717,7 +751,8 @@ export const getBackup: API.OperationMethod<
|
|
|
717
751
|
> = /*@__PURE__*/ API.make(() => ({
|
|
718
752
|
input: __S(464, __c29, 0) as any as S.Schema<GetBackupRequest>,
|
|
719
753
|
output: __S(465, __c29, 1) as any as S.Schema<GetBackupResponse>,
|
|
720
|
-
errors: [BadRequest, NotFound
|
|
754
|
+
errors: [BadRequest, NotFound],
|
|
755
|
+
serviceErrors: StackitServiceErrors,
|
|
721
756
|
protocol: StackitProtocol,
|
|
722
757
|
retry: Retry.Retry,
|
|
723
758
|
telemetry: TELEMETRY,
|
|
@@ -734,7 +769,8 @@ export const getInstance: API.OperationMethod<
|
|
|
734
769
|
> = /*@__PURE__*/ API.make(() => ({
|
|
735
770
|
input: __S(496, __c31, 0) as any as S.Schema<GetInstanceRequest>,
|
|
736
771
|
output: __S(514, __c32, 2) as any as S.Schema<InstanceResponse>,
|
|
737
|
-
errors: [BadRequest
|
|
772
|
+
errors: [BadRequest],
|
|
773
|
+
serviceErrors: StackitServiceErrors,
|
|
738
774
|
protocol: StackitProtocol,
|
|
739
775
|
retry: Retry.Retry,
|
|
740
776
|
telemetry: TELEMETRY,
|
|
@@ -749,9 +785,10 @@ export const getUser: API.OperationMethod<
|
|
|
749
785
|
GetUserError,
|
|
750
786
|
StackitOpContext
|
|
751
787
|
> = /*@__PURE__*/ API.make(() => ({
|
|
752
|
-
input: __S(
|
|
753
|
-
output: __S(
|
|
754
|
-
errors: [BadRequest, NotFound
|
|
788
|
+
input: __S(16, __c1, 0) as any as S.Schema<GetUserRequest>,
|
|
789
|
+
output: __S(18, __c1, 2) as any as S.Schema<GetUserResponse>,
|
|
790
|
+
errors: [BadRequest, NotFound],
|
|
791
|
+
serviceErrors: StackitServiceErrors,
|
|
755
792
|
protocol: StackitProtocol,
|
|
756
793
|
retry: Retry.Retry,
|
|
757
794
|
telemetry: TELEMETRY,
|
|
@@ -766,9 +803,10 @@ export const listAdvisorSlowQueries: API.OperationMethod<
|
|
|
766
803
|
ListAdvisorSlowQueriesError,
|
|
767
804
|
StackitOpContext
|
|
768
805
|
> = /*@__PURE__*/ API.make(() => ({
|
|
769
|
-
input: __S(
|
|
770
|
-
output: __S(
|
|
771
|
-
errors: [BadRequest, NotFound
|
|
806
|
+
input: __S(32, __c2, 0) as any as S.Schema<ListAdvisorSlowQueriesRequest>,
|
|
807
|
+
output: __S(35, __c2, 3) as any as S.Schema<HandlersInstancesSlowQueriesResponse>,
|
|
808
|
+
errors: [BadRequest, NotFound],
|
|
809
|
+
serviceErrors: StackitServiceErrors,
|
|
772
810
|
protocol: StackitProtocol,
|
|
773
811
|
retry: Retry.Retry,
|
|
774
812
|
telemetry: TELEMETRY,
|
|
@@ -783,9 +821,10 @@ export const listBackups: API.OperationMethod<
|
|
|
783
821
|
ListBackupsError,
|
|
784
822
|
StackitOpContext
|
|
785
823
|
> = /*@__PURE__*/ API.make(() => ({
|
|
786
|
-
input: __S(
|
|
787
|
-
output: __S(
|
|
788
|
-
errors: [BadRequest, NotFound
|
|
824
|
+
input: __S(48, __c3, 0) as any as S.Schema<ListBackupsRequest>,
|
|
825
|
+
output: __S(50, __c3, 2) as any as S.Schema<ListBackupsResponse>,
|
|
826
|
+
errors: [BadRequest, NotFound],
|
|
827
|
+
serviceErrors: StackitServiceErrors,
|
|
789
828
|
protocol: StackitProtocol,
|
|
790
829
|
retry: Retry.Retry,
|
|
791
830
|
telemetry: TELEMETRY,
|
|
@@ -800,9 +839,10 @@ export const listFlavors: API.OperationMethod<
|
|
|
800
839
|
ListFlavorsError,
|
|
801
840
|
StackitOpContext
|
|
802
841
|
> = /*@__PURE__*/ API.make(() => ({
|
|
803
|
-
input: __S(
|
|
804
|
-
output: __S(
|
|
805
|
-
errors: [BadRequest
|
|
842
|
+
input: __S(64, __c4, 0) as any as S.Schema<ListFlavorsRequest>,
|
|
843
|
+
output: __S(67, __c4, 3) as any as S.Schema<ListFlavorsResponse>,
|
|
844
|
+
errors: [BadRequest],
|
|
845
|
+
serviceErrors: StackitServiceErrors,
|
|
806
846
|
protocol: StackitProtocol,
|
|
807
847
|
retry: Retry.Retry,
|
|
808
848
|
telemetry: TELEMETRY,
|
|
@@ -817,9 +857,10 @@ export const listInstances: API.OperationMethod<
|
|
|
817
857
|
ListInstancesError,
|
|
818
858
|
StackitOpContext
|
|
819
859
|
> = /*@__PURE__*/ API.make(() => ({
|
|
820
|
-
input: __S(
|
|
821
|
-
output: __S(
|
|
822
|
-
errors: [BadRequest
|
|
860
|
+
input: __S(80, __c5, 0) as any as S.Schema<ListInstancesRequest>,
|
|
861
|
+
output: __S(83, __c5, 3) as any as S.Schema<ListInstancesResponse>,
|
|
862
|
+
errors: [BadRequest],
|
|
863
|
+
serviceErrors: StackitServiceErrors,
|
|
823
864
|
protocol: StackitProtocol,
|
|
824
865
|
retry: Retry.Retry,
|
|
825
866
|
telemetry: TELEMETRY,
|
|
@@ -834,9 +875,10 @@ export const listMetrics: API.OperationMethod<
|
|
|
834
875
|
ListMetricsError,
|
|
835
876
|
StackitOpContext
|
|
836
877
|
> = /*@__PURE__*/ API.make(() => ({
|
|
837
|
-
input: __S(
|
|
838
|
-
output: __S(
|
|
839
|
-
errors: [BadRequest, NotFound
|
|
878
|
+
input: __S(96, __c6, 0) as any as S.Schema<ListMetricsRequest>,
|
|
879
|
+
output: __S(103, __c6, 7) as any as S.Schema<ListMetricsResponse>,
|
|
880
|
+
errors: [BadRequest, NotFound],
|
|
881
|
+
serviceErrors: StackitServiceErrors,
|
|
840
882
|
protocol: StackitProtocol,
|
|
841
883
|
retry: Retry.Retry,
|
|
842
884
|
telemetry: TELEMETRY,
|
|
@@ -851,9 +893,10 @@ export const listRestoreJobs: API.OperationMethod<
|
|
|
851
893
|
ListRestoreJobsError,
|
|
852
894
|
StackitOpContext
|
|
853
895
|
> = /*@__PURE__*/ API.make(() => ({
|
|
854
|
-
input: __S(
|
|
855
|
-
output: __S(
|
|
856
|
-
errors: [BadRequest, NotFound
|
|
896
|
+
input: __S(112, __c7, 0) as any as S.Schema<ListRestoreJobsRequest>,
|
|
897
|
+
output: __S(114, __c7, 2) as any as S.Schema<ListRestoreJobsResponse>,
|
|
898
|
+
errors: [BadRequest, NotFound],
|
|
899
|
+
serviceErrors: StackitServiceErrors,
|
|
857
900
|
protocol: StackitProtocol,
|
|
858
901
|
retry: Retry.Retry,
|
|
859
902
|
telemetry: TELEMETRY,
|
|
@@ -868,9 +911,10 @@ export const listStorages: API.OperationMethod<
|
|
|
868
911
|
ListStoragesError,
|
|
869
912
|
StackitOpContext
|
|
870
913
|
> = /*@__PURE__*/ API.make(() => ({
|
|
871
|
-
input: __S(
|
|
872
|
-
output: __S(
|
|
873
|
-
errors: [BadRequest, NotFound
|
|
914
|
+
input: __S(144, __c9, 0) as any as S.Schema<ListStoragesRequest>,
|
|
915
|
+
output: __S(146, __c9, 2) as any as S.Schema<ListStoragesResponse>,
|
|
916
|
+
errors: [BadRequest, NotFound],
|
|
917
|
+
serviceErrors: StackitServiceErrors,
|
|
874
918
|
protocol: StackitProtocol,
|
|
875
919
|
retry: Retry.Retry,
|
|
876
920
|
telemetry: TELEMETRY,
|
|
@@ -885,9 +929,10 @@ export const listSuggestedIndexes: API.OperationMethod<
|
|
|
885
929
|
ListSuggestedIndexesError,
|
|
886
930
|
StackitOpContext
|
|
887
931
|
> = /*@__PURE__*/ API.make(() => ({
|
|
888
|
-
input: __S(
|
|
889
|
-
output: __S(
|
|
890
|
-
errors: [BadRequest, NotFound
|
|
932
|
+
input: __S(160, __c10, 0) as any as S.Schema<ListSuggestedIndexesRequest>,
|
|
933
|
+
output: __S(171, __c10, 11) as any as S.Schema<HandlersInstancesSuggestedIndexesResponse>,
|
|
934
|
+
errors: [BadRequest, NotFound],
|
|
935
|
+
serviceErrors: StackitServiceErrors,
|
|
891
936
|
protocol: StackitProtocol,
|
|
892
937
|
retry: Retry.Retry,
|
|
893
938
|
telemetry: TELEMETRY,
|
|
@@ -902,9 +947,10 @@ export const listUsers: API.OperationMethod<
|
|
|
902
947
|
ListUsersError,
|
|
903
948
|
StackitOpContext
|
|
904
949
|
> = /*@__PURE__*/ API.make(() => ({
|
|
905
|
-
input: __S(
|
|
906
|
-
output: __S(
|
|
907
|
-
errors: [BadRequest, NotFound
|
|
950
|
+
input: __S(176, __c11, 0) as any as S.Schema<ListUsersRequest>,
|
|
951
|
+
output: __S(179, __c11, 3) as any as S.Schema<ListUsersResponse>,
|
|
952
|
+
errors: [BadRequest, NotFound],
|
|
953
|
+
serviceErrors: StackitServiceErrors,
|
|
908
954
|
protocol: StackitProtocol,
|
|
909
955
|
retry: Retry.Retry,
|
|
910
956
|
telemetry: TELEMETRY,
|
|
@@ -919,9 +965,10 @@ export const listVersions: API.OperationMethod<
|
|
|
919
965
|
ListVersionsError,
|
|
920
966
|
StackitOpContext
|
|
921
967
|
> = /*@__PURE__*/ API.make(() => ({
|
|
922
|
-
input: __S(
|
|
923
|
-
output: __S(
|
|
924
|
-
errors: [BadRequest
|
|
968
|
+
input: __S(192, __c12, 0) as any as S.Schema<ListVersionsRequest>,
|
|
969
|
+
output: __S(193, __c12, 1) as any as S.Schema<ListVersionsResponse>,
|
|
970
|
+
errors: [BadRequest],
|
|
971
|
+
serviceErrors: StackitServiceErrors,
|
|
925
972
|
protocol: StackitProtocol,
|
|
926
973
|
retry: Retry.Retry,
|
|
927
974
|
telemetry: TELEMETRY,
|
|
@@ -936,9 +983,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
936
983
|
PartialUpdateInstanceError,
|
|
937
984
|
StackitOpContext
|
|
938
985
|
> = /*@__PURE__*/ API.make(() => ({
|
|
939
|
-
input: __S(
|
|
986
|
+
input: __S(208, __c13, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
940
987
|
output: __S(514, __c32, 2) as any as S.Schema<UpdateInstanceResponse>,
|
|
941
|
-
errors: [BadRequest, NotFound, Conflict
|
|
988
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
989
|
+
serviceErrors: StackitServiceErrors,
|
|
942
990
|
protocol: StackitProtocol,
|
|
943
991
|
retry: Retry.Retry,
|
|
944
992
|
telemetry: TELEMETRY,
|
|
@@ -953,9 +1001,10 @@ export const partialUpdateUser: API.OperationMethod<
|
|
|
953
1001
|
PartialUpdateUserError,
|
|
954
1002
|
StackitOpContext
|
|
955
1003
|
> = /*@__PURE__*/ API.make(() => ({
|
|
956
|
-
input: __S(
|
|
1004
|
+
input: __S(224, __c14, 0) as any as S.Schema<PartialUpdateUserRequest>,
|
|
957
1005
|
output: __S(432, __c27, 0) as any as S.Schema<PartialUpdateUserResponse>,
|
|
958
|
-
errors: [BadRequest, NotFound, Conflict
|
|
1006
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
1007
|
+
serviceErrors: StackitServiceErrors,
|
|
959
1008
|
protocol: StackitProtocol,
|
|
960
1009
|
retry: Retry.Retry,
|
|
961
1010
|
telemetry: TELEMETRY,
|
|
@@ -970,9 +1019,10 @@ export const resetUser: API.OperationMethod<
|
|
|
970
1019
|
ResetUserError,
|
|
971
1020
|
StackitOpContext
|
|
972
1021
|
> = /*@__PURE__*/ API.make(() => ({
|
|
973
|
-
input: __S(
|
|
1022
|
+
input: __S(240, __c15, 0) as any as S.Schema<ResetUserRequest>,
|
|
974
1023
|
output: __S(400, __c25, 0) as any as S.Schema<User>,
|
|
975
|
-
errors: [BadRequest, NotFound
|
|
1024
|
+
errors: [BadRequest, NotFound],
|
|
1025
|
+
serviceErrors: StackitServiceErrors,
|
|
976
1026
|
protocol: StackitProtocol,
|
|
977
1027
|
retry: Retry.Retry,
|
|
978
1028
|
telemetry: TELEMETRY,
|
|
@@ -987,9 +1037,10 @@ export const restoreInstance: API.OperationMethod<
|
|
|
987
1037
|
RestoreInstanceError,
|
|
988
1038
|
StackitOpContext
|
|
989
1039
|
> = /*@__PURE__*/ API.make(() => ({
|
|
990
|
-
input: __S(
|
|
991
|
-
output: __S(
|
|
992
|
-
errors: [BadRequest, NotFound
|
|
1040
|
+
input: __S(256, __c16, 0) as any as S.Schema<RestoreInstanceRequest>,
|
|
1041
|
+
output: __S(257, __c16, 1) as any as S.Schema<RestoreInstanceResponse>,
|
|
1042
|
+
errors: [BadRequest, NotFound],
|
|
1043
|
+
serviceErrors: StackitServiceErrors,
|
|
993
1044
|
protocol: StackitProtocol,
|
|
994
1045
|
retry: Retry.Retry,
|
|
995
1046
|
telemetry: TELEMETRY,
|
|
@@ -1004,9 +1055,10 @@ export const updateBackupSchedule: API.OperationMethod<
|
|
|
1004
1055
|
UpdateBackupScheduleError,
|
|
1005
1056
|
StackitOpContext
|
|
1006
1057
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1007
|
-
input: __S(
|
|
1008
|
-
output: __S(
|
|
1009
|
-
errors: [BadRequest, NotFound
|
|
1058
|
+
input: __S(272, __c17, 0) as any as S.Schema<UpdateBackupScheduleRequest>,
|
|
1059
|
+
output: __S(273, __c17, 1) as any as S.Schema<BackupSchedule>,
|
|
1060
|
+
errors: [BadRequest, NotFound],
|
|
1061
|
+
serviceErrors: StackitServiceErrors,
|
|
1010
1062
|
protocol: StackitProtocol,
|
|
1011
1063
|
retry: Retry.Retry,
|
|
1012
1064
|
telemetry: TELEMETRY,
|
|
@@ -1021,9 +1073,10 @@ export const updateInstance: API.OperationMethod<
|
|
|
1021
1073
|
UpdateInstanceError,
|
|
1022
1074
|
StackitOpContext
|
|
1023
1075
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1024
|
-
input: __S(
|
|
1076
|
+
input: __S(288, __c18, 0) as any as S.Schema<UpdateInstanceRequest>,
|
|
1025
1077
|
output: __S(514, __c32, 2) as any as S.Schema<UpdateInstanceResponse>,
|
|
1026
|
-
errors: [BadRequest, NotFound, Conflict
|
|
1078
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
1079
|
+
serviceErrors: StackitServiceErrors,
|
|
1027
1080
|
protocol: StackitProtocol,
|
|
1028
1081
|
retry: Retry.Retry,
|
|
1029
1082
|
telemetry: TELEMETRY,
|
|
@@ -1038,9 +1091,10 @@ export const updateUser: API.OperationMethod<
|
|
|
1038
1091
|
UpdateUserError,
|
|
1039
1092
|
StackitOpContext
|
|
1040
1093
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1041
|
-
input: __S(
|
|
1094
|
+
input: __S(304, __c19, 0) as any as S.Schema<UpdateUserRequest>,
|
|
1042
1095
|
output: __S(432, __c27, 0) as any as S.Schema<UpdateUserResponse>,
|
|
1043
|
-
errors: [BadRequest, NotFound, Conflict
|
|
1096
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
1097
|
+
serviceErrors: StackitServiceErrors,
|
|
1044
1098
|
protocol: StackitProtocol,
|
|
1045
1099
|
retry: Retry.Retry,
|
|
1046
1100
|
telemetry: TELEMETRY,
|
|
@@ -1049,6 +1103,23 @@ export const updateUser: API.OperationMethod<
|
|
|
1049
1103
|
|
|
1050
1104
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1051
1105
|
function __c0(j: number): any {
|
|
1106
|
+
switch (j) {
|
|
1107
|
+
case 0:
|
|
1108
|
+
return S.Array(S.String);
|
|
1109
|
+
case 1:
|
|
1110
|
+
return S.Record(S.String, __S(0, __c0, 0));
|
|
1111
|
+
case 2:
|
|
1112
|
+
return S.suspend(() =>
|
|
1113
|
+
S.Struct({
|
|
1114
|
+
code: S.optional(S.Number),
|
|
1115
|
+
fields: S.optional(__S(1, __c0, 1)),
|
|
1116
|
+
message: S.optional(S.String),
|
|
1117
|
+
type: S.optional(S.String),
|
|
1118
|
+
}),
|
|
1119
|
+
).annotate({ identifier: "Error" });
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
function __c1(j: number): any {
|
|
1052
1123
|
switch (j) {
|
|
1053
1124
|
case 0:
|
|
1054
1125
|
return S.suspend(() =>
|
|
@@ -1073,19 +1144,19 @@ function __c0(j: number): any {
|
|
|
1073
1144
|
host: S.optional(S.String),
|
|
1074
1145
|
id: S.optional(S.String),
|
|
1075
1146
|
port: S.optional(S.Number),
|
|
1076
|
-
roles: S.optional(__S(
|
|
1147
|
+
roles: S.optional(__S(0, __c0, 0)),
|
|
1077
1148
|
username: S.optional(S.String),
|
|
1078
1149
|
}),
|
|
1079
1150
|
).annotate({ identifier: "InstanceResponseUser" });
|
|
1080
1151
|
case 2:
|
|
1081
1152
|
return S.suspend(() =>
|
|
1082
1153
|
S.Struct({
|
|
1083
|
-
item: S.optional(__S(
|
|
1154
|
+
item: S.optional(__S(17, __c1, 1)),
|
|
1084
1155
|
}),
|
|
1085
1156
|
).annotate({ identifier: "GetUserResponse" });
|
|
1086
1157
|
}
|
|
1087
1158
|
}
|
|
1088
|
-
function
|
|
1159
|
+
function __c2(j: number): any {
|
|
1089
1160
|
switch (j) {
|
|
1090
1161
|
case 0:
|
|
1091
1162
|
return S.suspend(() =>
|
|
@@ -1110,16 +1181,16 @@ function __c1(j: number): any {
|
|
|
1110
1181
|
}),
|
|
1111
1182
|
).annotate({ identifier: "SlowQuery" });
|
|
1112
1183
|
case 2:
|
|
1113
|
-
return S.Array(__S(
|
|
1184
|
+
return S.Array(__S(33, __c2, 1));
|
|
1114
1185
|
case 3:
|
|
1115
1186
|
return S.suspend(() =>
|
|
1116
1187
|
S.Struct({
|
|
1117
|
-
slowQueries: S.optional(__S(
|
|
1188
|
+
slowQueries: S.optional(__S(34, __c2, 2)),
|
|
1118
1189
|
}),
|
|
1119
1190
|
).annotate({ identifier: "HandlersInstancesSlowQueriesResponse" });
|
|
1120
1191
|
}
|
|
1121
1192
|
}
|
|
1122
|
-
function
|
|
1193
|
+
function __c3(j: number): any {
|
|
1123
1194
|
switch (j) {
|
|
1124
1195
|
case 0:
|
|
1125
1196
|
return S.suspend(() =>
|
|
@@ -1142,12 +1213,12 @@ function __c2(j: number): any {
|
|
|
1142
1213
|
return S.suspend(() =>
|
|
1143
1214
|
S.Struct({
|
|
1144
1215
|
count: S.optional(S.Number),
|
|
1145
|
-
items: S.optional(__S(
|
|
1216
|
+
items: S.optional(__S(49, __c3, 1)),
|
|
1146
1217
|
}),
|
|
1147
1218
|
).annotate({ identifier: "ListBackupsResponse" });
|
|
1148
1219
|
}
|
|
1149
1220
|
}
|
|
1150
|
-
function
|
|
1221
|
+
function __c4(j: number): any {
|
|
1151
1222
|
switch (j) {
|
|
1152
1223
|
case 0:
|
|
1153
1224
|
return S.suspend(() =>
|
|
@@ -1166,7 +1237,7 @@ function __c3(j: number): any {
|
|
|
1166
1237
|
case 1:
|
|
1167
1238
|
return S.suspend(() =>
|
|
1168
1239
|
S.Struct({
|
|
1169
|
-
categories: S.optional(__S(
|
|
1240
|
+
categories: S.optional(__S(0, __c0, 0)),
|
|
1170
1241
|
cpu: S.optional(S.Number),
|
|
1171
1242
|
description: S.optional(S.String),
|
|
1172
1243
|
id: S.optional(S.String),
|
|
@@ -1174,16 +1245,16 @@ function __c3(j: number): any {
|
|
|
1174
1245
|
}),
|
|
1175
1246
|
).annotate({ identifier: "InstanceFlavor" });
|
|
1176
1247
|
case 2:
|
|
1177
|
-
return S.Array(__S(
|
|
1248
|
+
return S.Array(__S(65, __c4, 1));
|
|
1178
1249
|
case 3:
|
|
1179
1250
|
return S.suspend(() =>
|
|
1180
1251
|
S.Struct({
|
|
1181
|
-
flavors: S.optional(__S(
|
|
1252
|
+
flavors: S.optional(__S(66, __c4, 2)),
|
|
1182
1253
|
}),
|
|
1183
1254
|
).annotate({ identifier: "ListFlavorsResponse" });
|
|
1184
1255
|
}
|
|
1185
1256
|
}
|
|
1186
|
-
function
|
|
1257
|
+
function __c5(j: number): any {
|
|
1187
1258
|
switch (j) {
|
|
1188
1259
|
case 0:
|
|
1189
1260
|
return S.suspend(() =>
|
|
@@ -1209,17 +1280,17 @@ function __c4(j: number): any {
|
|
|
1209
1280
|
}),
|
|
1210
1281
|
).annotate({ identifier: "InstanceListInstance" });
|
|
1211
1282
|
case 2:
|
|
1212
|
-
return S.Array(__S(
|
|
1283
|
+
return S.Array(__S(81, __c5, 1));
|
|
1213
1284
|
case 3:
|
|
1214
1285
|
return S.suspend(() =>
|
|
1215
1286
|
S.Struct({
|
|
1216
1287
|
count: S.optional(S.Number),
|
|
1217
|
-
items: S.optional(__S(
|
|
1288
|
+
items: S.optional(__S(82, __c5, 2)),
|
|
1218
1289
|
}),
|
|
1219
1290
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1220
1291
|
}
|
|
1221
1292
|
}
|
|
1222
|
-
function
|
|
1293
|
+
function __c6(j: number): any {
|
|
1223
1294
|
switch (j) {
|
|
1224
1295
|
case 0:
|
|
1225
1296
|
return S.suspend(() =>
|
|
@@ -1249,35 +1320,35 @@ function __c5(j: number): any {
|
|
|
1249
1320
|
}),
|
|
1250
1321
|
).annotate({ identifier: "DataPoint" });
|
|
1251
1322
|
case 2:
|
|
1252
|
-
return S.Array(__S(
|
|
1323
|
+
return S.Array(__S(97, __c6, 1));
|
|
1253
1324
|
case 3:
|
|
1254
1325
|
return S.suspend(() =>
|
|
1255
1326
|
S.Struct({
|
|
1256
|
-
datapoints: S.optional(__S(
|
|
1327
|
+
datapoints: S.optional(__S(98, __c6, 2)),
|
|
1257
1328
|
name: S.optional(S.String),
|
|
1258
1329
|
units: S.optional(S.String),
|
|
1259
1330
|
}),
|
|
1260
1331
|
).annotate({ identifier: "HostMetric" });
|
|
1261
1332
|
case 4:
|
|
1262
|
-
return S.Array(__S(
|
|
1333
|
+
return S.Array(__S(99, __c6, 3));
|
|
1263
1334
|
case 5:
|
|
1264
1335
|
return S.suspend(() =>
|
|
1265
1336
|
S.Struct({
|
|
1266
|
-
hostMetrics: S.optional(__S(
|
|
1337
|
+
hostMetrics: S.optional(__S(100, __c6, 4)),
|
|
1267
1338
|
id: S.optional(S.String),
|
|
1268
1339
|
}),
|
|
1269
1340
|
).annotate({ identifier: "Host" });
|
|
1270
1341
|
case 6:
|
|
1271
|
-
return S.Array(__S(
|
|
1342
|
+
return S.Array(__S(101, __c6, 5));
|
|
1272
1343
|
case 7:
|
|
1273
1344
|
return S.suspend(() =>
|
|
1274
1345
|
S.Struct({
|
|
1275
|
-
hosts: S.optional(__S(
|
|
1346
|
+
hosts: S.optional(__S(102, __c6, 6)),
|
|
1276
1347
|
}),
|
|
1277
1348
|
).annotate({ identifier: "ListMetricsResponse" });
|
|
1278
1349
|
}
|
|
1279
1350
|
}
|
|
1280
|
-
function
|
|
1351
|
+
function __c7(j: number): any {
|
|
1281
1352
|
switch (j) {
|
|
1282
1353
|
case 0:
|
|
1283
1354
|
return S.suspend(() =>
|
|
@@ -1295,16 +1366,16 @@ function __c6(j: number): any {
|
|
|
1295
1366
|
),
|
|
1296
1367
|
).annotate({ identifier: "ListRestoreJobsRequest" });
|
|
1297
1368
|
case 1:
|
|
1298
|
-
return S.Array(__S(
|
|
1369
|
+
return S.Array(__S(128, __c8, 0));
|
|
1299
1370
|
case 2:
|
|
1300
1371
|
return S.suspend(() =>
|
|
1301
1372
|
S.Struct({
|
|
1302
|
-
items: S.optional(__S(
|
|
1373
|
+
items: S.optional(__S(113, __c7, 1)),
|
|
1303
1374
|
}),
|
|
1304
1375
|
).annotate({ identifier: "ListRestoreJobsResponse" });
|
|
1305
1376
|
}
|
|
1306
1377
|
}
|
|
1307
|
-
function
|
|
1378
|
+
function __c8(j: number): any {
|
|
1308
1379
|
switch (j) {
|
|
1309
1380
|
case 0:
|
|
1310
1381
|
return S.suspend(() =>
|
|
@@ -1318,7 +1389,7 @@ function __c7(j: number): any {
|
|
|
1318
1389
|
).annotate({ identifier: "RestoreInstanceStatus" });
|
|
1319
1390
|
}
|
|
1320
1391
|
}
|
|
1321
|
-
function
|
|
1392
|
+
function __c9(j: number): any {
|
|
1322
1393
|
switch (j) {
|
|
1323
1394
|
case 0:
|
|
1324
1395
|
return S.suspend(() =>
|
|
@@ -1345,13 +1416,13 @@ function __c8(j: number): any {
|
|
|
1345
1416
|
case 2:
|
|
1346
1417
|
return S.suspend(() =>
|
|
1347
1418
|
S.Struct({
|
|
1348
|
-
storageClasses: S.optional(__S(
|
|
1349
|
-
storageRange: S.optional(__S(
|
|
1419
|
+
storageClasses: S.optional(__S(0, __c0, 0)),
|
|
1420
|
+
storageRange: S.optional(__S(145, __c9, 1)),
|
|
1350
1421
|
}),
|
|
1351
1422
|
).annotate({ identifier: "ListStoragesResponse" });
|
|
1352
1423
|
}
|
|
1353
1424
|
}
|
|
1354
|
-
function
|
|
1425
|
+
function __c10(j: number): any {
|
|
1355
1426
|
switch (j) {
|
|
1356
1427
|
case 0:
|
|
1357
1428
|
return S.suspend(() =>
|
|
@@ -1382,13 +1453,13 @@ function __c9(j: number): any {
|
|
|
1382
1453
|
case 3:
|
|
1383
1454
|
return S.suspend(() =>
|
|
1384
1455
|
S.Struct({
|
|
1385
|
-
predicates: S.optional(__S(
|
|
1456
|
+
predicates: S.optional(__S(161, __c10, 1)),
|
|
1386
1457
|
raw: S.optional(S.String),
|
|
1387
|
-
stats: S.optional(__S(
|
|
1458
|
+
stats: S.optional(__S(162, __c10, 2)),
|
|
1388
1459
|
}),
|
|
1389
1460
|
).annotate({ identifier: "MongodbatlasOperation" });
|
|
1390
1461
|
case 4:
|
|
1391
|
-
return S.Array(__S(
|
|
1462
|
+
return S.Array(__S(163, __c10, 3));
|
|
1392
1463
|
case 5:
|
|
1393
1464
|
return S.suspend(() =>
|
|
1394
1465
|
S.Struct({
|
|
@@ -1397,37 +1468,37 @@ function __c9(j: number): any {
|
|
|
1397
1468
|
id: S.optional(S.String),
|
|
1398
1469
|
inefficiencyScore: S.optional(S.Number),
|
|
1399
1470
|
namespace: S.optional(S.String),
|
|
1400
|
-
operations: S.optional(__S(
|
|
1471
|
+
operations: S.optional(__S(164, __c10, 4)),
|
|
1401
1472
|
}),
|
|
1402
1473
|
).annotate({ identifier: "Shape" });
|
|
1403
1474
|
case 6:
|
|
1404
|
-
return S.Array(__S(
|
|
1475
|
+
return S.Array(__S(165, __c10, 5));
|
|
1405
1476
|
case 7:
|
|
1406
1477
|
return S.Record(S.String, S.Number);
|
|
1407
1478
|
case 8:
|
|
1408
|
-
return S.Array(__S(
|
|
1479
|
+
return S.Array(__S(167, __c10, 7));
|
|
1409
1480
|
case 9:
|
|
1410
1481
|
return S.suspend(() =>
|
|
1411
1482
|
S.Struct({
|
|
1412
1483
|
id: S.optional(S.String),
|
|
1413
|
-
impact: S.optional(__S(
|
|
1414
|
-
index: S.optional(__S(
|
|
1484
|
+
impact: S.optional(__S(0, __c0, 0)),
|
|
1485
|
+
index: S.optional(__S(168, __c10, 8)),
|
|
1415
1486
|
namespace: S.optional(S.String),
|
|
1416
1487
|
weight: S.optional(S.Number),
|
|
1417
1488
|
}),
|
|
1418
1489
|
).annotate({ identifier: "SuggestedIndex" });
|
|
1419
1490
|
case 10:
|
|
1420
|
-
return S.Array(__S(
|
|
1491
|
+
return S.Array(__S(169, __c10, 9));
|
|
1421
1492
|
case 11:
|
|
1422
1493
|
return S.suspend(() =>
|
|
1423
1494
|
S.Struct({
|
|
1424
|
-
shapes: S.optional(__S(
|
|
1425
|
-
suggestedIndexes: S.optional(__S(
|
|
1495
|
+
shapes: S.optional(__S(166, __c10, 6)),
|
|
1496
|
+
suggestedIndexes: S.optional(__S(170, __c10, 10)),
|
|
1426
1497
|
}),
|
|
1427
1498
|
).annotate({ identifier: "HandlersInstancesSuggestedIndexesResponse" });
|
|
1428
1499
|
}
|
|
1429
1500
|
}
|
|
1430
|
-
function
|
|
1501
|
+
function __c11(j: number): any {
|
|
1431
1502
|
switch (j) {
|
|
1432
1503
|
case 0:
|
|
1433
1504
|
return S.suspend(() =>
|
|
@@ -1452,17 +1523,17 @@ function __c10(j: number): any {
|
|
|
1452
1523
|
}),
|
|
1453
1524
|
).annotate({ identifier: "ListUser" });
|
|
1454
1525
|
case 2:
|
|
1455
|
-
return S.Array(__S(
|
|
1526
|
+
return S.Array(__S(177, __c11, 1));
|
|
1456
1527
|
case 3:
|
|
1457
1528
|
return S.suspend(() =>
|
|
1458
1529
|
S.Struct({
|
|
1459
1530
|
count: S.optional(S.Number),
|
|
1460
|
-
items: S.optional(__S(
|
|
1531
|
+
items: S.optional(__S(178, __c11, 2)),
|
|
1461
1532
|
}),
|
|
1462
1533
|
).annotate({ identifier: "ListUsersResponse" });
|
|
1463
1534
|
}
|
|
1464
1535
|
}
|
|
1465
|
-
function
|
|
1536
|
+
function __c12(j: number): any {
|
|
1466
1537
|
switch (j) {
|
|
1467
1538
|
case 0:
|
|
1468
1539
|
return S.suspend(() =>
|
|
@@ -1481,12 +1552,12 @@ function __c11(j: number): any {
|
|
|
1481
1552
|
case 1:
|
|
1482
1553
|
return S.suspend(() =>
|
|
1483
1554
|
S.Struct({
|
|
1484
|
-
versions: S.optional(__S(
|
|
1555
|
+
versions: S.optional(__S(0, __c0, 0)),
|
|
1485
1556
|
}),
|
|
1486
1557
|
).annotate({ identifier: "ListVersionsResponse" });
|
|
1487
1558
|
}
|
|
1488
1559
|
}
|
|
1489
|
-
function
|
|
1560
|
+
function __c13(j: number): any {
|
|
1490
1561
|
switch (j) {
|
|
1491
1562
|
case 0:
|
|
1492
1563
|
return S.suspend(() =>
|
|
@@ -1514,7 +1585,7 @@ function __c12(j: number): any {
|
|
|
1514
1585
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1515
1586
|
}
|
|
1516
1587
|
}
|
|
1517
|
-
function
|
|
1588
|
+
function __c14(j: number): any {
|
|
1518
1589
|
switch (j) {
|
|
1519
1590
|
case 0:
|
|
1520
1591
|
return S.suspend(() =>
|
|
@@ -1524,7 +1595,7 @@ function __c13(j: number): any {
|
|
|
1524
1595
|
instanceId: S.String.pipe(T.Label()),
|
|
1525
1596
|
userId: S.String.pipe(T.Label()),
|
|
1526
1597
|
database: S.optional(S.String),
|
|
1527
|
-
roles: S.optional(__S(
|
|
1598
|
+
roles: S.optional(__S(0, __c0, 0)),
|
|
1528
1599
|
}).pipe(
|
|
1529
1600
|
T.Http({
|
|
1530
1601
|
method: "PATCH",
|
|
@@ -1536,7 +1607,7 @@ function __c13(j: number): any {
|
|
|
1536
1607
|
).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
1537
1608
|
}
|
|
1538
1609
|
}
|
|
1539
|
-
function
|
|
1610
|
+
function __c15(j: number): any {
|
|
1540
1611
|
switch (j) {
|
|
1541
1612
|
case 0:
|
|
1542
1613
|
return S.suspend(() =>
|
|
@@ -1556,7 +1627,7 @@ function __c14(j: number): any {
|
|
|
1556
1627
|
).annotate({ identifier: "ResetUserRequest" });
|
|
1557
1628
|
}
|
|
1558
1629
|
}
|
|
1559
|
-
function
|
|
1630
|
+
function __c16(j: number): any {
|
|
1560
1631
|
switch (j) {
|
|
1561
1632
|
case 0:
|
|
1562
1633
|
return S.suspend(() =>
|
|
@@ -1577,12 +1648,12 @@ function __c15(j: number): any {
|
|
|
1577
1648
|
case 1:
|
|
1578
1649
|
return S.suspend(() =>
|
|
1579
1650
|
S.Struct({
|
|
1580
|
-
item: S.optional(__S(
|
|
1651
|
+
item: S.optional(__S(128, __c8, 0)),
|
|
1581
1652
|
}),
|
|
1582
1653
|
).annotate({ identifier: "RestoreInstanceResponse" });
|
|
1583
1654
|
}
|
|
1584
1655
|
}
|
|
1585
|
-
function
|
|
1656
|
+
function __c17(j: number): any {
|
|
1586
1657
|
switch (j) {
|
|
1587
1658
|
case 0:
|
|
1588
1659
|
return S.suspend(() =>
|
|
@@ -1618,7 +1689,7 @@ function __c16(j: number): any {
|
|
|
1618
1689
|
).annotate({ identifier: "BackupSchedule" });
|
|
1619
1690
|
}
|
|
1620
1691
|
}
|
|
1621
|
-
function
|
|
1692
|
+
function __c18(j: number): any {
|
|
1622
1693
|
switch (j) {
|
|
1623
1694
|
case 0:
|
|
1624
1695
|
return S.suspend(() =>
|
|
@@ -1646,7 +1717,7 @@ function __c17(j: number): any {
|
|
|
1646
1717
|
).annotate({ identifier: "UpdateInstanceRequest" });
|
|
1647
1718
|
}
|
|
1648
1719
|
}
|
|
1649
|
-
function
|
|
1720
|
+
function __c19(j: number): any {
|
|
1650
1721
|
switch (j) {
|
|
1651
1722
|
case 0:
|
|
1652
1723
|
return S.suspend(() =>
|
|
@@ -1656,7 +1727,7 @@ function __c18(j: number): any {
|
|
|
1656
1727
|
instanceId: S.String.pipe(T.Label()),
|
|
1657
1728
|
userId: S.String.pipe(T.Label()),
|
|
1658
1729
|
database: S.String,
|
|
1659
|
-
roles: __S(
|
|
1730
|
+
roles: __S(0, __c0, 0),
|
|
1660
1731
|
}).pipe(
|
|
1661
1732
|
T.Http({
|
|
1662
1733
|
method: "PUT",
|
|
@@ -1668,7 +1739,7 @@ function __c18(j: number): any {
|
|
|
1668
1739
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1669
1740
|
}
|
|
1670
1741
|
}
|
|
1671
|
-
function
|
|
1742
|
+
function __c20(j: number): any {
|
|
1672
1743
|
switch (j) {
|
|
1673
1744
|
case 0:
|
|
1674
1745
|
return S.suspend(() =>
|
|
@@ -1694,7 +1765,7 @@ function __c19(j: number): any {
|
|
|
1694
1765
|
).annotate({ identifier: "CloneInstanceResponse" });
|
|
1695
1766
|
}
|
|
1696
1767
|
}
|
|
1697
|
-
function
|
|
1768
|
+
function __c21(j: number): any {
|
|
1698
1769
|
switch (j) {
|
|
1699
1770
|
case 0:
|
|
1700
1771
|
return S.suspend(() =>
|
|
@@ -1727,12 +1798,6 @@ function __c20(j: number): any {
|
|
|
1727
1798
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1728
1799
|
}
|
|
1729
1800
|
}
|
|
1730
|
-
function __c21(j: number): any {
|
|
1731
|
-
switch (j) {
|
|
1732
|
-
case 0:
|
|
1733
|
-
return S.Array(S.String);
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
1801
|
function __c22(j: number): any {
|
|
1737
1802
|
switch (j) {
|
|
1738
1803
|
case 0:
|
|
@@ -1744,7 +1809,7 @@ function __c23(j: number): any {
|
|
|
1744
1809
|
case 0:
|
|
1745
1810
|
return S.suspend(() =>
|
|
1746
1811
|
S.Struct({
|
|
1747
|
-
items: S.optional(__S(
|
|
1812
|
+
items: S.optional(__S(0, __c0, 0)),
|
|
1748
1813
|
}),
|
|
1749
1814
|
).annotate({ identifier: "ACL" });
|
|
1750
1815
|
case 1:
|
|
@@ -1765,7 +1830,7 @@ function __c24(j: number): any {
|
|
|
1765
1830
|
region: S.String.pipe(T.Label()),
|
|
1766
1831
|
instanceId: S.String.pipe(T.Label()),
|
|
1767
1832
|
database: S.String,
|
|
1768
|
-
roles: __S(
|
|
1833
|
+
roles: __S(0, __c0, 0),
|
|
1769
1834
|
username: S.optional(S.String),
|
|
1770
1835
|
}).pipe(
|
|
1771
1836
|
T.Http({
|
|
@@ -1794,7 +1859,7 @@ function __c25(j: number): any {
|
|
|
1794
1859
|
id: S.optional(S.String),
|
|
1795
1860
|
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1796
1861
|
port: S.optional(S.Number),
|
|
1797
|
-
roles: S.optional(__S(
|
|
1862
|
+
roles: S.optional(__S(0, __c0, 0)),
|
|
1798
1863
|
uri: S.optional(S.String),
|
|
1799
1864
|
username: S.optional(S.String),
|
|
1800
1865
|
}),
|
|
@@ -1880,7 +1945,7 @@ function __c30(j: number): any {
|
|
|
1880
1945
|
endTime: S.optional(S.String),
|
|
1881
1946
|
error: S.optional(S.String),
|
|
1882
1947
|
id: S.optional(S.String),
|
|
1883
|
-
labels: S.optional(__S(
|
|
1948
|
+
labels: S.optional(__S(0, __c0, 0)),
|
|
1884
1949
|
name: S.optional(S.String),
|
|
1885
1950
|
options: S.optional(__S(352, __c22, 0)),
|
|
1886
1951
|
size: S.optional(S.Number),
|