@distilled.cloud/stackit 1.0.0-rc.19 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +13 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +19 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +13 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +34 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +42 -1
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +43 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +14 -5
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -126
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +226 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +285 -133
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts. Do not edit.
|
|
2
|
+
export * as dremio from "./dremio.ts";
|
|
3
|
+
export * as edge from "./edge.ts";
|
|
4
|
+
export * as functions from "./functions.ts";
|
|
5
|
+
export * as git from "./git.ts";
|
|
6
|
+
export * as intake from "./intake.ts";
|
|
7
|
+
export * as lbIpLists from "./lb_ip_lists.ts";
|
|
8
|
+
export * as mailout from "./mailout.ts";
|
|
9
|
+
export * as pubsub from "./pubsub.ts";
|
|
10
|
+
export * as sca from "./sca.ts";
|
|
11
|
+
export * as workflows from "./workflows.ts";
|
|
@@ -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,6 +31,8 @@ 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(S.Unknown),
|
|
35
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
36
|
}).pipe(C.withBadRequestError),
|
|
35
37
|
[{ status: 400 }],
|
|
36
38
|
) {}
|
|
@@ -40,6 +42,8 @@ export class Conflict
|
|
|
40
42
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
43
|
code: S.Number,
|
|
42
44
|
message: S.String,
|
|
45
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
46
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
47
|
}).pipe(C.withConflictError),
|
|
44
48
|
[{ status: 409 }],
|
|
45
49
|
) {}
|
|
@@ -49,6 +53,8 @@ export class NotFound
|
|
|
49
53
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
50
54
|
code: S.Number,
|
|
51
55
|
message: S.String,
|
|
56
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
57
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
58
|
}).pipe(C.withBadRequestError),
|
|
53
59
|
[{ status: 404 }],
|
|
54
60
|
) {}
|
|
@@ -56,7 +62,7 @@ export class NotFound
|
|
|
56
62
|
export type CreateIntakeRequestRegionId = "eu01" | "eu02";
|
|
57
63
|
export interface DremioAuth {
|
|
58
64
|
/** A Dremio personal access token for authentication */
|
|
59
|
-
personalAccessToken: string
|
|
65
|
+
personalAccessToken: string | Redacted.Redacted<string>;
|
|
60
66
|
/** The URL to the Dremio instance's OAuth 2.0 token endpoint */
|
|
61
67
|
tokenEndpoint: string;
|
|
62
68
|
}
|
|
@@ -349,7 +355,7 @@ export interface ListIntakeUsersResponse {
|
|
|
349
355
|
export type UpdateIntakeRequestRegionId = "eu01" | "eu02";
|
|
350
356
|
export interface DremioAuthPatch {
|
|
351
357
|
/** A Dremio personal access token for authentication */
|
|
352
|
-
personalAccessToken?: string | undefined;
|
|
358
|
+
personalAccessToken?: string | Redacted.Redacted<string> | undefined;
|
|
353
359
|
/** The URL to the Dremio instance's OAuth 2.0 token endpoint */
|
|
354
360
|
tokenEndpoint?: string | undefined;
|
|
355
361
|
}
|
|
@@ -449,7 +455,8 @@ export const createIntake: API.OperationMethod<
|
|
|
449
455
|
> = /*@__PURE__*/ API.make(() => ({
|
|
450
456
|
input: __S(64, __c8, 0) as any as S.Schema<CreateIntakeRequest>,
|
|
451
457
|
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
452
|
-
errors: [BadRequest, Conflict
|
|
458
|
+
errors: [BadRequest, Conflict],
|
|
459
|
+
serviceErrors: StackitServiceErrors,
|
|
453
460
|
protocol: StackitProtocol,
|
|
454
461
|
retry: Retry.Retry,
|
|
455
462
|
telemetry: TELEMETRY,
|
|
@@ -466,7 +473,8 @@ export const createIntakeRunner: API.OperationMethod<
|
|
|
466
473
|
> = /*@__PURE__*/ API.make(() => ({
|
|
467
474
|
input: __S(88, __c11, 0) as any as S.Schema<CreateIntakeRunnerRequest>,
|
|
468
475
|
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
469
|
-
errors: [BadRequest, Conflict
|
|
476
|
+
errors: [BadRequest, Conflict],
|
|
477
|
+
serviceErrors: StackitServiceErrors,
|
|
470
478
|
protocol: StackitProtocol,
|
|
471
479
|
retry: Retry.Retry,
|
|
472
480
|
telemetry: TELEMETRY,
|
|
@@ -483,7 +491,8 @@ export const createIntakeUser: API.OperationMethod<
|
|
|
483
491
|
> = /*@__PURE__*/ API.make(() => ({
|
|
484
492
|
input: __S(104, __c13, 0) as any as S.Schema<CreateIntakeUserRequest>,
|
|
485
493
|
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
486
|
-
errors: [BadRequest, Conflict
|
|
494
|
+
errors: [BadRequest, Conflict],
|
|
495
|
+
serviceErrors: StackitServiceErrors,
|
|
487
496
|
protocol: StackitProtocol,
|
|
488
497
|
retry: Retry.Retry,
|
|
489
498
|
telemetry: TELEMETRY,
|
|
@@ -500,7 +509,8 @@ export const deleteIntake: API.OperationMethod<
|
|
|
500
509
|
> = /*@__PURE__*/ API.make(() => ({
|
|
501
510
|
input: __S(120, __c15, 0) as any as S.Schema<DeleteIntakeRequest>,
|
|
502
511
|
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeResponse>,
|
|
503
|
-
errors: [NotFound, Conflict
|
|
512
|
+
errors: [NotFound, Conflict],
|
|
513
|
+
serviceErrors: StackitServiceErrors,
|
|
504
514
|
protocol: StackitProtocol,
|
|
505
515
|
retry: Retry.Retry,
|
|
506
516
|
telemetry: TELEMETRY,
|
|
@@ -517,7 +527,8 @@ export const deleteIntakeRunner: API.OperationMethod<
|
|
|
517
527
|
> = /*@__PURE__*/ API.make(() => ({
|
|
518
528
|
input: __S(136, __c17, 0) as any as S.Schema<DeleteIntakeRunnerRequest>,
|
|
519
529
|
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeRunnerResponse>,
|
|
520
|
-
errors: [NotFound, Conflict
|
|
530
|
+
errors: [NotFound, Conflict],
|
|
531
|
+
serviceErrors: StackitServiceErrors,
|
|
521
532
|
protocol: StackitProtocol,
|
|
522
533
|
retry: Retry.Retry,
|
|
523
534
|
telemetry: TELEMETRY,
|
|
@@ -534,7 +545,8 @@ export const deleteIntakeUser: API.OperationMethod<
|
|
|
534
545
|
> = /*@__PURE__*/ API.make(() => ({
|
|
535
546
|
input: __S(144, __c18, 0) as any as S.Schema<DeleteIntakeUserRequest>,
|
|
536
547
|
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeUserResponse>,
|
|
537
|
-
errors: [NotFound, Conflict
|
|
548
|
+
errors: [NotFound, Conflict],
|
|
549
|
+
serviceErrors: StackitServiceErrors,
|
|
538
550
|
protocol: StackitProtocol,
|
|
539
551
|
retry: Retry.Retry,
|
|
540
552
|
telemetry: TELEMETRY,
|
|
@@ -551,7 +563,8 @@ export const getIntake: API.OperationMethod<
|
|
|
551
563
|
> = /*@__PURE__*/ API.make(() => ({
|
|
552
564
|
input: __S(152, __c19, 0) as any as S.Schema<GetIntakeRequest>,
|
|
553
565
|
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
554
|
-
errors: [NotFound
|
|
566
|
+
errors: [NotFound],
|
|
567
|
+
serviceErrors: StackitServiceErrors,
|
|
555
568
|
protocol: StackitProtocol,
|
|
556
569
|
retry: Retry.Retry,
|
|
557
570
|
telemetry: TELEMETRY,
|
|
@@ -568,7 +581,8 @@ export const getIntakeRunner: API.OperationMethod<
|
|
|
568
581
|
> = /*@__PURE__*/ API.make(() => ({
|
|
569
582
|
input: __S(0, __c0, 0) as any as S.Schema<GetIntakeRunnerRequest>,
|
|
570
583
|
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
571
|
-
errors: [NotFound
|
|
584
|
+
errors: [NotFound],
|
|
585
|
+
serviceErrors: StackitServiceErrors,
|
|
572
586
|
protocol: StackitProtocol,
|
|
573
587
|
retry: Retry.Retry,
|
|
574
588
|
telemetry: TELEMETRY,
|
|
@@ -585,7 +599,8 @@ export const getIntakeUser: API.OperationMethod<
|
|
|
585
599
|
> = /*@__PURE__*/ API.make(() => ({
|
|
586
600
|
input: __S(8, __c1, 0) as any as S.Schema<GetIntakeUserRequest>,
|
|
587
601
|
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
588
|
-
errors: [NotFound
|
|
602
|
+
errors: [NotFound],
|
|
603
|
+
serviceErrors: StackitServiceErrors,
|
|
589
604
|
protocol: StackitProtocol,
|
|
590
605
|
retry: Retry.Retry,
|
|
591
606
|
telemetry: TELEMETRY,
|
|
@@ -602,7 +617,8 @@ export const listIntakeRunners: API.OperationMethod<
|
|
|
602
617
|
> = /*@__PURE__*/ API.make(() => ({
|
|
603
618
|
input: __S(16, __c2, 0) as any as S.Schema<ListIntakeRunnersRequest>,
|
|
604
619
|
output: __S(18, __c2, 2) as any as S.Schema<ListIntakeRunnersResponse>,
|
|
605
|
-
errors: [
|
|
620
|
+
errors: [],
|
|
621
|
+
serviceErrors: StackitServiceErrors,
|
|
606
622
|
protocol: StackitProtocol,
|
|
607
623
|
retry: Retry.Retry,
|
|
608
624
|
telemetry: TELEMETRY,
|
|
@@ -619,7 +635,8 @@ export const listIntakes: API.OperationMethod<
|
|
|
619
635
|
> = /*@__PURE__*/ API.make(() => ({
|
|
620
636
|
input: __S(24, __c3, 0) as any as S.Schema<ListIntakesRequest>,
|
|
621
637
|
output: __S(26, __c3, 2) as any as S.Schema<ListIntakesResponse>,
|
|
622
|
-
errors: [
|
|
638
|
+
errors: [],
|
|
639
|
+
serviceErrors: StackitServiceErrors,
|
|
623
640
|
protocol: StackitProtocol,
|
|
624
641
|
retry: Retry.Retry,
|
|
625
642
|
telemetry: TELEMETRY,
|
|
@@ -636,7 +653,8 @@ export const listIntakeUsers: API.OperationMethod<
|
|
|
636
653
|
> = /*@__PURE__*/ API.make(() => ({
|
|
637
654
|
input: __S(32, __c4, 0) as any as S.Schema<ListIntakeUsersRequest>,
|
|
638
655
|
output: __S(34, __c4, 2) as any as S.Schema<ListIntakeUsersResponse>,
|
|
639
|
-
errors: [
|
|
656
|
+
errors: [],
|
|
657
|
+
serviceErrors: StackitServiceErrors,
|
|
640
658
|
protocol: StackitProtocol,
|
|
641
659
|
retry: Retry.Retry,
|
|
642
660
|
telemetry: TELEMETRY,
|
|
@@ -653,7 +671,8 @@ export const updateIntake: API.OperationMethod<
|
|
|
653
671
|
> = /*@__PURE__*/ API.make(() => ({
|
|
654
672
|
input: __S(43, __c5, 3) as any as S.Schema<UpdateIntakeRequest>,
|
|
655
673
|
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
656
|
-
errors: [NotFound, Conflict
|
|
674
|
+
errors: [NotFound, Conflict],
|
|
675
|
+
serviceErrors: StackitServiceErrors,
|
|
657
676
|
protocol: StackitProtocol,
|
|
658
677
|
retry: Retry.Retry,
|
|
659
678
|
telemetry: TELEMETRY,
|
|
@@ -670,7 +689,8 @@ export const updateIntakeRunner: API.OperationMethod<
|
|
|
670
689
|
> = /*@__PURE__*/ API.make(() => ({
|
|
671
690
|
input: __S(48, __c6, 0) as any as S.Schema<UpdateIntakeRunnerRequest>,
|
|
672
691
|
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
673
|
-
errors: [BadRequest, Conflict
|
|
692
|
+
errors: [BadRequest, Conflict],
|
|
693
|
+
serviceErrors: StackitServiceErrors,
|
|
674
694
|
protocol: StackitProtocol,
|
|
675
695
|
retry: Retry.Retry,
|
|
676
696
|
telemetry: TELEMETRY,
|
|
@@ -687,7 +707,8 @@ export const updateIntakeUser: API.OperationMethod<
|
|
|
687
707
|
> = /*@__PURE__*/ API.make(() => ({
|
|
688
708
|
input: __S(56, __c7, 0) as any as S.Schema<UpdateIntakeUserRequest>,
|
|
689
709
|
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
690
|
-
errors: [NotFound, Conflict
|
|
710
|
+
errors: [NotFound, Conflict],
|
|
711
|
+
serviceErrors: StackitServiceErrors,
|
|
691
712
|
protocol: StackitProtocol,
|
|
692
713
|
retry: Retry.Retry,
|
|
693
714
|
telemetry: TELEMETRY,
|
|
@@ -827,7 +848,7 @@ function __c5(j: number): any {
|
|
|
827
848
|
case 0:
|
|
828
849
|
return S.suspend(() =>
|
|
829
850
|
S.Struct({
|
|
830
|
-
personalAccessToken: S.optional(S.String),
|
|
851
|
+
personalAccessToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
831
852
|
tokenEndpoint: S.optional(S.String),
|
|
832
853
|
}),
|
|
833
854
|
).annotate({ identifier: "DremioAuthPatch" });
|
|
@@ -955,7 +976,7 @@ function __c10(j: number): any {
|
|
|
955
976
|
case 0:
|
|
956
977
|
return S.suspend(() =>
|
|
957
978
|
S.Struct({
|
|
958
|
-
personalAccessToken: S.String,
|
|
979
|
+
personalAccessToken: S.String.pipe(T.SensitiveValue({})),
|
|
959
980
|
tokenEndpoint: S.String,
|
|
960
981
|
}),
|
|
961
982
|
).annotate({ identifier: "DremioAuth" });
|
|
@@ -3,7 +3,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
-
import {
|
|
6
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
7
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -30,6 +30,8 @@ export class BadRequest
|
|
|
30
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
31
31
|
code: S.Number,
|
|
32
32
|
message: S.String,
|
|
33
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
34
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
33
35
|
}).pipe(C.withBadRequestError),
|
|
34
36
|
[{ status: 400 }],
|
|
35
37
|
) {}
|
|
@@ -39,6 +41,8 @@ export class Forbidden
|
|
|
39
41
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
40
42
|
code: S.Number,
|
|
41
43
|
message: S.String,
|
|
44
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
45
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
42
46
|
}).pipe(C.withAuthError),
|
|
43
47
|
[{ status: 403 }],
|
|
44
48
|
) {}
|
|
@@ -48,6 +52,8 @@ export class NotFound
|
|
|
48
52
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
49
53
|
code: S.Number,
|
|
50
54
|
message: S.String,
|
|
55
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
56
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
51
57
|
}).pipe(C.withBadRequestError),
|
|
52
58
|
[{ status: 404 }],
|
|
53
59
|
) {}
|
|
@@ -57,6 +63,8 @@ export class UnprocessableEntity
|
|
|
57
63
|
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
58
64
|
code: S.Number,
|
|
59
65
|
message: S.String,
|
|
66
|
+
body: /*@__PURE__*/ S.optional(S.Unknown),
|
|
67
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
60
68
|
}).pipe(C.withBadRequestError),
|
|
61
69
|
[{ status: 422 }],
|
|
62
70
|
) {}
|
|
@@ -136,7 +144,7 @@ export interface UploadIPListRequest {
|
|
|
136
144
|
projectId: string;
|
|
137
145
|
region: string;
|
|
138
146
|
name: string;
|
|
139
|
-
/**
|
|
147
|
+
/** Upload a TXT file with one IPv4 CIDR per line, or a CSV file with "cidr" as column name in the header line. Additional CSV columns are ignored. */
|
|
140
148
|
fileContent: string;
|
|
141
149
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
142
150
|
labels?: UploadIPListRequestLabelsMap | undefined;
|
|
@@ -151,7 +159,8 @@ export const deleteIPList: API.OperationMethod<
|
|
|
151
159
|
> = /*@__PURE__*/ API.make(() => ({
|
|
152
160
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteIPListRequest>,
|
|
153
161
|
output: __S(1, __c0, 1) as any as S.Schema<DeleteIPListResponse2>,
|
|
154
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
162
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
163
|
+
serviceErrors: StackitServiceErrors,
|
|
155
164
|
protocol: StackitProtocol,
|
|
156
165
|
retry: Retry.Retry,
|
|
157
166
|
telemetry: TELEMETRY,
|
|
@@ -168,7 +177,8 @@ export const getIPList: API.OperationMethod<
|
|
|
168
177
|
> = /*@__PURE__*/ API.make(() => ({
|
|
169
178
|
input: __S(4, __c1, 0) as any as S.Schema<GetIPListRequest>,
|
|
170
179
|
output: __S(11, __c2, 3) as any as S.Schema<GetIPListResponse>,
|
|
171
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
180
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
181
|
+
serviceErrors: StackitServiceErrors,
|
|
172
182
|
protocol: StackitProtocol,
|
|
173
183
|
retry: Retry.Retry,
|
|
174
184
|
telemetry: TELEMETRY,
|
|
@@ -185,7 +195,8 @@ export const getQuota: API.OperationMethod<
|
|
|
185
195
|
> = /*@__PURE__*/ API.make(() => ({
|
|
186
196
|
input: __S(12, __c3, 0) as any as S.Schema<GetQuotaRequest>,
|
|
187
197
|
output: __S(15, __c3, 3) as any as S.Schema<GetQuotaResponse>,
|
|
188
|
-
errors: [BadRequest, Forbidden
|
|
198
|
+
errors: [BadRequest, Forbidden],
|
|
199
|
+
serviceErrors: StackitServiceErrors,
|
|
189
200
|
protocol: StackitProtocol,
|
|
190
201
|
retry: Retry.Retry,
|
|
191
202
|
telemetry: TELEMETRY,
|
|
@@ -202,7 +213,8 @@ export const listIPLists: API.OperationMethod<
|
|
|
202
213
|
> = /*@__PURE__*/ API.make(() => ({
|
|
203
214
|
input: __S(16, __c4, 0) as any as S.Schema<ListIPListsRequest>,
|
|
204
215
|
output: __S(18, __c4, 2) as any as S.Schema<ListIPListsResponse>,
|
|
205
|
-
errors: [BadRequest, Forbidden
|
|
216
|
+
errors: [BadRequest, Forbidden],
|
|
217
|
+
serviceErrors: StackitServiceErrors,
|
|
206
218
|
protocol: StackitProtocol,
|
|
207
219
|
retry: Retry.Retry,
|
|
208
220
|
telemetry: TELEMETRY,
|
|
@@ -219,7 +231,8 @@ export const uploadIPList: API.OperationMethod<
|
|
|
219
231
|
> = /*@__PURE__*/ API.make(() => ({
|
|
220
232
|
input: __S(20, __c5, 0) as any as S.Schema<UploadIPListRequest>,
|
|
221
233
|
output: __S(11, __c2, 3) as any as S.Schema<GetIPListResponse>,
|
|
222
|
-
errors: [BadRequest, Forbidden, UnprocessableEntity
|
|
234
|
+
errors: [BadRequest, Forbidden, UnprocessableEntity],
|
|
235
|
+
serviceErrors: StackitServiceErrors,
|
|
223
236
|
protocol: StackitProtocol,
|
|
224
237
|
retry: Retry.Retry,
|
|
225
238
|
telemetry: TELEMETRY,
|