@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
|
@@ -6,42 +6,54 @@ export type { StackitOpError, StackitOpContext };
|
|
|
6
6
|
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
7
7
|
readonly code: any;
|
|
8
8
|
readonly message: any;
|
|
9
|
+
readonly body: any;
|
|
10
|
+
readonly headers: any;
|
|
9
11
|
}> & (new (...args: any[]) => {
|
|
10
12
|
"@distilled.cloud/error/categories": {
|
|
11
13
|
BadRequestError: true;
|
|
12
14
|
};
|
|
13
15
|
});
|
|
14
16
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
17
|
+
readonly body?: ErrorResponse | string;
|
|
15
18
|
}
|
|
16
19
|
declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
|
|
17
20
|
readonly code: any;
|
|
18
21
|
readonly message: any;
|
|
22
|
+
readonly body: any;
|
|
23
|
+
readonly headers: any;
|
|
19
24
|
}> & (new (...args: any[]) => {
|
|
20
25
|
"@distilled.cloud/error/categories": {
|
|
21
26
|
ConflictError: true;
|
|
22
27
|
};
|
|
23
28
|
});
|
|
24
29
|
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
30
|
+
readonly body?: ErrorResponse | string;
|
|
25
31
|
}
|
|
26
32
|
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
27
33
|
readonly code: any;
|
|
28
34
|
readonly message: any;
|
|
35
|
+
readonly body: any;
|
|
36
|
+
readonly headers: any;
|
|
29
37
|
}> & (new (...args: any[]) => {
|
|
30
38
|
"@distilled.cloud/error/categories": {
|
|
31
39
|
AuthError: true;
|
|
32
40
|
};
|
|
33
41
|
});
|
|
34
42
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
43
|
+
readonly body?: ErrorResponse | string;
|
|
35
44
|
}
|
|
36
45
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
37
46
|
readonly code: any;
|
|
38
47
|
readonly message: any;
|
|
48
|
+
readonly body: any;
|
|
49
|
+
readonly headers: any;
|
|
39
50
|
}> & (new (...args: any[]) => {
|
|
40
51
|
"@distilled.cloud/error/categories": {
|
|
41
52
|
BadRequestError: true;
|
|
42
53
|
};
|
|
43
54
|
});
|
|
44
55
|
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
56
|
+
readonly body?: ErrorResponse | string;
|
|
45
57
|
}
|
|
46
58
|
export interface BasicAuth {
|
|
47
59
|
/** The password or token */
|
|
@@ -131,6 +143,7 @@ export type GitAuthResponseOutput = BasicAuthResponseOutput | NoAuth;
|
|
|
131
143
|
export type GitDagBundleResponseOutputType = "git";
|
|
132
144
|
/** A Git-based DAG bundle as returned by the API. The auth structure (type, username) is included; passwords are masked. */
|
|
133
145
|
export interface GitDagBundleResponseOutput {
|
|
146
|
+
/** Authentication configuration. Passwords are always masked in responses. */
|
|
134
147
|
auth: GitAuthResponseOutput;
|
|
135
148
|
/** The branch, tag or ref being tracked. */
|
|
136
149
|
branch: string;
|
|
@@ -172,6 +185,7 @@ export interface S3DagBundleResponse {
|
|
|
172
185
|
prefix?: string | undefined;
|
|
173
186
|
/** How often (in seconds) to check for new objects. */
|
|
174
187
|
refreshInterval?: number | undefined;
|
|
188
|
+
/** Authentication configuration. Secret keys are always masked in responses. */
|
|
175
189
|
s3Auth: S3AuthResponse;
|
|
176
190
|
/** Bundle type identifier. */
|
|
177
191
|
type: S3DagBundleResponseType;
|
|
@@ -230,6 +244,7 @@ export interface CreateInstanceRequest {
|
|
|
230
244
|
regionId: string;
|
|
231
245
|
/** List of DAG bundles to configure. Supports Git and S3 sources. If provided, this takes precedence over dagsRepository. At least one bundle must be specified. Maximum 10 bundles. Only supported for Airflow 3 versions. */
|
|
232
246
|
dagBundles?: CreateInstanceRequestDagBundlesList | undefined;
|
|
247
|
+
/** DEPRECATED for Airflow 3. The Git DAG repository configuration. If dagBundles is provided, this field is ignored. Creates a default Git bundle named "dags". At least one of dagsRepository or dagBundles must be provided. */
|
|
233
248
|
dagsRepository?: GitRepository | undefined;
|
|
234
249
|
/** A user chosen description to distinguish multiple STACKIT Workflows instances. */
|
|
235
250
|
description?: string | undefined;
|
|
@@ -262,7 +277,8 @@ export interface Instance {
|
|
|
262
277
|
createdAt: string;
|
|
263
278
|
/** All configured DAG bundles. This is the canonical source of truth for DAG sources. Available for Airflow 3 instances. */
|
|
264
279
|
dagBundles?: InstanceDagBundlesList | undefined;
|
|
265
|
-
|
|
280
|
+
/** DEPRECATED. The primary Git DAG repository. Always populated from the first Git bundle in dagBundles for backward compatibility. Use dagBundles instead. May be None for S3-only Airflow 3 instances. */
|
|
281
|
+
dagsRepository?: GitRepository | null | undefined;
|
|
266
282
|
/** A user chosen description to distinguish multiple STACKIT Workflows instances. */
|
|
267
283
|
description?: string | undefined;
|
|
268
284
|
/** The displayed name of the STACKIT Workflows instance. */
|
|
@@ -371,6 +387,7 @@ export interface ListInstancesResponse {
|
|
|
371
387
|
export type UpdateGitDagBundlePayloadType = "git";
|
|
372
388
|
/** Partial update payload for a Git DAG bundle. All fields except "type" are optional; only the provided fields will be updated. */
|
|
373
389
|
export interface UpdateGitDagBundlePayload {
|
|
390
|
+
/** Updated authentication credentials. Must be provided when changing the URL. */
|
|
374
391
|
auth?: GitAuth | undefined;
|
|
375
392
|
/** Updated branch/tag/ref to track. */
|
|
376
393
|
branch?: string | undefined;
|
|
@@ -395,6 +412,7 @@ export interface UpdateS3DagBundlePayload {
|
|
|
395
412
|
prefix?: string | undefined;
|
|
396
413
|
/** Updated refresh interval in seconds. */
|
|
397
414
|
refreshInterval?: number | undefined;
|
|
415
|
+
/** Updated S3 authentication credentials. Must be provided when changing the bucket name or endpoint. */
|
|
398
416
|
s3Auth?: S3Auth | undefined;
|
|
399
417
|
/** Bundle type identifier -- must match the existing bundle's type. */
|
|
400
418
|
type: UpdateS3DagBundlePayloadType;
|
|
@@ -486,6 +504,16 @@ export interface UpdateObservabilityRequest {
|
|
|
486
504
|
/** Unique identifier of the customer's observability instance. */
|
|
487
505
|
observabilityId?: string | undefined;
|
|
488
506
|
}
|
|
507
|
+
export type ErrorResponseFieldsValueList = Array<string>;
|
|
508
|
+
export type ErrorResponseFieldsMap = {
|
|
509
|
+
[key: string]: ErrorResponseFieldsValueList | undefined;
|
|
510
|
+
};
|
|
511
|
+
export interface ErrorResponse {
|
|
512
|
+
code: number;
|
|
513
|
+
fields?: ErrorResponseFieldsMap | undefined;
|
|
514
|
+
message: string;
|
|
515
|
+
type: string;
|
|
516
|
+
}
|
|
489
517
|
export type CreateDagBundleError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
490
518
|
/** Adds a new DAG bundle to this STACKIT Workflows instance. Only supported for Airflow 3 instances. Maximum 10 bundles per instance. */
|
|
491
519
|
export declare const createDagBundle: API.OperationMethod<CreateDagBundleRequest, CreateDagBundleResponse, CreateDagBundleError, StackitOpContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sources":["../../src/unstable-services/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAEvD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM7F,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;;;;;;;;;;;AAejD,qBAAa,UACX,SAA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,m as p,n as m,nd as h,od as g,protocol$StackitProtocol as _,qd as v,retry$Retry as y,sd as b,td as x,traits$Http as S,traits$HttpBody as C,traits$Label as w,traits$RawResponseRoot as T,traits$applyErrorMatchers as E,vd as D,ya as O,za as k}from"../_bundle/sdk.js";const A={system:`stackit-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`STACKIT`,service:`Workflows`,labels:`stackit`,propagate:`w3c`};const j=/*@__PURE__*/ c(function BadRequest(n){return p(n,new.target,[`$10($9()("BadRequest",{code:$2,message:$3,body:$7($6([$5(>1),$3])),headers:$7($8($3,$3))}).pipe($1),[{status:400}]);#4:2`,[D,k,u,h,__d0,t,b,e,f,v,E]])});const M=/*@__PURE__*/ c(function Conflict(r){return p(r,new.target,[`$10($9()("Conflict",{code:$2,message:$3,body:$7($6([$5(>1),$3])),headers:$7($8($3,$3))}).pipe($1),[{status:409}]);#4:2`,[D,n,u,h,__d0,t,b,e,f,v,E]])});const N=/*@__PURE__*/ c(function Forbidden(n){return p(n,new.target,[`$10($9()("Forbidden",{code:$2,message:$3,body:$7($6([$5(>1),$3])),headers:$7($8($3,$3))}).pipe($1),[{status:403}]);#4:2`,[D,O,u,h,__d0,t,b,e,f,v,E]])});const P=/*@__PURE__*/ c(function NotFound(n){return p(n,new.target,[`$10($9()("NotFound",{code:$2,message:$3,body:$7($6([$5(>1),$3])),headers:$7($8($3,$3))}).pipe($1),[{status:404}]);#4:2`,[D,k,u,h,__d0,t,b,e,f,v,E]])});const F=/*@__PURE__*/ m(e=>e===r?d(`CreateDagBundle`,`{input:#1,output:#8:0,errors:[$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$7(>2)@"%Request";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),body:$5.pipe($4())}).pipe($1({method:"POST",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,C,x,g,t,__d1,j,N,P,M,s,_,y,A]):a(F,e));const I=/*@__PURE__*/ m(n=>n===r?d(`CreateInstance`,`{input:#1,output:#4:4,errors:[$10,$11],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$9(>2)@"%Request";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),dagBundles:$5(#4:0),dagsRepository:$5(#4:1),description:$5($3),displayName:$3,enableAirflowExampleDags:$5($6),enableStackitExampleDags:$5($6),identityProvider:$5($7),network:$5(#4:2),observabilityId:$5($3),version:$3}).pipe($1({method:"POST",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,__d2,e,o,x,g,t,j,N,s,_,y,A]):a(I,n));const L=/*@__PURE__*/ m(e=>e===r?d(`DeleteDagBundle`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$5(>2)@"%Request";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),bundleName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,g,t,__d3,j,N,P,M,s,_,y,A]):a(L,e));const R=/*@__PURE__*/ m(e=>e===r?d(`DeleteInstance`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$5(>2)@"%Request";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,g,t,__d3,j,N,P,M,s,_,y,A]):a(R,e));const z=/*@__PURE__*/ m(e=>e===r?d(`GetDagBundle`,`{input:#1,output:#6:0,errors:[$7,$8],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$5(>2)@"%Request";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),bundleName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,g,t,__d1,N,P,s,_,y,A]):a(z,e));const B=/*@__PURE__*/ m(e=>e===r?d(`GetInstance`,`{input:#1,output:#6:4,errors:[$7,$8,$9],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>2)@"%Request";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,g,t,__d2,j,N,P,s,_,y,A]):a(B,e));const V=/*@__PURE__*/ m(n=>n===r?d(`ProviderOptions`,`{input:#1,output:#4,errors:[$8],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"Get%"};$5(>5)@"Get%Request";$5(>6)@"SupportedVersion";$7(#2);$5(>7)@"%";$4({regionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/regions/{regionId}/provider-options",code:200,baseUrl:"https://workflows.api.stackit.cloud"}));$4({expirationDate:$6($3),state:$3,version:$3});$4({versions:#3})`,[D,S,w,h,g,t,e,i,j,s,_,y,A]):a(V,n));const H=/*@__PURE__*/ m(e=>e===r?d(`ListDagBundles`,`{input:#1,output:#3,errors:[$8,$9,$10],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$5(>4)@"%Request";$7($6);$5(>5)@"%ResponseOutput";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles",code:200,baseUrl:"https://workflows.api.stackit.cloud"}));$4({dagBundles:#2})`,[D,S,w,h,g,t,x,i,j,N,P,s,_,y,A]):a(H,e));const U=/*@__PURE__*/ m(e=>e===r?d(`ListInstances`,`{input:#1,output:#3,errors:[$8,$9],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>4)@"%Request";$7(#6:4);$5(>5)@"%Response";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances",code:200,baseUrl:"https://workflows.api.stackit.cloud"}));$4({instances:#2})`,[D,S,w,h,g,t,__d2,i,j,N,s,_,y,A]):a(U,e));const W=/*@__PURE__*/ m(e=>e===r?d(`UpdateDagBundle`,`{input:#1,output:#8:0,errors:[$9,$10,$11],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$7(>2)@"%Request";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),bundleName:$3.pipe($2()),body:$5.pipe($4())}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,C,x,g,t,__d1,j,N,P,s,_,y,A]):a(W,e));const G=/*@__PURE__*/ m(n=>n===r?d(`UpdateDagsRepository`,`{input:#1,output:#8:4,errors:[$9,$10,$11],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$7(>2)@"%Request";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),auth:$5($4),branch:$5($3),url:$5($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dags-repository",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,x,e,g,t,__d2,j,N,P,s,_,y,A]):a(G,n));const K=/*@__PURE__*/ m(e=>e===r?d(`UpdateIdentityProvider`,`{input:#1,output:#8:4,errors:[$9,$10,$11],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$7(>2)@"%Request";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),body:$5.pipe($4())}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/identity-provider",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,C,x,g,t,__d2,j,N,P,s,_,y,A]):a(K,e));const q=/*@__PURE__*/ m(n=>n===r?d(`UpdateInstance`,`{input:#1,output:#8:4,errors:[$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$7(>2)@"%Request";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),description:$4($3),displayName:$4($3),enableAirflowExampleDags:$4($5),enableStackitExampleDags:$4($5),version:$4($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,e,o,g,t,__d2,j,N,P,M,s,_,y,A]):a(q,n));const J=/*@__PURE__*/ m(n=>n===r?d(`UpdateObservability`,`{input:#1,output:#7:4,errors:[$8,$9,$10],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$6(>2)@"%Request";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),instanceId:$3.pipe($2()),observabilityId:$4($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/observability",code:200,baseUrl:"https://workflows.api.stackit.cloud"}))`,[D,S,w,h,e,g,t,__d2,j,N,P,s,_,y,A]):a(J,n));function __d0(){return[`$2($1);$3($1,#0);$7(>3)@"ErrorResponse";$6({code:$4,fields:$5(#1),message:$1,type:$1})`,[D,h,i,f,u,e,g,t]]}function __d1(){return[`$3(>1)@"CreateDagBundleResponse";$2.pipe($1())`,[D,T,x,t]]}function __d2(){return[`$2($1);$5(>5)@"GitRepository";$5(>6)@"Network";$5(>7)@"Endpoints";$5(>8)@"Instance";$4({auth:$1,branch:$3,url:$3});$4({id:$6($3)});$4({redirectUrl:$3,url:$3});$4({createdAt:$3,dagBundles:$6(#0),dagsRepository:$6($7(#1)),description:$6($3),displayName:$3,enableAirflowExampleDags:$6($8),enableStackitExampleDags:$6($8),endpoints:#3,id:$3,identityProvider:$1,network:$6(#2),observabilityId:$6($3),projectId:$3,regionId:$3,status:$3,statusMessage:$6($3),version:$3})`,[D,x,i,h,g,t,e,l,o]]}function __d3(){return[`$2(>1)@"DeleteDagBundleResponse";$1({})`,[D,g,t]]}export{j as BadRequest,M as Conflict,N as Forbidden,P as NotFound,F as createDagBundle,I as createInstance,L as deleteDagBundle,R as deleteInstance,z as getDagBundle,B as getInstance,V as getProviderOptions,H as listDagBundles,U as listInstances,W as updateDagBundle,G as updateDagsRepository,K as updateIdentityProvider,q as updateInstance,J as updateObservability};
|
|
2
|
+
/*
|
|
3
|
+
30 23
|
|
4
|
+
e:0:Ad t:0:Bd n:0:Ca r:0:a i:0:ad a:0:b o:0:bd s:0:errors$StackitServiceErrors c:0:f l:0:jd u:0:kd d:0:l f:0:ld p:0:m m:0:n h:0:nd g:0:od _:0:protocol$StackitProtocol v:0:qd y:0:retry$Retry b:0:sd x:0:td S:0:traits$Http C:0:traits$HttpBody w:0:traits$Label T:0:traits$RawResponseRoot E:0:traits$applyErrorMatchers D:0:vd O:0:ya k:0:za
|
|
5
|
+
00000000250004500066000860009y000bs000dl000fj000he000jg000ln000nw000q0000s4000t9000ue000vl000wu000x6000yb000z80010f0011a
|
|
6
|
+
2 181 1l7 F|=CreateDagBundle;18v 1jv;r,m,o,f,n,l,g,1,1e,18,1a,1b,19,7,h,j,1c
|
|
7
|
+
2 1lx 22x I|=CreateInstance;1mq 21n;r,m,o,f,1f,0,6,l,g,1,18,1a,7,h,j,1c
|
|
8
|
+
2 23n 2h8 L|=DeleteDagBundle;24h 2g0;r,m,o,f,g,1,1g,18,1a,1b,19,7,h,j,1c
|
|
9
|
+
2 2hy 2u4 R|=DeleteInstance;2ir 2sw;r,m,o,f,g,1,1g,18,1a,1b,19,7,h,j,1c
|
|
10
|
+
2 2uu 37x z|=GetDagBundle;2vl 36t;r,m,o,f,g,1,1e,1a,1b,7,h,j,1c
|
|
11
|
+
2 38n 3kh B|=GetInstance;39d 3jb;r,m,o,f,g,1,1f,18,1a,1b,7,h,j,1c
|
|
12
|
+
2 3l7 3xv V|=ProviderOptions;3m1 3wu;r,m,o,f,g,1,0,4,18,7,h,j,1c
|
|
13
|
+
2 3yl 4c8 H|=ListDagBundles;3ze 4b3;r,m,o,f,g,1,l,4,18,1a,1b,7,h,j,1c
|
|
14
|
+
2 4cy 4oy U|=ListInstances;4dq 4ns;r,m,o,f,g,1,1f,4,18,1a,7,h,j,1c
|
|
15
|
+
2 4po 53r W|=UpdateDagBundle;4qi 52h;r,m,o,f,n,l,g,1,1e,18,1a,1b,7,h,j,1c
|
|
16
|
+
2 54h 5i9 G|=UpdateDagsRepository;55g 5gz;r,m,o,f,l,0,g,1,1f,18,1a,1b,7,h,j,1c
|
|
17
|
+
2 5iz 5wd K|=UpdateIdentityProvider;5k0 5v3;r,m,o,f,n,l,g,1,1f,18,1a,1b,7,h,j,1c
|
|
18
|
+
2 5x3 6cn q|=UpdateInstance;5xw 6bb;r,m,o,f,0,6,g,1,1f,18,1a,1b,19,7,h,j,1c
|
|
19
|
+
2 6dd 6ql J|=UpdateObservability;6eb 6pd;r,m,o,f,0,g,1,1f,18,1a,1b,7,h,j,1c
|
|
20
|
+
3 jf ox j|=;kq o2;r,t,a,f,1d,1,k,0,c,i,q
|
|
21
|
+
3 pn v1 M|=;qw u6;r,2,a,f,1d,1,k,0,c,i,q
|
|
22
|
+
3 vr 117 N|=;x1 10c;r,s,a,f,1d,1,k,0,c,i,q
|
|
23
|
+
3 11x 17b P|=;136 16g;r,t,a,f,1d,1,k,0,c,i,q
|
|
24
|
+
0 b8 iq A||
|
|
25
|
+
1 6qn 6ua __d0|=;6rb 6tp;r,f,4,c,a,0,g,1
|
|
26
|
+
1 6ua 6wl __d1|=;6uy 6w8;r,p,l,1
|
|
27
|
+
1 6wl 7ar __d2|=;6x9 7a4;r,l,4,f,g,1,0,9,6
|
|
28
|
+
1 7ar 7ct __d3|=;7bf 7ci;r,g,1
|
|
29
|
+
*/
|
|
30
|
+
//# sourceMappingURL=workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.suspend","S.Union","S.optional","S.Record","S.TaggedError","T.applyErrorMatchers","C.withConflictError","C.withAuthError","API.D","API.named","T.Http","T.Label","T.HttpBody","S.Unknown","S.Struct","Retry.Retry","API.call","S.Boolean","S.Array","T.RawResponseRoot","S.NullOr","optional","suspend","withConflictError","D","Array","call","Boolean","StackitServiceErrors","error","NullOr","Number","named","Record","newError","op","String","Struct","StackitProtocol","TaggedError","Retry","Union","Unknown","Http","HttpBody","Label","RawResponseRoot","applyErrorMatchers","at","withAuthError","withBadRequestError","TELEMETRY","BadRequest","i","Conflict","Forbidden","NotFound","createDagBundle","createInstance","deleteDagBundle","deleteInstance","getDagBundle","getInstance","getProviderOptions","listDagBundles","listInstances","updateDagBundle","updateDagsRepository","updateIdentityProvider","updateInstance","updateObservability"],"sources":["../../src/unstable-services/workflows.ts"],"mappings":"4YAcA,MAAMwD,EAAY,CAChB,OAAQ,cACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCA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AAS,CAAC,EAAInC,EAASoD,EAAwBf,CAAC,CAAC,EAI3sB,MAAagB,EAKK,gBAAQ,GAAgBhB,IAAM7C,EAAQC,EAAU,iBAAkB,seAAue,CAACb,EAAQc,EAAQC,EAASZ,EAAUG,EAAYe,EAAWH,EAAUd,EAAW,KAAMoD,EAAYG,EAAWC,EAAUF,EAAU1B,EAAsBU,EAAiBvB,EAAaoC,CAAS,CAAC,EAAInC,EAASqD,EAAgBhB,CAAC,CAAC,EAIzxB,MAAaiB,EAKK,gBAAQ,GAAgBjB,IAAM7C,EAAQC,EAAU,sBAAuB,iZAAkZ,CAACb,EAAQc,EAAQC,EAASZ,EAAUG,EAAYY,EAAUd,EAAW,KAAMoD,EAAYG,EAAWC,EAAU5B,EAAsBU,EAAiBvB,EAAaoC,CAAS,CAAC,EAAInC,EAASsD,EAAqBjB,CAAC,CAAC,EAMzrB,SAAS,MAAY,CACnB,MAAO,CAAC,yFAA0F,CAACzD,EAAQG,EAAUmB,EAASf,EAAUL,EAAUI,EAAYY,EAAUd,CAAS,CAAC,CACpL,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,iDAAkD,CAACJ,EAAQuB,EAAmBN,EAAWb,CAAS,CAAC,CAC7G,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,kdAAmd,CAACJ,EAAQiB,EAAWK,EAASnB,EAAUe,EAAUd,EAAWE,EAAYkB,EAAUH,CAAS,CAAC,CACzjB,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,0CAA2C,CAACrB,EAAQkB,EAAUd,CAAS,CAAC,CAClF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"../unstable-services/dremio.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/edge.js","oooooooooooooo",
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/edge.js","oooooooooooooo",8956,1729);
|
|
3
3
|
export const{BadRequest,Conflict,NotFound}=$E;
|
|
4
4
|
export const createInstance=$o(),deleteInstance=$o(),deleteInstanceByName=$o(),getInstance=$o(),getInstanceByName=$o(),getKubeconfigByInstanceId=$o(),getKubeconfigByInstanceName=$o(),getTokenByInstanceId=$o(),getTokenByInstanceName=$o(),listCompatibleKubernetesReleases=$o(),listInstances=$o(),listPlansProject=$o(),updateInstance=$o(),updateInstanceByName=$o();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e}=/*@__PURE__*/$L("../services/functions.js","ooooooooooooooo",
|
|
2
|
+
const{o:$o,e:$e}=/*@__PURE__*/$L("../unstable-services/functions.js","ooooooooooooooo",8953,1475);
|
|
3
3
|
export const createFunction=$o(),createPullCredential=$o(),createRevision=$o(),deleteFunction=$o(),deletePullCredential=$o(),deleteRevision=$o(),getFunction=$o(),getPullCredential=$o(),getRevision=$o(),listFunctions2=$o(),listPullCredentials2=$o(),listRevisions2=$o(),updateFunction=$o(),updatePullCredential=$o(),updateRevision=$o();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/git.js","
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/git.js","oooooooooooooooooooooooo",14511,2581);
|
|
3
3
|
export const{BadRequest,Conflict,NotFound}=$E;
|
|
4
|
-
export const createAuthentication=$o(),createInstance=$o(),createRunner=$o(),createUser=$o(),deleteAuthentication=$o(),deleteInstance=$o(),deleteRunner=$o(),deleteUser=$o(),getAuthentication=$o(),getInstance=$o(),getOrganizations=$o(),getOrganizationTeams=$o(),getRunner=$o(),getUser=$o(),getUsers=$o(),listAuthentication=$o(),listFlavors2=$o(),listInstances2=$o(),listRunnerFamilies=$o(),listRunnerRuntimes=$o(),patchAuthentication=$o(),patchInstance=$o(),updateUser=$o();
|
|
4
|
+
export const createAuthentication=$o(),createInstance=$o(),createRunner=$o(),createUser=$o(),deleteAuthentication=$o(),deleteInstance=$o(),deleteRunner=$o(),deleteUser=$o(),getAuthentication=$o(),getInstance=$o(),getOrganizations=$o(),getOrganizationTeams=$o(),getRunner=$o(),getUser=$o(),getUsers=$o(),listAuthentication=$o(),listFlavors2=$o(),listInstances2=$o(),listRunnerFamilies=$o(),listRunnerRuntimes=$o(),patchAuthentication=$o(),patchInstance=$o(),patchRunner=$o(),updateUser=$o();
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{api$lazyNamespace as $N}from"@distilled.cloud/core/_bundle/base";
|
|
2
|
+
const $u=import.meta.url,dremio=$N($u,"./dremio.js"),edge=$N($u,"./edge.js"),functions=$N($u,"./functions.js"),git=$N($u,"./git.js"),intake=$N($u,"./intake.js"),lbIpLists=$N($u,"./lb_ip_lists.js"),mailout=$N($u,"./mailout.js"),pubsub=$N($u,"./pubsub.js"),sca=$N($u,"./sca.js"),workflows=$N($u,"./workflows.js");
|
|
3
|
+
export{dremio,edge,functions,git,intake,lbIpLists,mailout,pubsub,sca,workflows};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/intake.js","ooooooooooooooo",
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/intake.js","ooooooooooooooo",10815,1815);
|
|
3
3
|
export const{BadRequest,Conflict,NotFound}=$E;
|
|
4
4
|
export const createIntake=$o(),createIntakeRunner=$o(),createIntakeUser=$o(),deleteIntake=$o(),deleteIntakeRunner=$o(),deleteIntakeUser=$o(),getIntake=$o(),getIntakeRunner=$o(),getIntakeUser=$o(),listIntakeRunners=$o(),listIntakes=$o(),listIntakeUsers=$o(),updateIntake=$o(),updateIntakeRunner=$o(),updateIntakeUser=$o();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"../unstable-services/lb_ip_lists.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{$L}from"../_bundle/lazy.js";
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/mailout.js","oooooooooooooo",10891,1807);
|
|
3
|
+
export const{BadRequest,Conflict,NotFound}=$E;
|
|
4
|
+
export const addRecipientToSuppressionList=$o(),createAuthorizedSender=$o(),createSendingDomain=$o(),deleteAuthorizedSender=$o(),deleteSendingDomain=$o(),exportSendingDomainDNSRecords=$o(),getAuthorizedSender=$o(),getMessage=$o(),getMetrics=$o(),getSendingDomain=$o(),listAuthorizedSenders=$o(),listSendingDomains=$o(),removeRecipientFromSuppressionList=$o(),validateSendingDomain=$o();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/pubsub.js","oooooooooooooooooo",
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/pubsub.js","oooooooooooooooooo",12521,2410);
|
|
3
3
|
export const{BadRequest,Conflict,Forbidden,NotFound,UnprocessableEntity}=$E;
|
|
4
4
|
export const createSubscription=$o(),createTopic=$o(),deleteSubscription=$o(),deleteTopic=$o(),getSubscription=$o(),getTopic=$o(),grantSubscriptionSubscriberAccess=$o(),grantTopicPublisherAccess=$o(),listSubscriptions=$o(),listSubscriptionSubscribers=$o(),listTopicPublishers=$o(),listTopics=$o(),revokeSubscriptionSubscriberAccess=$o(),revokeTopicPublisherAccess=$o(),updatePublisherAccess=$o(),updateSubscription=$o(),updateSubscriptionSubscriberAccess=$o(),updateTopic=$o();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/sca.js","
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/sca.js","oooooooooooooooooo",14424,2398);
|
|
3
3
|
export const{BadRequest,Conflict,NotFound}=$E;
|
|
4
|
-
export const createApplication=$o(),createEnvironment=$o(),deleteApplication=$o(),getApplication=$o(),getApplicationEvents=$o(),getApplicationLogs=$o(),getEnvironment=$o(),getOverview=$o(),listApplications=$o(),listEnvironmentRegistries=$o(),listEnvironments=$o(),listEnvironmentSecrets=$o(),listProjectApplications=$o(),updateApplication=$o(),updateEnvironmentRegistries=$o(),updateEnvironmentSecrets=$o();
|
|
4
|
+
export const createApplication=$o(),createEnvironment=$o(),deleteApplication=$o(),getApplication=$o(),getApplicationEvents=$o(),getApplicationLogs=$o(),getEnvironment=$o(),getOverview=$o(),listApplications=$o(),listEnvironmentRegistries=$o(),listEnvironments=$o(),listEnvironmentSecrets=$o(),listProjectApplications=$o(),startApplication=$o(),stopApplication=$o(),updateApplication=$o(),updateEnvironmentRegistries=$o(),updateEnvironmentSecrets=$o();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{$L}from"../_bundle/lazy.js";
|
|
2
|
-
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/workflows.js","oooooooooooooo",
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../unstable-services/workflows.js","oooooooooooooo",9904,1803);
|
|
3
3
|
export const{BadRequest,Conflict,Forbidden,NotFound}=$E;
|
|
4
4
|
export const createDagBundle=$o(),createInstance=$o(),deleteDagBundle=$o(),deleteInstance=$o(),getDagBundle=$o(),getInstance=$o(),getProviderOptions=$o(),listDagBundles=$o(),listInstances=$o(),updateDagBundle=$o(),updateDagsRepository=$o(),updateIdentityProvider=$o(),updateInstance=$o(),updateObservability=$o();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/stackit",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.21",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"types": "./lib/index.d.ts",
|
|
20
20
|
"bun": "./src/index.ts",
|
|
21
21
|
"worker": "./src/index.ts",
|
|
22
|
-
"distilled-lazy": "./lib/index.lazy.js",
|
|
23
22
|
"default": "./lib/index.js"
|
|
24
23
|
},
|
|
25
24
|
"./Credentials": {
|
|
@@ -58,6 +57,13 @@
|
|
|
58
57
|
"worker": "./src/traits.ts",
|
|
59
58
|
"default": "./lib/traits.js"
|
|
60
59
|
},
|
|
60
|
+
"./unstable/*": {
|
|
61
|
+
"types": "./lib/unstable-services/*.d.ts",
|
|
62
|
+
"bun": "./src/unstable-services/*.ts",
|
|
63
|
+
"worker": "./src/unstable-services/*.ts",
|
|
64
|
+
"distilled-lazy": "./lib/unstable-services.lazy/*.js",
|
|
65
|
+
"default": "./lib/unstable-services/*.js"
|
|
66
|
+
},
|
|
61
67
|
"./*": {
|
|
62
68
|
"types": "./lib/services/*.d.ts",
|
|
63
69
|
"bun": "./src/services/*.ts",
|
|
@@ -67,18 +73,18 @@
|
|
|
67
73
|
}
|
|
68
74
|
},
|
|
69
75
|
"dependencies": {
|
|
70
|
-
"@distilled.cloud/core": "1.0.0-rc.
|
|
76
|
+
"@distilled.cloud/core": "1.0.0-rc.21"
|
|
71
77
|
},
|
|
72
78
|
"devDependencies": {
|
|
73
79
|
"@distilled.cloud/dev": "0.0.0",
|
|
74
80
|
"@types/node": "26.6.5"
|
|
75
81
|
},
|
|
76
82
|
"peerDependencies": {
|
|
77
|
-
"effect": "
|
|
83
|
+
"effect": "~4.1.7"
|
|
78
84
|
},
|
|
79
85
|
"distilled": {
|
|
80
|
-
"generatedAt": "2026-11-
|
|
81
|
-
"specUpdatedAt": "2026-11-
|
|
86
|
+
"generatedAt": "2026-11-27",
|
|
87
|
+
"specUpdatedAt": "2026-11-27"
|
|
82
88
|
},
|
|
83
89
|
"scripts": {
|
|
84
90
|
"build": "tsrs -b",
|
package/src/credentials.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* STACKIT credentials -- hand-written.
|
|
3
3
|
*
|
|
4
4
|
* The `Credentials` service resolves `{ token, region }` per request; the
|
|
5
|
-
* protocol
|
|
5
|
+
* protocol formats the `Authorization: Bearer <token>` header from it
|
|
6
6
|
* and rewrites each operation's spec `servers` URL for the region. The token
|
|
7
7
|
* is a STACKIT service-account access token -- the same value the official
|
|
8
8
|
* Go SDK, CLI and Terraform provider read from
|
|
@@ -15,9 +15,15 @@
|
|
|
15
15
|
* the generated `T.Http` trait from the OpenAPI `servers` entry; `region`
|
|
16
16
|
* (default `eu01`) is substituted at request time. An explicit `apiBaseUrl`
|
|
17
17
|
* overrides that host for every call -- a proxy, not a per-product map.
|
|
18
|
+
*
|
|
19
|
+
* A layer here reads and checks its configuration when it is built
|
|
20
|
+
* ({@link check}): a missing token or a region that can't be a host label
|
|
21
|
+
* is a `ConfigError` at setup, and no call fails for it.
|
|
18
22
|
*/
|
|
19
23
|
import * as EffectConfig from "@distilled.cloud/core/config";
|
|
24
|
+
import type { Checked } from "@distilled.cloud/core/config";
|
|
20
25
|
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
26
|
+
import { invalidHostLabelConfig } from "@distilled.cloud/core/protocol-http";
|
|
21
27
|
import * as Context from "effect/Context";
|
|
22
28
|
import * as Effect from "effect/Effect";
|
|
23
29
|
import * as Layer from "effect/Layer";
|
|
@@ -38,11 +44,39 @@ export interface Config {
|
|
|
38
44
|
readonly apiBaseUrl?: string;
|
|
39
45
|
}
|
|
40
46
|
|
|
47
|
+
/** What the service resolves: a {@link Config} that passed {@link check}. */
|
|
41
48
|
export class Credentials
|
|
42
|
-
extends /*@__PURE__*/ Context.Service<Credentials, Effect.Effect<Config
|
|
49
|
+
extends /*@__PURE__*/ Context.Service<Credentials, Effect.Effect<Checked<Config>>>()(
|
|
43
50
|
"StackitCredentials",
|
|
44
51
|
) {}
|
|
45
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Check `config`: fails with `ConfigError` for a region that can't be a
|
|
55
|
+
* label of the product host name. An `apiBaseUrl` replaces that host, so
|
|
56
|
+
* the region is not checked with one. For a `Credentials` layer of your
|
|
57
|
+
* own, for example one that rotates tokens.
|
|
58
|
+
*/
|
|
59
|
+
export const check = (config: Config): Effect.Effect<Checked<Config>, ConfigError> => {
|
|
60
|
+
// The region becomes a label of the host name (`applyRegion` accepts the
|
|
61
|
+
// spec's glued `eu01.` form too).
|
|
62
|
+
const invalid =
|
|
63
|
+
config.apiBaseUrl !== undefined && config.apiBaseUrl !== ""
|
|
64
|
+
? undefined
|
|
65
|
+
: invalidHostLabelConfig(
|
|
66
|
+
"STACKIT region",
|
|
67
|
+
config.region.endsWith(".") ? config.region.slice(0, -1) : config.region,
|
|
68
|
+
);
|
|
69
|
+
// The one place that says a Config is checked.
|
|
70
|
+
return invalid === undefined ? Effect.succeed(config as Checked<Config>) : Effect.fail(invalid);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/** A layer that resolves and checks `config` once, when it is built. */
|
|
74
|
+
const layer = (config: Effect.Effect<Config, ConfigError>): Layer.Layer<Credentials, ConfigError> =>
|
|
75
|
+
Layer.effect(
|
|
76
|
+
Credentials,
|
|
77
|
+
Effect.map(Effect.flatMap(config, check), (checked) => Effect.succeed(checked)),
|
|
78
|
+
);
|
|
79
|
+
|
|
46
80
|
const envConfig = /*@__PURE__*/ EffectConfig.all({
|
|
47
81
|
// `STACKIT_SERVICE_ACCOUNT_TOKEN` / `STACKIT_REGION` are what the
|
|
48
82
|
// official Go SDK, CLI and Terraform provider read.
|
|
@@ -53,8 +87,12 @@ const envConfig = /*@__PURE__*/ EffectConfig.all({
|
|
|
53
87
|
apiBaseUrl: /*@__PURE__*/ EffectConfig.String("STACKIT_API_BASE_URL").pipe(EffectConfig.option),
|
|
54
88
|
});
|
|
55
89
|
|
|
56
|
-
|
|
57
|
-
|
|
90
|
+
/**
|
|
91
|
+
* Credentials from `STACKIT_SERVICE_ACCOUNT_TOKEN`, `STACKIT_REGION` and
|
|
92
|
+
* `STACKIT_API_BASE_URL`. The environment is read, and the values checked,
|
|
93
|
+
* once: when the layer is built.
|
|
94
|
+
*/
|
|
95
|
+
export const CredentialsFromEnv: Layer.Layer<Credentials, ConfigError> = /*@__PURE__*/ layer(
|
|
58
96
|
/*@__PURE__*/ envConfig.pipe(
|
|
59
97
|
/*@__PURE__*/ Effect.mapError(
|
|
60
98
|
() =>
|
|
@@ -75,9 +113,8 @@ export const credentials = (config: {
|
|
|
75
113
|
readonly token: Redacted.Redacted<string>;
|
|
76
114
|
readonly region?: string;
|
|
77
115
|
readonly apiBaseUrl?: string;
|
|
78
|
-
}): Layer.Layer<Credentials> =>
|
|
79
|
-
|
|
80
|
-
Credentials,
|
|
116
|
+
}): Layer.Layer<Credentials, ConfigError> =>
|
|
117
|
+
layer(
|
|
81
118
|
Effect.succeed({
|
|
82
119
|
token: config.token,
|
|
83
120
|
region: config.region ?? DEFAULT_REGION,
|
package/src/errors.ts
CHANGED
|
@@ -28,15 +28,15 @@ export {
|
|
|
28
28
|
export type { DefaultErrors } from "@distilled.cloud/core/errors";
|
|
29
29
|
|
|
30
30
|
import * as Category from "@distilled.cloud/core/category";
|
|
31
|
+
import { API_ERRORS, UnknownErrorFields } from "@distilled.cloud/core/errors";
|
|
31
32
|
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
32
33
|
|
|
33
34
|
/** Unknown STACKIT error -- returned when nothing else matches the failure. */
|
|
34
35
|
export class UnknownStackitError
|
|
35
|
-
extends /*@__PURE__*/ Schema.TaggedError<UnknownStackitError>()(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}).pipe(Category.withServerError) {}
|
|
36
|
+
extends /*@__PURE__*/ Schema.TaggedError<UnknownStackitError>()(
|
|
37
|
+
"UnknownStackitError",
|
|
38
|
+
UnknownErrorFields,
|
|
39
|
+
) {}
|
|
40
40
|
|
|
41
41
|
/** Schema parse error wrapper. */
|
|
42
42
|
export class StackitParseError
|
|
@@ -44,3 +44,12 @@ export class StackitParseError
|
|
|
44
44
|
body: Schema.Unknown,
|
|
45
45
|
cause: Schema.Unknown,
|
|
46
46
|
}).pipe(Category.withParseError) {}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The errors declared on the STACKIT services: any operation can return them,
|
|
50
|
+
* and every generated operation lists them as its `serviceErrors`.
|
|
51
|
+
* Each of core's status classes: the protocol builds the one for a failed
|
|
52
|
+
* response's status when the operation's own classes do not match.
|
|
53
|
+
*/
|
|
54
|
+
export const StackitServiceErrors = API_ERRORS;
|
|
55
|
+
export type StackitServiceError = InstanceType<(typeof StackitServiceErrors)[number]>;
|
package/src/index.ts
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @distilled.cloud/stackit -- STACKIT Cloud API SDK for Effect.
|
|
3
3
|
*
|
|
4
|
-
* `./services`
|
|
5
|
-
*
|
|
4
|
+
* `./services` and `./unstable-services` are generated by
|
|
5
|
+
* `scripts/generate.ts` from the Smithy models that `scripts/convert.ts`
|
|
6
|
+
* converts from the OpenAPI documents mirrored at
|
|
6
7
|
* `specs/spec-mirror-stackit/specs/`. Everything else in this folder is
|
|
7
8
|
* hand-written.
|
|
8
9
|
*
|
|
9
10
|
* One module per STACKIT product (IaaS, SKE, DNS, Postgres Flex, ...), using
|
|
10
|
-
* that product's latest published OpenAPI version
|
|
11
|
+
* that product's latest published OpenAPI version, imported as
|
|
12
|
+
* `@distilled.cloud/stackit/<service>`. Products whose version is alpha or
|
|
13
|
+
* beta are imported as `@distilled.cloud/stackit/unstable/<service>`
|
|
14
|
+
* (`git`, `workflows`). Auth is a service-account
|
|
11
15
|
* bearer token (`STACKIT_SERVICE_ACCOUNT_TOKEN`); each product's host is
|
|
12
16
|
* rewritten for `STACKIT_REGION` (default `eu01`).
|
|
13
17
|
*
|
|
14
18
|
* @example
|
|
15
19
|
* ```ts
|
|
16
|
-
* import * as
|
|
20
|
+
* import * as Dns from "@distilled.cloud/stackit/dns";
|
|
17
21
|
*
|
|
18
|
-
* const { zones } = yield*
|
|
22
|
+
* const { zones } = yield* Dns.listZones({
|
|
19
23
|
* projectId: "...",
|
|
20
24
|
* });
|
|
21
25
|
* ```
|
|
@@ -31,4 +35,3 @@ export {
|
|
|
31
35
|
} from "./protocol.ts";
|
|
32
36
|
export { paginateByTotalPages } from "./pagination.ts";
|
|
33
37
|
export * as Retry from "./retry.ts";
|
|
34
|
-
export * from "./services/index.ts";
|