@distilled.cloud/stackit 1.0.0-rc.14 → 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automation.d.ts","sourceRoot":"","sources":["../../src/services/automation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"automation.d.ts","sourceRoot":"","sources":["../../src/services/automation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAGvD,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM7F,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;;;;;;;;;AAEjD,qBAAa,UACX,SAAQ,aAAa,CAAC,eAMrB;CAAG;;;;;;;;;AAEN,qBAAa,SACX,SAAQ,aAAa,CAAC,cAMrB;CAAG;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAMrB;CAAG;AAEN,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,yBAAyB;IACxC,iRAAiR;IACjR,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;CAC7C;AACD,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,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J;AAChJ,eAAO,MAAM,6BAA6B,EAAE,GAAG,CAAC,eAAe,CAC7D,oCAAoC,EACpC,gBAAgB,EAChB,kCAAkC,EAClC,gBAAgB,CAOf,CAAC"}
|
|
@@ -1,363 +1,68 @@
|
|
|
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";
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
6
|
import { UnknownStackitError } from "../errors.js";
|
|
6
7
|
import { StackitProtocol } from "../protocol.js";
|
|
7
8
|
import * as Retry from "../retry.js";
|
|
8
9
|
import * as T from "../traits.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/*@__PURE__*/
|
|
23
|
-
|
|
24
|
-
message: S.String,
|
|
25
|
-
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
26
|
-
}
|
|
27
|
-
export const VolumeAutomationInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
28
|
-
kind: S.String,
|
|
29
|
-
})).annotate({ identifier: "VolumeAutomationInput" });
|
|
30
|
-
export const AutomationScheduleTrigger = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
31
|
-
rrule: S.String,
|
|
32
|
-
})).annotate({
|
|
33
|
-
identifier: "AutomationScheduleTrigger",
|
|
34
|
-
});
|
|
35
|
-
export const AutomationTriggers = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
36
|
-
schedule: S.optional(S.NullOr(AutomationScheduleTrigger)),
|
|
37
|
-
})).annotate({ identifier: "AutomationTriggers" });
|
|
38
|
-
export const CreateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
39
|
-
projectId: S.String.pipe(T.Label()),
|
|
40
|
-
region: S.String.pipe(T.Label()),
|
|
41
|
-
description: S.optional(S.NullOr(S.String)),
|
|
42
|
-
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
43
|
-
name: S.optional(S.NullOr(S.String)),
|
|
44
|
-
templateId: S.String,
|
|
45
|
-
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
46
|
-
}).pipe(T.Http({
|
|
47
|
-
method: "POST",
|
|
48
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations",
|
|
49
|
-
code: 200,
|
|
50
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
51
|
-
}))).annotate({
|
|
52
|
-
identifier: "CreateVolumeAutomationRequest",
|
|
53
|
-
});
|
|
54
|
-
export const VolumeOutputStepResult = VolumeAutomationInput;
|
|
55
|
-
export const VolumeOutputStep = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
|
-
name: S.String,
|
|
57
|
-
result: S.optional(VolumeAutomationInput),
|
|
58
|
-
})).annotate({ identifier: "VolumeOutputStep" });
|
|
59
|
-
export const VolumeOutputStepsList = /*@__PURE__*/ S.Array(VolumeOutputStep);
|
|
60
|
-
export const VolumeOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
|
-
steps: S.optional(VolumeOutputStepsList),
|
|
62
|
-
})).annotate({ identifier: "VolumeOutput" });
|
|
63
|
-
export const VolumeAutomation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
64
|
-
createTime: S.String,
|
|
65
|
-
description: S.optional(S.String),
|
|
66
|
-
id: S.String,
|
|
67
|
-
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
68
|
-
name: S.optional(S.String),
|
|
69
|
-
output: S.optional(VolumeOutput),
|
|
70
|
-
templateId: S.optional(S.String),
|
|
71
|
-
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
72
|
-
updateTime: S.String,
|
|
73
|
-
})).annotate({ identifier: "VolumeAutomation" });
|
|
74
|
-
export const CreateVolumeExecutionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
|
-
projectId: S.String.pipe(T.Label()),
|
|
76
|
-
region: S.String.pipe(T.Label()),
|
|
77
|
-
automationId: S.String.pipe(T.Label()),
|
|
78
|
-
}).pipe(T.Http({
|
|
79
|
-
method: "POST",
|
|
80
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",
|
|
81
|
-
code: 200,
|
|
82
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
83
|
-
}))).annotate({
|
|
84
|
-
identifier: "CreateVolumeExecutionRequest",
|
|
85
|
-
});
|
|
86
|
-
export const VolumeExecutionAutomation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
87
|
-
createTime: S.String,
|
|
88
|
-
description: S.optional(S.String),
|
|
89
|
-
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
90
|
-
name: S.optional(S.String),
|
|
91
|
-
output: S.optional(VolumeOutput),
|
|
92
|
-
templateId: S.optional(S.String),
|
|
93
|
-
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
94
|
-
updateTime: S.String,
|
|
95
|
-
})).annotate({
|
|
96
|
-
identifier: "VolumeExecutionAutomation",
|
|
97
|
-
});
|
|
98
|
-
export const VolumeExecutionOutputStepStatus = S.String;
|
|
99
|
-
export const VolumeExecutionOutputStep = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
100
|
-
message: S.optional(S.String),
|
|
101
|
-
name: S.String,
|
|
102
|
-
result: S.optional(VolumeAutomationInput),
|
|
103
|
-
status: VolumeExecutionOutputStepStatus,
|
|
104
|
-
})).annotate({
|
|
105
|
-
identifier: "VolumeExecutionOutputStep",
|
|
106
|
-
});
|
|
107
|
-
export const VolumeExecutionOutputStepsList = /*@__PURE__*/ S.Array(VolumeExecutionOutputStep);
|
|
108
|
-
export const VolumeExecutionOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
109
|
-
steps: S.optional(VolumeExecutionOutputStepsList),
|
|
110
|
-
})).annotate({ identifier: "VolumeExecutionOutput" });
|
|
111
|
-
export const VolumeExecutionDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
112
|
-
config: VolumeExecutionAutomation,
|
|
113
|
-
output: S.optional(VolumeExecutionOutput),
|
|
114
|
-
})).annotate({ identifier: "VolumeExecutionDetails" });
|
|
115
|
-
export const VolumeExecutionResponseStatus = S.String;
|
|
116
|
-
export const VolumeExecutionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
117
|
-
automation: S.optional(VolumeExecutionDetails),
|
|
118
|
-
createTime: S.String,
|
|
119
|
-
endTime: S.optional(S.String),
|
|
120
|
-
id: S.String,
|
|
121
|
-
status: VolumeExecutionResponseStatus,
|
|
122
|
-
})).annotate({ identifier: "VolumeExecutionResponse" });
|
|
123
|
-
export const DeleteVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
124
|
-
projectId: S.String.pipe(T.Label()),
|
|
125
|
-
region: S.String.pipe(T.Label()),
|
|
126
|
-
automationId: S.String.pipe(T.Label()),
|
|
127
|
-
}).pipe(T.Http({
|
|
128
|
-
method: "DELETE",
|
|
129
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
130
|
-
code: 200,
|
|
131
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
132
|
-
}))).annotate({
|
|
133
|
-
identifier: "DeleteVolumeAutomationRequest",
|
|
134
|
-
});
|
|
135
|
-
export const DeleteVolumeAutomationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
136
|
-
identifier: "DeleteVolumeAutomationResponse",
|
|
137
|
-
});
|
|
138
|
-
export const GetVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
139
|
-
projectId: S.String.pipe(T.Label()),
|
|
140
|
-
region: S.String.pipe(T.Label()),
|
|
141
|
-
automationId: S.String.pipe(T.Label()),
|
|
142
|
-
}).pipe(T.Http({
|
|
143
|
-
method: "GET",
|
|
144
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
145
|
-
code: 200,
|
|
146
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
147
|
-
}))).annotate({
|
|
148
|
-
identifier: "GetVolumeAutomationRequest",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = T.Query;
|
|
15
|
+
const __5 = S.Number;
|
|
16
|
+
const __6 = S.optional;
|
|
17
|
+
const __7 = S.Struct;
|
|
18
|
+
const __8 = S.suspend;
|
|
19
|
+
const __9 = S.Array;
|
|
20
|
+
const __10 = S.NullOr;
|
|
21
|
+
const __11 = S.TaggedError;
|
|
22
|
+
const __12 = T.applyErrorMatchers;
|
|
23
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
24
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __5, __3, __11, __12]]);
|
|
149
25
|
});
|
|
150
|
-
export const
|
|
151
|
-
|
|
152
|
-
region: S.String.pipe(T.Label()),
|
|
153
|
-
automationId: S.String.pipe(T.Label()),
|
|
154
|
-
executionId: S.String.pipe(T.Label()),
|
|
155
|
-
}).pipe(T.Http({
|
|
156
|
-
method: "GET",
|
|
157
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions/{executionId}",
|
|
158
|
-
code: 200,
|
|
159
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
160
|
-
}))).annotate({
|
|
161
|
-
identifier: "GetVolumeExecutionRequest",
|
|
26
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
27
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __5, __3, __11, __12]]);
|
|
162
28
|
});
|
|
163
|
-
export const
|
|
164
|
-
|
|
165
|
-
region: S.String.pipe(T.Label()),
|
|
166
|
-
templateId: S.String.pipe(T.Label()),
|
|
167
|
-
}).pipe(T.Http({
|
|
168
|
-
method: "GET",
|
|
169
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates/{templateId}",
|
|
170
|
-
code: 200,
|
|
171
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
172
|
-
}))).annotate({ identifier: "GetVolumeTemplateRequest" });
|
|
173
|
-
export const VolumeTemplateAutomationInputKind = S.String;
|
|
174
|
-
export const VolumeTemplateAutomationInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
175
|
-
kind: VolumeTemplateAutomationInputKind,
|
|
176
|
-
})).annotate({
|
|
177
|
-
identifier: "VolumeTemplateAutomationInput",
|
|
29
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
30
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __5, __3, __11, __12]]);
|
|
178
31
|
});
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
})).
|
|
187
|
-
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}).pipe(
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
export const ListVolumeExecutionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
|
-
projectId: S.String.pipe(T.Label()),
|
|
218
|
-
region: S.String.pipe(T.Label()),
|
|
219
|
-
automationId: S.String.pipe(T.Label()),
|
|
220
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
221
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
222
|
-
}).pipe(T.Http({
|
|
223
|
-
method: "GET",
|
|
224
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",
|
|
225
|
-
code: 200,
|
|
226
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
227
|
-
}))).annotate({
|
|
228
|
-
identifier: "ListVolumeExecutionsRequest",
|
|
229
|
-
});
|
|
230
|
-
export const ListExecutionsItemStatus = S.String;
|
|
231
|
-
export const ListExecutionsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
232
|
-
createTime: S.String,
|
|
233
|
-
endTime: S.optional(S.String),
|
|
234
|
-
id: S.String,
|
|
235
|
-
status: ListExecutionsItemStatus,
|
|
236
|
-
})).annotate({ identifier: "ListExecutionsItem" });
|
|
237
|
-
export const ListExecutionsResponseItemsList = /*@__PURE__*/ S.Array(ListExecutionsItem);
|
|
238
|
-
export const ListExecutionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
239
|
-
items: ListExecutionsResponseItemsList,
|
|
240
|
-
nextPageToken: S.optional(S.String),
|
|
241
|
-
})).annotate({ identifier: "ListExecutionsResponse" });
|
|
242
|
-
export const ListVolumeTemplatesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
-
projectId: S.String.pipe(T.Label()),
|
|
244
|
-
region: S.String.pipe(T.Label()),
|
|
245
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
246
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
247
|
-
}).pipe(T.Http({
|
|
248
|
-
method: "GET",
|
|
249
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates",
|
|
250
|
-
code: 200,
|
|
251
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
252
|
-
}))).annotate({
|
|
253
|
-
identifier: "ListVolumeTemplatesRequest",
|
|
254
|
-
});
|
|
255
|
-
export const Template = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
256
|
-
createTime: S.String,
|
|
257
|
-
description: S.String,
|
|
258
|
-
id: S.String,
|
|
259
|
-
name: S.String,
|
|
260
|
-
})).annotate({ identifier: "Template" });
|
|
261
|
-
export const ListTemplatesResponseItemsList = /*@__PURE__*/ S.Array(Template);
|
|
262
|
-
export const ListTemplatesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
263
|
-
items: ListTemplatesResponseItemsList,
|
|
264
|
-
nextPageToken: S.optional(S.String),
|
|
265
|
-
})).annotate({ identifier: "ListTemplatesResponse" });
|
|
266
|
-
export const PartialUpdateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
267
|
-
projectId: S.String.pipe(T.Label()),
|
|
268
|
-
region: S.String.pipe(T.Label()),
|
|
269
|
-
automationId: S.String.pipe(T.Label()),
|
|
270
|
-
updateMask: S.optional(S.String.pipe(T.Query())),
|
|
271
|
-
description: S.optional(S.NullOr(S.String)),
|
|
272
|
-
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
273
|
-
name: S.optional(S.NullOr(S.String)),
|
|
274
|
-
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
275
|
-
}).pipe(T.Http({
|
|
276
|
-
method: "PATCH",
|
|
277
|
-
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
278
|
-
code: 200,
|
|
279
|
-
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
280
|
-
}))).annotate({
|
|
281
|
-
identifier: "PartialUpdateVolumeAutomationRequest",
|
|
282
|
-
});
|
|
283
|
-
/** Create volume automation Creates a new volume automation */
|
|
284
|
-
export const createVolumeAutomation = /*@__PURE__*/ API.make(() => ({
|
|
285
|
-
input: CreateVolumeAutomationRequest,
|
|
286
|
-
output: VolumeAutomation,
|
|
287
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
288
|
-
protocol: StackitProtocol,
|
|
289
|
-
retry: Retry.Retry,
|
|
290
|
-
}));
|
|
291
|
-
/** Create volume automation executions Creates a new execution for a specific volume automation */
|
|
292
|
-
export const createVolumeExecution = /*@__PURE__*/ API.make(() => ({
|
|
293
|
-
input: CreateVolumeExecutionRequest,
|
|
294
|
-
output: VolumeExecutionResponse,
|
|
295
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
296
|
-
protocol: StackitProtocol,
|
|
297
|
-
retry: Retry.Retry,
|
|
298
|
-
}));
|
|
299
|
-
/** Delete volume automation Deletes a specific volume automation. */
|
|
300
|
-
export const deleteVolumeAutomation = /*@__PURE__*/ API.make(() => ({
|
|
301
|
-
input: DeleteVolumeAutomationRequest,
|
|
302
|
-
output: DeleteVolumeAutomationResponse,
|
|
303
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
304
|
-
protocol: StackitProtocol,
|
|
305
|
-
retry: Retry.Retry,
|
|
306
|
-
}));
|
|
307
|
-
/** Get volume automation Retrieves a specific volume automation. */
|
|
308
|
-
export const getVolumeAutomation = /*@__PURE__*/ API.make(() => ({
|
|
309
|
-
input: GetVolumeAutomationRequest,
|
|
310
|
-
output: VolumeAutomation,
|
|
311
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
312
|
-
protocol: StackitProtocol,
|
|
313
|
-
retry: Retry.Retry,
|
|
314
|
-
}));
|
|
315
|
-
/** Get volume automation execution details Get details for a specific volume automation execution */
|
|
316
|
-
export const getVolumeExecution = /*@__PURE__*/ API.make(() => ({
|
|
317
|
-
input: GetVolumeExecutionRequest,
|
|
318
|
-
output: VolumeExecutionResponse,
|
|
319
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
320
|
-
protocol: StackitProtocol,
|
|
321
|
-
retry: Retry.Retry,
|
|
322
|
-
}));
|
|
323
|
-
/** Get volume template Retrieve detailed information about a volume template */
|
|
324
|
-
export const getVolumeTemplate = /*@__PURE__*/ API.make(() => ({
|
|
325
|
-
input: GetVolumeTemplateRequest,
|
|
326
|
-
output: GetVolumeTemplateResponse,
|
|
327
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
328
|
-
protocol: StackitProtocol,
|
|
329
|
-
retry: Retry.Retry,
|
|
330
|
-
}));
|
|
331
|
-
/** List volume automations Retrieves a list of volume automations. */
|
|
332
|
-
export const listVolumeAutomations = /*@__PURE__*/ API.make(() => ({
|
|
333
|
-
input: ListVolumeAutomationsRequest,
|
|
334
|
-
output: ListAutomationsResponse,
|
|
335
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
336
|
-
protocol: StackitProtocol,
|
|
337
|
-
retry: Retry.Retry,
|
|
338
|
-
}));
|
|
339
|
-
/** List volume automation executions Get a list of all executions for a specific volume automation. */
|
|
340
|
-
export const listVolumeExecutions = /*@__PURE__*/ API.make(() => ({
|
|
341
|
-
input: ListVolumeExecutionsRequest,
|
|
342
|
-
output: ListExecutionsResponse,
|
|
343
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
344
|
-
protocol: StackitProtocol,
|
|
345
|
-
retry: Retry.Retry,
|
|
346
|
-
}));
|
|
347
|
-
/** List volume templates Lists all volume templates for the specified service */
|
|
348
|
-
export const listVolumeTemplates = /*@__PURE__*/ API.make(() => ({
|
|
349
|
-
input: ListVolumeTemplatesRequest,
|
|
350
|
-
output: ListTemplatesResponse,
|
|
351
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
352
|
-
protocol: StackitProtocol,
|
|
353
|
-
retry: Retry.Retry,
|
|
354
|
-
}));
|
|
355
|
-
/** Patch volume automation Partially updates a specific volume automation. Specify the fields to update in the `updateMask` query parameter. */
|
|
356
|
-
export const partialUpdateVolumeAutomation = /*@__PURE__*/ API.make(() => ({
|
|
357
|
-
input: PartialUpdateVolumeAutomationRequest,
|
|
358
|
-
output: VolumeAutomation,
|
|
359
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
360
|
-
protocol: StackitProtocol,
|
|
361
|
-
retry: Retry.Retry,
|
|
362
|
-
}));
|
|
363
|
-
//# sourceMappingURL=automation.js.map
|
|
32
|
+
|
|
33
|
+
export const createVolumeAutomation = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:0,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$9(>2)@"CreateVolumeAutomationRequest";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),description:$5($4($3)),input:$5($4(#6:0)),name:$5($4($3)),templateId:$3,triggers:$5($4(#7:1))}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}))', [__0, __1, __2, __3, __10, __6, __d0, __d1, __7, __8, __d2, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createVolumeAutomation, i));
|
|
34
|
+
|
|
35
|
+
export const createVolumeExecution = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:5,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"CreateVolumeExecutionRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __8, __d3, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createVolumeExecution, i));
|
|
36
|
+
|
|
37
|
+
export const deleteVolumeAutomation = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$6,$7,$8,$9],protocol:$10,retry:$11};$5(>3)@"DeleteVolumeAutomationRequest";$5(>4)@"DeleteVolumeAutomationResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}));$4({})', [__0, __1, __2, __3, __7, __8, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteVolumeAutomation, i));
|
|
38
|
+
|
|
39
|
+
export const getVolumeAutomation = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetVolumeAutomationRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __8, __d2, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getVolumeAutomation, i));
|
|
40
|
+
|
|
41
|
+
export const getVolumeExecution = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:5,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetVolumeExecutionRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2()),executionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions/{executionId}",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __8, __d3, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getVolumeExecution, i));
|
|
42
|
+
|
|
43
|
+
export const getVolumeTemplate = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$5(>4)@"GetVolumeTemplateRequest";$5(>5)@"VolumeTemplateAutomationInput";$5(>6)@"GetVolumeTemplateResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),templateId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates/{templateId}",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}));$4({kind:$3});$4({createTime:$3,description:$3,id:$3,input:$6(#2),name:$3,output:$6(#7:3)})', [__0, __1, __2, __3, __7, __8, __6, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getVolumeTemplate, i));
|
|
44
|
+
|
|
45
|
+
export const listVolumeAutomations = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$8(>5)@"ListVolumeAutomationsRequest";$8(>6)@"ListAutomationsItem";$11(#2);$8(>7)@"ListAutomationsResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),pageSize:$6($5.pipe($4())),pageToken:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}));$7({createTime:$3,description:$6($3),id:$3,name:$6($3),templateId:$6($3),triggers:$6($10(#9:1)),updateTime:$3});$7({items:#3,nextPageToken:$6($3)})', [__0, __1, __2, __3, __4, __5, __6, __7, __8, __d1, __10, __9, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listVolumeAutomations, i));
|
|
46
|
+
|
|
47
|
+
export const listVolumeExecutions = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>5)@"ListVolumeExecutionsRequest";$8(>6)@"ListExecutionsItem";$9(#2);$8(>7)@"ListExecutionsResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2()),pageSize:$6($5.pipe($4())),pageToken:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}));$7({createTime:$3,endTime:$6($3),id:$3,status:$3});$7({items:#3,nextPageToken:$6($3)})', [__0, __1, __2, __3, __4, __5, __6, __7, __8, __9, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listVolumeExecutions, i));
|
|
48
|
+
|
|
49
|
+
export const listVolumeTemplates = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("Template", '{input:#1,output:#4,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>5)@"ListVolume%sRequest";$8(>6)@"%";$9(#2);$8(>7)@"List%sResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),pageSize:$6($5.pipe($4())),pageToken:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}));$7({createTime:$3,description:$3,id:$3,name:$3});$7({items:#3,nextPageToken:$6($3)})', [__0, __1, __2, __3, __4, __5, __6, __7, __8, __9, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listVolumeTemplates, i));
|
|
50
|
+
|
|
51
|
+
export const partialUpdateVolumeAutomation = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#11:0,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$10(>2)@"PartialUpdateVolumeAutomationRequest";$9({projectId:$3.pipe($2()),region:$3.pipe($2()),automationId:$3.pipe($2()),updateMask:$5($3.pipe($4())),description:$5($6($3)),input:$5($6(#7:0)),name:$5($6($3)),triggers:$5($6(#8:1))}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",code:200,baseUrl:"https://automation-service.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __6, __10, __d0, __d1, __7, __8, __d2, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(partialUpdateVolumeAutomation, i));
|
|
52
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
53
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// Shared schema data (see `op` in core/api).
|
|
57
|
+
function __d0() {
|
|
58
|
+
return ['$3(>4)@"VolumeAutomationInput";$3(>5)@"VolumeOutputStep";$5(#1);$3(>6)@"VolumeOutput";$2({kind:$1});$2({name:$1,result:$4(#0)});$2({steps:$4(#2)})', [__0, __3, __7, __8, __6, __9]];
|
|
59
|
+
}
|
|
60
|
+
function __d1() {
|
|
61
|
+
return ['$3(>2)@"AutomationScheduleTrigger";$3(>3)@"AutomationTriggers";$2({rrule:$1});$2({schedule:$5($4(#0))})', [__0, __3, __7, __8, __10, __6]];
|
|
62
|
+
}
|
|
63
|
+
function __d2() {
|
|
64
|
+
return ['$7(>1)@"VolumeAutomation";$6({createTime:$1,description:$2($1),id:$1,input:$2($4(#3:0)),name:$2($1),output:$2(#3:3),templateId:$2($1),triggers:$2($4(#5:1)),updateTime:$1})', [__0, __3, __6, __d0, __10, __d1, __7, __8]];
|
|
65
|
+
}
|
|
66
|
+
function __d3() {
|
|
67
|
+
return ['$7(>6)@"VolumeExecutionAutomation";$7(>7)@"VolumeExecutionOutputStep";$8(#1);$7(>8)@"VolumeExecutionOutput";$7(>9)@"VolumeExecutionDetails";$7(>10)@"VolumeExecutionResponse";$6({createTime:$1,description:$2($1),input:$2($4(#3:0)),name:$2($1),output:$2(#3:3),templateId:$2($1),triggers:$2($4(#5:1)),updateTime:$1});$6({message:$2($1),name:$1,result:$2(#3:0),status:$1});$6({steps:$2(#2)});$6({config:#0,output:$2(#3)});$6({automation:$2(#4),createTime:$1,endTime:$2($1),id:$1,status:$1})', [__0, __3, __6, __d0, __10, __d1, __7, __8, __9]];
|
|
68
|
+
}
|