@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
|
@@ -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,65 @@ 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([
|
|
36
|
+
/*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
|
|
37
|
+
/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
|
|
38
|
+
S.String,
|
|
39
|
+
]),
|
|
40
|
+
),
|
|
41
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
42
|
}).pipe(C.withBadRequestError),
|
|
35
43
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
44
|
+
)
|
|
45
|
+
{
|
|
46
|
+
declare readonly body?: BadErrorResponse | GenericErrorResponse | string;
|
|
47
|
+
}
|
|
37
48
|
|
|
38
49
|
export class Conflict
|
|
39
50
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
40
51
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
52
|
code: S.Number,
|
|
42
53
|
message: S.String,
|
|
54
|
+
body: /*@__PURE__*/ S.optional(
|
|
55
|
+
/*@__PURE__*/ S.Union([
|
|
56
|
+
/*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
|
|
57
|
+
/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
|
|
58
|
+
/*@__PURE__*/ S.suspend(() => __S(4, __c1, 0)),
|
|
59
|
+
S.String,
|
|
60
|
+
]),
|
|
61
|
+
),
|
|
62
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
63
|
}).pipe(C.withConflictError),
|
|
44
64
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
65
|
+
)
|
|
66
|
+
{
|
|
67
|
+
declare readonly body?:
|
|
68
|
+
| ConflictErrorResponse
|
|
69
|
+
| GenericErrorResponse
|
|
70
|
+
| AlreadyExistsError
|
|
71
|
+
| string;
|
|
72
|
+
}
|
|
46
73
|
|
|
47
74
|
export class NotFound
|
|
48
75
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
76
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
50
77
|
code: S.Number,
|
|
51
78
|
message: S.String,
|
|
79
|
+
body: /*@__PURE__*/ S.optional(
|
|
80
|
+
/*@__PURE__*/ S.Union([
|
|
81
|
+
/*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
|
|
82
|
+
/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
|
|
83
|
+
S.String,
|
|
84
|
+
]),
|
|
85
|
+
),
|
|
86
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
87
|
}).pipe(C.withBadRequestError),
|
|
53
88
|
[{ status: 404 }],
|
|
54
|
-
)
|
|
89
|
+
)
|
|
90
|
+
{
|
|
91
|
+
declare readonly body?: NotFoundErrorResponse | GenericErrorResponse | string;
|
|
92
|
+
}
|
|
55
93
|
|
|
56
94
|
export interface CreateAuthenticationRequest {
|
|
57
95
|
/** Project identifier. */
|
|
@@ -242,6 +280,8 @@ export interface DeleteRunnerRequest {
|
|
|
242
280
|
projectId: string;
|
|
243
281
|
/** Instance identifier. */
|
|
244
282
|
instanceId: string;
|
|
283
|
+
/** The UUID of the STACKIT Git Runner. */
|
|
284
|
+
runnerId: string;
|
|
245
285
|
}
|
|
246
286
|
export interface DeleteRunnerResponse {}
|
|
247
287
|
export interface DeleteUserRequest {
|
|
@@ -322,6 +362,8 @@ export interface GetRunnerRequest {
|
|
|
322
362
|
projectId: string;
|
|
323
363
|
/** Instance identifier. */
|
|
324
364
|
instanceId: string;
|
|
365
|
+
/** The UUID of the STACKIT Git Runner. */
|
|
366
|
+
runnerId: string;
|
|
325
367
|
}
|
|
326
368
|
export interface GetUserRequest {
|
|
327
369
|
/** Project identifier. */
|
|
@@ -445,6 +487,17 @@ export type RunnerRuntimeListItemsList = Array<RunnerRuntime>;
|
|
|
445
487
|
export interface RunnerRuntimeList {
|
|
446
488
|
items: RunnerRuntimeListItemsList;
|
|
447
489
|
}
|
|
490
|
+
export interface ListRunnersRequest {
|
|
491
|
+
/** Project identifier. */
|
|
492
|
+
projectId: string;
|
|
493
|
+
/** Instance identifier. */
|
|
494
|
+
instanceId: string;
|
|
495
|
+
}
|
|
496
|
+
export type RunnerListItemsList = Array<Runner>;
|
|
497
|
+
/** A list of STACKIT Git Runners. */
|
|
498
|
+
export interface RunnerList {
|
|
499
|
+
items: RunnerListItemsList;
|
|
500
|
+
}
|
|
448
501
|
export interface PatchAuthenticationRequest {
|
|
449
502
|
/** Project identifier. */
|
|
450
503
|
projectId: string;
|
|
@@ -476,6 +529,18 @@ export interface PatchInstanceRequest {
|
|
|
476
529
|
feature_toggle?: FeatureToggle | undefined;
|
|
477
530
|
labels?: Labels | undefined;
|
|
478
531
|
}
|
|
532
|
+
export type PatchRunnerRequestLabelsList = Array<string>;
|
|
533
|
+
export interface PatchRunnerRequest {
|
|
534
|
+
/** Project identifier. */
|
|
535
|
+
projectId: string;
|
|
536
|
+
/** Instance identifier. */
|
|
537
|
+
instanceId: string;
|
|
538
|
+
/** The UUID of the STACKIT Git Runner. */
|
|
539
|
+
runnerId: string;
|
|
540
|
+
/** The runner's job family name. */
|
|
541
|
+
familyName?: string | undefined;
|
|
542
|
+
labels: PatchRunnerRequestLabelsList;
|
|
543
|
+
}
|
|
479
544
|
export interface UpdateUserRequest {
|
|
480
545
|
/** Project identifier. */
|
|
481
546
|
projectId: string;
|
|
@@ -490,6 +555,25 @@ export interface UpdateUserRequest {
|
|
|
490
555
|
/** A user password to allow user/pass instance login. */
|
|
491
556
|
password?: string | Redacted.Redacted<string> | undefined;
|
|
492
557
|
}
|
|
558
|
+
/** 400 Error Response. */
|
|
559
|
+
export interface BadErrorResponse {
|
|
560
|
+
details?: string | undefined;
|
|
561
|
+
error?: string | undefined;
|
|
562
|
+
}
|
|
563
|
+
export type GenericErrorResponseDetailsList = Array<string>;
|
|
564
|
+
/** Generic Error Response. */
|
|
565
|
+
export interface GenericErrorResponse {
|
|
566
|
+
details?: GenericErrorResponseDetailsList | undefined;
|
|
567
|
+
message: string;
|
|
568
|
+
}
|
|
569
|
+
/** 409 Error Response. */
|
|
570
|
+
export type ConflictErrorResponse = BadErrorResponse;
|
|
571
|
+
/** Error response when a resource already exists. */
|
|
572
|
+
export interface AlreadyExistsError {
|
|
573
|
+
message: string;
|
|
574
|
+
}
|
|
575
|
+
/** 404 Error Response. */
|
|
576
|
+
export type NotFoundErrorResponse = BadErrorResponse;
|
|
493
577
|
export type CreateAuthenticationError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
494
578
|
/** Creates an authentication source Creates an authentication source for the corresponding STACKIT Git instance */
|
|
495
579
|
export const createAuthentication: API.OperationMethod<
|
|
@@ -498,9 +582,10 @@ export const createAuthentication: API.OperationMethod<
|
|
|
498
582
|
CreateAuthenticationError,
|
|
499
583
|
StackitOpContext
|
|
500
584
|
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
-
input: __S(
|
|
502
|
-
output: __S(
|
|
503
|
-
errors: [BadRequest, NotFound, Conflict
|
|
585
|
+
input: __S(84, __c21, 0) as any as S.Schema<CreateAuthenticationRequest>,
|
|
586
|
+
output: __S(88, __c22, 0) as any as S.Schema<Authentication>,
|
|
587
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
588
|
+
serviceErrors: StackitServiceErrors,
|
|
504
589
|
protocol: StackitProtocol,
|
|
505
590
|
retry: Retry.Retry,
|
|
506
591
|
telemetry: TELEMETRY,
|
|
@@ -515,9 +600,10 @@ export const createInstance: API.OperationMethod<
|
|
|
515
600
|
CreateInstanceError,
|
|
516
601
|
StackitOpContext
|
|
517
602
|
> = /*@__PURE__*/ API.make(() => ({
|
|
518
|
-
input: __S(
|
|
519
|
-
output: __S(
|
|
520
|
-
errors: [BadRequest, Conflict
|
|
603
|
+
input: __S(92, __c23, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
604
|
+
output: __S(99, __c24, 3) as any as S.Schema<Instance>,
|
|
605
|
+
errors: [BadRequest, Conflict],
|
|
606
|
+
serviceErrors: StackitServiceErrors,
|
|
521
607
|
protocol: StackitProtocol,
|
|
522
608
|
retry: Retry.Retry,
|
|
523
609
|
telemetry: TELEMETRY,
|
|
@@ -525,16 +611,17 @@ export const createInstance: API.OperationMethod<
|
|
|
525
611
|
}));
|
|
526
612
|
|
|
527
613
|
export type CreateRunnerError = BadRequest | Conflict | StackitOpError;
|
|
528
|
-
/** Create the runner associated to this instance. Creates
|
|
614
|
+
/** Create the runner associated to this instance. Creates a runner associated to this STACKIT Git instance. */
|
|
529
615
|
export const createRunner: API.OperationMethod<
|
|
530
616
|
CreateRunnerRequest,
|
|
531
617
|
Runner,
|
|
532
618
|
CreateRunnerError,
|
|
533
619
|
StackitOpContext
|
|
534
620
|
> = /*@__PURE__*/ API.make(() => ({
|
|
535
|
-
input: __S(
|
|
536
|
-
output: __S(
|
|
537
|
-
errors: [BadRequest, Conflict
|
|
621
|
+
input: __S(100, __c25, 0) as any as S.Schema<CreateRunnerRequest>,
|
|
622
|
+
output: __S(104, __c26, 0) as any as S.Schema<Runner>,
|
|
623
|
+
errors: [BadRequest, Conflict],
|
|
624
|
+
serviceErrors: StackitServiceErrors,
|
|
538
625
|
protocol: StackitProtocol,
|
|
539
626
|
retry: Retry.Retry,
|
|
540
627
|
telemetry: TELEMETRY,
|
|
@@ -549,9 +636,10 @@ export const createUser: API.OperationMethod<
|
|
|
549
636
|
CreateUserError,
|
|
550
637
|
StackitOpContext
|
|
551
638
|
> = /*@__PURE__*/ API.make(() => ({
|
|
552
|
-
input: __S(
|
|
553
|
-
output: __S(
|
|
554
|
-
errors: [BadRequest, Conflict
|
|
639
|
+
input: __S(108, __c27, 0) as any as S.Schema<CreateUserRequest>,
|
|
640
|
+
output: __S(112, __c28, 0) as any as S.Schema<User>,
|
|
641
|
+
errors: [BadRequest, Conflict],
|
|
642
|
+
serviceErrors: StackitServiceErrors,
|
|
555
643
|
protocol: StackitProtocol,
|
|
556
644
|
retry: Retry.Retry,
|
|
557
645
|
telemetry: TELEMETRY,
|
|
@@ -566,9 +654,10 @@ export const deleteAuthentication: API.OperationMethod<
|
|
|
566
654
|
DeleteAuthenticationError,
|
|
567
655
|
StackitOpContext
|
|
568
656
|
> = /*@__PURE__*/ API.make(() => ({
|
|
569
|
-
input: __S(
|
|
570
|
-
output: __S(
|
|
571
|
-
errors: [BadRequest, NotFound, Conflict
|
|
657
|
+
input: __S(116, __c29, 0) as any as S.Schema<DeleteAuthenticationRequest>,
|
|
658
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteAuthenticationResponse>,
|
|
659
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
660
|
+
serviceErrors: StackitServiceErrors,
|
|
572
661
|
protocol: StackitProtocol,
|
|
573
662
|
retry: Retry.Retry,
|
|
574
663
|
telemetry: TELEMETRY,
|
|
@@ -583,9 +672,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
583
672
|
DeleteInstanceError,
|
|
584
673
|
StackitOpContext
|
|
585
674
|
> = /*@__PURE__*/ API.make(() => ({
|
|
586
|
-
input: __S(
|
|
587
|
-
output: __S(
|
|
588
|
-
errors: [BadRequest, NotFound, Conflict
|
|
675
|
+
input: __S(124, __c31, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
676
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
677
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
678
|
+
serviceErrors: StackitServiceErrors,
|
|
589
679
|
protocol: StackitProtocol,
|
|
590
680
|
retry: Retry.Retry,
|
|
591
681
|
telemetry: TELEMETRY,
|
|
@@ -600,9 +690,10 @@ export const deleteRunner: API.OperationMethod<
|
|
|
600
690
|
DeleteRunnerError,
|
|
601
691
|
StackitOpContext
|
|
602
692
|
> = /*@__PURE__*/ API.make(() => ({
|
|
603
|
-
input: __S(
|
|
604
|
-
output: __S(
|
|
605
|
-
errors: [BadRequest, NotFound
|
|
693
|
+
input: __S(128, __c32, 0) as any as S.Schema<DeleteRunnerRequest>,
|
|
694
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteRunnerResponse>,
|
|
695
|
+
errors: [BadRequest, NotFound],
|
|
696
|
+
serviceErrors: StackitServiceErrors,
|
|
606
697
|
protocol: StackitProtocol,
|
|
607
698
|
retry: Retry.Retry,
|
|
608
699
|
telemetry: TELEMETRY,
|
|
@@ -617,9 +708,10 @@ export const deleteUser: API.OperationMethod<
|
|
|
617
708
|
DeleteUserError,
|
|
618
709
|
StackitOpContext
|
|
619
710
|
> = /*@__PURE__*/ API.make(() => ({
|
|
620
|
-
input: __S(
|
|
621
|
-
output: __S(
|
|
622
|
-
errors: [BadRequest, NotFound, Conflict
|
|
711
|
+
input: __S(8, __c2, 0) as any as S.Schema<DeleteUserRequest>,
|
|
712
|
+
output: __S(120, __c30, 0) as any as S.Schema<DeleteUserResponse>,
|
|
713
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
714
|
+
serviceErrors: StackitServiceErrors,
|
|
623
715
|
protocol: StackitProtocol,
|
|
624
716
|
retry: Retry.Retry,
|
|
625
717
|
telemetry: TELEMETRY,
|
|
@@ -634,9 +726,10 @@ export const getAuthentication: API.OperationMethod<
|
|
|
634
726
|
GetAuthenticationError,
|
|
635
727
|
StackitOpContext
|
|
636
728
|
> = /*@__PURE__*/ API.make(() => ({
|
|
637
|
-
input: __S(
|
|
638
|
-
output: __S(
|
|
639
|
-
errors: [BadRequest
|
|
729
|
+
input: __S(12, __c3, 0) as any as S.Schema<GetAuthenticationRequest>,
|
|
730
|
+
output: __S(88, __c22, 0) as any as S.Schema<Authentication>,
|
|
731
|
+
errors: [BadRequest],
|
|
732
|
+
serviceErrors: StackitServiceErrors,
|
|
640
733
|
protocol: StackitProtocol,
|
|
641
734
|
retry: Retry.Retry,
|
|
642
735
|
telemetry: TELEMETRY,
|
|
@@ -651,9 +744,10 @@ export const getInstance: API.OperationMethod<
|
|
|
651
744
|
GetInstanceError,
|
|
652
745
|
StackitOpContext
|
|
653
746
|
> = /*@__PURE__*/ API.make(() => ({
|
|
654
|
-
input: __S(
|
|
655
|
-
output: __S(
|
|
656
|
-
errors: [BadRequest, NotFound
|
|
747
|
+
input: __S(16, __c4, 0) as any as S.Schema<GetInstanceRequest>,
|
|
748
|
+
output: __S(99, __c24, 3) as any as S.Schema<Instance>,
|
|
749
|
+
errors: [BadRequest, NotFound],
|
|
750
|
+
serviceErrors: StackitServiceErrors,
|
|
657
751
|
protocol: StackitProtocol,
|
|
658
752
|
retry: Retry.Retry,
|
|
659
753
|
telemetry: TELEMETRY,
|
|
@@ -668,9 +762,10 @@ export const getOrganizations: API.OperationMethod<
|
|
|
668
762
|
GetOrganizationsError,
|
|
669
763
|
StackitOpContext
|
|
670
764
|
> = /*@__PURE__*/ API.make(() => ({
|
|
671
|
-
input: __S(
|
|
672
|
-
output: __S(
|
|
673
|
-
errors: [BadRequest, NotFound
|
|
765
|
+
input: __S(20, __c5, 0) as any as S.Schema<GetOrganizationsRequest>,
|
|
766
|
+
output: __S(21, __c5, 1) as any as S.Schema<ListOrganizations>,
|
|
767
|
+
errors: [BadRequest, NotFound],
|
|
768
|
+
serviceErrors: StackitServiceErrors,
|
|
674
769
|
protocol: StackitProtocol,
|
|
675
770
|
retry: Retry.Retry,
|
|
676
771
|
telemetry: TELEMETRY,
|
|
@@ -685,9 +780,10 @@ export const getOrganizationTeams: API.OperationMethod<
|
|
|
685
780
|
GetOrganizationTeamsError,
|
|
686
781
|
StackitOpContext
|
|
687
782
|
> = /*@__PURE__*/ API.make(() => ({
|
|
688
|
-
input: __S(
|
|
689
|
-
output: __S(
|
|
690
|
-
errors: [BadRequest, NotFound
|
|
783
|
+
input: __S(28, __c7, 0) as any as S.Schema<GetOrganizationTeamsRequest>,
|
|
784
|
+
output: __S(29, __c7, 1) as any as S.Schema<ListOrganizationTeams>,
|
|
785
|
+
errors: [BadRequest, NotFound],
|
|
786
|
+
serviceErrors: StackitServiceErrors,
|
|
691
787
|
protocol: StackitProtocol,
|
|
692
788
|
retry: Retry.Retry,
|
|
693
789
|
telemetry: TELEMETRY,
|
|
@@ -702,9 +798,10 @@ export const getRunner: API.OperationMethod<
|
|
|
702
798
|
GetRunnerError,
|
|
703
799
|
StackitOpContext
|
|
704
800
|
> = /*@__PURE__*/ API.make(() => ({
|
|
705
|
-
input: __S(
|
|
706
|
-
output: __S(
|
|
707
|
-
errors: [BadRequest, NotFound
|
|
801
|
+
input: __S(32, __c8, 0) as any as S.Schema<GetRunnerRequest>,
|
|
802
|
+
output: __S(104, __c26, 0) as any as S.Schema<Runner>,
|
|
803
|
+
errors: [BadRequest, NotFound],
|
|
804
|
+
serviceErrors: StackitServiceErrors,
|
|
708
805
|
protocol: StackitProtocol,
|
|
709
806
|
retry: Retry.Retry,
|
|
710
807
|
telemetry: TELEMETRY,
|
|
@@ -719,9 +816,10 @@ export const getUser: API.OperationMethod<
|
|
|
719
816
|
GetUserError,
|
|
720
817
|
StackitOpContext
|
|
721
818
|
> = /*@__PURE__*/ API.make(() => ({
|
|
722
|
-
input: __S(
|
|
723
|
-
output: __S(
|
|
724
|
-
errors: [BadRequest, NotFound
|
|
819
|
+
input: __S(36, __c9, 0) as any as S.Schema<GetUserRequest>,
|
|
820
|
+
output: __S(120, __c30, 0) as any as S.Schema<GetUserResponse>,
|
|
821
|
+
errors: [BadRequest, NotFound],
|
|
822
|
+
serviceErrors: StackitServiceErrors,
|
|
725
823
|
protocol: StackitProtocol,
|
|
726
824
|
retry: Retry.Retry,
|
|
727
825
|
telemetry: TELEMETRY,
|
|
@@ -736,9 +834,10 @@ export const getUsers: API.OperationMethod<
|
|
|
736
834
|
GetUsersError,
|
|
737
835
|
StackitOpContext
|
|
738
836
|
> = /*@__PURE__*/ API.make(() => ({
|
|
739
|
-
input: __S(
|
|
740
|
-
output: __S(
|
|
741
|
-
errors: [BadRequest
|
|
837
|
+
input: __S(40, __c10, 0) as any as S.Schema<GetUsersRequest>,
|
|
838
|
+
output: __S(42, __c10, 2) as any as S.Schema<ListUsers>,
|
|
839
|
+
errors: [BadRequest],
|
|
840
|
+
serviceErrors: StackitServiceErrors,
|
|
742
841
|
protocol: StackitProtocol,
|
|
743
842
|
retry: Retry.Retry,
|
|
744
843
|
telemetry: TELEMETRY,
|
|
@@ -753,9 +852,10 @@ export const listAuthentication: API.OperationMethod<
|
|
|
753
852
|
ListAuthenticationError,
|
|
754
853
|
StackitOpContext
|
|
755
854
|
> = /*@__PURE__*/ API.make(() => ({
|
|
756
|
-
input: __S(
|
|
757
|
-
output: __S(
|
|
758
|
-
errors: [BadRequest
|
|
855
|
+
input: __S(44, __c11, 0) as any as S.Schema<ListAuthenticationRequest>,
|
|
856
|
+
output: __S(46, __c11, 2) as any as S.Schema<AuthenticationList>,
|
|
857
|
+
errors: [BadRequest],
|
|
858
|
+
serviceErrors: StackitServiceErrors,
|
|
759
859
|
protocol: StackitProtocol,
|
|
760
860
|
retry: Retry.Retry,
|
|
761
861
|
telemetry: TELEMETRY,
|
|
@@ -770,9 +870,10 @@ export const listFlavors2: API.OperationMethod<
|
|
|
770
870
|
ListFlavors2Error,
|
|
771
871
|
StackitOpContext
|
|
772
872
|
> = /*@__PURE__*/ API.make(() => ({
|
|
773
|
-
input: __S(
|
|
774
|
-
output: __S(
|
|
775
|
-
errors: [BadRequest, NotFound
|
|
873
|
+
input: __S(48, __c12, 0) as any as S.Schema<ListFlavorsRequest>,
|
|
874
|
+
output: __S(51, __c12, 3) as any as S.Schema<ListFlavors>,
|
|
875
|
+
errors: [BadRequest, NotFound],
|
|
876
|
+
serviceErrors: StackitServiceErrors,
|
|
776
877
|
protocol: StackitProtocol,
|
|
777
878
|
retry: Retry.Retry,
|
|
778
879
|
telemetry: TELEMETRY,
|
|
@@ -787,9 +888,10 @@ export const listInstances2: API.OperationMethod<
|
|
|
787
888
|
ListInstances2Error,
|
|
788
889
|
StackitOpContext
|
|
789
890
|
> = /*@__PURE__*/ API.make(() => ({
|
|
790
|
-
input: __S(
|
|
791
|
-
output: __S(
|
|
792
|
-
errors: [BadRequest
|
|
891
|
+
input: __S(52, __c13, 0) as any as S.Schema<ListInstancesRequest>,
|
|
892
|
+
output: __S(54, __c13, 2) as any as S.Schema<ListInstances>,
|
|
893
|
+
errors: [BadRequest],
|
|
894
|
+
serviceErrors: StackitServiceErrors,
|
|
793
895
|
protocol: StackitProtocol,
|
|
794
896
|
retry: Retry.Retry,
|
|
795
897
|
telemetry: TELEMETRY,
|
|
@@ -797,16 +899,17 @@ export const listInstances2: API.OperationMethod<
|
|
|
797
899
|
}));
|
|
798
900
|
|
|
799
901
|
export type ListRunnerFamiliesError = BadRequest | NotFound | StackitOpError;
|
|
800
|
-
/** A list of runner
|
|
902
|
+
/** A list of runner families that are available for the project. */
|
|
801
903
|
export const listRunnerFamilies: API.OperationMethod<
|
|
802
904
|
ListRunnerFamiliesRequest,
|
|
803
905
|
RunnerFamilyList,
|
|
804
906
|
ListRunnerFamiliesError,
|
|
805
907
|
StackitOpContext
|
|
806
908
|
> = /*@__PURE__*/ API.make(() => ({
|
|
807
|
-
input: __S(
|
|
808
|
-
output: __S(
|
|
809
|
-
errors: [BadRequest, NotFound
|
|
909
|
+
input: __S(56, __c14, 0) as any as S.Schema<ListRunnerFamiliesRequest>,
|
|
910
|
+
output: __S(59, __c14, 3) as any as S.Schema<RunnerFamilyList>,
|
|
911
|
+
errors: [BadRequest, NotFound],
|
|
912
|
+
serviceErrors: StackitServiceErrors,
|
|
810
913
|
protocol: StackitProtocol,
|
|
811
914
|
retry: Retry.Retry,
|
|
812
915
|
telemetry: TELEMETRY,
|
|
@@ -821,15 +924,34 @@ export const listRunnerRuntimes: API.OperationMethod<
|
|
|
821
924
|
ListRunnerRuntimesError,
|
|
822
925
|
StackitOpContext
|
|
823
926
|
> = /*@__PURE__*/ API.make(() => ({
|
|
824
|
-
input: __S(
|
|
825
|
-
output: __S(
|
|
826
|
-
errors: [BadRequest, NotFound
|
|
927
|
+
input: __S(60, __c15, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
|
|
928
|
+
output: __S(63, __c15, 3) as any as S.Schema<RunnerRuntimeList>,
|
|
929
|
+
errors: [BadRequest, NotFound],
|
|
930
|
+
serviceErrors: StackitServiceErrors,
|
|
827
931
|
protocol: StackitProtocol,
|
|
828
932
|
retry: Retry.Retry,
|
|
829
933
|
telemetry: TELEMETRY,
|
|
830
934
|
span: "ListRunnerRuntimes",
|
|
831
935
|
}));
|
|
832
936
|
|
|
937
|
+
export type ListRunnersError = BadRequest | NotFound | StackitOpError;
|
|
938
|
+
/** List Runners. Lists all STACKIT Git runners belonging to an instance. */
|
|
939
|
+
export const listRunners: API.OperationMethod<
|
|
940
|
+
ListRunnersRequest,
|
|
941
|
+
RunnerList,
|
|
942
|
+
ListRunnersError,
|
|
943
|
+
StackitOpContext
|
|
944
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
945
|
+
input: __S(64, __c16, 0) as any as S.Schema<ListRunnersRequest>,
|
|
946
|
+
output: __S(66, __c16, 2) as any as S.Schema<RunnerList>,
|
|
947
|
+
errors: [BadRequest, NotFound],
|
|
948
|
+
serviceErrors: StackitServiceErrors,
|
|
949
|
+
protocol: StackitProtocol,
|
|
950
|
+
retry: Retry.Retry,
|
|
951
|
+
telemetry: TELEMETRY,
|
|
952
|
+
span: "ListRunners",
|
|
953
|
+
}));
|
|
954
|
+
|
|
833
955
|
export type PatchAuthenticationError = BadRequest | NotFound | StackitOpError;
|
|
834
956
|
/** Patch Authentication. Patches the Authentication Provider. */
|
|
835
957
|
export const patchAuthentication: API.OperationMethod<
|
|
@@ -838,9 +960,10 @@ export const patchAuthentication: API.OperationMethod<
|
|
|
838
960
|
PatchAuthenticationError,
|
|
839
961
|
StackitOpContext
|
|
840
962
|
> = /*@__PURE__*/ API.make(() => ({
|
|
841
|
-
input: __S(
|
|
842
|
-
output: __S(
|
|
843
|
-
errors: [BadRequest, NotFound
|
|
963
|
+
input: __S(68, __c17, 0) as any as S.Schema<PatchAuthenticationRequest>,
|
|
964
|
+
output: __S(88, __c22, 0) as any as S.Schema<Authentication>,
|
|
965
|
+
errors: [BadRequest, NotFound],
|
|
966
|
+
serviceErrors: StackitServiceErrors,
|
|
844
967
|
protocol: StackitProtocol,
|
|
845
968
|
retry: Retry.Retry,
|
|
846
969
|
telemetry: TELEMETRY,
|
|
@@ -855,15 +978,34 @@ export const patchInstance: API.OperationMethod<
|
|
|
855
978
|
PatchInstanceError,
|
|
856
979
|
StackitOpContext
|
|
857
980
|
> = /*@__PURE__*/ API.make(() => ({
|
|
858
|
-
input: __S(
|
|
859
|
-
output: __S(
|
|
860
|
-
errors: [BadRequest, NotFound, Conflict
|
|
981
|
+
input: __S(72, __c18, 0) as any as S.Schema<PatchInstanceRequest>,
|
|
982
|
+
output: __S(99, __c24, 3) as any as S.Schema<Instance>,
|
|
983
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
984
|
+
serviceErrors: StackitServiceErrors,
|
|
861
985
|
protocol: StackitProtocol,
|
|
862
986
|
retry: Retry.Retry,
|
|
863
987
|
telemetry: TELEMETRY,
|
|
864
988
|
span: "PatchInstance",
|
|
865
989
|
}));
|
|
866
990
|
|
|
991
|
+
export type PatchRunnerError = BadRequest | NotFound | StackitOpError;
|
|
992
|
+
/** Patch Runner. Patches the Runner information. */
|
|
993
|
+
export const patchRunner: API.OperationMethod<
|
|
994
|
+
PatchRunnerRequest,
|
|
995
|
+
Runner,
|
|
996
|
+
PatchRunnerError,
|
|
997
|
+
StackitOpContext
|
|
998
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
999
|
+
input: __S(76, __c19, 0) as any as S.Schema<PatchRunnerRequest>,
|
|
1000
|
+
output: __S(104, __c26, 0) as any as S.Schema<Runner>,
|
|
1001
|
+
errors: [BadRequest, NotFound],
|
|
1002
|
+
serviceErrors: StackitServiceErrors,
|
|
1003
|
+
protocol: StackitProtocol,
|
|
1004
|
+
retry: Retry.Retry,
|
|
1005
|
+
telemetry: TELEMETRY,
|
|
1006
|
+
span: "PatchRunner",
|
|
1007
|
+
}));
|
|
1008
|
+
|
|
867
1009
|
export type UpdateUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
868
1010
|
/** Update Instance User. Updates the Instance User. */
|
|
869
1011
|
export const updateUser: API.OperationMethod<
|
|
@@ -872,9 +1014,10 @@ export const updateUser: API.OperationMethod<
|
|
|
872
1014
|
UpdateUserError,
|
|
873
1015
|
StackitOpContext
|
|
874
1016
|
> = /*@__PURE__*/ API.make(() => ({
|
|
875
|
-
input: __S(
|
|
876
|
-
output: __S(
|
|
877
|
-
errors: [BadRequest, NotFound, Conflict
|
|
1017
|
+
input: __S(80, __c20, 0) as any as S.Schema<UpdateUserRequest>,
|
|
1018
|
+
output: __S(112, __c28, 0) as any as S.Schema<User>,
|
|
1019
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
1020
|
+
serviceErrors: StackitServiceErrors,
|
|
878
1021
|
protocol: StackitProtocol,
|
|
879
1022
|
retry: Retry.Retry,
|
|
880
1023
|
telemetry: TELEMETRY,
|
|
@@ -883,6 +1026,36 @@ export const updateUser: API.OperationMethod<
|
|
|
883
1026
|
|
|
884
1027
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
885
1028
|
function __c0(j: number): any {
|
|
1029
|
+
switch (j) {
|
|
1030
|
+
case 0:
|
|
1031
|
+
return S.Array(S.String);
|
|
1032
|
+
case 1:
|
|
1033
|
+
return S.suspend(() =>
|
|
1034
|
+
S.Struct({
|
|
1035
|
+
details: S.optional(S.String),
|
|
1036
|
+
error: S.optional(S.String),
|
|
1037
|
+
}),
|
|
1038
|
+
).annotate({ identifier: "BadErrorResponse" });
|
|
1039
|
+
case 2:
|
|
1040
|
+
return S.suspend(() =>
|
|
1041
|
+
S.Struct({
|
|
1042
|
+
details: S.optional(__S(0, __c0, 0)),
|
|
1043
|
+
message: S.String,
|
|
1044
|
+
}),
|
|
1045
|
+
).annotate({ identifier: "GenericErrorResponse" });
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
function __c1(j: number): any {
|
|
1049
|
+
switch (j) {
|
|
1050
|
+
case 0:
|
|
1051
|
+
return S.suspend(() =>
|
|
1052
|
+
S.Struct({
|
|
1053
|
+
message: S.String,
|
|
1054
|
+
}),
|
|
1055
|
+
).annotate({ identifier: "AlreadyExistsError" });
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
function __c2(j: number): any {
|
|
886
1059
|
switch (j) {
|
|
887
1060
|
case 0:
|
|
888
1061
|
return S.suspend(() =>
|
|
@@ -901,7 +1074,7 @@ function __c0(j: number): any {
|
|
|
901
1074
|
).annotate({ identifier: "DeleteUserRequest" });
|
|
902
1075
|
}
|
|
903
1076
|
}
|
|
904
|
-
function
|
|
1077
|
+
function __c3(j: number): any {
|
|
905
1078
|
switch (j) {
|
|
906
1079
|
case 0:
|
|
907
1080
|
return S.suspend(() =>
|
|
@@ -920,7 +1093,7 @@ function __c1(j: number): any {
|
|
|
920
1093
|
).annotate({ identifier: "GetAuthenticationRequest" });
|
|
921
1094
|
}
|
|
922
1095
|
}
|
|
923
|
-
function
|
|
1096
|
+
function __c4(j: number): any {
|
|
924
1097
|
switch (j) {
|
|
925
1098
|
case 0:
|
|
926
1099
|
return S.suspend(() =>
|
|
@@ -938,7 +1111,7 @@ function __c2(j: number): any {
|
|
|
938
1111
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
939
1112
|
}
|
|
940
1113
|
}
|
|
941
|
-
function
|
|
1114
|
+
function __c5(j: number): any {
|
|
942
1115
|
switch (j) {
|
|
943
1116
|
case 0:
|
|
944
1117
|
return S.suspend(() =>
|
|
@@ -960,13 +1133,13 @@ function __c3(j: number): any {
|
|
|
960
1133
|
S.Struct({
|
|
961
1134
|
itemsCount: S.Number,
|
|
962
1135
|
offset: S.Number,
|
|
963
|
-
organizations: __S(
|
|
1136
|
+
organizations: __S(25, __c6, 1),
|
|
964
1137
|
totalPages: S.Number,
|
|
965
1138
|
}),
|
|
966
1139
|
).annotate({ identifier: "ListOrganizations" });
|
|
967
1140
|
}
|
|
968
1141
|
}
|
|
969
|
-
function
|
|
1142
|
+
function __c6(j: number): any {
|
|
970
1143
|
switch (j) {
|
|
971
1144
|
case 0:
|
|
972
1145
|
return S.suspend(() =>
|
|
@@ -975,10 +1148,10 @@ function __c4(j: number): any {
|
|
|
975
1148
|
}),
|
|
976
1149
|
).annotate({ identifier: "Organization" });
|
|
977
1150
|
case 1:
|
|
978
|
-
return S.Array(__S(
|
|
1151
|
+
return S.Array(__S(24, __c6, 0));
|
|
979
1152
|
}
|
|
980
1153
|
}
|
|
981
|
-
function
|
|
1154
|
+
function __c7(j: number): any {
|
|
982
1155
|
switch (j) {
|
|
983
1156
|
case 0:
|
|
984
1157
|
return S.suspend(() =>
|
|
@@ -1001,23 +1174,24 @@ function __c5(j: number): any {
|
|
|
1001
1174
|
S.Struct({
|
|
1002
1175
|
itemsCount: S.Number,
|
|
1003
1176
|
offset: S.Number,
|
|
1004
|
-
teams: __S(
|
|
1177
|
+
teams: __S(25, __c6, 1),
|
|
1005
1178
|
totalPages: S.Number,
|
|
1006
1179
|
}),
|
|
1007
1180
|
).annotate({ identifier: "ListOrganizationTeams" });
|
|
1008
1181
|
}
|
|
1009
1182
|
}
|
|
1010
|
-
function
|
|
1183
|
+
function __c8(j: number): any {
|
|
1011
1184
|
switch (j) {
|
|
1012
1185
|
case 0:
|
|
1013
1186
|
return S.suspend(() =>
|
|
1014
1187
|
S.Struct({
|
|
1015
1188
|
projectId: S.String.pipe(T.Label()),
|
|
1016
1189
|
instanceId: S.String.pipe(T.Label()),
|
|
1190
|
+
runnerId: S.String.pipe(T.Label()),
|
|
1017
1191
|
}).pipe(
|
|
1018
1192
|
T.Http({
|
|
1019
1193
|
method: "GET",
|
|
1020
|
-
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/
|
|
1194
|
+
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runners/{runnerId}",
|
|
1021
1195
|
code: 200,
|
|
1022
1196
|
baseUrl: "https://git.api.stackit.cloud",
|
|
1023
1197
|
}),
|
|
@@ -1025,7 +1199,7 @@ function __c6(j: number): any {
|
|
|
1025
1199
|
).annotate({ identifier: "GetRunnerRequest" });
|
|
1026
1200
|
}
|
|
1027
1201
|
}
|
|
1028
|
-
function
|
|
1202
|
+
function __c9(j: number): any {
|
|
1029
1203
|
switch (j) {
|
|
1030
1204
|
case 0:
|
|
1031
1205
|
return S.suspend(() =>
|
|
@@ -1044,7 +1218,7 @@ function __c7(j: number): any {
|
|
|
1044
1218
|
).annotate({ identifier: "GetUserRequest" });
|
|
1045
1219
|
}
|
|
1046
1220
|
}
|
|
1047
|
-
function
|
|
1221
|
+
function __c10(j: number): any {
|
|
1048
1222
|
switch (j) {
|
|
1049
1223
|
case 0:
|
|
1050
1224
|
return S.suspend(() =>
|
|
@@ -1062,19 +1236,19 @@ function __c8(j: number): any {
|
|
|
1062
1236
|
),
|
|
1063
1237
|
).annotate({ identifier: "GetUsersRequest" });
|
|
1064
1238
|
case 1:
|
|
1065
|
-
return S.Array(__S(
|
|
1239
|
+
return S.Array(__S(112, __c28, 0));
|
|
1066
1240
|
case 2:
|
|
1067
1241
|
return S.suspend(() =>
|
|
1068
1242
|
S.Struct({
|
|
1069
1243
|
itemsCount: S.Number,
|
|
1070
1244
|
offset: S.Number,
|
|
1071
1245
|
totalPages: S.Number,
|
|
1072
|
-
users: __S(
|
|
1246
|
+
users: __S(41, __c10, 1),
|
|
1073
1247
|
}),
|
|
1074
1248
|
).annotate({ identifier: "ListUsers" });
|
|
1075
1249
|
}
|
|
1076
1250
|
}
|
|
1077
|
-
function
|
|
1251
|
+
function __c11(j: number): any {
|
|
1078
1252
|
switch (j) {
|
|
1079
1253
|
case 0:
|
|
1080
1254
|
return S.suspend(() =>
|
|
@@ -1091,16 +1265,16 @@ function __c9(j: number): any {
|
|
|
1091
1265
|
),
|
|
1092
1266
|
).annotate({ identifier: "ListAuthenticationRequest" });
|
|
1093
1267
|
case 1:
|
|
1094
|
-
return S.Array(__S(
|
|
1268
|
+
return S.Array(__S(88, __c22, 0));
|
|
1095
1269
|
case 2:
|
|
1096
1270
|
return S.suspend(() =>
|
|
1097
1271
|
S.Struct({
|
|
1098
|
-
authentication: __S(
|
|
1272
|
+
authentication: __S(45, __c11, 1),
|
|
1099
1273
|
}),
|
|
1100
1274
|
).annotate({ identifier: "AuthenticationList" });
|
|
1101
1275
|
}
|
|
1102
1276
|
}
|
|
1103
|
-
function
|
|
1277
|
+
function __c12(j: number): any {
|
|
1104
1278
|
switch (j) {
|
|
1105
1279
|
case 0:
|
|
1106
1280
|
return S.suspend(() =>
|
|
@@ -1126,16 +1300,16 @@ function __c10(j: number): any {
|
|
|
1126
1300
|
}),
|
|
1127
1301
|
).annotate({ identifier: "Flavor" });
|
|
1128
1302
|
case 2:
|
|
1129
|
-
return S.Array(__S(
|
|
1303
|
+
return S.Array(__S(49, __c12, 1));
|
|
1130
1304
|
case 3:
|
|
1131
1305
|
return S.suspend(() =>
|
|
1132
1306
|
S.Struct({
|
|
1133
|
-
flavors: __S(
|
|
1307
|
+
flavors: __S(50, __c12, 2),
|
|
1134
1308
|
}),
|
|
1135
1309
|
).annotate({ identifier: "ListFlavors" });
|
|
1136
1310
|
}
|
|
1137
1311
|
}
|
|
1138
|
-
function
|
|
1312
|
+
function __c13(j: number): any {
|
|
1139
1313
|
switch (j) {
|
|
1140
1314
|
case 0:
|
|
1141
1315
|
return S.suspend(() =>
|
|
@@ -1151,16 +1325,16 @@ function __c11(j: number): any {
|
|
|
1151
1325
|
),
|
|
1152
1326
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
1153
1327
|
case 1:
|
|
1154
|
-
return S.Array(__S(
|
|
1328
|
+
return S.Array(__S(99, __c24, 3));
|
|
1155
1329
|
case 2:
|
|
1156
1330
|
return S.suspend(() =>
|
|
1157
1331
|
S.Struct({
|
|
1158
|
-
instances: __S(
|
|
1332
|
+
instances: __S(53, __c13, 1),
|
|
1159
1333
|
}),
|
|
1160
1334
|
).annotate({ identifier: "ListInstances" });
|
|
1161
1335
|
}
|
|
1162
1336
|
}
|
|
1163
|
-
function
|
|
1337
|
+
function __c14(j: number): any {
|
|
1164
1338
|
switch (j) {
|
|
1165
1339
|
case 0:
|
|
1166
1340
|
return S.suspend(() =>
|
|
@@ -1188,16 +1362,16 @@ function __c12(j: number): any {
|
|
|
1188
1362
|
}),
|
|
1189
1363
|
).annotate({ identifier: "RunnerFamily" });
|
|
1190
1364
|
case 2:
|
|
1191
|
-
return S.Array(__S(
|
|
1365
|
+
return S.Array(__S(57, __c14, 1));
|
|
1192
1366
|
case 3:
|
|
1193
1367
|
return S.suspend(() =>
|
|
1194
1368
|
S.Struct({
|
|
1195
|
-
items: __S(
|
|
1369
|
+
items: __S(58, __c14, 2),
|
|
1196
1370
|
}),
|
|
1197
1371
|
).annotate({ identifier: "RunnerFamilyList" });
|
|
1198
1372
|
}
|
|
1199
1373
|
}
|
|
1200
|
-
function
|
|
1374
|
+
function __c15(j: number): any {
|
|
1201
1375
|
switch (j) {
|
|
1202
1376
|
case 0:
|
|
1203
1377
|
return S.suspend(() =>
|
|
@@ -1224,16 +1398,42 @@ function __c13(j: number): any {
|
|
|
1224
1398
|
}),
|
|
1225
1399
|
).annotate({ identifier: "RunnerRuntime" });
|
|
1226
1400
|
case 2:
|
|
1227
|
-
return S.Array(__S(
|
|
1401
|
+
return S.Array(__S(61, __c15, 1));
|
|
1228
1402
|
case 3:
|
|
1229
1403
|
return S.suspend(() =>
|
|
1230
1404
|
S.Struct({
|
|
1231
|
-
items: __S(
|
|
1405
|
+
items: __S(62, __c15, 2),
|
|
1232
1406
|
}),
|
|
1233
1407
|
).annotate({ identifier: "RunnerRuntimeList" });
|
|
1234
1408
|
}
|
|
1235
1409
|
}
|
|
1236
|
-
function
|
|
1410
|
+
function __c16(j: number): any {
|
|
1411
|
+
switch (j) {
|
|
1412
|
+
case 0:
|
|
1413
|
+
return S.suspend(() =>
|
|
1414
|
+
S.Struct({
|
|
1415
|
+
projectId: S.String.pipe(T.Label()),
|
|
1416
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1417
|
+
}).pipe(
|
|
1418
|
+
T.Http({
|
|
1419
|
+
method: "GET",
|
|
1420
|
+
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runners",
|
|
1421
|
+
code: 200,
|
|
1422
|
+
baseUrl: "https://git.api.stackit.cloud",
|
|
1423
|
+
}),
|
|
1424
|
+
),
|
|
1425
|
+
).annotate({ identifier: "ListRunnersRequest" });
|
|
1426
|
+
case 1:
|
|
1427
|
+
return S.Array(__S(104, __c26, 0));
|
|
1428
|
+
case 2:
|
|
1429
|
+
return S.suspend(() =>
|
|
1430
|
+
S.Struct({
|
|
1431
|
+
items: __S(65, __c16, 1),
|
|
1432
|
+
}),
|
|
1433
|
+
).annotate({ identifier: "RunnerList" });
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
function __c17(j: number): any {
|
|
1237
1437
|
switch (j) {
|
|
1238
1438
|
case 0:
|
|
1239
1439
|
return S.suspend(() =>
|
|
@@ -1258,17 +1458,17 @@ function __c14(j: number): any {
|
|
|
1258
1458
|
).annotate({ identifier: "PatchAuthenticationRequest" });
|
|
1259
1459
|
}
|
|
1260
1460
|
}
|
|
1261
|
-
function
|
|
1461
|
+
function __c18(j: number): any {
|
|
1262
1462
|
switch (j) {
|
|
1263
1463
|
case 0:
|
|
1264
1464
|
return S.suspend(() =>
|
|
1265
1465
|
S.Struct({
|
|
1266
1466
|
projectId: S.String.pipe(T.Label()),
|
|
1267
1467
|
instanceId: S.String.pipe(T.Label()),
|
|
1268
|
-
acl: S.optional(S.NullOr(__S(
|
|
1468
|
+
acl: S.optional(S.NullOr(__S(0, __c0, 0))),
|
|
1269
1469
|
admin_login: S.optional(S.Boolean),
|
|
1270
|
-
feature_toggle: S.optional(__S(
|
|
1271
|
-
labels: S.optional(__S(
|
|
1470
|
+
feature_toggle: S.optional(__S(97, __c24, 1)),
|
|
1471
|
+
labels: S.optional(__S(98, __c24, 2)),
|
|
1272
1472
|
}).pipe(
|
|
1273
1473
|
T.Http({
|
|
1274
1474
|
method: "PATCH",
|
|
@@ -1280,7 +1480,28 @@ function __c15(j: number): any {
|
|
|
1280
1480
|
).annotate({ identifier: "PatchInstanceRequest" });
|
|
1281
1481
|
}
|
|
1282
1482
|
}
|
|
1283
|
-
function
|
|
1483
|
+
function __c19(j: number): any {
|
|
1484
|
+
switch (j) {
|
|
1485
|
+
case 0:
|
|
1486
|
+
return S.suspend(() =>
|
|
1487
|
+
S.Struct({
|
|
1488
|
+
projectId: S.String.pipe(T.Label()),
|
|
1489
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1490
|
+
runnerId: S.String.pipe(T.Label()),
|
|
1491
|
+
familyName: S.optional(S.String),
|
|
1492
|
+
labels: __S(0, __c0, 0),
|
|
1493
|
+
}).pipe(
|
|
1494
|
+
T.Http({
|
|
1495
|
+
method: "PATCH",
|
|
1496
|
+
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runners/{runnerId}",
|
|
1497
|
+
code: 200,
|
|
1498
|
+
baseUrl: "https://git.api.stackit.cloud",
|
|
1499
|
+
}),
|
|
1500
|
+
),
|
|
1501
|
+
).annotate({ identifier: "PatchRunnerRequest" });
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
function __c20(j: number): any {
|
|
1284
1505
|
switch (j) {
|
|
1285
1506
|
case 0:
|
|
1286
1507
|
return S.suspend(() =>
|
|
@@ -1302,7 +1523,7 @@ function __c16(j: number): any {
|
|
|
1302
1523
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1303
1524
|
}
|
|
1304
1525
|
}
|
|
1305
|
-
function
|
|
1526
|
+
function __c21(j: number): any {
|
|
1306
1527
|
switch (j) {
|
|
1307
1528
|
case 0:
|
|
1308
1529
|
return S.suspend(() =>
|
|
@@ -1327,7 +1548,7 @@ function __c17(j: number): any {
|
|
|
1327
1548
|
).annotate({ identifier: "CreateAuthenticationRequest" });
|
|
1328
1549
|
}
|
|
1329
1550
|
}
|
|
1330
|
-
function
|
|
1551
|
+
function __c22(j: number): any {
|
|
1331
1552
|
switch (j) {
|
|
1332
1553
|
case 0:
|
|
1333
1554
|
return S.suspend(() =>
|
|
@@ -1346,13 +1567,13 @@ function __c18(j: number): any {
|
|
|
1346
1567
|
).annotate({ identifier: "Authentication" });
|
|
1347
1568
|
}
|
|
1348
1569
|
}
|
|
1349
|
-
function
|
|
1570
|
+
function __c23(j: number): any {
|
|
1350
1571
|
switch (j) {
|
|
1351
1572
|
case 0:
|
|
1352
1573
|
return S.suspend(() =>
|
|
1353
1574
|
S.Struct({
|
|
1354
1575
|
projectId: S.String.pipe(T.Label()),
|
|
1355
|
-
acl: S.optional(__S(
|
|
1576
|
+
acl: S.optional(__S(0, __c0, 0)),
|
|
1356
1577
|
flavor: S.optional(S.String),
|
|
1357
1578
|
name: S.String,
|
|
1358
1579
|
}).pipe(
|
|
@@ -1366,7 +1587,7 @@ function __c19(j: number): any {
|
|
|
1366
1587
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1367
1588
|
}
|
|
1368
1589
|
}
|
|
1369
|
-
function
|
|
1590
|
+
function __c24(j: number): any {
|
|
1370
1591
|
switch (j) {
|
|
1371
1592
|
case 0:
|
|
1372
1593
|
return S.suspend(() =>
|
|
@@ -1380,7 +1601,7 @@ function __c20(j: number): any {
|
|
|
1380
1601
|
S.Struct({
|
|
1381
1602
|
default_email_notifications: S.optional(S.NullOr(S.String)),
|
|
1382
1603
|
enable_local_login: S.optional(S.NullOr(S.Boolean)),
|
|
1383
|
-
pipelines: S.optional(__S(
|
|
1604
|
+
pipelines: S.optional(__S(96, __c24, 0)),
|
|
1384
1605
|
}),
|
|
1385
1606
|
).annotate({ identifier: "FeatureToggle" });
|
|
1386
1607
|
case 2:
|
|
@@ -1388,15 +1609,15 @@ function __c20(j: number): any {
|
|
|
1388
1609
|
case 3:
|
|
1389
1610
|
return S.suspend(() =>
|
|
1390
1611
|
S.Struct({
|
|
1391
|
-
acl: __S(
|
|
1612
|
+
acl: __S(0, __c0, 0),
|
|
1392
1613
|
admin_login: S.Boolean,
|
|
1393
1614
|
consumed_disk: S.String,
|
|
1394
1615
|
consumed_object_storage: S.String,
|
|
1395
1616
|
created: S.String,
|
|
1396
|
-
feature_toggle: __S(
|
|
1617
|
+
feature_toggle: __S(97, __c24, 1),
|
|
1397
1618
|
flavor: S.String,
|
|
1398
1619
|
id: S.String,
|
|
1399
|
-
labels: S.optional(__S(
|
|
1620
|
+
labels: S.optional(__S(98, __c24, 2)),
|
|
1400
1621
|
name: S.String,
|
|
1401
1622
|
state: S.String,
|
|
1402
1623
|
url: S.String,
|
|
@@ -1405,13 +1626,7 @@ function __c20(j: number): any {
|
|
|
1405
1626
|
).annotate({ identifier: "Instance" });
|
|
1406
1627
|
}
|
|
1407
1628
|
}
|
|
1408
|
-
function
|
|
1409
|
-
switch (j) {
|
|
1410
|
-
case 0:
|
|
1411
|
-
return S.Array(S.String);
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
function __c22(j: number): any {
|
|
1629
|
+
function __c25(j: number): any {
|
|
1415
1630
|
switch (j) {
|
|
1416
1631
|
case 0:
|
|
1417
1632
|
return S.suspend(() =>
|
|
@@ -1419,11 +1634,11 @@ function __c22(j: number): any {
|
|
|
1419
1634
|
projectId: S.String.pipe(T.Label()),
|
|
1420
1635
|
instanceId: S.String.pipe(T.Label()),
|
|
1421
1636
|
familyName: S.optional(S.String),
|
|
1422
|
-
labels: __S(
|
|
1637
|
+
labels: __S(0, __c0, 0),
|
|
1423
1638
|
}).pipe(
|
|
1424
1639
|
T.Http({
|
|
1425
1640
|
method: "POST",
|
|
1426
|
-
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/
|
|
1641
|
+
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runners",
|
|
1427
1642
|
code: 200,
|
|
1428
1643
|
baseUrl: "https://git.api.stackit.cloud",
|
|
1429
1644
|
}),
|
|
@@ -1431,7 +1646,7 @@ function __c22(j: number): any {
|
|
|
1431
1646
|
).annotate({ identifier: "CreateRunnerRequest" });
|
|
1432
1647
|
}
|
|
1433
1648
|
}
|
|
1434
|
-
function
|
|
1649
|
+
function __c26(j: number): any {
|
|
1435
1650
|
switch (j) {
|
|
1436
1651
|
case 0:
|
|
1437
1652
|
return S.suspend(() =>
|
|
@@ -1439,13 +1654,13 @@ function __c23(j: number): any {
|
|
|
1439
1654
|
created_at: S.String,
|
|
1440
1655
|
familyName: S.optional(S.String),
|
|
1441
1656
|
id: S.String,
|
|
1442
|
-
labels: __S(
|
|
1657
|
+
labels: __S(0, __c0, 0),
|
|
1443
1658
|
status: S.String,
|
|
1444
1659
|
}),
|
|
1445
1660
|
).annotate({ identifier: "Runner" });
|
|
1446
1661
|
}
|
|
1447
1662
|
}
|
|
1448
|
-
function
|
|
1663
|
+
function __c27(j: number): any {
|
|
1449
1664
|
switch (j) {
|
|
1450
1665
|
case 0:
|
|
1451
1666
|
return S.suspend(() =>
|
|
@@ -1468,7 +1683,7 @@ function __c24(j: number): any {
|
|
|
1468
1683
|
).annotate({ identifier: "CreateUserRequest" });
|
|
1469
1684
|
}
|
|
1470
1685
|
}
|
|
1471
|
-
function
|
|
1686
|
+
function __c28(j: number): any {
|
|
1472
1687
|
switch (j) {
|
|
1473
1688
|
case 0:
|
|
1474
1689
|
return S.suspend(() =>
|
|
@@ -1481,7 +1696,7 @@ function __c25(j: number): any {
|
|
|
1481
1696
|
).annotate({ identifier: "User" });
|
|
1482
1697
|
}
|
|
1483
1698
|
}
|
|
1484
|
-
function
|
|
1699
|
+
function __c29(j: number): any {
|
|
1485
1700
|
switch (j) {
|
|
1486
1701
|
case 0:
|
|
1487
1702
|
return S.suspend(() =>
|
|
@@ -1500,13 +1715,13 @@ function __c26(j: number): any {
|
|
|
1500
1715
|
).annotate({ identifier: "DeleteAuthenticationRequest" });
|
|
1501
1716
|
}
|
|
1502
1717
|
}
|
|
1503
|
-
function
|
|
1718
|
+
function __c30(j: number): any {
|
|
1504
1719
|
switch (j) {
|
|
1505
1720
|
case 0:
|
|
1506
1721
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAuthenticationResponse" });
|
|
1507
1722
|
}
|
|
1508
1723
|
}
|
|
1509
|
-
function
|
|
1724
|
+
function __c31(j: number): any {
|
|
1510
1725
|
switch (j) {
|
|
1511
1726
|
case 0:
|
|
1512
1727
|
return S.suspend(() =>
|
|
@@ -1524,17 +1739,18 @@ function __c28(j: number): any {
|
|
|
1524
1739
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1525
1740
|
}
|
|
1526
1741
|
}
|
|
1527
|
-
function
|
|
1742
|
+
function __c32(j: number): any {
|
|
1528
1743
|
switch (j) {
|
|
1529
1744
|
case 0:
|
|
1530
1745
|
return S.suspend(() =>
|
|
1531
1746
|
S.Struct({
|
|
1532
1747
|
projectId: S.String.pipe(T.Label()),
|
|
1533
1748
|
instanceId: S.String.pipe(T.Label()),
|
|
1749
|
+
runnerId: S.String.pipe(T.Label()),
|
|
1534
1750
|
}).pipe(
|
|
1535
1751
|
T.Http({
|
|
1536
1752
|
method: "DELETE",
|
|
1537
|
-
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/
|
|
1753
|
+
uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runners/{runnerId}",
|
|
1538
1754
|
code: 200,
|
|
1539
1755
|
baseUrl: "https://git.api.stackit.cloud",
|
|
1540
1756
|
}),
|