@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +8 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +19 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +13 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +36 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +63 -2
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +44 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +10 -1
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -127
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +229 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +353 -137
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
-
import {
|
|
6
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -30,36 +30,64 @@ export class BadRequest
|
|
|
30
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
31
|
code: S.Number,
|
|
32
32
|
message: S.String,
|
|
33
|
+
body: /*@__PURE__*/ S.optional(
|
|
34
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
35
|
+
),
|
|
36
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
37
|
}).pipe(C.withBadRequestError),
|
|
34
38
|
[{ status: 400 }],
|
|
35
|
-
)
|
|
39
|
+
)
|
|
40
|
+
{
|
|
41
|
+
declare readonly body?: ErrorResponse | string;
|
|
42
|
+
}
|
|
36
43
|
|
|
37
44
|
export class Conflict
|
|
38
45
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
39
46
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
47
|
code: S.Number,
|
|
41
48
|
message: S.String,
|
|
49
|
+
body: /*@__PURE__*/ S.optional(
|
|
50
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
51
|
+
),
|
|
52
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
53
|
}).pipe(C.withConflictError),
|
|
43
54
|
[{ status: 409 }],
|
|
44
|
-
)
|
|
55
|
+
)
|
|
56
|
+
{
|
|
57
|
+
declare readonly body?: ErrorResponse | string;
|
|
58
|
+
}
|
|
45
59
|
|
|
46
60
|
export class Forbidden
|
|
47
61
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
48
62
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
49
63
|
code: S.Number,
|
|
50
64
|
message: S.String,
|
|
65
|
+
body: /*@__PURE__*/ S.optional(
|
|
66
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
67
|
+
),
|
|
68
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
69
|
}).pipe(C.withAuthError),
|
|
52
70
|
[{ status: 403 }],
|
|
53
|
-
)
|
|
71
|
+
)
|
|
72
|
+
{
|
|
73
|
+
declare readonly body?: ErrorResponse | string;
|
|
74
|
+
}
|
|
54
75
|
|
|
55
76
|
export class NotFound
|
|
56
77
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
57
78
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
58
79
|
code: S.Number,
|
|
59
80
|
message: S.String,
|
|
81
|
+
body: /*@__PURE__*/ S.optional(
|
|
82
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
83
|
+
),
|
|
84
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
60
85
|
}).pipe(C.withBadRequestError),
|
|
61
86
|
[{ status: 404 }],
|
|
62
|
-
)
|
|
87
|
+
)
|
|
88
|
+
{
|
|
89
|
+
declare readonly body?: ErrorResponse | string;
|
|
90
|
+
}
|
|
63
91
|
|
|
64
92
|
export type CreateInstanceRequestRegionId = "eu01";
|
|
65
93
|
/** Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys. */
|
|
@@ -256,6 +284,14 @@ export interface PartialUpdateInstanceTokenResponse {
|
|
|
256
284
|
message?: string | undefined;
|
|
257
285
|
token: TokenMetadata;
|
|
258
286
|
}
|
|
287
|
+
export interface ErrorResponse {
|
|
288
|
+
/** The HTTP status code. */
|
|
289
|
+
code: number;
|
|
290
|
+
/** User facing error message. */
|
|
291
|
+
message: string;
|
|
292
|
+
/** The canonical error code. */
|
|
293
|
+
status?: string | undefined;
|
|
294
|
+
}
|
|
259
295
|
export type CreateInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
260
296
|
/** create an instance in a project create an instance in a project */
|
|
261
297
|
export const createInstance: API.OperationMethod<
|
|
@@ -264,9 +300,10 @@ export const createInstance: API.OperationMethod<
|
|
|
264
300
|
CreateInstanceError,
|
|
265
301
|
StackitOpContext
|
|
266
302
|
> = /*@__PURE__*/ API.make(() => ({
|
|
267
|
-
input: __S(
|
|
268
|
-
output: __S(
|
|
269
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
303
|
+
input: __S(24, __c6, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
304
|
+
output: __S(36, __c9, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
305
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
306
|
+
serviceErrors: StackitServiceErrors,
|
|
270
307
|
protocol: StackitProtocol,
|
|
271
308
|
retry: Retry.Retry,
|
|
272
309
|
telemetry: TELEMETRY,
|
|
@@ -281,9 +318,10 @@ export const createInstanceToken: API.OperationMethod<
|
|
|
281
318
|
CreateInstanceTokenError,
|
|
282
319
|
StackitOpContext
|
|
283
320
|
> = /*@__PURE__*/ API.make(() => ({
|
|
284
|
-
input: __S(
|
|
285
|
-
output: __S(
|
|
286
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
321
|
+
input: __S(40, __c10, 0) as any as S.Schema<CreateInstanceTokenRequest>,
|
|
322
|
+
output: __S(42, __c10, 2) as any as S.Schema<CreateInstanceTokenResponse>,
|
|
323
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
324
|
+
serviceErrors: StackitServiceErrors,
|
|
287
325
|
protocol: StackitProtocol,
|
|
288
326
|
retry: Retry.Retry,
|
|
289
327
|
telemetry: TELEMETRY,
|
|
@@ -298,9 +336,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
298
336
|
DeleteInstanceError,
|
|
299
337
|
StackitOpContext
|
|
300
338
|
> = /*@__PURE__*/ API.make(() => ({
|
|
301
|
-
input: __S(
|
|
302
|
-
output: __S(
|
|
303
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
339
|
+
input: __S(44, __c11, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
340
|
+
output: __S(36, __c9, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
341
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
342
|
+
serviceErrors: StackitServiceErrors,
|
|
304
343
|
protocol: StackitProtocol,
|
|
305
344
|
retry: Retry.Retry,
|
|
306
345
|
telemetry: TELEMETRY,
|
|
@@ -320,9 +359,10 @@ export const deleteInstanceToken: API.OperationMethod<
|
|
|
320
359
|
DeleteInstanceTokenError,
|
|
321
360
|
StackitOpContext
|
|
322
361
|
> = /*@__PURE__*/ API.make(() => ({
|
|
323
|
-
input: __S(
|
|
324
|
-
output: __S(
|
|
325
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
362
|
+
input: __S(48, __c12, 0) as any as S.Schema<DeleteInstanceTokenRequest>,
|
|
363
|
+
output: __S(56, __c14, 0) as any as S.Schema<DeleteInstanceTokenResponse>,
|
|
364
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
365
|
+
serviceErrors: StackitServiceErrors,
|
|
326
366
|
protocol: StackitProtocol,
|
|
327
367
|
retry: Retry.Retry,
|
|
328
368
|
telemetry: TELEMETRY,
|
|
@@ -337,9 +377,10 @@ export const getInstance: API.OperationMethod<
|
|
|
337
377
|
GetInstanceError,
|
|
338
378
|
StackitOpContext
|
|
339
379
|
> = /*@__PURE__*/ API.make(() => ({
|
|
340
|
-
input: __S(
|
|
341
|
-
output: __S(
|
|
342
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
380
|
+
input: __S(60, __c15, 0) as any as S.Schema<GetInstanceRequest>,
|
|
381
|
+
output: __S(36, __c9, 0) as any as S.Schema<GetInstanceResponse>,
|
|
382
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
383
|
+
serviceErrors: StackitServiceErrors,
|
|
343
384
|
protocol: StackitProtocol,
|
|
344
385
|
retry: Retry.Retry,
|
|
345
386
|
telemetry: TELEMETRY,
|
|
@@ -354,9 +395,10 @@ export const getInstanceToken: API.OperationMethod<
|
|
|
354
395
|
GetInstanceTokenError,
|
|
355
396
|
StackitOpContext
|
|
356
397
|
> = /*@__PURE__*/ API.make(() => ({
|
|
357
|
-
input: __S(
|
|
358
|
-
output: __S(
|
|
359
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
398
|
+
input: __S(64, __c16, 0) as any as S.Schema<GetInstanceTokenRequest>,
|
|
399
|
+
output: __S(56, __c14, 0) as any as S.Schema<GetInstanceTokenResponse>,
|
|
400
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
401
|
+
serviceErrors: StackitServiceErrors,
|
|
360
402
|
protocol: StackitProtocol,
|
|
361
403
|
retry: Retry.Retry,
|
|
362
404
|
telemetry: TELEMETRY,
|
|
@@ -371,9 +413,10 @@ export const listInstances: API.OperationMethod<
|
|
|
371
413
|
ListInstancesError,
|
|
372
414
|
StackitOpContext
|
|
373
415
|
> = /*@__PURE__*/ API.make(() => ({
|
|
374
|
-
input: __S(
|
|
375
|
-
output: __S(
|
|
376
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
416
|
+
input: __S(4, __c1, 0) as any as S.Schema<ListInstancesRequest>,
|
|
417
|
+
output: __S(6, __c1, 2) as any as S.Schema<ListInstancesResponse>,
|
|
418
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
419
|
+
serviceErrors: StackitServiceErrors,
|
|
377
420
|
protocol: StackitProtocol,
|
|
378
421
|
retry: Retry.Retry,
|
|
379
422
|
telemetry: TELEMETRY,
|
|
@@ -388,9 +431,10 @@ export const listInstanceTokens: API.OperationMethod<
|
|
|
388
431
|
ListInstanceTokensError,
|
|
389
432
|
StackitOpContext
|
|
390
433
|
> = /*@__PURE__*/ API.make(() => ({
|
|
391
|
-
input: __S(
|
|
392
|
-
output: __S(
|
|
393
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
434
|
+
input: __S(8, __c2, 0) as any as S.Schema<ListInstanceTokensRequest>,
|
|
435
|
+
output: __S(10, __c2, 2) as any as S.Schema<ListInstanceTokensResponse>,
|
|
436
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
437
|
+
serviceErrors: StackitServiceErrors,
|
|
394
438
|
protocol: StackitProtocol,
|
|
395
439
|
retry: Retry.Retry,
|
|
396
440
|
telemetry: TELEMETRY,
|
|
@@ -410,9 +454,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
410
454
|
PartialUpdateInstanceError,
|
|
411
455
|
StackitOpContext
|
|
412
456
|
> = /*@__PURE__*/ API.make(() => ({
|
|
413
|
-
input: __S(
|
|
414
|
-
output: __S(
|
|
415
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
457
|
+
input: __S(12, __c3, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
458
|
+
output: __S(36, __c9, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
459
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
460
|
+
serviceErrors: StackitServiceErrors,
|
|
416
461
|
protocol: StackitProtocol,
|
|
417
462
|
retry: Retry.Retry,
|
|
418
463
|
telemetry: TELEMETRY,
|
|
@@ -432,9 +477,10 @@ export const partialUpdateInstanceToken: API.OperationMethod<
|
|
|
432
477
|
PartialUpdateInstanceTokenError,
|
|
433
478
|
StackitOpContext
|
|
434
479
|
> = /*@__PURE__*/ API.make(() => ({
|
|
435
|
-
input: __S(
|
|
436
|
-
output: __S(
|
|
437
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
480
|
+
input: __S(20, __c5, 0) as any as S.Schema<PartialUpdateInstanceTokenRequest>,
|
|
481
|
+
output: __S(56, __c14, 0) as any as S.Schema<PartialUpdateInstanceTokenResponse>,
|
|
482
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
483
|
+
serviceErrors: StackitServiceErrors,
|
|
438
484
|
protocol: StackitProtocol,
|
|
439
485
|
retry: Retry.Retry,
|
|
440
486
|
telemetry: TELEMETRY,
|
|
@@ -443,6 +489,18 @@ export const partialUpdateInstanceToken: API.OperationMethod<
|
|
|
443
489
|
|
|
444
490
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
445
491
|
function __c0(j: number): any {
|
|
492
|
+
switch (j) {
|
|
493
|
+
case 0:
|
|
494
|
+
return S.suspend(() =>
|
|
495
|
+
S.Struct({
|
|
496
|
+
code: S.Number,
|
|
497
|
+
message: S.String,
|
|
498
|
+
status: S.optional(S.String),
|
|
499
|
+
}),
|
|
500
|
+
).annotate({ identifier: "ErrorResponse" });
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
function __c1(j: number): any {
|
|
446
504
|
switch (j) {
|
|
447
505
|
case 0:
|
|
448
506
|
return S.suspend(() =>
|
|
@@ -459,17 +517,17 @@ function __c0(j: number): any {
|
|
|
459
517
|
),
|
|
460
518
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
461
519
|
case 1:
|
|
462
|
-
return S.Array(__S(
|
|
520
|
+
return S.Array(__S(32, __c8, 0));
|
|
463
521
|
case 2:
|
|
464
522
|
return S.suspend(() =>
|
|
465
523
|
S.Struct({
|
|
466
|
-
instances: __S(
|
|
524
|
+
instances: __S(5, __c1, 1),
|
|
467
525
|
message: S.optional(S.String),
|
|
468
526
|
}),
|
|
469
527
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
470
528
|
}
|
|
471
529
|
}
|
|
472
|
-
function
|
|
530
|
+
function __c2(j: number): any {
|
|
473
531
|
switch (j) {
|
|
474
532
|
case 0:
|
|
475
533
|
return S.suspend(() =>
|
|
@@ -487,17 +545,17 @@ function __c1(j: number): any {
|
|
|
487
545
|
),
|
|
488
546
|
).annotate({ identifier: "ListInstanceTokensRequest" });
|
|
489
547
|
case 1:
|
|
490
|
-
return S.Array(__S(
|
|
548
|
+
return S.Array(__S(52, __c13, 0));
|
|
491
549
|
case 2:
|
|
492
550
|
return S.suspend(() =>
|
|
493
551
|
S.Struct({
|
|
494
552
|
message: S.optional(S.String),
|
|
495
|
-
tokens: __S(
|
|
553
|
+
tokens: __S(9, __c2, 1),
|
|
496
554
|
}),
|
|
497
555
|
).annotate({ identifier: "ListInstanceTokensResponse" });
|
|
498
556
|
}
|
|
499
557
|
}
|
|
500
|
-
function
|
|
558
|
+
function __c3(j: number): any {
|
|
501
559
|
switch (j) {
|
|
502
560
|
case 0:
|
|
503
561
|
return S.suspend(() =>
|
|
@@ -507,7 +565,7 @@ function __c2(j: number): any {
|
|
|
507
565
|
instanceId: S.String.pipe(T.Label()),
|
|
508
566
|
deletedExperimentRetention: S.optional(S.String),
|
|
509
567
|
description: S.optional(S.String),
|
|
510
|
-
labels: S.optional(__S(
|
|
568
|
+
labels: S.optional(__S(16, __c4, 0)),
|
|
511
569
|
name: S.optional(S.String),
|
|
512
570
|
}).pipe(
|
|
513
571
|
T.Http({
|
|
@@ -520,13 +578,13 @@ function __c2(j: number): any {
|
|
|
520
578
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
521
579
|
}
|
|
522
580
|
}
|
|
523
|
-
function
|
|
581
|
+
function __c4(j: number): any {
|
|
524
582
|
switch (j) {
|
|
525
583
|
case 0:
|
|
526
584
|
return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
|
|
527
585
|
}
|
|
528
586
|
}
|
|
529
|
-
function
|
|
587
|
+
function __c5(j: number): any {
|
|
530
588
|
switch (j) {
|
|
531
589
|
case 0:
|
|
532
590
|
return S.suspend(() =>
|
|
@@ -536,7 +594,7 @@ function __c4(j: number): any {
|
|
|
536
594
|
instanceId: S.String.pipe(T.Label()),
|
|
537
595
|
tokenId: S.String.pipe(T.Label()),
|
|
538
596
|
description: S.optional(S.String),
|
|
539
|
-
labels: S.optional(__S(
|
|
597
|
+
labels: S.optional(__S(16, __c4, 0)),
|
|
540
598
|
name: S.optional(S.String),
|
|
541
599
|
}).pipe(
|
|
542
600
|
T.Http({
|
|
@@ -549,7 +607,7 @@ function __c4(j: number): any {
|
|
|
549
607
|
).annotate({ identifier: "PartialUpdateInstanceTokenRequest" });
|
|
550
608
|
}
|
|
551
609
|
}
|
|
552
|
-
function
|
|
610
|
+
function __c6(j: number): any {
|
|
553
611
|
switch (j) {
|
|
554
612
|
case 0:
|
|
555
613
|
return S.suspend(() =>
|
|
@@ -558,7 +616,7 @@ function __c5(j: number): any {
|
|
|
558
616
|
regionId: S.String.pipe(T.Label()),
|
|
559
617
|
deletedExperimentRetention: S.optional(S.String),
|
|
560
618
|
description: S.optional(S.String),
|
|
561
|
-
labels: S.optional(__S(
|
|
619
|
+
labels: S.optional(__S(28, __c7, 0)),
|
|
562
620
|
name: S.String,
|
|
563
621
|
}).pipe(
|
|
564
622
|
T.Http({
|
|
@@ -571,13 +629,13 @@ function __c5(j: number): any {
|
|
|
571
629
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
572
630
|
}
|
|
573
631
|
}
|
|
574
|
-
function
|
|
632
|
+
function __c7(j: number): any {
|
|
575
633
|
switch (j) {
|
|
576
634
|
case 0:
|
|
577
635
|
return S.Record(S.String, S.String);
|
|
578
636
|
}
|
|
579
637
|
}
|
|
580
|
-
function
|
|
638
|
+
function __c8(j: number): any {
|
|
581
639
|
switch (j) {
|
|
582
640
|
case 0:
|
|
583
641
|
return S.suspend(() =>
|
|
@@ -587,7 +645,7 @@ function __c7(j: number): any {
|
|
|
587
645
|
description: S.optional(S.String),
|
|
588
646
|
errorMessage: S.optional(S.String),
|
|
589
647
|
id: S.String,
|
|
590
|
-
labels: S.optional(__S(
|
|
648
|
+
labels: S.optional(__S(28, __c7, 0)),
|
|
591
649
|
name: S.String,
|
|
592
650
|
region: S.optional(S.String),
|
|
593
651
|
state: S.String,
|
|
@@ -596,18 +654,18 @@ function __c7(j: number): any {
|
|
|
596
654
|
).annotate({ identifier: "Instance" });
|
|
597
655
|
}
|
|
598
656
|
}
|
|
599
|
-
function
|
|
657
|
+
function __c9(j: number): any {
|
|
600
658
|
switch (j) {
|
|
601
659
|
case 0:
|
|
602
660
|
return S.suspend(() =>
|
|
603
661
|
S.Struct({
|
|
604
|
-
instance: __S(
|
|
662
|
+
instance: __S(32, __c8, 0),
|
|
605
663
|
message: S.optional(S.String),
|
|
606
664
|
}),
|
|
607
665
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
608
666
|
}
|
|
609
667
|
}
|
|
610
|
-
function
|
|
668
|
+
function __c10(j: number): any {
|
|
611
669
|
switch (j) {
|
|
612
670
|
case 0:
|
|
613
671
|
return S.suspend(() =>
|
|
@@ -616,7 +674,7 @@ function __c9(j: number): any {
|
|
|
616
674
|
regionId: S.String.pipe(T.Label()),
|
|
617
675
|
instanceId: S.String.pipe(T.Label()),
|
|
618
676
|
description: S.optional(S.String),
|
|
619
|
-
labels: S.optional(__S(
|
|
677
|
+
labels: S.optional(__S(28, __c7, 0)),
|
|
620
678
|
name: S.String,
|
|
621
679
|
ttlDuration: S.optional(S.String),
|
|
622
680
|
}).pipe(
|
|
@@ -634,7 +692,7 @@ function __c9(j: number): any {
|
|
|
634
692
|
content: S.String,
|
|
635
693
|
description: S.optional(S.String),
|
|
636
694
|
id: S.String,
|
|
637
|
-
labels: S.optional(__S(
|
|
695
|
+
labels: S.optional(__S(28, __c7, 0)),
|
|
638
696
|
name: S.String,
|
|
639
697
|
region: S.String,
|
|
640
698
|
state: S.String,
|
|
@@ -645,12 +703,12 @@ function __c9(j: number): any {
|
|
|
645
703
|
return S.suspend(() =>
|
|
646
704
|
S.Struct({
|
|
647
705
|
message: S.optional(S.String),
|
|
648
|
-
token: __S(
|
|
706
|
+
token: __S(41, __c10, 1),
|
|
649
707
|
}),
|
|
650
708
|
).annotate({ identifier: "CreateInstanceTokenResponse" });
|
|
651
709
|
}
|
|
652
710
|
}
|
|
653
|
-
function
|
|
711
|
+
function __c11(j: number): any {
|
|
654
712
|
switch (j) {
|
|
655
713
|
case 0:
|
|
656
714
|
return S.suspend(() =>
|
|
@@ -669,7 +727,7 @@ function __c10(j: number): any {
|
|
|
669
727
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
670
728
|
}
|
|
671
729
|
}
|
|
672
|
-
function
|
|
730
|
+
function __c12(j: number): any {
|
|
673
731
|
switch (j) {
|
|
674
732
|
case 0:
|
|
675
733
|
return S.suspend(() =>
|
|
@@ -689,14 +747,14 @@ function __c11(j: number): any {
|
|
|
689
747
|
).annotate({ identifier: "DeleteInstanceTokenRequest" });
|
|
690
748
|
}
|
|
691
749
|
}
|
|
692
|
-
function
|
|
750
|
+
function __c13(j: number): any {
|
|
693
751
|
switch (j) {
|
|
694
752
|
case 0:
|
|
695
753
|
return S.suspend(() =>
|
|
696
754
|
S.Struct({
|
|
697
755
|
description: S.optional(S.String),
|
|
698
756
|
id: S.String,
|
|
699
|
-
labels: S.optional(__S(
|
|
757
|
+
labels: S.optional(__S(28, __c7, 0)),
|
|
700
758
|
name: S.String,
|
|
701
759
|
region: S.String,
|
|
702
760
|
state: S.String,
|
|
@@ -705,18 +763,18 @@ function __c12(j: number): any {
|
|
|
705
763
|
).annotate({ identifier: "TokenMetadata" });
|
|
706
764
|
}
|
|
707
765
|
}
|
|
708
|
-
function
|
|
766
|
+
function __c14(j: number): any {
|
|
709
767
|
switch (j) {
|
|
710
768
|
case 0:
|
|
711
769
|
return S.suspend(() =>
|
|
712
770
|
S.Struct({
|
|
713
771
|
message: S.optional(S.String),
|
|
714
|
-
token: __S(
|
|
772
|
+
token: __S(52, __c13, 0),
|
|
715
773
|
}),
|
|
716
774
|
).annotate({ identifier: "DeleteInstanceTokenResponse" });
|
|
717
775
|
}
|
|
718
776
|
}
|
|
719
|
-
function
|
|
777
|
+
function __c15(j: number): any {
|
|
720
778
|
switch (j) {
|
|
721
779
|
case 0:
|
|
722
780
|
return S.suspend(() =>
|
|
@@ -735,7 +793,7 @@ function __c14(j: number): any {
|
|
|
735
793
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
736
794
|
}
|
|
737
795
|
}
|
|
738
|
-
function
|
|
796
|
+
function __c16(j: number): any {
|
|
739
797
|
switch (j) {
|
|
740
798
|
case 0:
|
|
741
799
|
return S.suspend(() =>
|