@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,8 @@ 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 type * as Redacted from "effect/Redacted";
|
|
7
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
8
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
9
|
import * as Retry from "../retry.ts";
|
|
9
10
|
import * as T from "../traits.ts";
|
|
@@ -30,15 +31,24 @@ export class BadRequest
|
|
|
30
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
32
|
code: S.Number,
|
|
32
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)),
|
|
33
38
|
}).pipe(C.withBadRequestError),
|
|
34
39
|
[{ status: 400 }],
|
|
35
|
-
)
|
|
40
|
+
)
|
|
41
|
+
{
|
|
42
|
+
declare readonly body?: BadRequest2 | string;
|
|
43
|
+
}
|
|
36
44
|
|
|
37
45
|
export class Conflict
|
|
38
46
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
39
47
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
40
48
|
code: S.Number,
|
|
41
49
|
message: S.String,
|
|
50
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
51
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
52
|
}).pipe(C.withConflictError),
|
|
43
53
|
[{ status: 409 }],
|
|
44
54
|
) {}
|
|
@@ -48,6 +58,8 @@ export class NotFound
|
|
|
48
58
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
49
59
|
code: S.Number,
|
|
50
60
|
message: S.String,
|
|
61
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
62
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
63
|
}).pipe(C.withBadRequestError),
|
|
52
64
|
[{ status: 404 }],
|
|
53
65
|
) {}
|
|
@@ -170,7 +182,7 @@ export interface GetTokenByInstanceIdRequest {
|
|
|
170
182
|
expirationSeconds?: number | undefined;
|
|
171
183
|
}
|
|
172
184
|
export interface Token {
|
|
173
|
-
token: string
|
|
185
|
+
token: string | Redacted.Redacted<string>;
|
|
174
186
|
}
|
|
175
187
|
export interface GetTokenByInstanceNameRequest {
|
|
176
188
|
/** The STACKIT portal project UUID the instance is part of. */
|
|
@@ -249,6 +261,10 @@ export interface UpdateInstanceByNameRequest {
|
|
|
249
261
|
planId?: string | undefined;
|
|
250
262
|
}
|
|
251
263
|
export interface UpdateInstanceByNameResponse {}
|
|
264
|
+
export interface BadRequest2 {
|
|
265
|
+
code?: string | undefined;
|
|
266
|
+
message?: string | undefined;
|
|
267
|
+
}
|
|
252
268
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
253
269
|
/** Creates a new instance within the project. */
|
|
254
270
|
export const createInstance: API.OperationMethod<
|
|
@@ -257,9 +273,10 @@ export const createInstance: API.OperationMethod<
|
|
|
257
273
|
CreateInstanceError,
|
|
258
274
|
StackitOpContext
|
|
259
275
|
> = /*@__PURE__*/ API.make(() => ({
|
|
260
|
-
input: __S(
|
|
261
|
-
output: __S(
|
|
262
|
-
errors: [BadRequest, Conflict
|
|
276
|
+
input: __S(36, __c9, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
277
|
+
output: __S(43, __c10, 3) as any as S.Schema<Instance>,
|
|
278
|
+
errors: [BadRequest, Conflict],
|
|
279
|
+
serviceErrors: StackitServiceErrors,
|
|
263
280
|
protocol: StackitProtocol,
|
|
264
281
|
retry: Retry.Retry,
|
|
265
282
|
telemetry: TELEMETRY,
|
|
@@ -274,9 +291,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
274
291
|
DeleteInstanceError,
|
|
275
292
|
StackitOpContext
|
|
276
293
|
> = /*@__PURE__*/ API.make(() => ({
|
|
277
|
-
input: __S(
|
|
278
|
-
output: __S(
|
|
279
|
-
errors: [BadRequest, NotFound, Conflict
|
|
294
|
+
input: __S(44, __c11, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
295
|
+
output: __S(48, __c12, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
296
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
297
|
+
serviceErrors: StackitServiceErrors,
|
|
280
298
|
protocol: StackitProtocol,
|
|
281
299
|
retry: Retry.Retry,
|
|
282
300
|
telemetry: TELEMETRY,
|
|
@@ -291,9 +309,10 @@ export const deleteInstanceByName: API.OperationMethod<
|
|
|
291
309
|
DeleteInstanceByNameError,
|
|
292
310
|
StackitOpContext
|
|
293
311
|
> = /*@__PURE__*/ API.make(() => ({
|
|
294
|
-
input: __S(
|
|
295
|
-
output: __S(
|
|
296
|
-
errors: [BadRequest, NotFound, Conflict
|
|
312
|
+
input: __S(52, __c13, 0) as any as S.Schema<DeleteInstanceByNameRequest>,
|
|
313
|
+
output: __S(48, __c12, 0) as any as S.Schema<DeleteInstanceByNameResponse>,
|
|
314
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
315
|
+
serviceErrors: StackitServiceErrors,
|
|
297
316
|
protocol: StackitProtocol,
|
|
298
317
|
retry: Retry.Retry,
|
|
299
318
|
telemetry: TELEMETRY,
|
|
@@ -308,9 +327,10 @@ export const getInstance: API.OperationMethod<
|
|
|
308
327
|
GetInstanceError,
|
|
309
328
|
StackitOpContext
|
|
310
329
|
> = /*@__PURE__*/ API.make(() => ({
|
|
311
|
-
input: __S(
|
|
312
|
-
output: __S(
|
|
313
|
-
errors: [BadRequest, NotFound
|
|
330
|
+
input: __S(56, __c14, 0) as any as S.Schema<GetInstanceRequest>,
|
|
331
|
+
output: __S(43, __c10, 3) as any as S.Schema<Instance>,
|
|
332
|
+
errors: [BadRequest, NotFound],
|
|
333
|
+
serviceErrors: StackitServiceErrors,
|
|
314
334
|
protocol: StackitProtocol,
|
|
315
335
|
retry: Retry.Retry,
|
|
316
336
|
telemetry: TELEMETRY,
|
|
@@ -325,9 +345,10 @@ export const getInstanceByName: API.OperationMethod<
|
|
|
325
345
|
GetInstanceByNameError,
|
|
326
346
|
StackitOpContext
|
|
327
347
|
> = /*@__PURE__*/ API.make(() => ({
|
|
328
|
-
input: __S(
|
|
329
|
-
output: __S(
|
|
330
|
-
errors: [BadRequest, NotFound
|
|
348
|
+
input: __S(60, __c15, 0) as any as S.Schema<GetInstanceByNameRequest>,
|
|
349
|
+
output: __S(43, __c10, 3) as any as S.Schema<Instance>,
|
|
350
|
+
errors: [BadRequest, NotFound],
|
|
351
|
+
serviceErrors: StackitServiceErrors,
|
|
331
352
|
protocol: StackitProtocol,
|
|
332
353
|
retry: Retry.Retry,
|
|
333
354
|
telemetry: TELEMETRY,
|
|
@@ -342,9 +363,10 @@ export const getKubeconfigByInstanceId: API.OperationMethod<
|
|
|
342
363
|
GetKubeconfigByInstanceIdError,
|
|
343
364
|
StackitOpContext
|
|
344
365
|
> = /*@__PURE__*/ API.make(() => ({
|
|
345
|
-
input: __S(
|
|
346
|
-
output: __S(
|
|
347
|
-
errors: [BadRequest, NotFound
|
|
366
|
+
input: __S(64, __c16, 0) as any as S.Schema<GetKubeconfigByInstanceIdRequest>,
|
|
367
|
+
output: __S(69, __c17, 1) as any as S.Schema<Kubeconfig>,
|
|
368
|
+
errors: [BadRequest, NotFound],
|
|
369
|
+
serviceErrors: StackitServiceErrors,
|
|
348
370
|
protocol: StackitProtocol,
|
|
349
371
|
retry: Retry.Retry,
|
|
350
372
|
telemetry: TELEMETRY,
|
|
@@ -359,9 +381,10 @@ export const getKubeconfigByInstanceName: API.OperationMethod<
|
|
|
359
381
|
GetKubeconfigByInstanceNameError,
|
|
360
382
|
StackitOpContext
|
|
361
383
|
> = /*@__PURE__*/ API.make(() => ({
|
|
362
|
-
input: __S(
|
|
363
|
-
output: __S(
|
|
364
|
-
errors: [BadRequest, NotFound
|
|
384
|
+
input: __S(72, __c18, 0) as any as S.Schema<GetKubeconfigByInstanceNameRequest>,
|
|
385
|
+
output: __S(69, __c17, 1) as any as S.Schema<Kubeconfig>,
|
|
386
|
+
errors: [BadRequest, NotFound],
|
|
387
|
+
serviceErrors: StackitServiceErrors,
|
|
365
388
|
protocol: StackitProtocol,
|
|
366
389
|
retry: Retry.Retry,
|
|
367
390
|
telemetry: TELEMETRY,
|
|
@@ -376,9 +399,10 @@ export const getTokenByInstanceId: API.OperationMethod<
|
|
|
376
399
|
GetTokenByInstanceIdError,
|
|
377
400
|
StackitOpContext
|
|
378
401
|
> = /*@__PURE__*/ API.make(() => ({
|
|
379
|
-
input: __S(
|
|
380
|
-
output: __S(
|
|
381
|
-
errors: [BadRequest, NotFound
|
|
402
|
+
input: __S(4, __c1, 0) as any as S.Schema<GetTokenByInstanceIdRequest>,
|
|
403
|
+
output: __S(8, __c2, 0) as any as S.Schema<Token>,
|
|
404
|
+
errors: [BadRequest, NotFound],
|
|
405
|
+
serviceErrors: StackitServiceErrors,
|
|
382
406
|
protocol: StackitProtocol,
|
|
383
407
|
retry: Retry.Retry,
|
|
384
408
|
telemetry: TELEMETRY,
|
|
@@ -393,9 +417,10 @@ export const getTokenByInstanceName: API.OperationMethod<
|
|
|
393
417
|
GetTokenByInstanceNameError,
|
|
394
418
|
StackitOpContext
|
|
395
419
|
> = /*@__PURE__*/ API.make(() => ({
|
|
396
|
-
input: __S(
|
|
397
|
-
output: __S(
|
|
398
|
-
errors: [BadRequest, NotFound
|
|
420
|
+
input: __S(12, __c3, 0) as any as S.Schema<GetTokenByInstanceNameRequest>,
|
|
421
|
+
output: __S(8, __c2, 0) as any as S.Schema<Token>,
|
|
422
|
+
errors: [BadRequest, NotFound],
|
|
423
|
+
serviceErrors: StackitServiceErrors,
|
|
399
424
|
protocol: StackitProtocol,
|
|
400
425
|
retry: Retry.Retry,
|
|
401
426
|
telemetry: TELEMETRY,
|
|
@@ -409,9 +434,10 @@ export const listCompatibleKubernetesReleases: API.OperationMethod<
|
|
|
409
434
|
ListCompatibleKubernetesReleasesError,
|
|
410
435
|
StackitOpContext
|
|
411
436
|
> = /*@__PURE__*/ API.make(() => ({
|
|
412
|
-
input: __S(
|
|
413
|
-
output: __S(
|
|
414
|
-
errors: [BadRequest, NotFound
|
|
437
|
+
input: __S(16, __c4, 0) as any as S.Schema<ListCompatibleKubernetesReleasesRequest>,
|
|
438
|
+
output: __S(18, __c4, 2) as any as S.Schema<KubernetesReleaseList>,
|
|
439
|
+
errors: [BadRequest, NotFound],
|
|
440
|
+
serviceErrors: StackitServiceErrors,
|
|
415
441
|
protocol: StackitProtocol,
|
|
416
442
|
retry: Retry.Retry,
|
|
417
443
|
telemetry: TELEMETRY,
|
|
@@ -426,9 +452,10 @@ export const listInstances: API.OperationMethod<
|
|
|
426
452
|
ListInstancesError,
|
|
427
453
|
StackitOpContext
|
|
428
454
|
> = /*@__PURE__*/ API.make(() => ({
|
|
429
|
-
input: __S(
|
|
430
|
-
output: __S(
|
|
431
|
-
errors: [BadRequest
|
|
455
|
+
input: __S(20, __c5, 0) as any as S.Schema<ListInstancesRequest>,
|
|
456
|
+
output: __S(22, __c5, 2) as any as S.Schema<InstanceList>,
|
|
457
|
+
errors: [BadRequest],
|
|
458
|
+
serviceErrors: StackitServiceErrors,
|
|
432
459
|
protocol: StackitProtocol,
|
|
433
460
|
retry: Retry.Retry,
|
|
434
461
|
telemetry: TELEMETRY,
|
|
@@ -443,9 +470,10 @@ export const listPlansProject: API.OperationMethod<
|
|
|
443
470
|
ListPlansProjectError,
|
|
444
471
|
StackitOpContext
|
|
445
472
|
> = /*@__PURE__*/ API.make(() => ({
|
|
446
|
-
input: __S(
|
|
447
|
-
output: __S(
|
|
448
|
-
errors: [BadRequest
|
|
473
|
+
input: __S(24, __c6, 0) as any as S.Schema<ListPlansProjectRequest>,
|
|
474
|
+
output: __S(27, __c6, 3) as any as S.Schema<PlanList>,
|
|
475
|
+
errors: [BadRequest],
|
|
476
|
+
serviceErrors: StackitServiceErrors,
|
|
449
477
|
protocol: StackitProtocol,
|
|
450
478
|
retry: Retry.Retry,
|
|
451
479
|
telemetry: TELEMETRY,
|
|
@@ -460,9 +488,10 @@ export const updateInstance: API.OperationMethod<
|
|
|
460
488
|
UpdateInstanceError,
|
|
461
489
|
StackitOpContext
|
|
462
490
|
> = /*@__PURE__*/ API.make(() => ({
|
|
463
|
-
input: __S(
|
|
464
|
-
output: __S(
|
|
465
|
-
errors: [BadRequest, NotFound, Conflict
|
|
491
|
+
input: __S(28, __c7, 0) as any as S.Schema<UpdateInstanceRequest>,
|
|
492
|
+
output: __S(48, __c12, 0) as any as S.Schema<UpdateInstanceResponse>,
|
|
493
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
494
|
+
serviceErrors: StackitServiceErrors,
|
|
466
495
|
protocol: StackitProtocol,
|
|
467
496
|
retry: Retry.Retry,
|
|
468
497
|
telemetry: TELEMETRY,
|
|
@@ -477,9 +506,10 @@ export const updateInstanceByName: API.OperationMethod<
|
|
|
477
506
|
UpdateInstanceByNameError,
|
|
478
507
|
StackitOpContext
|
|
479
508
|
> = /*@__PURE__*/ API.make(() => ({
|
|
480
|
-
input: __S(
|
|
481
|
-
output: __S(
|
|
482
|
-
errors: [BadRequest, NotFound, Conflict
|
|
509
|
+
input: __S(32, __c8, 0) as any as S.Schema<UpdateInstanceByNameRequest>,
|
|
510
|
+
output: __S(48, __c12, 0) as any as S.Schema<UpdateInstanceByNameResponse>,
|
|
511
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
512
|
+
serviceErrors: StackitServiceErrors,
|
|
483
513
|
protocol: StackitProtocol,
|
|
484
514
|
retry: Retry.Retry,
|
|
485
515
|
telemetry: TELEMETRY,
|
|
@@ -488,6 +518,17 @@ export const updateInstanceByName: API.OperationMethod<
|
|
|
488
518
|
|
|
489
519
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
490
520
|
function __c0(j: number): any {
|
|
521
|
+
switch (j) {
|
|
522
|
+
case 0:
|
|
523
|
+
return S.suspend(() =>
|
|
524
|
+
S.Struct({
|
|
525
|
+
code: S.optional(S.String),
|
|
526
|
+
message: S.optional(S.String),
|
|
527
|
+
}),
|
|
528
|
+
).annotate({ identifier: "BadRequest2" });
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
function __c1(j: number): any {
|
|
491
532
|
switch (j) {
|
|
492
533
|
case 0:
|
|
493
534
|
return S.suspend(() =>
|
|
@@ -507,17 +548,17 @@ function __c0(j: number): any {
|
|
|
507
548
|
).annotate({ identifier: "GetTokenByInstanceIdRequest" });
|
|
508
549
|
}
|
|
509
550
|
}
|
|
510
|
-
function
|
|
551
|
+
function __c2(j: number): any {
|
|
511
552
|
switch (j) {
|
|
512
553
|
case 0:
|
|
513
554
|
return S.suspend(() =>
|
|
514
555
|
S.Struct({
|
|
515
|
-
token: S.String,
|
|
556
|
+
token: S.String.pipe(T.SensitiveValue({})),
|
|
516
557
|
}),
|
|
517
558
|
).annotate({ identifier: "Token" });
|
|
518
559
|
}
|
|
519
560
|
}
|
|
520
|
-
function
|
|
561
|
+
function __c3(j: number): any {
|
|
521
562
|
switch (j) {
|
|
522
563
|
case 0:
|
|
523
564
|
return S.suspend(() =>
|
|
@@ -537,7 +578,7 @@ function __c2(j: number): any {
|
|
|
537
578
|
).annotate({ identifier: "GetTokenByInstanceNameRequest" });
|
|
538
579
|
}
|
|
539
580
|
}
|
|
540
|
-
function
|
|
581
|
+
function __c4(j: number): any {
|
|
541
582
|
switch (j) {
|
|
542
583
|
case 0:
|
|
543
584
|
return S.suspend(() =>
|
|
@@ -557,12 +598,12 @@ function __c3(j: number): any {
|
|
|
557
598
|
case 2:
|
|
558
599
|
return S.suspend(() =>
|
|
559
600
|
S.Struct({
|
|
560
|
-
k8s_releases: __S(
|
|
601
|
+
k8s_releases: __S(17, __c4, 1),
|
|
561
602
|
}),
|
|
562
603
|
).annotate({ identifier: "KubernetesReleaseList" });
|
|
563
604
|
}
|
|
564
605
|
}
|
|
565
|
-
function
|
|
606
|
+
function __c5(j: number): any {
|
|
566
607
|
switch (j) {
|
|
567
608
|
case 0:
|
|
568
609
|
return S.suspend(() =>
|
|
@@ -579,16 +620,16 @@ function __c4(j: number): any {
|
|
|
579
620
|
),
|
|
580
621
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
581
622
|
case 1:
|
|
582
|
-
return S.Array(__S(
|
|
623
|
+
return S.Array(__S(43, __c10, 3));
|
|
583
624
|
case 2:
|
|
584
625
|
return S.suspend(() =>
|
|
585
626
|
S.Struct({
|
|
586
|
-
instances: __S(
|
|
627
|
+
instances: __S(21, __c5, 1),
|
|
587
628
|
}),
|
|
588
629
|
).annotate({ identifier: "InstanceList" });
|
|
589
630
|
}
|
|
590
631
|
}
|
|
591
|
-
function
|
|
632
|
+
function __c6(j: number): any {
|
|
592
633
|
switch (j) {
|
|
593
634
|
case 0:
|
|
594
635
|
return S.suspend(() =>
|
|
@@ -614,16 +655,16 @@ function __c5(j: number): any {
|
|
|
614
655
|
}),
|
|
615
656
|
).annotate({ identifier: "Plan" });
|
|
616
657
|
case 2:
|
|
617
|
-
return S.Array(__S(
|
|
658
|
+
return S.Array(__S(25, __c6, 1));
|
|
618
659
|
case 3:
|
|
619
660
|
return S.suspend(() =>
|
|
620
661
|
S.Struct({
|
|
621
|
-
validPlans: S.optional(__S(
|
|
662
|
+
validPlans: S.optional(__S(26, __c6, 2)),
|
|
622
663
|
}),
|
|
623
664
|
).annotate({ identifier: "PlanList" });
|
|
624
665
|
}
|
|
625
666
|
}
|
|
626
|
-
function
|
|
667
|
+
function __c7(j: number): any {
|
|
627
668
|
switch (j) {
|
|
628
669
|
case 0:
|
|
629
670
|
return S.suspend(() =>
|
|
@@ -644,7 +685,7 @@ function __c6(j: number): any {
|
|
|
644
685
|
).annotate({ identifier: "UpdateInstanceRequest" });
|
|
645
686
|
}
|
|
646
687
|
}
|
|
647
|
-
function
|
|
688
|
+
function __c8(j: number): any {
|
|
648
689
|
switch (j) {
|
|
649
690
|
case 0:
|
|
650
691
|
return S.suspend(() =>
|
|
@@ -665,7 +706,7 @@ function __c7(j: number): any {
|
|
|
665
706
|
).annotate({ identifier: "UpdateInstanceByNameRequest" });
|
|
666
707
|
}
|
|
667
708
|
}
|
|
668
|
-
function
|
|
709
|
+
function __c9(j: number): any {
|
|
669
710
|
switch (j) {
|
|
670
711
|
case 0:
|
|
671
712
|
return S.suspend(() =>
|
|
@@ -686,7 +727,7 @@ function __c8(j: number): any {
|
|
|
686
727
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
687
728
|
}
|
|
688
729
|
}
|
|
689
|
-
function
|
|
730
|
+
function __c10(j: number): any {
|
|
690
731
|
switch (j) {
|
|
691
732
|
case 0:
|
|
692
733
|
return S.suspend(() =>
|
|
@@ -699,17 +740,17 @@ function __c9(j: number): any {
|
|
|
699
740
|
}),
|
|
700
741
|
).annotate({ identifier: "IpAllowListEntry" });
|
|
701
742
|
case 1:
|
|
702
|
-
return S.Array(__S(
|
|
743
|
+
return S.Array(__S(40, __c10, 0));
|
|
703
744
|
case 2:
|
|
704
745
|
return S.suspend(() =>
|
|
705
746
|
S.Struct({
|
|
706
|
-
ipAllowList: S.optional(__S(
|
|
747
|
+
ipAllowList: S.optional(__S(41, __c10, 1)),
|
|
707
748
|
}),
|
|
708
749
|
).annotate({ identifier: "Acl" });
|
|
709
750
|
case 3:
|
|
710
751
|
return S.suspend(() =>
|
|
711
752
|
S.Struct({
|
|
712
|
-
acl: S.optional(__S(
|
|
753
|
+
acl: S.optional(__S(42, __c10, 2)),
|
|
713
754
|
created: S.String,
|
|
714
755
|
description: S.optional(S.String),
|
|
715
756
|
displayName: S.String,
|
|
@@ -721,7 +762,7 @@ function __c9(j: number): any {
|
|
|
721
762
|
).annotate({ identifier: "Instance" });
|
|
722
763
|
}
|
|
723
764
|
}
|
|
724
|
-
function
|
|
765
|
+
function __c11(j: number): any {
|
|
725
766
|
switch (j) {
|
|
726
767
|
case 0:
|
|
727
768
|
return S.suspend(() =>
|
|
@@ -740,13 +781,13 @@ function __c10(j: number): any {
|
|
|
740
781
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
741
782
|
}
|
|
742
783
|
}
|
|
743
|
-
function
|
|
784
|
+
function __c12(j: number): any {
|
|
744
785
|
switch (j) {
|
|
745
786
|
case 0:
|
|
746
787
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteInstanceResponse" });
|
|
747
788
|
}
|
|
748
789
|
}
|
|
749
|
-
function
|
|
790
|
+
function __c13(j: number): any {
|
|
750
791
|
switch (j) {
|
|
751
792
|
case 0:
|
|
752
793
|
return S.suspend(() =>
|
|
@@ -765,7 +806,7 @@ function __c12(j: number): any {
|
|
|
765
806
|
).annotate({ identifier: "DeleteInstanceByNameRequest" });
|
|
766
807
|
}
|
|
767
808
|
}
|
|
768
|
-
function
|
|
809
|
+
function __c14(j: number): any {
|
|
769
810
|
switch (j) {
|
|
770
811
|
case 0:
|
|
771
812
|
return S.suspend(() =>
|
|
@@ -784,7 +825,7 @@ function __c13(j: number): any {
|
|
|
784
825
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
785
826
|
}
|
|
786
827
|
}
|
|
787
|
-
function
|
|
828
|
+
function __c15(j: number): any {
|
|
788
829
|
switch (j) {
|
|
789
830
|
case 0:
|
|
790
831
|
return S.suspend(() =>
|
|
@@ -803,7 +844,7 @@ function __c14(j: number): any {
|
|
|
803
844
|
).annotate({ identifier: "GetInstanceByNameRequest" });
|
|
804
845
|
}
|
|
805
846
|
}
|
|
806
|
-
function
|
|
847
|
+
function __c16(j: number): any {
|
|
807
848
|
switch (j) {
|
|
808
849
|
case 0:
|
|
809
850
|
return S.suspend(() =>
|
|
@@ -823,19 +864,19 @@ function __c15(j: number): any {
|
|
|
823
864
|
).annotate({ identifier: "GetKubeconfigByInstanceIdRequest" });
|
|
824
865
|
}
|
|
825
866
|
}
|
|
826
|
-
function
|
|
867
|
+
function __c17(j: number): any {
|
|
827
868
|
switch (j) {
|
|
828
869
|
case 0:
|
|
829
870
|
return S.Record(S.String, S.Unknown);
|
|
830
871
|
case 1:
|
|
831
872
|
return S.suspend(() =>
|
|
832
873
|
S.Struct({
|
|
833
|
-
kubeconfig: __S(
|
|
874
|
+
kubeconfig: __S(68, __c17, 0),
|
|
834
875
|
}),
|
|
835
876
|
).annotate({ identifier: "Kubeconfig" });
|
|
836
877
|
}
|
|
837
878
|
}
|
|
838
|
-
function
|
|
879
|
+
function __c18(j: number): any {
|
|
839
880
|
switch (j) {
|
|
840
881
|
case 0:
|
|
841
882
|
return S.suspend(() =>
|
|
@@ -3,7 +3,7 @@ import * as API from "@distilled.cloud/core/api";
|
|
|
3
3
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
4
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import type * as Redacted from "effect/Redacted";
|
|
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";
|
|
@@ -329,7 +329,8 @@ export const createFunction: API.OperationMethod<
|
|
|
329
329
|
> = /*@__PURE__*/ API.make(() => ({
|
|
330
330
|
input: __S(0, __c0, 0) as any as S.Schema<CreateFunctionRequest>,
|
|
331
331
|
output: __S(9, __c2, 1) as any as S.Schema<Function>,
|
|
332
|
-
errors: [
|
|
332
|
+
errors: [],
|
|
333
|
+
serviceErrors: StackitServiceErrors,
|
|
333
334
|
protocol: StackitProtocol,
|
|
334
335
|
retry: Retry.Retry,
|
|
335
336
|
telemetry: TELEMETRY,
|
|
@@ -346,7 +347,8 @@ export const createPullCredential: API.OperationMethod<
|
|
|
346
347
|
> = /*@__PURE__*/ API.make(() => ({
|
|
347
348
|
input: __S(12, __c3, 0) as any as S.Schema<CreatePullCredentialRequest>,
|
|
348
349
|
output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
|
|
349
|
-
errors: [
|
|
350
|
+
errors: [],
|
|
351
|
+
serviceErrors: StackitServiceErrors,
|
|
350
352
|
protocol: StackitProtocol,
|
|
351
353
|
retry: Retry.Retry,
|
|
352
354
|
telemetry: TELEMETRY,
|
|
@@ -363,7 +365,8 @@ export const createRevision: API.OperationMethod<
|
|
|
363
365
|
> = /*@__PURE__*/ API.make(() => ({
|
|
364
366
|
input: __S(40, __c10, 0) as any as S.Schema<CreateRevisionRequest>,
|
|
365
367
|
output: __S(47, __c11, 3) as any as S.Schema<Revision>,
|
|
366
|
-
errors: [
|
|
368
|
+
errors: [],
|
|
369
|
+
serviceErrors: StackitServiceErrors,
|
|
367
370
|
protocol: StackitProtocol,
|
|
368
371
|
retry: Retry.Retry,
|
|
369
372
|
telemetry: TELEMETRY,
|
|
@@ -380,7 +383,8 @@ export const deleteFunction: API.OperationMethod<
|
|
|
380
383
|
> = /*@__PURE__*/ API.make(() => ({
|
|
381
384
|
input: __S(48, __c12, 0) as any as S.Schema<DeleteFunctionRequest>,
|
|
382
385
|
output: __S(52, __c13, 0) as any as S.Schema<DeleteFunctionResponse>,
|
|
383
|
-
errors: [
|
|
386
|
+
errors: [],
|
|
387
|
+
serviceErrors: StackitServiceErrors,
|
|
384
388
|
protocol: StackitProtocol,
|
|
385
389
|
retry: Retry.Retry,
|
|
386
390
|
telemetry: TELEMETRY,
|
|
@@ -397,7 +401,8 @@ export const deletePullCredential: API.OperationMethod<
|
|
|
397
401
|
> = /*@__PURE__*/ API.make(() => ({
|
|
398
402
|
input: __S(56, __c14, 0) as any as S.Schema<DeletePullCredentialRequest>,
|
|
399
403
|
output: __S(52, __c13, 0) as any as S.Schema<DeletePullCredentialResponse>,
|
|
400
|
-
errors: [
|
|
404
|
+
errors: [],
|
|
405
|
+
serviceErrors: StackitServiceErrors,
|
|
401
406
|
protocol: StackitProtocol,
|
|
402
407
|
retry: Retry.Retry,
|
|
403
408
|
telemetry: TELEMETRY,
|
|
@@ -414,7 +419,8 @@ export const deleteRevision: API.OperationMethod<
|
|
|
414
419
|
> = /*@__PURE__*/ API.make(() => ({
|
|
415
420
|
input: __S(60, __c15, 0) as any as S.Schema<DeleteRevisionRequest>,
|
|
416
421
|
output: __S(52, __c13, 0) as any as S.Schema<DeleteRevisionResponse>,
|
|
417
|
-
errors: [
|
|
422
|
+
errors: [],
|
|
423
|
+
serviceErrors: StackitServiceErrors,
|
|
418
424
|
protocol: StackitProtocol,
|
|
419
425
|
retry: Retry.Retry,
|
|
420
426
|
telemetry: TELEMETRY,
|
|
@@ -431,7 +437,8 @@ export const getFunction: API.OperationMethod<
|
|
|
431
437
|
> = /*@__PURE__*/ API.make(() => ({
|
|
432
438
|
input: __S(64, __c16, 0) as any as S.Schema<GetFunctionRequest>,
|
|
433
439
|
output: __S(9, __c2, 1) as any as S.Schema<Function>,
|
|
434
|
-
errors: [
|
|
440
|
+
errors: [],
|
|
441
|
+
serviceErrors: StackitServiceErrors,
|
|
435
442
|
protocol: StackitProtocol,
|
|
436
443
|
retry: Retry.Retry,
|
|
437
444
|
telemetry: TELEMETRY,
|
|
@@ -448,7 +455,8 @@ export const getPullCredential: API.OperationMethod<
|
|
|
448
455
|
> = /*@__PURE__*/ API.make(() => ({
|
|
449
456
|
input: __S(68, __c17, 0) as any as S.Schema<GetPullCredentialRequest>,
|
|
450
457
|
output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
|
|
451
|
-
errors: [
|
|
458
|
+
errors: [],
|
|
459
|
+
serviceErrors: StackitServiceErrors,
|
|
452
460
|
protocol: StackitProtocol,
|
|
453
461
|
retry: Retry.Retry,
|
|
454
462
|
telemetry: TELEMETRY,
|
|
@@ -465,7 +473,8 @@ export const getRevision: API.OperationMethod<
|
|
|
465
473
|
> = /*@__PURE__*/ API.make(() => ({
|
|
466
474
|
input: __S(72, __c18, 0) as any as S.Schema<GetRevisionRequest>,
|
|
467
475
|
output: __S(47, __c11, 3) as any as S.Schema<Revision>,
|
|
468
|
-
errors: [
|
|
476
|
+
errors: [],
|
|
477
|
+
serviceErrors: StackitServiceErrors,
|
|
469
478
|
protocol: StackitProtocol,
|
|
470
479
|
retry: Retry.Retry,
|
|
471
480
|
telemetry: TELEMETRY,
|
|
@@ -482,7 +491,8 @@ export const listFunctions2: API.OperationMethod<
|
|
|
482
491
|
> = /*@__PURE__*/ API.make(() => ({
|
|
483
492
|
input: __S(76, __c19, 0) as any as S.Schema<ListFunctionsRequest>,
|
|
484
493
|
output: __S(78, __c19, 2) as any as S.Schema<ListFunctions>,
|
|
485
|
-
errors: [
|
|
494
|
+
errors: [],
|
|
495
|
+
serviceErrors: StackitServiceErrors,
|
|
486
496
|
protocol: StackitProtocol,
|
|
487
497
|
retry: Retry.Retry,
|
|
488
498
|
telemetry: TELEMETRY,
|
|
@@ -499,7 +509,8 @@ export const listPullCredentials2: API.OperationMethod<
|
|
|
499
509
|
> = /*@__PURE__*/ API.make(() => ({
|
|
500
510
|
input: __S(20, __c5, 0) as any as S.Schema<ListPullCredentialsRequest>,
|
|
501
511
|
output: __S(22, __c5, 2) as any as S.Schema<ListPullCredentials>,
|
|
502
|
-
errors: [
|
|
512
|
+
errors: [],
|
|
513
|
+
serviceErrors: StackitServiceErrors,
|
|
503
514
|
protocol: StackitProtocol,
|
|
504
515
|
retry: Retry.Retry,
|
|
505
516
|
telemetry: TELEMETRY,
|
|
@@ -516,7 +527,8 @@ export const listRevisions2: API.OperationMethod<
|
|
|
516
527
|
> = /*@__PURE__*/ API.make(() => ({
|
|
517
528
|
input: __S(24, __c6, 0) as any as S.Schema<ListRevisionsRequest>,
|
|
518
529
|
output: __S(26, __c6, 2) as any as S.Schema<ListRevisions>,
|
|
519
|
-
errors: [
|
|
530
|
+
errors: [],
|
|
531
|
+
serviceErrors: StackitServiceErrors,
|
|
520
532
|
protocol: StackitProtocol,
|
|
521
533
|
retry: Retry.Retry,
|
|
522
534
|
telemetry: TELEMETRY,
|
|
@@ -533,7 +545,8 @@ export const updateFunction: API.OperationMethod<
|
|
|
533
545
|
> = /*@__PURE__*/ API.make(() => ({
|
|
534
546
|
input: __S(28, __c7, 0) as any as S.Schema<UpdateFunctionRequest>,
|
|
535
547
|
output: __S(9, __c2, 1) as any as S.Schema<Function>,
|
|
536
|
-
errors: [
|
|
548
|
+
errors: [],
|
|
549
|
+
serviceErrors: StackitServiceErrors,
|
|
537
550
|
protocol: StackitProtocol,
|
|
538
551
|
retry: Retry.Retry,
|
|
539
552
|
telemetry: TELEMETRY,
|
|
@@ -550,7 +563,8 @@ export const updatePullCredential: API.OperationMethod<
|
|
|
550
563
|
> = /*@__PURE__*/ API.make(() => ({
|
|
551
564
|
input: __S(32, __c8, 0) as any as S.Schema<UpdatePullCredentialRequest>,
|
|
552
565
|
output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
|
|
553
|
-
errors: [
|
|
566
|
+
errors: [],
|
|
567
|
+
serviceErrors: StackitServiceErrors,
|
|
554
568
|
protocol: StackitProtocol,
|
|
555
569
|
retry: Retry.Retry,
|
|
556
570
|
telemetry: TELEMETRY,
|
|
@@ -567,7 +581,8 @@ export const updateRevision: API.OperationMethod<
|
|
|
567
581
|
> = /*@__PURE__*/ API.make(() => ({
|
|
568
582
|
input: __S(36, __c9, 0) as any as S.Schema<UpdateRevisionRequest>,
|
|
569
583
|
output: __S(47, __c11, 3) as any as S.Schema<Revision>,
|
|
570
|
-
errors: [
|
|
584
|
+
errors: [],
|
|
585
|
+
serviceErrors: StackitServiceErrors,
|
|
571
586
|
protocol: StackitProtocol,
|
|
572
587
|
retry: Retry.Retry,
|
|
573
588
|
telemetry: TELEMETRY,
|