@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.16
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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
|
@@ -1,508 +1,78 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
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
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
5
|
-
import * as
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
7
|
import { StackitProtocol } from "../protocol.js";
|
|
8
8
|
import * as Retry from "../retry.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}).pipe(
|
|
27
|
-
}
|
|
28
|
-
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
29
|
-
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
30
|
-
code: S.Number,
|
|
31
|
-
message: S.String,
|
|
32
|
-
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
33
|
-
}
|
|
34
|
-
export const BasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
36
|
-
type: S.optional(S.String),
|
|
37
|
-
username: S.optional(S.String),
|
|
38
|
-
})).annotate({ identifier: "BasicAuth" });
|
|
39
|
-
export const NoAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
40
|
-
type: S.optional(S.String),
|
|
41
|
-
})).annotate({ identifier: "NoAuth" });
|
|
42
|
-
export const GitAuth = /*@__PURE__*/ S.Unknown;
|
|
43
|
-
export const GitDagBundleType = S.String;
|
|
44
|
-
export const GitDagBundle = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
45
|
-
auth: GitAuth,
|
|
46
|
-
branch: S.String,
|
|
47
|
-
name: S.String,
|
|
48
|
-
refreshInterval: S.optional(S.Number),
|
|
49
|
-
subdir: S.optional(S.String),
|
|
50
|
-
type: GitDagBundleType,
|
|
51
|
-
url: S.String,
|
|
52
|
-
})).annotate({ identifier: "GitDagBundle" });
|
|
53
|
-
export const S3AccessKeyAuthType = S.String;
|
|
54
|
-
export const S3AccessKeyAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
55
|
-
accessKeyId: S.String.pipe(T.SensitiveValue({})),
|
|
56
|
-
secretAccessKey: S.String.pipe(T.SensitiveValue({})),
|
|
57
|
-
type: S3AccessKeyAuthType,
|
|
58
|
-
})).annotate({ identifier: "S3AccessKeyAuth" });
|
|
59
|
-
export const S3Auth = /*@__PURE__*/ S.Unknown;
|
|
60
|
-
export const S3DagBundleType = S.String;
|
|
61
|
-
export const S3DagBundle = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
62
|
-
bucketName: S.String,
|
|
63
|
-
endpoint: S.optional(S.String),
|
|
64
|
-
name: S.String,
|
|
65
|
-
prefix: S.optional(S.String),
|
|
66
|
-
refreshInterval: S.optional(S.Number),
|
|
67
|
-
s3Auth: S3Auth,
|
|
68
|
-
type: S3DagBundleType,
|
|
69
|
-
})).annotate({ identifier: "S3DagBundle" });
|
|
70
|
-
export const CreateDagBundlePayload =
|
|
71
|
-
/*@__PURE__*/ S.Unknown;
|
|
72
|
-
export const CreateDagBundleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
73
|
-
projectId: S.String.pipe(T.Label()),
|
|
74
|
-
regionId: S.String.pipe(T.Label()),
|
|
75
|
-
instanceId: S.String.pipe(T.Label()),
|
|
76
|
-
body: CreateDagBundlePayload.pipe(T.HttpBody()),
|
|
77
|
-
}).pipe(T.Http({
|
|
78
|
-
method: "POST",
|
|
79
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles",
|
|
80
|
-
code: 200,
|
|
81
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
82
|
-
}))).annotate({ identifier: "CreateDagBundleRequest" });
|
|
83
|
-
export const BasicAuthResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
84
|
-
type: S.optional(S.String),
|
|
85
|
-
username: S.optional(S.String),
|
|
86
|
-
})).annotate({ identifier: "BasicAuthResponseOutput" });
|
|
87
|
-
export const GitAuthResponseOutput =
|
|
88
|
-
/*@__PURE__*/ S.Unknown;
|
|
89
|
-
export const GitDagBundleResponseOutputType = S.String;
|
|
90
|
-
export const GitDagBundleResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
91
|
-
auth: GitAuthResponseOutput,
|
|
92
|
-
branch: S.String,
|
|
93
|
-
name: S.String,
|
|
94
|
-
refreshInterval: S.optional(S.Number),
|
|
95
|
-
subdir: S.optional(S.String),
|
|
96
|
-
type: GitDagBundleResponseOutputType,
|
|
97
|
-
url: S.String,
|
|
98
|
-
})).annotate({
|
|
99
|
-
identifier: "GitDagBundleResponseOutput",
|
|
100
|
-
});
|
|
101
|
-
export const S3AccessKeyAuthResponseType = S.String;
|
|
102
|
-
export const S3AccessKeyAuthResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
103
|
-
accessKeyId: S.String.pipe(T.SensitiveValue({})),
|
|
104
|
-
secretAccessKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
105
|
-
type: S3AccessKeyAuthResponseType,
|
|
106
|
-
})).annotate({ identifier: "S3AccessKeyAuthResponse" });
|
|
107
|
-
export const S3AuthResponse = /*@__PURE__*/ S.Unknown;
|
|
108
|
-
export const S3DagBundleResponseType = S.String;
|
|
109
|
-
export const S3DagBundleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
110
|
-
bucketName: S.String,
|
|
111
|
-
endpoint: S.optional(S.String),
|
|
112
|
-
name: S.String,
|
|
113
|
-
prefix: S.optional(S.String),
|
|
114
|
-
refreshInterval: S.optional(S.Number),
|
|
115
|
-
s3Auth: S3AuthResponse,
|
|
116
|
-
type: S3DagBundleResponseType,
|
|
117
|
-
})).annotate({ identifier: "S3DagBundleResponse" });
|
|
118
|
-
export const DagBundleResponseOutput =
|
|
119
|
-
/*@__PURE__*/ S.Unknown;
|
|
120
|
-
export const CreateDagBundleResponse = /*@__PURE__*/ S.suspend(() => DagBundleResponseOutput.pipe(T.RawResponseRoot())).annotate({ identifier: "CreateDagBundleResponse" });
|
|
121
|
-
export const DagBundle = /*@__PURE__*/ S.Unknown;
|
|
122
|
-
export const CreateInstanceRequestDagBundlesList = /*@__PURE__*/ S.Array(DagBundle);
|
|
123
|
-
export const GitRepository = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
124
|
-
auth: GitAuth,
|
|
125
|
-
branch: S.String,
|
|
126
|
-
url: S.String,
|
|
127
|
-
})).annotate({ identifier: "GitRepository" });
|
|
128
|
-
export const StackITIdentityProviderType = S.String;
|
|
129
|
-
export const StackITIdentityProvider = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
130
|
-
type: StackITIdentityProviderType,
|
|
131
|
-
})).annotate({ identifier: "StackITIdentityProvider" });
|
|
132
|
-
export const OAuth2IdentityProviderApiAudienceList = /*@__PURE__*/ S.Array(S.String);
|
|
133
|
-
export const OAuth2IdentityProviderType = S.String;
|
|
134
|
-
export const OAuth2IdentityProvider = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
135
|
-
apiAudience: S.optional(OAuth2IdentityProviderApiAudienceList),
|
|
136
|
-
clientId: S.String,
|
|
137
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
138
|
-
discoveryEndpoint: S.String,
|
|
139
|
-
name: S.String,
|
|
140
|
-
resource: S.optional(S.String),
|
|
141
|
-
rolesClaim: S.optional(S.String),
|
|
142
|
-
scope: S.String,
|
|
143
|
-
type: OAuth2IdentityProviderType,
|
|
144
|
-
})).annotate({ identifier: "OAuth2IdentityProvider" });
|
|
145
|
-
export const IdentityProvider = /*@__PURE__*/ S.Unknown;
|
|
146
|
-
export const Network = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
147
|
-
id: S.optional(S.String),
|
|
148
|
-
})).annotate({ identifier: "Network" });
|
|
149
|
-
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
150
|
-
projectId: S.String.pipe(T.Label()),
|
|
151
|
-
regionId: S.String.pipe(T.Label()),
|
|
152
|
-
dagBundles: S.optional(CreateInstanceRequestDagBundlesList),
|
|
153
|
-
dagsRepository: S.optional(GitRepository),
|
|
154
|
-
description: S.optional(S.String),
|
|
155
|
-
displayName: S.String,
|
|
156
|
-
enableAirflowExampleDags: S.optional(S.Boolean),
|
|
157
|
-
enableStackitExampleDags: S.optional(S.Boolean),
|
|
158
|
-
identityProvider: S.optional(IdentityProvider),
|
|
159
|
-
network: S.optional(Network),
|
|
160
|
-
observabilityId: S.optional(S.String),
|
|
161
|
-
version: S.String,
|
|
162
|
-
}).pipe(T.Http({
|
|
163
|
-
method: "POST",
|
|
164
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances",
|
|
165
|
-
code: 200,
|
|
166
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
167
|
-
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
168
|
-
export const InstanceDagBundlesList = /*@__PURE__*/ S.Array(DagBundle);
|
|
169
|
-
export const Endpoints = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
170
|
-
redirectUrl: S.String,
|
|
171
|
-
url: S.String,
|
|
172
|
-
})).annotate({ identifier: "Endpoints" });
|
|
173
|
-
export const InstanceStatus = S.String;
|
|
174
|
-
export const Instance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
175
|
-
createdAt: S.String,
|
|
176
|
-
dagBundles: S.optional(InstanceDagBundlesList),
|
|
177
|
-
dagsRepository: S.optional(GitRepository),
|
|
178
|
-
description: S.optional(S.String),
|
|
179
|
-
displayName: S.String,
|
|
180
|
-
enableAirflowExampleDags: S.optional(S.Boolean),
|
|
181
|
-
enableStackitExampleDags: S.optional(S.Boolean),
|
|
182
|
-
endpoints: Endpoints,
|
|
183
|
-
id: S.String,
|
|
184
|
-
identityProvider: IdentityProvider,
|
|
185
|
-
network: S.optional(Network),
|
|
186
|
-
observabilityId: S.optional(S.String),
|
|
187
|
-
projectId: S.String,
|
|
188
|
-
regionId: S.String,
|
|
189
|
-
status: InstanceStatus,
|
|
190
|
-
statusMessage: S.optional(S.String),
|
|
191
|
-
version: S.String,
|
|
192
|
-
})).annotate({ identifier: "Instance" });
|
|
193
|
-
export const DeleteDagBundleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
194
|
-
projectId: S.String.pipe(T.Label()),
|
|
195
|
-
regionId: S.String.pipe(T.Label()),
|
|
196
|
-
instanceId: S.String.pipe(T.Label()),
|
|
197
|
-
bundleName: S.String.pipe(T.Label()),
|
|
198
|
-
}).pipe(T.Http({
|
|
199
|
-
method: "DELETE",
|
|
200
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",
|
|
201
|
-
code: 200,
|
|
202
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
203
|
-
}))).annotate({ identifier: "DeleteDagBundleRequest" });
|
|
204
|
-
export const DeleteDagBundleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
205
|
-
identifier: "DeleteDagBundleResponse",
|
|
206
|
-
});
|
|
207
|
-
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
208
|
-
projectId: S.String.pipe(T.Label()),
|
|
209
|
-
regionId: S.String.pipe(T.Label()),
|
|
210
|
-
instanceId: S.String.pipe(T.Label()),
|
|
211
|
-
}).pipe(T.Http({
|
|
212
|
-
method: "DELETE",
|
|
213
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}",
|
|
214
|
-
code: 200,
|
|
215
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
216
|
-
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
217
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
218
|
-
identifier: "DeleteInstanceResponse",
|
|
219
|
-
});
|
|
220
|
-
export const GetDagBundleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
221
|
-
projectId: S.String.pipe(T.Label()),
|
|
222
|
-
regionId: S.String.pipe(T.Label()),
|
|
223
|
-
instanceId: S.String.pipe(T.Label()),
|
|
224
|
-
bundleName: S.String.pipe(T.Label()),
|
|
225
|
-
}).pipe(T.Http({
|
|
226
|
-
method: "GET",
|
|
227
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",
|
|
228
|
-
code: 200,
|
|
229
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
230
|
-
}))).annotate({ identifier: "GetDagBundleRequest" });
|
|
231
|
-
export const GetDagBundleResponse = /*@__PURE__*/ S.suspend(() => DagBundleResponseOutput.pipe(T.RawResponseRoot())).annotate({ identifier: "GetDagBundleResponse" });
|
|
232
|
-
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
233
|
-
projectId: S.String.pipe(T.Label()),
|
|
234
|
-
regionId: S.String.pipe(T.Label()),
|
|
235
|
-
instanceId: S.String.pipe(T.Label()),
|
|
236
|
-
}).pipe(T.Http({
|
|
237
|
-
method: "GET",
|
|
238
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}",
|
|
239
|
-
code: 200,
|
|
240
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
241
|
-
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
242
|
-
export const GetProviderOptionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
-
regionId: S.String.pipe(T.Label()),
|
|
244
|
-
}).pipe(T.Http({
|
|
245
|
-
method: "GET",
|
|
246
|
-
uri: "/v1alpha/regions/{regionId}/provider-options",
|
|
247
|
-
code: 200,
|
|
248
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
249
|
-
}))).annotate({
|
|
250
|
-
identifier: "GetProviderOptionsRequest",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = S.optional;
|
|
17
|
+
const __7 = S.Array;
|
|
18
|
+
const __8 = S.Unknown;
|
|
19
|
+
const __9 = T.HttpBody;
|
|
20
|
+
const __10 = S.Boolean;
|
|
21
|
+
const __11 = T.RawResponseRoot;
|
|
22
|
+
const __12 = S.Number;
|
|
23
|
+
const __13 = S.TaggedError;
|
|
24
|
+
const __14 = T.applyErrorMatchers;
|
|
25
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
26
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __12, __3, __13, __14]]);
|
|
251
27
|
});
|
|
252
|
-
export const
|
|
253
|
-
|
|
254
|
-
state: S.String,
|
|
255
|
-
version: S.String,
|
|
256
|
-
})).annotate({ identifier: "SupportedVersion" });
|
|
257
|
-
export const ProviderOptionsVersionsList = /*@__PURE__*/ S.Array(SupportedVersion);
|
|
258
|
-
export const ProviderOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
259
|
-
versions: ProviderOptionsVersionsList,
|
|
260
|
-
})).annotate({ identifier: "ProviderOptions" });
|
|
261
|
-
export const ListDagBundlesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
262
|
-
projectId: S.String.pipe(T.Label()),
|
|
263
|
-
regionId: S.String.pipe(T.Label()),
|
|
264
|
-
instanceId: S.String.pipe(T.Label()),
|
|
265
|
-
}).pipe(T.Http({
|
|
266
|
-
method: "GET",
|
|
267
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles",
|
|
268
|
-
code: 200,
|
|
269
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
270
|
-
}))).annotate({ identifier: "ListDagBundlesRequest" });
|
|
271
|
-
export const ListDagBundlesResponseOutputDagBundlesList = /*@__PURE__*/ S.Array(DagBundleResponseOutput);
|
|
272
|
-
export const ListDagBundlesResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
273
|
-
dagBundles: ListDagBundlesResponseOutputDagBundlesList,
|
|
274
|
-
})).annotate({
|
|
275
|
-
identifier: "ListDagBundlesResponseOutput",
|
|
28
|
+
export const Conflict = /*@__PURE__*/ API.error(function Conflict(i) {
|
|
29
|
+
return API.newError(i, new.target, ['$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])', [__0, C.withConflictError, __12, __3, __13, __14]]);
|
|
276
30
|
});
|
|
277
|
-
export const
|
|
278
|
-
|
|
279
|
-
regionId: S.String.pipe(T.Label()),
|
|
280
|
-
}).pipe(T.Http({
|
|
281
|
-
method: "GET",
|
|
282
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances",
|
|
283
|
-
code: 200,
|
|
284
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
285
|
-
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
286
|
-
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(Instance);
|
|
287
|
-
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
288
|
-
instances: ListInstancesResponseInstancesList,
|
|
289
|
-
})).annotate({ identifier: "ListInstancesResponse" });
|
|
290
|
-
export const UpdateGitDagBundlePayloadType = S.String;
|
|
291
|
-
export const UpdateGitDagBundlePayload = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
292
|
-
auth: S.optional(GitAuth),
|
|
293
|
-
branch: S.optional(S.String),
|
|
294
|
-
refreshInterval: S.optional(S.Number),
|
|
295
|
-
subdir: S.optional(S.String),
|
|
296
|
-
type: UpdateGitDagBundlePayloadType,
|
|
297
|
-
url: S.optional(S.String),
|
|
298
|
-
})).annotate({
|
|
299
|
-
identifier: "UpdateGitDagBundlePayload",
|
|
31
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
32
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __12, __3, __13, __14]]);
|
|
300
33
|
});
|
|
301
|
-
export const
|
|
302
|
-
|
|
303
|
-
bucketName: S.optional(S.String),
|
|
304
|
-
endpoint: S.optional(S.String),
|
|
305
|
-
prefix: S.optional(S.String),
|
|
306
|
-
refreshInterval: S.optional(S.Number),
|
|
307
|
-
s3Auth: S.optional(S3Auth),
|
|
308
|
-
type: UpdateS3DagBundlePayloadType,
|
|
309
|
-
})).annotate({ identifier: "UpdateS3DagBundlePayload" });
|
|
310
|
-
export const UpdateDagBundlePayload =
|
|
311
|
-
/*@__PURE__*/ S.Unknown;
|
|
312
|
-
export const UpdateDagBundleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
313
|
-
projectId: S.String.pipe(T.Label()),
|
|
314
|
-
regionId: S.String.pipe(T.Label()),
|
|
315
|
-
instanceId: S.String.pipe(T.Label()),
|
|
316
|
-
bundleName: S.String.pipe(T.Label()),
|
|
317
|
-
body: UpdateDagBundlePayload.pipe(T.HttpBody()),
|
|
318
|
-
}).pipe(T.Http({
|
|
319
|
-
method: "PATCH",
|
|
320
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dag-bundles/{bundleName}",
|
|
321
|
-
code: 200,
|
|
322
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
323
|
-
}))).annotate({ identifier: "UpdateDagBundleRequest" });
|
|
324
|
-
export const UpdateDagBundleResponse = /*@__PURE__*/ S.suspend(() => DagBundleResponseOutput.pipe(T.RawResponseRoot())).annotate({ identifier: "UpdateDagBundleResponse" });
|
|
325
|
-
export const UpdateDagsRepositoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
|
-
projectId: S.String.pipe(T.Label()),
|
|
327
|
-
regionId: S.String.pipe(T.Label()),
|
|
328
|
-
instanceId: S.String.pipe(T.Label()),
|
|
329
|
-
auth: S.optional(GitAuth),
|
|
330
|
-
branch: S.optional(S.String),
|
|
331
|
-
url: S.optional(S.String),
|
|
332
|
-
}).pipe(T.Http({
|
|
333
|
-
method: "PATCH",
|
|
334
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/dags-repository",
|
|
335
|
-
code: 200,
|
|
336
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
337
|
-
}))).annotate({
|
|
338
|
-
identifier: "UpdateDagsRepositoryRequest",
|
|
34
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
35
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __12, __3, __13, __14]]);
|
|
339
36
|
});
|
|
340
|
-
|
|
341
|
-
export const
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
export const
|
|
354
|
-
|
|
355
|
-
export const
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}))).
|
|
366
|
-
|
|
367
|
-
});
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
})
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
383
|
-
export const UpdateObservabilityRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
384
|
-
projectId: S.String.pipe(T.Label()),
|
|
385
|
-
regionId: S.String.pipe(T.Label()),
|
|
386
|
-
instanceId: S.String.pipe(T.Label()),
|
|
387
|
-
observabilityId: S.optional(S.String),
|
|
388
|
-
}).pipe(T.Http({
|
|
389
|
-
method: "PATCH",
|
|
390
|
-
uri: "/v1alpha/projects/{projectId}/regions/{regionId}/instances/{instanceId}/observability",
|
|
391
|
-
code: 200,
|
|
392
|
-
baseUrl: "https://workflows.api.stackit.cloud",
|
|
393
|
-
}))).annotate({
|
|
394
|
-
identifier: "UpdateObservabilityRequest",
|
|
395
|
-
});
|
|
396
|
-
/** Adds a new DAG bundle to this STACKIT Workflows instance. Only supported for Airflow 3 instances. Maximum 10 bundles per instance. */
|
|
397
|
-
export const createDagBundle = /*@__PURE__*/ API.make(() => ({
|
|
398
|
-
input: CreateDagBundleRequest,
|
|
399
|
-
output: CreateDagBundleResponse,
|
|
400
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
401
|
-
protocol: StackitProtocol,
|
|
402
|
-
retry: Retry.Retry,
|
|
403
|
-
}));
|
|
404
|
-
/** Creates a new STACKIT Workflows instance within the project. */
|
|
405
|
-
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
406
|
-
input: CreateInstanceRequest,
|
|
407
|
-
output: Instance,
|
|
408
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
409
|
-
protocol: StackitProtocol,
|
|
410
|
-
retry: Retry.Retry,
|
|
411
|
-
}));
|
|
412
|
-
/** Removes a DAG bundle from this STACKIT Workflows instance. At least one bundle must remain configured. Only supported for Airflow 3 instances. */
|
|
413
|
-
export const deleteDagBundle = /*@__PURE__*/ API.make(() => ({
|
|
414
|
-
input: DeleteDagBundleRequest,
|
|
415
|
-
output: DeleteDagBundleResponse,
|
|
416
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
417
|
-
protocol: StackitProtocol,
|
|
418
|
-
retry: Retry.Retry,
|
|
419
|
-
}));
|
|
420
|
-
/** Deletes the given STACKIT Workflows instance. */
|
|
421
|
-
export const deleteInstance = /*@__PURE__*/ API.make(() => ({
|
|
422
|
-
input: DeleteInstanceRequest,
|
|
423
|
-
output: DeleteInstanceResponse,
|
|
424
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
425
|
-
protocol: StackitProtocol,
|
|
426
|
-
retry: Retry.Retry,
|
|
427
|
-
}));
|
|
428
|
-
/** Returns the configuration of a single DAG bundle. */
|
|
429
|
-
export const getDagBundle = /*@__PURE__*/ API.make(() => ({
|
|
430
|
-
input: GetDagBundleRequest,
|
|
431
|
-
output: GetDagBundleResponse,
|
|
432
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
433
|
-
protocol: StackitProtocol,
|
|
434
|
-
retry: Retry.Retry,
|
|
435
|
-
}));
|
|
436
|
-
/** Returns the details for the given STACKIT Workflows instance. */
|
|
437
|
-
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
438
|
-
input: GetInstanceRequest,
|
|
439
|
-
output: Instance,
|
|
440
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
441
|
-
protocol: StackitProtocol,
|
|
442
|
-
retry: Retry.Retry,
|
|
443
|
-
}));
|
|
444
|
-
/** Get provider options Returns a list of supported configuration options for this region. */
|
|
445
|
-
export const getProviderOptions = /*@__PURE__*/ API.make(() => ({
|
|
446
|
-
input: GetProviderOptionsRequest,
|
|
447
|
-
output: ProviderOptions,
|
|
448
|
-
errors: [BadRequest, UnknownStackitError],
|
|
449
|
-
protocol: StackitProtocol,
|
|
450
|
-
retry: Retry.Retry,
|
|
451
|
-
}));
|
|
452
|
-
/** Returns a list of all DAG bundles configured for this STACKIT Workflows instance. */
|
|
453
|
-
export const listDagBundles = /*@__PURE__*/ API.make(() => ({
|
|
454
|
-
input: ListDagBundlesRequest,
|
|
455
|
-
output: ListDagBundlesResponseOutput,
|
|
456
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
457
|
-
protocol: StackitProtocol,
|
|
458
|
-
retry: Retry.Retry,
|
|
459
|
-
}));
|
|
460
|
-
/** Returns a list of all STACKIT Workflows instances within the project. */
|
|
461
|
-
export const listInstances = /*@__PURE__*/ API.make(() => ({
|
|
462
|
-
input: ListInstancesRequest,
|
|
463
|
-
output: ListInstancesResponse,
|
|
464
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
465
|
-
protocol: StackitProtocol,
|
|
466
|
-
retry: Retry.Retry,
|
|
467
|
-
}));
|
|
468
|
-
/** Updates an existing DAG bundle. The bundle type (git/s3) is inferred from the existing bundle and cannot be changed. To change the type, delete and recreate the bundle. Only supported for Airflow 3 instances. */
|
|
469
|
-
export const updateDagBundle = /*@__PURE__*/ API.make(() => ({
|
|
470
|
-
input: UpdateDagBundleRequest,
|
|
471
|
-
output: UpdateDagBundleResponse,
|
|
472
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
473
|
-
protocol: StackitProtocol,
|
|
474
|
-
retry: Retry.Retry,
|
|
475
|
-
}));
|
|
476
|
-
/** Updates the DAGs repository configuration for this STACKIT Workflows instance. */
|
|
477
|
-
export const updateDagsRepository = /*@__PURE__*/ API.make(() => ({
|
|
478
|
-
input: UpdateDagsRepositoryRequest,
|
|
479
|
-
output: Instance,
|
|
480
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
481
|
-
protocol: StackitProtocol,
|
|
482
|
-
retry: Retry.Retry,
|
|
483
|
-
}));
|
|
484
|
-
/** Updates the identity provider configuration for this STACKIT Workflows instance. */
|
|
485
|
-
export const updateIdentityProvider = /*@__PURE__*/ API.make(() => ({
|
|
486
|
-
input: UpdateIdentityProviderRequest,
|
|
487
|
-
output: Instance,
|
|
488
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
489
|
-
protocol: StackitProtocol,
|
|
490
|
-
retry: Retry.Retry,
|
|
491
|
-
}));
|
|
492
|
-
/** Updates core Attributes of this STACKIT Workflows Instance. */
|
|
493
|
-
export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
494
|
-
input: UpdateInstanceRequest,
|
|
495
|
-
output: Instance,
|
|
496
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
497
|
-
protocol: StackitProtocol,
|
|
498
|
-
retry: Retry.Retry,
|
|
499
|
-
}));
|
|
500
|
-
/** Updates the Observability configuration for this STACKIT Workflows instance. */
|
|
501
|
-
export const updateObservability = /*@__PURE__*/ API.make(() => ({
|
|
502
|
-
input: UpdateObservabilityRequest,
|
|
503
|
-
output: Instance,
|
|
504
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
505
|
-
protocol: StackitProtocol,
|
|
506
|
-
retry: Retry.Retry,
|
|
507
|
-
}));
|
|
508
|
-
//# sourceMappingURL=workflows.js.map
|
|
37
|
+
|
|
38
|
+
export const createDagBundle = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13],protocol:$14,retry:$15};$7(>2)@"CreateDagBundleRequest";$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"}))', [__0, __1, __2, __3, __9, __8, __4, __5, __d0, BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createDagBundle, i));
|
|
39
|
+
|
|
40
|
+
export const createInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:4,errors:[$10,$11,$12],protocol:$13,retry:$14};$9(>2)@"CreateInstanceRequest";$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"}))', [__0, __1, __2, __3, __d1, __6, __10, __8, __4, __5, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createInstance, i));
|
|
41
|
+
|
|
42
|
+
export const deleteDagBundle = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11],protocol:$12,retry:$13};$5(>2)@"DeleteDagBundleRequest";$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"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteDagBundle, i));
|
|
43
|
+
|
|
44
|
+
export const deleteInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11],protocol:$12,retry:$13};$5(>2)@"DeleteInstanceRequest";$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"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteInstance, i));
|
|
45
|
+
|
|
46
|
+
export const getDagBundle = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetDagBundleRequest";$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"}))', [__0, __1, __2, __3, __4, __5, __d0, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getDagBundle, i));
|
|
47
|
+
|
|
48
|
+
export const getInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:4,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetInstanceRequest";$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"}))', [__0, __1, __2, __3, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getInstance, i));
|
|
49
|
+
|
|
50
|
+
export const getProviderOptions = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ProviderOptions", '{input:#1,output:#4,errors:[$8,$9],protocol:$10,retry:$11};$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})', [__0, __1, __2, __3, __4, __5, __6, __7, BadRequest, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(getProviderOptions, i));
|
|
51
|
+
|
|
52
|
+
export const listDagBundles = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$5(>4)@"ListDagBundlesRequest";$7($6);$5(>5)@"ListDagBundlesResponseOutput";$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})', [__0, __1, __2, __3, __4, __5, __8, __7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listDagBundles, i));
|
|
53
|
+
|
|
54
|
+
export const listInstances = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListInstancesRequest";$7(#6:4);$5(>5)@"ListInstancesResponse";$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})', [__0, __1, __2, __3, __4, __5, __d1, __7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listInstances, i));
|
|
55
|
+
|
|
56
|
+
export const updateDagBundle = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateDagBundleRequest";$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"}))', [__0, __1, __2, __3, __9, __8, __4, __5, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateDagBundle, i));
|
|
57
|
+
|
|
58
|
+
export const updateDagsRepository = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:4,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateDagsRepositoryRequest";$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"}))', [__0, __1, __2, __3, __8, __6, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateDagsRepository, i));
|
|
59
|
+
|
|
60
|
+
export const updateIdentityProvider = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:4,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateIdentityProviderRequest";$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"}))', [__0, __1, __2, __3, __9, __8, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateIdentityProvider, i));
|
|
61
|
+
|
|
62
|
+
export const updateInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:4,errors:[$9,$10,$11,$12,$13],protocol:$14,retry:$15};$7(>2)@"UpdateInstanceRequest";$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"}))', [__0, __1, __2, __3, __6, __10, __4, __5, __d1, BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateInstance, i));
|
|
63
|
+
|
|
64
|
+
export const updateObservability = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:4,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"UpdateObservabilityRequest";$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"}))', [__0, __1, __2, __3, __6, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateObservability, i));
|
|
65
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
66
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// Shared schema data (see `op` in core/api).
|
|
70
|
+
function __d0() {
|
|
71
|
+
return ['$3(>1)@"CreateDagBundleResponse";$2.pipe($1())', [__0, __11, __8, __5]];
|
|
72
|
+
}
|
|
73
|
+
function __d1() {
|
|
74
|
+
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(#1),description:$6($3),displayName:$3,enableAirflowExampleDags:$6($7),enableStackitExampleDags:$6($7),endpoints:#3,id:$3,identityProvider:$1,network:$6(#2),observabilityId:$6($3),projectId:$3,regionId:$3,status:$3,statusMessage:$6($3),version:$3})', [__0, __8, __7, __3, __4, __5, __6, __10]];
|
|
75
|
+
}
|
|
76
|
+
function __d2() {
|
|
77
|
+
return ['$2(>1)@"DeleteDagBundleResponse";$1({})', [__0, __4, __5]];
|
|
78
|
+
}
|
package/lib/traits.d.ts
CHANGED
package/lib/traits.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
10
|
import { httpSymbol, makeAnnotation } from "@distilled.cloud/core/trait";
|
|
11
11
|
export { Body, Header, Query, Label, HttpBody, FormDataFile, KeyDictionary, UnionCases, ResponseCode, applyErrorMatchers, getErrorMatchers, makeAnnotation, bodySymbol, headerSymbol, querySymbol, labelSymbol, httpSymbol, httpBodySymbol, formDataFileSymbol, keyDictionarySymbol, unionCasesSymbol, responseCodeSymbol, errorMatchersSymbol, } from "@distilled.cloud/core/trait";
|
|
12
12
|
export { SensitiveValue, RawResponse, RawResponseRoot, sensitiveValueSymbol, rawResponseSymbol, rawResponseRootSymbol, } from "@distilled.cloud/core/protocol-rest";
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
export const Http = (trait) => makeAnnotation(httpSymbol, trait);
|
|
15
15
|
//# sourceMappingURL=traits.js.map
|