@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17

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.
Files changed (346) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -2
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -49
  8. package/lib/errors.d.ts +13 -13
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -26
  11. package/lib/index.d.ts +2 -2
  12. package/lib/index.js +1 -24
  13. package/lib/index.lazy.js +7 -0
  14. package/lib/pagination.d.ts +1 -1
  15. package/lib/pagination.js +1 -45
  16. package/lib/protocol.d.ts +3 -3
  17. package/lib/protocol.d.ts.map +1 -1
  18. package/lib/protocol.js +1 -147
  19. package/lib/retry.d.ts +1 -1
  20. package/lib/retry.d.ts.map +1 -1
  21. package/lib/retry.js +1 -31
  22. package/lib/services/alb.d.ts +10 -87
  23. package/lib/services/alb.d.ts.map +1 -1
  24. package/lib/services/alb.js +28 -512
  25. package/lib/services/alb.js.map +1 -1
  26. package/lib/services/alb_waf.d.ts +9 -82
  27. package/lib/services/alb_waf.d.ts.map +1 -1
  28. package/lib/services/alb_waf.js +33 -520
  29. package/lib/services/alb_waf.js.map +1 -1
  30. package/lib/services/authorization.d.ts +5 -47
  31. package/lib/services/authorization.d.ts.map +1 -1
  32. package/lib/services/authorization.js +1 -322
  33. package/lib/services/authorization.js.map +1 -1
  34. package/lib/services/automation.d.ts +7 -47
  35. package/lib/services/automation.d.ts.map +1 -1
  36. package/lib/services/automation.js +1 -362
  37. package/lib/services/automation.js.map +1 -1
  38. package/lib/services/cdn.d.ts +8 -220
  39. package/lib/services/cdn.d.ts.map +1 -1
  40. package/lib/services/cdn.js +31 -905
  41. package/lib/services/cdn.js.map +1 -1
  42. package/lib/services/certificates.d.ts +8 -27
  43. package/lib/services/certificates.d.ts.map +1 -1
  44. package/lib/services/certificates.js +1 -178
  45. package/lib/services/certificates.js.map +1 -1
  46. package/lib/services/cost.d.ts +10 -37
  47. package/lib/services/cost.d.ts.map +1 -1
  48. package/lib/services/cost.js +1 -176
  49. package/lib/services/cost.js.map +1 -1
  50. package/lib/services/dns.d.ts +9 -104
  51. package/lib/services/dns.d.ts.map +1 -1
  52. package/lib/services/dns.js +40 -725
  53. package/lib/services/dns.js.map +1 -1
  54. package/lib/services/dremio.d.ts +8 -50
  55. package/lib/services/dremio.d.ts.map +1 -1
  56. package/lib/services/dremio.js +1 -316
  57. package/lib/services/dremio.js.map +1 -1
  58. package/lib/services/edge.d.ts +7 -40
  59. package/lib/services/edge.d.ts.map +1 -1
  60. package/lib/services/edge.js +1 -356
  61. package/lib/services/edge.js.map +1 -1
  62. package/lib/services/functions.d.ts +1 -48
  63. package/lib/services/functions.d.ts.map +1 -1
  64. package/lib/services/functions.js +1 -398
  65. package/lib/services/functions.js.map +1 -1
  66. package/lib/services/git.d.ts +8 -61
  67. package/lib/services/git.d.ts.map +1 -1
  68. package/lib/services/git.js +35 -519
  69. package/lib/services/git.js.map +1 -1
  70. package/lib/services/iaas.d.ts +9 -337
  71. package/lib/services/iaas.d.ts.map +1 -1
  72. package/lib/services/iaas.js +181 -3542
  73. package/lib/services/iaas.js.map +1 -1
  74. package/lib/services/index.js +0 -2
  75. package/lib/services/intake.d.ts +8 -75
  76. package/lib/services/intake.d.ts.map +1 -1
  77. package/lib/services/intake.js +29 -474
  78. package/lib/services/intake.js.map +1 -1
  79. package/lib/services/kms.d.ts +9 -92
  80. package/lib/services/kms.d.ts.map +1 -1
  81. package/lib/services/kms.js +41 -662
  82. package/lib/services/kms.js.map +1 -1
  83. package/lib/services/lb_ip_lists.d.ts +9 -25
  84. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  85. package/lib/services/lb_ip_lists.js +1 -153
  86. package/lib/services/lb_ip_lists.js.map +1 -1
  87. package/lib/services/load_balancer.d.ts +10 -81
  88. package/lib/services/load_balancer.d.ts.map +1 -1
  89. package/lib/services/load_balancer.js +29 -496
  90. package/lib/services/load_balancer.js.map +1 -1
  91. package/lib/services/logme.d.ts +8 -69
  92. package/lib/services/logme.d.ts.map +1 -1
  93. package/lib/services/logme.js +33 -573
  94. package/lib/services/logme.js.map +1 -1
  95. package/lib/services/logs.d.ts +8 -64
  96. package/lib/services/logs.d.ts.map +1 -1
  97. package/lib/services/logs.js +34 -474
  98. package/lib/services/logs.js.map +1 -1
  99. package/lib/services/mariadb.d.ts +8 -65
  100. package/lib/services/mariadb.d.ts.map +1 -1
  101. package/lib/services/mariadb.js +34 -550
  102. package/lib/services/mariadb.js.map +1 -1
  103. package/lib/services/model_experiments.d.ts +9 -48
  104. package/lib/services/model_experiments.d.ts.map +1 -1
  105. package/lib/services/model_experiments.js +1 -335
  106. package/lib/services/model_experiments.js.map +1 -1
  107. package/lib/services/model_serving.d.ts +7 -47
  108. package/lib/services/model_serving.d.ts.map +1 -1
  109. package/lib/services/model_serving.js +1 -286
  110. package/lib/services/model_serving.js.map +1 -1
  111. package/lib/services/mongodb_flex.d.ts +8 -137
  112. package/lib/services/mongodb_flex.d.ts.map +1 -1
  113. package/lib/services/mongodb_flex.js +42 -802
  114. package/lib/services/mongodb_flex.js.map +1 -1
  115. package/lib/services/object_storage.d.ts +12 -59
  116. package/lib/services/object_storage.d.ts.map +1 -1
  117. package/lib/services/object_storage.js +38 -539
  118. package/lib/services/object_storage.js.map +1 -1
  119. package/lib/services/observability.d.ts +8 -407
  120. package/lib/services/observability.d.ts.map +1 -1
  121. package/lib/services/observability.js +159 -3157
  122. package/lib/services/observability.js.map +1 -1
  123. package/lib/services/opensearch.d.ts +8 -71
  124. package/lib/services/opensearch.d.ts.map +1 -1
  125. package/lib/services/opensearch.js +34 -562
  126. package/lib/services/opensearch.js.map +1 -1
  127. package/lib/services/pim.d.ts +12 -108
  128. package/lib/services/pim.d.ts.map +1 -1
  129. package/lib/services/pim.js +31 -735
  130. package/lib/services/pim.js.map +1 -1
  131. package/lib/services/postgres_flex.d.ts +14 -136
  132. package/lib/services/postgres_flex.d.ts.map +1 -1
  133. package/lib/services/postgres_flex.js +47 -852
  134. package/lib/services/postgres_flex.js.map +1 -1
  135. package/lib/services/pubsub.d.ts +11 -73
  136. package/lib/services/pubsub.d.ts.map +1 -1
  137. package/lib/services/pubsub.js +37 -518
  138. package/lib/services/pubsub.js.map +1 -1
  139. package/lib/services/rabbitmq.d.ts +8 -76
  140. package/lib/services/rabbitmq.d.ts.map +1 -1
  141. package/lib/services/rabbitmq.js +35 -573
  142. package/lib/services/rabbitmq.js.map +1 -1
  143. package/lib/services/registry.d.ts +10 -28
  144. package/lib/services/registry.d.ts.map +1 -1
  145. package/lib/services/registry.js +1 -197
  146. package/lib/services/registry.js.map +1 -1
  147. package/lib/services/resource_manager.d.ts +9 -61
  148. package/lib/services/resource_manager.d.ts.map +1 -1
  149. package/lib/services/resource_manager.js +36 -472
  150. package/lib/services/resource_manager.js.map +1 -1
  151. package/lib/services/run_command.d.ts +5 -28
  152. package/lib/services/run_command.d.ts.map +1 -1
  153. package/lib/services/run_command.js +1 -184
  154. package/lib/services/run_command.js.map +1 -1
  155. package/lib/services/sca.d.ts +8 -79
  156. package/lib/services/sca.d.ts.map +1 -1
  157. package/lib/services/sca.js +25 -444
  158. package/lib/services/sca.js.map +1 -1
  159. package/lib/services/scf.d.ts +8 -64
  160. package/lib/services/scf.d.ts.map +1 -1
  161. package/lib/services/scf.js +40 -669
  162. package/lib/services/scf.js.map +1 -1
  163. package/lib/services/secrets_manager.d.ts +8 -61
  164. package/lib/services/secrets_manager.d.ts.map +1 -1
  165. package/lib/services/secrets_manager.js +42 -612
  166. package/lib/services/secrets_manager.js.map +1 -1
  167. package/lib/services/server_backup.d.ts +7 -50
  168. package/lib/services/server_backup.d.ts.map +1 -1
  169. package/lib/services/server_backup.js +29 -453
  170. package/lib/services/server_backup.js.map +1 -1
  171. package/lib/services/server_update.d.ts +7 -35
  172. package/lib/services/server_update.d.ts.map +1 -1
  173. package/lib/services/server_update.js +1 -351
  174. package/lib/services/server_update.js.map +1 -1
  175. package/lib/services/service_account.d.ts +10 -68
  176. package/lib/services/service_account.d.ts.map +1 -1
  177. package/lib/services/service_account.js +30 -505
  178. package/lib/services/service_account.js.map +1 -1
  179. package/lib/services/service_enablement.d.ts +7 -29
  180. package/lib/services/service_enablement.d.ts.map +1 -1
  181. package/lib/services/service_enablement.js +1 -156
  182. package/lib/services/service_enablement.js.map +1 -1
  183. package/lib/services/sfs.d.ts +4 -96
  184. package/lib/services/sfs.d.ts.map +1 -1
  185. package/lib/services/sfs.js +46 -789
  186. package/lib/services/sfs.js.map +1 -1
  187. package/lib/services/ske.d.ts +9 -108
  188. package/lib/services/ske.d.ts.map +1 -1
  189. package/lib/services/ske.js +26 -557
  190. package/lib/services/ske.js.map +1 -1
  191. package/lib/services/sqlserverflex.d.ts +11 -152
  192. package/lib/services/sqlserverflex.d.ts.map +1 -1
  193. package/lib/services/sqlserverflex.js +46 -935
  194. package/lib/services/sqlserverflex.js.map +1 -1
  195. package/lib/services/stackit_marketplace.d.ts +9 -38
  196. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  197. package/lib/services/stackit_marketplace.js +26 -378
  198. package/lib/services/stackit_marketplace.js.map +1 -1
  199. package/lib/services/telemetry_link.d.ts +8 -61
  200. package/lib/services/telemetry_link.d.ts.map +1 -1
  201. package/lib/services/telemetry_link.js +34 -531
  202. package/lib/services/telemetry_link.js.map +1 -1
  203. package/lib/services/telemetry_router.d.ts +8 -72
  204. package/lib/services/telemetry_router.d.ts.map +1 -1
  205. package/lib/services/telemetry_router.js +29 -483
  206. package/lib/services/telemetry_router.js.map +1 -1
  207. package/lib/services/ufw.d.ts +7 -42
  208. package/lib/services/ufw.d.ts.map +1 -1
  209. package/lib/services/ufw.js +1 -278
  210. package/lib/services/ufw.js.map +1 -1
  211. package/lib/services/valkey.d.ts +8 -68
  212. package/lib/services/valkey.d.ts.map +1 -1
  213. package/lib/services/valkey.js +34 -566
  214. package/lib/services/valkey.js.map +1 -1
  215. package/lib/services/vpn.d.ts +21 -186
  216. package/lib/services/vpn.d.ts.map +1 -1
  217. package/lib/services/vpn.js +43 -930
  218. package/lib/services/vpn.js.map +1 -1
  219. package/lib/services/workflows.d.ts +15 -84
  220. package/lib/services/workflows.d.ts.map +1 -1
  221. package/lib/services/workflows.js +27 -507
  222. package/lib/services/workflows.js.map +1 -1
  223. package/lib/services.lazy/alb.js +4 -0
  224. package/lib/services.lazy/alb_waf.js +4 -0
  225. package/lib/services.lazy/authorization.js +1 -0
  226. package/lib/services.lazy/automation.js +1 -0
  227. package/lib/services.lazy/cdn.js +4 -0
  228. package/lib/services.lazy/certificates.js +1 -0
  229. package/lib/services.lazy/cost.js +1 -0
  230. package/lib/services.lazy/dns.js +4 -0
  231. package/lib/services.lazy/dremio.js +1 -0
  232. package/lib/services.lazy/edge.js +1 -0
  233. package/lib/services.lazy/functions.js +1 -0
  234. package/lib/services.lazy/git.js +4 -0
  235. package/lib/services.lazy/iaas.js +4 -0
  236. package/lib/services.lazy/index.js +3 -0
  237. package/lib/services.lazy/intake.js +4 -0
  238. package/lib/services.lazy/kms.js +4 -0
  239. package/lib/services.lazy/lb_ip_lists.js +1 -0
  240. package/lib/services.lazy/load_balancer.js +4 -0
  241. package/lib/services.lazy/logme.js +4 -0
  242. package/lib/services.lazy/logs.js +4 -0
  243. package/lib/services.lazy/mariadb.js +4 -0
  244. package/lib/services.lazy/model_experiments.js +1 -0
  245. package/lib/services.lazy/model_serving.js +1 -0
  246. package/lib/services.lazy/mongodb_flex.js +4 -0
  247. package/lib/services.lazy/object_storage.js +4 -0
  248. package/lib/services.lazy/observability.js +4 -0
  249. package/lib/services.lazy/opensearch.js +4 -0
  250. package/lib/services.lazy/pim.js +4 -0
  251. package/lib/services.lazy/postgres_flex.js +4 -0
  252. package/lib/services.lazy/pubsub.js +4 -0
  253. package/lib/services.lazy/rabbitmq.js +4 -0
  254. package/lib/services.lazy/registry.js +1 -0
  255. package/lib/services.lazy/resource_manager.js +4 -0
  256. package/lib/services.lazy/run_command.js +1 -0
  257. package/lib/services.lazy/sca.js +4 -0
  258. package/lib/services.lazy/scf.js +4 -0
  259. package/lib/services.lazy/secrets_manager.js +4 -0
  260. package/lib/services.lazy/server_backup.js +4 -0
  261. package/lib/services.lazy/server_update.js +1 -0
  262. package/lib/services.lazy/service_account.js +4 -0
  263. package/lib/services.lazy/service_enablement.js +1 -0
  264. package/lib/services.lazy/sfs.js +4 -0
  265. package/lib/services.lazy/ske.js +4 -0
  266. package/lib/services.lazy/sqlserverflex.js +4 -0
  267. package/lib/services.lazy/stackit_marketplace.js +4 -0
  268. package/lib/services.lazy/telemetry_link.js +4 -0
  269. package/lib/services.lazy/telemetry_router.js +4 -0
  270. package/lib/services.lazy/ufw.js +1 -0
  271. package/lib/services.lazy/valkey.js +4 -0
  272. package/lib/services.lazy/vpn.js +4 -0
  273. package/lib/services.lazy/workflows.js +4 -0
  274. package/lib/traits.d.ts +1 -1
  275. package/lib/traits.js +1 -15
  276. package/package.json +9 -7
  277. package/src/credentials.ts +21 -18
  278. package/src/errors.ts +10 -14
  279. package/src/index.ts +2 -2
  280. package/src/pagination.ts +2 -2
  281. package/src/protocol.ts +12 -9
  282. package/src/retry.ts +6 -4
  283. package/src/services/alb.ts +599 -655
  284. package/src/services/alb_waf.ts +597 -637
  285. package/src/services/authorization.ts +400 -383
  286. package/src/services/automation.ts +422 -405
  287. package/src/services/cdn.ts +817 -1375
  288. package/src/services/certificates.ts +209 -190
  289. package/src/services/cost.ts +100 -207
  290. package/src/services/dns.ts +793 -833
  291. package/src/services/dremio.ts +356 -349
  292. package/src/services/edge.ts +406 -366
  293. package/src/services/functions.ts +465 -463
  294. package/src/services/git.ts +602 -547
  295. package/src/services/iaas.ts +3931 -3821
  296. package/src/services/intake.ts +521 -549
  297. package/src/services/kms.ts +715 -692
  298. package/src/services/lb_ip_lists.ts +173 -152
  299. package/src/services/load_balancer.ts +576 -619
  300. package/src/services/logme.ts +696 -641
  301. package/src/services/logs.ts +510 -493
  302. package/src/services/mariadb.ts +671 -604
  303. package/src/services/model_experiments.ts +343 -356
  304. package/src/services/model_serving.ts +337 -328
  305. package/src/services/mongodb_flex.ts +955 -1007
  306. package/src/services/object_storage.ts +614 -557
  307. package/src/services/observability.ts +3469 -3866
  308. package/src/services/opensearch.ts +679 -628
  309. package/src/services/pim.ts +672 -909
  310. package/src/services/postgres_flex.ts +966 -986
  311. package/src/services/pubsub.ts +524 -546
  312. package/src/services/rabbitmq.ts +693 -654
  313. package/src/services/registry.ts +227 -194
  314. package/src/services/resource_manager.ts +520 -517
  315. package/src/services/run_command.ts +219 -211
  316. package/src/services/sca.ts +543 -570
  317. package/src/services/scf.ts +790 -716
  318. package/src/services/secrets_manager.ts +707 -622
  319. package/src/services/server_backup.ts +490 -475
  320. package/src/services/server_update.ts +353 -356
  321. package/src/services/service_account.ts +515 -553
  322. package/src/services/service_enablement.ts +162 -166
  323. package/src/services/sfs.ts +879 -958
  324. package/src/services/ske.ts +694 -769
  325. package/src/services/sqlserverflex.ts +1042 -1117
  326. package/src/services/stackit_marketplace.ts +377 -372
  327. package/src/services/telemetry_link.ts +530 -531
  328. package/src/services/telemetry_router.ts +509 -534
  329. package/src/services/ufw.ts +305 -307
  330. package/src/services/valkey.ts +684 -629
  331. package/src/services/vpn.ts +935 -1195
  332. package/src/services/workflows.ts +426 -586
  333. package/src/traits.ts +1 -1
  334. package/lib/credentials.js.map +0 -1
  335. package/lib/errors.js.map +0 -1
  336. package/lib/pagination.js.map +0 -1
  337. package/lib/protocol.js.map +0 -1
  338. package/lib/protocol.test.d.ts +0 -2
  339. package/lib/protocol.test.d.ts.map +0 -1
  340. package/lib/protocol.test.js +0 -181
  341. package/lib/protocol.test.js.map +0 -1
  342. package/lib/retry.js.map +0 -1
  343. package/lib/services/index.js.map +0 -1
  344. package/lib/traits.js.map +0 -1
  345. package/src/protocol.test.ts +0 -304
  346. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -1,363 +1,2 @@
1
- import * as API from "@distilled.cloud/core/api";
2
- import * as C from "@distilled.cloud/core/category";
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 { UnknownStackitError } from "../errors.js";
6
- import { StackitProtocol } from "../protocol.js";
7
- import * as Retry from "../retry.js";
8
- import * as T from "../traits.js";
9
- export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
10
- /*@__PURE__*/ S.TaggedError()("BadRequest", {
11
- code: S.Number,
12
- message: S.String,
13
- }).pipe(C.withBadRequestError), [{ status: 400 }]) {
14
- }
15
- export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
16
- /*@__PURE__*/ S.TaggedError()("Forbidden", {
17
- code: S.Number,
18
- message: S.String,
19
- }).pipe(C.withAuthError), [{ status: 403 }]) {
20
- }
21
- export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
22
- /*@__PURE__*/ S.TaggedError()("NotFound", {
23
- code: S.Number,
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",
149
- });
150
- export const GetVolumeExecutionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
151
- projectId: S.String.pipe(T.Label()),
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",
162
- });
163
- export const GetVolumeTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
164
- projectId: S.String.pipe(T.Label()),
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",
178
- });
179
- export const GetVolumeTemplateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
180
- createTime: S.String,
181
- description: S.String,
182
- id: S.String,
183
- input: S.optional(VolumeTemplateAutomationInput),
184
- name: S.String,
185
- output: S.optional(VolumeOutput),
186
- })).annotate({
187
- identifier: "GetVolumeTemplateResponse",
188
- });
189
- export const ListVolumeAutomationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
190
- projectId: S.String.pipe(T.Label()),
191
- region: S.String.pipe(T.Label()),
192
- pageSize: S.optional(S.Number.pipe(T.Query())),
193
- pageToken: S.optional(S.String.pipe(T.Query())),
194
- }).pipe(T.Http({
195
- method: "GET",
196
- uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations",
197
- code: 200,
198
- baseUrl: "https://automation-service.api.stackit.cloud",
199
- }))).annotate({
200
- identifier: "ListVolumeAutomationsRequest",
201
- });
202
- export const ListAutomationsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
203
- createTime: S.String,
204
- description: S.optional(S.String),
205
- id: S.String,
206
- name: S.optional(S.String),
207
- templateId: S.optional(S.String),
208
- triggers: S.optional(S.NullOr(AutomationTriggers)),
209
- updateTime: S.String,
210
- })).annotate({ identifier: "ListAutomationsItem" });
211
- export const ListAutomationsResponseItemsList = /*@__PURE__*/ S.Array(ListAutomationsItem);
212
- export const ListAutomationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
213
- items: ListAutomationsResponseItemsList,
214
- nextPageToken: S.optional(S.String),
215
- })).annotate({ identifier: "ListAutomationsResponse" });
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
- }));
1
+ import{_ as e,b as t,c as n,d as r,errors$UnknownStackitError as i,f as a,g as o,h as s,i as c,m as l,o as u,p as d,protocol$StackitProtocol as f,r as p,retry$Retry as m,s as h,t as g,traits$Http as _,traits$Label as v,traits$Query as y,traits$applyErrorMatchers as b,u as x,v as S,x as C}from"../_bundle/sdk.js";const w=/*@__PURE__*/ s(function BadRequest(t){return e(t,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[x,C,c,u,n,b]])});const T=/*@__PURE__*/ s(function Forbidden(r){return e(r,new.target,[`$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])`,[x,t,c,u,n,b]])});const E=/*@__PURE__*/ s(function NotFound(t){return e(t,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[x,C,c,u,n,b]])});const D=/*@__PURE__*/ S(e=>e===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"}))`,[x,_,v,u,p,r,__d0,__d1,h,a,__d2,w,T,E,i,f,m]]:l(D,e));const O=/*@__PURE__*/ S(e=>e===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"}))`,[x,_,v,u,h,a,__d3,w,T,E,i,f,m]]:l(O,e));const k=/*@__PURE__*/ S(e=>e===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({})`,[x,_,v,u,h,a,w,T,E,i,f,m]]:l(k,e));const A=/*@__PURE__*/ S(e=>e===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"}))`,[x,_,v,u,h,a,__d2,w,T,E,i,f,m]]:l(A,e));const j=/*@__PURE__*/ S(e=>e===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"}))`,[x,_,v,u,h,a,__d3,w,T,E,i,f,m]]:l(j,e));const M=/*@__PURE__*/ S(e=>e===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)})`,[x,_,v,u,h,a,r,__d0,w,T,E,i,f,m]]:l(M,e));const N=/*@__PURE__*/ S(e=>e===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)})`,[x,_,v,u,y,c,r,h,a,__d1,p,g,w,T,E,i,f,m]]:l(N,e));const P=/*@__PURE__*/ S(e=>e===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)})`,[x,_,v,u,y,c,r,h,a,g,w,T,E,i,f,m]]:l(P,e));const F=/*@__PURE__*/ S(e=>e===d?o(`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)})`,[x,_,v,u,y,c,r,h,a,g,w,T,E,i,f,m]):l(F,e));const I=/*@__PURE__*/ S(e=>e===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"}))`,[x,_,v,u,y,r,p,__d0,__d1,h,a,__d2,w,T,E,i,f,m]]:l(I,e));function __d0(){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)})`,[x,u,h,a,r,g]]}function __d1(){return[`$3(>2)@"AutomationScheduleTrigger";$3(>3)@"AutomationTriggers";$2({rrule:$1});$2({schedule:$5($4(#0))})`,[x,u,h,a,p,r]]}function __d2(){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})`,[x,u,r,__d0,p,__d1,h,a]]}function __d3(){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})`,[x,u,r,__d0,p,__d1,h,a,g]]}export{w as BadRequest,T as Forbidden,E as NotFound,D as createVolumeAutomation,O as createVolumeExecution,k as deleteVolumeAutomation,A as getVolumeAutomation,j as getVolumeExecution,M as getVolumeTemplate,N as listVolumeAutomations,P as listVolumeExecutions,F as listVolumeTemplates,I as partialUpdateVolumeAutomation};
363
2
  //# sourceMappingURL=automation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"automation.js","sourceRoot":"","sources":["../../src/services/automation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,eAAe,EAA8C,MAAM,gBAAgB,CAAC;AAC7F,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,OAAO,UACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAc,CAAC,YAAY,EAAE;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,m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AC,CAAC;AAGJ,uGAAuG;AACvG,MAAM,CAAC,MAAM,oBAAoB,GAK7B,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,2BAA2B;IAClC,MAAM,EAAE,sBAAsB;IAC9B,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAC;IAC9D,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAK5B,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,0BAA0B;IACjC,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAC;IAC9D,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,gJAAgJ;AAChJ,MAAM,CAAC,MAAM,6BAA6B,GAKtC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,oCAAoC;IAC3C,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAC;IAC9D,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"automation.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.TaggedError","T.applyErrorMatchers","C.withAuthError","API.D","T.Http","T.Label","S.NullOr","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Array","API.named","newError","withAuthError","TaggedError","optional","UnknownStackitError","suspend","named","error","Number","call","String","D","StackitProtocol","NullOr","Retry","Struct","Array","Http","Label","Query","applyErrorMatchers","at","op","withBadRequestError","BadRequest","i","Forbidden","NotFound","createVolumeAutomation","createVolumeExecution","deleteVolumeAutomation","getVolumeAutomation","getVolumeExecution","getVolumeTemplate","listVolumeAutomations","listVolumeExecutions","listVolumeTemplates","partialUpdateVolumeAutomation"],"sources":["../../src/services/automation.ts"],"mappings":"yTAYA,MAAa4C,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAO5C,EAAa6C,EAAG,WAAY,CAAC,sEAAuE,CAAC5C,EAAQC,EAAuBC,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CACtM,CAAC,EAED,MAAawC,EAA+B,gBAAU,SAAS,UAAU,EAAa,CACpF,OAAO9C,EAAa6C,EAAG,WAAY,CAAC,qEAAsE,CAAC5C,EAAQM,EAAiBJ,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CAC/L,CAAC,EAED,MAAayC,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAO/C,EAAa6C,EAAG,WAAY,CAAC,oEAAqE,CAAC5C,EAAQC,EAAuBC,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CACpM,CAAC,EAqOD,MAAa0C,EAKK,gBAAQ,GAAgBH,IAAMrC,EAAQ,CAAC,yaAA0a,CAACP,EAAQQ,EAAQC,EAASN,EAAUO,EAAUC,EAAY,KAAM,KAAMC,EAAUC,EAAW,KAAM8B,EAAYE,EAAWC,EAAUvB,EAAqBQ,EAAiBjB,CAAW,CAAC,EAAIC,EAASgC,EAAwBH,CAAC,CAAC,EAI9rB,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAMrC,EAAQ,CAAC,2XAA4X,CAACP,EAAQQ,EAAQC,EAASN,EAAUS,EAAUC,EAAW,KAAM8B,EAAYE,EAAWC,EAAUvB,EAAqBQ,EAAiBjB,CAAW,CAAC,EAAIC,EAASiC,EAAuBJ,CAAC,CAAC,EAI7mB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