@distilled.cloud/stackit 0.0.0-stage → 1.0.0-rc.13

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +33 -2
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +48 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +148 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/response-validation.test.d.ts +4 -0
  24. package/lib/response-validation.test.d.ts.map +1 -0
  25. package/lib/response-validation.test.js +31 -0
  26. package/lib/response-validation.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +562 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +545 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +353 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +358 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +426 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +992 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +197 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +188 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +875 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +854 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +339 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +375 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +423 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +552 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2965 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3768 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +513 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +703 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +162 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +173 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +542 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +636 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +498 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +611 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +356 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +319 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +889 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +446 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +577 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3407 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +623 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +789 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +1018 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +614 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +636 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +221 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +503 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +203 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +541 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +478 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +718 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +659 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +474 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +364 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +523 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +159 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +845 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +536 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +598 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +1087 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +393 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +550 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +523 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +301 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +627 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +1013 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +556 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +83 -3
  240. package/src/credentials.ts +90 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +73 -0
  244. package/src/protocol.ts +243 -0
  245. package/src/response-validation.test.ts +45 -0
  246. package/src/retry.ts +53 -0
  247. package/src/services/alb.ts +1409 -0
  248. package/src/services/alb_waf.ts +1347 -0
  249. package/src/services/authorization.ts +740 -0
  250. package/src/services/automation.ts +966 -0
  251. package/src/services/cdn.ts +2736 -0
  252. package/src/services/certificates.ts +450 -0
  253. package/src/services/cost.ts +484 -0
  254. package/src/services/dns.ts +2271 -0
  255. package/src/services/dremio.ts +803 -0
  256. package/src/services/edge.ts +839 -0
  257. package/src/services/functions.ts +1010 -0
  258. package/src/services/git.ts +1275 -0
  259. package/src/services/iaas.ts +8670 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1233 -0
  262. package/src/services/kms.ts +1638 -0
  263. package/src/services/lb_ip_lists.ts +377 -0
  264. package/src/services/load_balancer.ts +1342 -0
  265. package/src/services/logme.ts +1379 -0
  266. package/src/services/logs.ts +1150 -0
  267. package/src/services/mariadb.ts +1293 -0
  268. package/src/services/model_experiments.ts +797 -0
  269. package/src/services/model_serving.ts +697 -0
  270. package/src/services/mongodb_flex.ts +2078 -0
  271. package/src/services/object_storage.ts +1248 -0
  272. package/src/services/observability.ts +7856 -0
  273. package/src/services/opensearch.ts +1354 -0
  274. package/src/services/pim.ts +2090 -0
  275. package/src/services/postgres_flex.ts +2326 -0
  276. package/src/services/pubsub.ts +1336 -0
  277. package/src/services/rabbitmq.ts +1402 -0
  278. package/src/services/registry.ts +494 -0
  279. package/src/services/resource_manager.ts +1155 -0
  280. package/src/services/run_command.ts +441 -0
  281. package/src/services/sca.ts +1222 -0
  282. package/src/services/scf.ts +1537 -0
  283. package/src/services/secrets_manager.ts +1399 -0
  284. package/src/services/server_backup.ts +1032 -0
  285. package/src/services/server_update.ts +767 -0
  286. package/src/services/service_account.ts +1208 -0
  287. package/src/services/service_enablement.ts +359 -0
  288. package/src/services/sfs.ts +1913 -0
  289. package/src/services/ske.ts +1408 -0
  290. package/src/services/sqlserverflex.ts +2543 -0
  291. package/src/services/stackit_marketplace.ts +853 -0
  292. package/src/services/telemetry_link.ts +1245 -0
  293. package/src/services/telemetry_router.ts +1205 -0
  294. package/src/services/ufw.ts +704 -0
  295. package/src/services/valkey.ts +1357 -0
  296. package/src/services/vpn.ts +2554 -0
  297. package/src/services/workflows.ts +1361 -0
  298. package/src/traits.ts +65 -0
@@ -0,0 +1,1245 @@
1
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
+ import * as S from "@distilled.cloud/core/schema";
3
+ import * as Redacted from "effect/Redacted";
4
+ import * as API from "@distilled.cloud/core/api";
5
+ import * as C from "@distilled.cloud/core/category";
6
+ import * as T from "../traits.ts";
7
+ import {
8
+ StackitProtocol,
9
+ type StackitOpError,
10
+ type StackitOpContext,
11
+ } from "../protocol.ts";
12
+ import { UnknownStackitError } from "../errors.ts";
13
+ import * as Retry from "../retry.ts";
14
+
15
+ export type { StackitOpError, StackitOpContext };
16
+
17
+ export class BadRequest
18
+ extends /*@__PURE__*/ T.applyErrorMatchers(
19
+ /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
20
+ code: S.Number,
21
+ message: S.String,
22
+ }).pipe(C.withBadRequestError),
23
+ [{ status: 400 }],
24
+ ) {}
25
+
26
+ export class Conflict
27
+ extends /*@__PURE__*/ T.applyErrorMatchers(
28
+ /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
29
+ code: S.Number,
30
+ message: S.String,
31
+ }).pipe(C.withConflictError),
32
+ [{ status: 409 }],
33
+ ) {}
34
+
35
+ export class NotFound
36
+ extends /*@__PURE__*/ T.applyErrorMatchers(
37
+ /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
38
+ code: S.Number,
39
+ message: S.String,
40
+ }).pipe(C.withBadRequestError),
41
+ [{ status: 404 }],
42
+ ) {}
43
+
44
+ export type CreateFolderBackflushJobRequestRegionId = "eu01" | "eu02";
45
+ export const CreateFolderBackflushJobRequestRegionId = /*@__PURE__*/ S.String;
46
+
47
+ export interface CreateFolderBackflushJobRequest {
48
+ /** The STACKIT portal folder UUID the resource is located in. */
49
+ folderId: string;
50
+ /** The STACKIT region name the resource is located in. */
51
+ regionId: CreateFolderBackflushJobRequestRegionId | (string & {});
52
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
53
+ description?: string;
54
+ /** The display name is a short name chosen by the user to identify the resource. */
55
+ displayName: string;
56
+ }
57
+ export const CreateFolderBackflushJobRequest = /*@__PURE__*/ S.suspend(() =>
58
+ S.Struct({
59
+ folderId: S.String.pipe(T.Label()),
60
+ regionId: CreateFolderBackflushJobRequestRegionId.pipe(T.Label()),
61
+ description: S.optional(S.String),
62
+ displayName: S.String,
63
+ }).pipe(
64
+ T.Http({
65
+ method: "POST",
66
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link/backflush-jobs",
67
+ code: 200,
68
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
69
+ }),
70
+ ),
71
+ ).annotate({
72
+ identifier: "CreateFolderBackflushJobRequest",
73
+ }) as any as S.Schema<CreateFolderBackflushJobRequest>;
74
+
75
+ /** The STACKIT region name the resource is located in. */
76
+ export type BackflushJobResponseRegionId = "eu01" | "eu02";
77
+ export const BackflushJobResponseRegionId = /*@__PURE__*/ S.String;
78
+
79
+ /** The current state of the link. */
80
+ export type BackflushJobResponseStatus =
81
+ | "active"
82
+ | "complete"
83
+ | "failed"
84
+ | "reconciling"
85
+ | "deleting";
86
+ export const BackflushJobResponseStatus = /*@__PURE__*/ S.String;
87
+
88
+ export interface BackflushJobResponse {
89
+ /** The point in time the resource was created. */
90
+ createTime: string;
91
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
92
+ description?: string;
93
+ /** The display name is a short name chosen by the user to identify the resource. */
94
+ displayName: string;
95
+ /** A auto generated unique id which identifies the resource. */
96
+ id: string;
97
+ /** The STACKIT region name the resource is located in. */
98
+ regionId: BackflushJobResponseRegionId;
99
+ /** The current state of the link. */
100
+ status: BackflushJobResponseStatus;
101
+ }
102
+ export const BackflushJobResponse = /*@__PURE__*/ S.suspend(() =>
103
+ S.Struct({
104
+ createTime: S.String,
105
+ description: S.optional(S.String),
106
+ displayName: S.String,
107
+ id: S.String,
108
+ regionId: BackflushJobResponseRegionId,
109
+ status: BackflushJobResponseStatus,
110
+ }),
111
+ ).annotate({
112
+ identifier: "BackflushJobResponse",
113
+ }) as any as S.Schema<BackflushJobResponse>;
114
+
115
+ export type CreateOrganizationBackflushJobRequestRegionId = "eu01" | "eu02";
116
+ export const CreateOrganizationBackflushJobRequestRegionId =
117
+ /*@__PURE__*/ S.String;
118
+
119
+ export interface CreateOrganizationBackflushJobRequest {
120
+ /** The STACKIT portal organization UUID the resource is located in. */
121
+ organizationId: string;
122
+ /** The STACKIT region name the resource is located in. */
123
+ regionId: CreateOrganizationBackflushJobRequestRegionId | (string & {});
124
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
125
+ description?: string;
126
+ /** The display name is a short name chosen by the user to identify the resource. */
127
+ displayName: string;
128
+ }
129
+ export const CreateOrganizationBackflushJobRequest = /*@__PURE__*/ S.suspend(
130
+ () =>
131
+ S.Struct({
132
+ organizationId: S.String.pipe(T.Label()),
133
+ regionId: CreateOrganizationBackflushJobRequestRegionId.pipe(T.Label()),
134
+ description: S.optional(S.String),
135
+ displayName: S.String,
136
+ }).pipe(
137
+ T.Http({
138
+ method: "POST",
139
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link/backflush-jobs",
140
+ code: 200,
141
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
142
+ }),
143
+ ),
144
+ ).annotate({
145
+ identifier: "CreateOrganizationBackflushJobRequest",
146
+ }) as any as S.Schema<CreateOrganizationBackflushJobRequest>;
147
+
148
+ export type CreateOrUpdateFolderTelemetryLinkRequestRegionId = "eu01" | "eu02";
149
+ export const CreateOrUpdateFolderTelemetryLinkRequestRegionId =
150
+ /*@__PURE__*/ S.String;
151
+
152
+ export interface CreateOrUpdateFolderTelemetryLinkRequest {
153
+ /** The STACKIT portal folder UUID the resource is located in. */
154
+ folderId: string;
155
+ /** The STACKIT region name the resource is located in. */
156
+ regionId: CreateOrUpdateFolderTelemetryLinkRequestRegionId | (string & {});
157
+ /** The access token. */
158
+ accessToken: string | Redacted.Redacted<string>;
159
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
160
+ description?: string;
161
+ /** The display name is a short name chosen by the user to identify the resource. */
162
+ displayName: string;
163
+ /** Indicates whether routing through the link to a telemetry-router is active. */
164
+ enabled?: boolean;
165
+ /** The ID of the telemetry-router to route the telemetry data. */
166
+ telemetryRouterId: string;
167
+ }
168
+ export const CreateOrUpdateFolderTelemetryLinkRequest = /*@__PURE__*/ S.suspend(
169
+ () =>
170
+ S.Struct({
171
+ folderId: S.String.pipe(T.Label()),
172
+ regionId: CreateOrUpdateFolderTelemetryLinkRequestRegionId.pipe(
173
+ T.Label(),
174
+ ),
175
+ accessToken: S.String.pipe(T.SensitiveValue({})),
176
+ description: S.optional(S.String),
177
+ displayName: S.String,
178
+ enabled: S.optional(S.Boolean),
179
+ telemetryRouterId: S.String,
180
+ }).pipe(
181
+ T.Http({
182
+ method: "PUT",
183
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link",
184
+ code: 200,
185
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
186
+ }),
187
+ ),
188
+ ).annotate({
189
+ identifier: "CreateOrUpdateFolderTelemetryLinkRequest",
190
+ }) as any as S.Schema<CreateOrUpdateFolderTelemetryLinkRequest>;
191
+
192
+ /** The STACKIT region name the resource is located in. */
193
+ export type TelemetryLinkResponseRegionId = "eu01" | "eu02";
194
+ export const TelemetryLinkResponseRegionId = /*@__PURE__*/ S.String;
195
+
196
+ /** The current state of the link. */
197
+ export type TelemetryLinkResponseStatus =
198
+ | "active"
199
+ | "inactive"
200
+ | "failed"
201
+ | "reconciling"
202
+ | "deleting";
203
+ export const TelemetryLinkResponseStatus = /*@__PURE__*/ S.String;
204
+
205
+ export interface TelemetryLinkResponse {
206
+ /** The access token. */
207
+ accessToken?: string | Redacted.Redacted<string>;
208
+ /** The point in time the resource was created. */
209
+ createTime: string;
210
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
211
+ description?: string;
212
+ /** The display name is a short name chosen by the user to identify the resource. */
213
+ displayName: string;
214
+ /** Indicates whether routing through the link to a telemetry-router is active. */
215
+ enabled: boolean;
216
+ /** A auto generated unique id which identifies the resource. */
217
+ id: string;
218
+ /** The STACKIT region name the resource is located in. */
219
+ regionId: TelemetryLinkResponseRegionId;
220
+ /** The current state of the link. */
221
+ status: TelemetryLinkResponseStatus;
222
+ /** The ID of the telemetry-router to route the telemetry data. */
223
+ telemetryRouterId: string;
224
+ }
225
+ export const TelemetryLinkResponse = /*@__PURE__*/ S.suspend(() =>
226
+ S.Struct({
227
+ accessToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
228
+ createTime: S.String,
229
+ description: S.optional(S.String),
230
+ displayName: S.String,
231
+ enabled: S.Boolean,
232
+ id: S.String,
233
+ regionId: TelemetryLinkResponseRegionId,
234
+ status: TelemetryLinkResponseStatus,
235
+ telemetryRouterId: S.String,
236
+ }),
237
+ ).annotate({
238
+ identifier: "TelemetryLinkResponse",
239
+ }) as any as S.Schema<TelemetryLinkResponse>;
240
+
241
+ export type CreateOrUpdateOrganizationTelemetryLinkRequestRegionId =
242
+ | "eu01"
243
+ | "eu02";
244
+ export const CreateOrUpdateOrganizationTelemetryLinkRequestRegionId =
245
+ /*@__PURE__*/ S.String;
246
+
247
+ export interface CreateOrUpdateOrganizationTelemetryLinkRequest {
248
+ /** The STACKIT portal organization UUID the resource is located in. */
249
+ organizationId: string;
250
+ /** The STACKIT region name the resource is located in. */
251
+ regionId:
252
+ | CreateOrUpdateOrganizationTelemetryLinkRequestRegionId
253
+ | (string & {});
254
+ /** The access token. */
255
+ accessToken: string | Redacted.Redacted<string>;
256
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
257
+ description?: string;
258
+ /** The display name is a short name chosen by the user to identify the resource. */
259
+ displayName: string;
260
+ /** Indicates whether routing through the link to a telemetry-router is active. */
261
+ enabled?: boolean;
262
+ /** The ID of the telemetry-router to route the telemetry data. */
263
+ telemetryRouterId: string;
264
+ }
265
+ export const CreateOrUpdateOrganizationTelemetryLinkRequest =
266
+ /*@__PURE__*/ S.suspend(() =>
267
+ S.Struct({
268
+ organizationId: S.String.pipe(T.Label()),
269
+ regionId: CreateOrUpdateOrganizationTelemetryLinkRequestRegionId.pipe(
270
+ T.Label(),
271
+ ),
272
+ accessToken: S.String.pipe(T.SensitiveValue({})),
273
+ description: S.optional(S.String),
274
+ displayName: S.String,
275
+ enabled: S.optional(S.Boolean),
276
+ telemetryRouterId: S.String,
277
+ }).pipe(
278
+ T.Http({
279
+ method: "PUT",
280
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link",
281
+ code: 200,
282
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
283
+ }),
284
+ ),
285
+ ).annotate({
286
+ identifier: "CreateOrUpdateOrganizationTelemetryLinkRequest",
287
+ }) as any as S.Schema<CreateOrUpdateOrganizationTelemetryLinkRequest>;
288
+
289
+ export type CreateOrUpdateProjectTelemetryLinkRequestRegionId = "eu01" | "eu02";
290
+ export const CreateOrUpdateProjectTelemetryLinkRequestRegionId =
291
+ /*@__PURE__*/ S.String;
292
+
293
+ export interface CreateOrUpdateProjectTelemetryLinkRequest {
294
+ /** The STACKIT portal project UUID the resource is located in. */
295
+ projectId: string;
296
+ /** The STACKIT region name the resource is located in. */
297
+ regionId: CreateOrUpdateProjectTelemetryLinkRequestRegionId | (string & {});
298
+ /** The access token. */
299
+ accessToken: string | Redacted.Redacted<string>;
300
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
301
+ description?: string;
302
+ /** The display name is a short name chosen by the user to identify the resource. */
303
+ displayName: string;
304
+ /** Indicates whether routing through the link to a telemetry-router is active. */
305
+ enabled?: boolean;
306
+ /** The ID of the telemetry-router to route the telemetry data. */
307
+ telemetryRouterId: string;
308
+ }
309
+ export const CreateOrUpdateProjectTelemetryLinkRequest =
310
+ /*@__PURE__*/ S.suspend(() =>
311
+ S.Struct({
312
+ projectId: S.String.pipe(T.Label()),
313
+ regionId: CreateOrUpdateProjectTelemetryLinkRequestRegionId.pipe(
314
+ T.Label(),
315
+ ),
316
+ accessToken: S.String.pipe(T.SensitiveValue({})),
317
+ description: S.optional(S.String),
318
+ displayName: S.String,
319
+ enabled: S.optional(S.Boolean),
320
+ telemetryRouterId: S.String,
321
+ }).pipe(
322
+ T.Http({
323
+ method: "PUT",
324
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link",
325
+ code: 200,
326
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
327
+ }),
328
+ ),
329
+ ).annotate({
330
+ identifier: "CreateOrUpdateProjectTelemetryLinkRequest",
331
+ }) as any as S.Schema<CreateOrUpdateProjectTelemetryLinkRequest>;
332
+
333
+ export type CreateProjectBackflushJobRequestRegionId = "eu01" | "eu02";
334
+ export const CreateProjectBackflushJobRequestRegionId = /*@__PURE__*/ S.String;
335
+
336
+ export interface CreateProjectBackflushJobRequest {
337
+ /** The STACKIT portal project UUID the resource is located in. */
338
+ projectId: string;
339
+ /** The STACKIT region name the resource is located in. */
340
+ regionId: CreateProjectBackflushJobRequestRegionId | (string & {});
341
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
342
+ description?: string;
343
+ /** The display name is a short name chosen by the user to identify the resource. */
344
+ displayName: string;
345
+ }
346
+ export const CreateProjectBackflushJobRequest = /*@__PURE__*/ S.suspend(() =>
347
+ S.Struct({
348
+ projectId: S.String.pipe(T.Label()),
349
+ regionId: CreateProjectBackflushJobRequestRegionId.pipe(T.Label()),
350
+ description: S.optional(S.String),
351
+ displayName: S.String,
352
+ }).pipe(
353
+ T.Http({
354
+ method: "POST",
355
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link/backflush-jobs",
356
+ code: 200,
357
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
358
+ }),
359
+ ),
360
+ ).annotate({
361
+ identifier: "CreateProjectBackflushJobRequest",
362
+ }) as any as S.Schema<CreateProjectBackflushJobRequest>;
363
+
364
+ export type DeleteFolderTelemetryLinkRequestRegionId = "eu01" | "eu02";
365
+ export const DeleteFolderTelemetryLinkRequestRegionId = /*@__PURE__*/ S.String;
366
+
367
+ export interface DeleteFolderTelemetryLinkRequest {
368
+ /** The STACKIT portal folder UUID the resource is located in. */
369
+ folderId: string;
370
+ /** The STACKIT region name the resource is located in. */
371
+ regionId: DeleteFolderTelemetryLinkRequestRegionId | (string & {});
372
+ }
373
+ export const DeleteFolderTelemetryLinkRequest = /*@__PURE__*/ S.suspend(() =>
374
+ S.Struct({
375
+ folderId: S.String.pipe(T.Label()),
376
+ regionId: DeleteFolderTelemetryLinkRequestRegionId.pipe(T.Label()),
377
+ }).pipe(
378
+ T.Http({
379
+ method: "DELETE",
380
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link",
381
+ code: 200,
382
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
383
+ }),
384
+ ),
385
+ ).annotate({
386
+ identifier: "DeleteFolderTelemetryLinkRequest",
387
+ }) as any as S.Schema<DeleteFolderTelemetryLinkRequest>;
388
+
389
+ export interface DeleteFolderTelemetryLinkResponse {}
390
+ export const DeleteFolderTelemetryLinkResponse = /*@__PURE__*/ S.suspend(() =>
391
+ S.Struct({}),
392
+ ).annotate({
393
+ identifier: "DeleteFolderTelemetryLinkResponse",
394
+ }) as any as S.Schema<DeleteFolderTelemetryLinkResponse>;
395
+
396
+ export type DeleteOrganizationTelemetryLinkRequestRegionId = "eu01" | "eu02";
397
+ export const DeleteOrganizationTelemetryLinkRequestRegionId =
398
+ /*@__PURE__*/ S.String;
399
+
400
+ export interface DeleteOrganizationTelemetryLinkRequest {
401
+ /** The STACKIT portal organization UUID the resource is located in. */
402
+ organizationId: string;
403
+ /** The STACKIT region name the resource is located in. */
404
+ regionId: DeleteOrganizationTelemetryLinkRequestRegionId | (string & {});
405
+ }
406
+ export const DeleteOrganizationTelemetryLinkRequest = /*@__PURE__*/ S.suspend(
407
+ () =>
408
+ S.Struct({
409
+ organizationId: S.String.pipe(T.Label()),
410
+ regionId: DeleteOrganizationTelemetryLinkRequestRegionId.pipe(T.Label()),
411
+ }).pipe(
412
+ T.Http({
413
+ method: "DELETE",
414
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link",
415
+ code: 200,
416
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
417
+ }),
418
+ ),
419
+ ).annotate({
420
+ identifier: "DeleteOrganizationTelemetryLinkRequest",
421
+ }) as any as S.Schema<DeleteOrganizationTelemetryLinkRequest>;
422
+
423
+ export interface DeleteOrganizationTelemetryLinkResponse {}
424
+ export const DeleteOrganizationTelemetryLinkResponse = /*@__PURE__*/ S.suspend(
425
+ () => S.Struct({}),
426
+ ).annotate({
427
+ identifier: "DeleteOrganizationTelemetryLinkResponse",
428
+ }) as any as S.Schema<DeleteOrganizationTelemetryLinkResponse>;
429
+
430
+ export type DeleteProjectTelemetryLinkRequestRegionId = "eu01" | "eu02";
431
+ export const DeleteProjectTelemetryLinkRequestRegionId = /*@__PURE__*/ S.String;
432
+
433
+ export interface DeleteProjectTelemetryLinkRequest {
434
+ /** The STACKIT portal project UUID the resource is located in. */
435
+ projectId: string;
436
+ /** The STACKIT region name the resource is located in. */
437
+ regionId: DeleteProjectTelemetryLinkRequestRegionId | (string & {});
438
+ }
439
+ export const DeleteProjectTelemetryLinkRequest = /*@__PURE__*/ S.suspend(() =>
440
+ S.Struct({
441
+ projectId: S.String.pipe(T.Label()),
442
+ regionId: DeleteProjectTelemetryLinkRequestRegionId.pipe(T.Label()),
443
+ }).pipe(
444
+ T.Http({
445
+ method: "DELETE",
446
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link",
447
+ code: 200,
448
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
449
+ }),
450
+ ),
451
+ ).annotate({
452
+ identifier: "DeleteProjectTelemetryLinkRequest",
453
+ }) as any as S.Schema<DeleteProjectTelemetryLinkRequest>;
454
+
455
+ export interface DeleteProjectTelemetryLinkResponse {}
456
+ export const DeleteProjectTelemetryLinkResponse = /*@__PURE__*/ S.suspend(() =>
457
+ S.Struct({}),
458
+ ).annotate({
459
+ identifier: "DeleteProjectTelemetryLinkResponse",
460
+ }) as any as S.Schema<DeleteProjectTelemetryLinkResponse>;
461
+
462
+ export type GetFolderBackflushJobRequestRegionId = "eu01" | "eu02";
463
+ export const GetFolderBackflushJobRequestRegionId = /*@__PURE__*/ S.String;
464
+
465
+ export interface GetFolderBackflushJobRequest {
466
+ /** The STACKIT portal folder UUID the resource is located in. */
467
+ folderId: string;
468
+ /** The STACKIT region name the resource is located in. */
469
+ regionId: GetFolderBackflushJobRequestRegionId | (string & {});
470
+ /** The Backflush Job UUID. */
471
+ backflushJobId: string;
472
+ }
473
+ export const GetFolderBackflushJobRequest = /*@__PURE__*/ S.suspend(() =>
474
+ S.Struct({
475
+ folderId: S.String.pipe(T.Label()),
476
+ regionId: GetFolderBackflushJobRequestRegionId.pipe(T.Label()),
477
+ backflushJobId: S.String.pipe(T.Label()),
478
+ }).pipe(
479
+ T.Http({
480
+ method: "GET",
481
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link/backflush-jobs/{backflushJobId}",
482
+ code: 200,
483
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
484
+ }),
485
+ ),
486
+ ).annotate({
487
+ identifier: "GetFolderBackflushJobRequest",
488
+ }) as any as S.Schema<GetFolderBackflushJobRequest>;
489
+
490
+ export type GetFolderTelemetryLinkRequestRegionId = "eu01" | "eu02";
491
+ export const GetFolderTelemetryLinkRequestRegionId = /*@__PURE__*/ S.String;
492
+
493
+ export interface GetFolderTelemetryLinkRequest {
494
+ /** The STACKIT portal folder UUID the resource is located in. */
495
+ folderId: string;
496
+ /** The STACKIT region name the resource is located in. */
497
+ regionId: GetFolderTelemetryLinkRequestRegionId | (string & {});
498
+ }
499
+ export const GetFolderTelemetryLinkRequest = /*@__PURE__*/ S.suspend(() =>
500
+ S.Struct({
501
+ folderId: S.String.pipe(T.Label()),
502
+ regionId: GetFolderTelemetryLinkRequestRegionId.pipe(T.Label()),
503
+ }).pipe(
504
+ T.Http({
505
+ method: "GET",
506
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link",
507
+ code: 200,
508
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
509
+ }),
510
+ ),
511
+ ).annotate({
512
+ identifier: "GetFolderTelemetryLinkRequest",
513
+ }) as any as S.Schema<GetFolderTelemetryLinkRequest>;
514
+
515
+ export type GetOrganizationBackflushJobRequestRegionId = "eu01" | "eu02";
516
+ export const GetOrganizationBackflushJobRequestRegionId =
517
+ /*@__PURE__*/ S.String;
518
+
519
+ export interface GetOrganizationBackflushJobRequest {
520
+ /** The STACKIT portal organization UUID the resource is located in. */
521
+ organizationId: string;
522
+ /** The STACKIT region name the resource is located in. */
523
+ regionId: GetOrganizationBackflushJobRequestRegionId | (string & {});
524
+ /** The Backflush Job UUID. */
525
+ backflushJobId: string;
526
+ }
527
+ export const GetOrganizationBackflushJobRequest = /*@__PURE__*/ S.suspend(() =>
528
+ S.Struct({
529
+ organizationId: S.String.pipe(T.Label()),
530
+ regionId: GetOrganizationBackflushJobRequestRegionId.pipe(T.Label()),
531
+ backflushJobId: S.String.pipe(T.Label()),
532
+ }).pipe(
533
+ T.Http({
534
+ method: "GET",
535
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link/backflush-jobs/{backflushJobId}",
536
+ code: 200,
537
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
538
+ }),
539
+ ),
540
+ ).annotate({
541
+ identifier: "GetOrganizationBackflushJobRequest",
542
+ }) as any as S.Schema<GetOrganizationBackflushJobRequest>;
543
+
544
+ export type GetOrganizationTelemetryLinkRequestRegionId = "eu01" | "eu02";
545
+ export const GetOrganizationTelemetryLinkRequestRegionId =
546
+ /*@__PURE__*/ S.String;
547
+
548
+ export interface GetOrganizationTelemetryLinkRequest {
549
+ /** The STACKIT portal organization UUID the resource is located in. */
550
+ organizationId: string;
551
+ /** The STACKIT region name the resource is located in. */
552
+ regionId: GetOrganizationTelemetryLinkRequestRegionId | (string & {});
553
+ }
554
+ export const GetOrganizationTelemetryLinkRequest = /*@__PURE__*/ S.suspend(() =>
555
+ S.Struct({
556
+ organizationId: S.String.pipe(T.Label()),
557
+ regionId: GetOrganizationTelemetryLinkRequestRegionId.pipe(T.Label()),
558
+ }).pipe(
559
+ T.Http({
560
+ method: "GET",
561
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link",
562
+ code: 200,
563
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
564
+ }),
565
+ ),
566
+ ).annotate({
567
+ identifier: "GetOrganizationTelemetryLinkRequest",
568
+ }) as any as S.Schema<GetOrganizationTelemetryLinkRequest>;
569
+
570
+ export type GetProjectBackflushJobRequestRegionId = "eu01" | "eu02";
571
+ export const GetProjectBackflushJobRequestRegionId = /*@__PURE__*/ S.String;
572
+
573
+ export interface GetProjectBackflushJobRequest {
574
+ /** The STACKIT portal project UUID the resource is located in. */
575
+ projectId: string;
576
+ /** The STACKIT region name the resource is located in. */
577
+ regionId: GetProjectBackflushJobRequestRegionId | (string & {});
578
+ /** The Backflush Job UUID. */
579
+ backflushJobId: string;
580
+ }
581
+ export const GetProjectBackflushJobRequest = /*@__PURE__*/ S.suspend(() =>
582
+ S.Struct({
583
+ projectId: S.String.pipe(T.Label()),
584
+ regionId: GetProjectBackflushJobRequestRegionId.pipe(T.Label()),
585
+ backflushJobId: S.String.pipe(T.Label()),
586
+ }).pipe(
587
+ T.Http({
588
+ method: "GET",
589
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link/backflush-jobs/{backflushJobId}",
590
+ code: 200,
591
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
592
+ }),
593
+ ),
594
+ ).annotate({
595
+ identifier: "GetProjectBackflushJobRequest",
596
+ }) as any as S.Schema<GetProjectBackflushJobRequest>;
597
+
598
+ export type GetProjectTelemetryLinkRequestRegionId = "eu01" | "eu02";
599
+ export const GetProjectTelemetryLinkRequestRegionId = /*@__PURE__*/ S.String;
600
+
601
+ export interface GetProjectTelemetryLinkRequest {
602
+ /** The STACKIT portal project UUID the resource is located in. */
603
+ projectId: string;
604
+ /** The STACKIT region name the resource is located in. */
605
+ regionId: GetProjectTelemetryLinkRequestRegionId | (string & {});
606
+ }
607
+ export const GetProjectTelemetryLinkRequest = /*@__PURE__*/ S.suspend(() =>
608
+ S.Struct({
609
+ projectId: S.String.pipe(T.Label()),
610
+ regionId: GetProjectTelemetryLinkRequestRegionId.pipe(T.Label()),
611
+ }).pipe(
612
+ T.Http({
613
+ method: "GET",
614
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link",
615
+ code: 200,
616
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
617
+ }),
618
+ ),
619
+ ).annotate({
620
+ identifier: "GetProjectTelemetryLinkRequest",
621
+ }) as any as S.Schema<GetProjectTelemetryLinkRequest>;
622
+
623
+ export type ListFolderBackflushJobsRequestRegionId = "eu01" | "eu02";
624
+ export const ListFolderBackflushJobsRequestRegionId = /*@__PURE__*/ S.String;
625
+
626
+ export interface ListFolderBackflushJobsRequest {
627
+ /** The STACKIT portal folder UUID the resource is located in. */
628
+ folderId: string;
629
+ /** The STACKIT region name the resource is located in. */
630
+ regionId: ListFolderBackflushJobsRequestRegionId | (string & {});
631
+ /** A token to retrieve the next page of results. */
632
+ pageToken?: string;
633
+ /** Maximum number of items to return */
634
+ pageSize?: number;
635
+ }
636
+ export const ListFolderBackflushJobsRequest = /*@__PURE__*/ S.suspend(() =>
637
+ S.Struct({
638
+ folderId: S.String.pipe(T.Label()),
639
+ regionId: ListFolderBackflushJobsRequestRegionId.pipe(T.Label()),
640
+ pageToken: S.optional(S.String.pipe(T.Query())),
641
+ pageSize: S.optional(S.Number.pipe(T.Query())),
642
+ }).pipe(
643
+ T.Http({
644
+ method: "GET",
645
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link/backflush-jobs",
646
+ code: 200,
647
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
648
+ }),
649
+ ),
650
+ ).annotate({
651
+ identifier: "ListFolderBackflushJobsRequest",
652
+ }) as any as S.Schema<ListFolderBackflushJobsRequest>;
653
+
654
+ export type ListBackflushJobsResponseBackflushJobsList =
655
+ Array<BackflushJobResponse>;
656
+ export const ListBackflushJobsResponseBackflushJobsList = /*@__PURE__*/ S.Array(
657
+ BackflushJobResponse,
658
+ ) as any as S.Schema<ListBackflushJobsResponseBackflushJobsList>;
659
+
660
+ export interface ListBackflushJobsResponse {
661
+ backflushJobs: ListBackflushJobsResponseBackflushJobsList;
662
+ /** A token to retrieve the next page of results. */
663
+ nextPageToken?: string;
664
+ }
665
+ export const ListBackflushJobsResponse = /*@__PURE__*/ S.suspend(() =>
666
+ S.Struct({
667
+ backflushJobs: ListBackflushJobsResponseBackflushJobsList,
668
+ nextPageToken: S.optional(S.String),
669
+ }),
670
+ ).annotate({
671
+ identifier: "ListBackflushJobsResponse",
672
+ }) as any as S.Schema<ListBackflushJobsResponse>;
673
+
674
+ export type ListOrganizationBackflushJobsRequestRegionId = "eu01" | "eu02";
675
+ export const ListOrganizationBackflushJobsRequestRegionId =
676
+ /*@__PURE__*/ S.String;
677
+
678
+ export interface ListOrganizationBackflushJobsRequest {
679
+ /** The STACKIT portal organization UUID the resource is located in. */
680
+ organizationId: string;
681
+ /** The STACKIT region name the resource is located in. */
682
+ regionId: ListOrganizationBackflushJobsRequestRegionId | (string & {});
683
+ /** A token to retrieve the next page of results. */
684
+ pageToken?: string;
685
+ /** Maximum number of items to return */
686
+ pageSize?: number;
687
+ }
688
+ export const ListOrganizationBackflushJobsRequest = /*@__PURE__*/ S.suspend(
689
+ () =>
690
+ S.Struct({
691
+ organizationId: S.String.pipe(T.Label()),
692
+ regionId: ListOrganizationBackflushJobsRequestRegionId.pipe(T.Label()),
693
+ pageToken: S.optional(S.String.pipe(T.Query())),
694
+ pageSize: S.optional(S.Number.pipe(T.Query())),
695
+ }).pipe(
696
+ T.Http({
697
+ method: "GET",
698
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link/backflush-jobs",
699
+ code: 200,
700
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
701
+ }),
702
+ ),
703
+ ).annotate({
704
+ identifier: "ListOrganizationBackflushJobsRequest",
705
+ }) as any as S.Schema<ListOrganizationBackflushJobsRequest>;
706
+
707
+ export type ListProjectBackflushJobsRequestRegionId = "eu01" | "eu02";
708
+ export const ListProjectBackflushJobsRequestRegionId = /*@__PURE__*/ S.String;
709
+
710
+ export interface ListProjectBackflushJobsRequest {
711
+ /** The STACKIT portal project UUID the resource is located in. */
712
+ projectId: string;
713
+ /** The STACKIT region name the resource is located in. */
714
+ regionId: ListProjectBackflushJobsRequestRegionId | (string & {});
715
+ /** A token to retrieve the next page of results. */
716
+ pageToken?: string;
717
+ /** Maximum number of items to return */
718
+ pageSize?: number;
719
+ }
720
+ export const ListProjectBackflushJobsRequest = /*@__PURE__*/ S.suspend(() =>
721
+ S.Struct({
722
+ projectId: S.String.pipe(T.Label()),
723
+ regionId: ListProjectBackflushJobsRequestRegionId.pipe(T.Label()),
724
+ pageToken: S.optional(S.String.pipe(T.Query())),
725
+ pageSize: S.optional(S.Number.pipe(T.Query())),
726
+ }).pipe(
727
+ T.Http({
728
+ method: "GET",
729
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link/backflush-jobs",
730
+ code: 200,
731
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
732
+ }),
733
+ ),
734
+ ).annotate({
735
+ identifier: "ListProjectBackflushJobsRequest",
736
+ }) as any as S.Schema<ListProjectBackflushJobsRequest>;
737
+
738
+ export type PartialUpdateFolderTelemetryLinkRequestRegionId = "eu01" | "eu02";
739
+ export const PartialUpdateFolderTelemetryLinkRequestRegionId =
740
+ /*@__PURE__*/ S.String;
741
+
742
+ export interface PartialUpdateFolderTelemetryLinkRequest {
743
+ /** The STACKIT portal folder UUID the resource is located in. */
744
+ folderId: string;
745
+ /** The STACKIT region name the resource is located in. */
746
+ regionId: PartialUpdateFolderTelemetryLinkRequestRegionId | (string & {});
747
+ /** The access token. */
748
+ accessToken?: string | Redacted.Redacted<string>;
749
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
750
+ description?: string;
751
+ /** The display name is a short name chosen by the user to identify the resource. */
752
+ displayName?: string;
753
+ /** Indicates whether routing through the link to a telemetry-router is active. */
754
+ enabled?: boolean;
755
+ /** The ID of the telemetry-router to route the telemetry data. */
756
+ telemetryRouterId?: string;
757
+ }
758
+ export const PartialUpdateFolderTelemetryLinkRequest = /*@__PURE__*/ S.suspend(
759
+ () =>
760
+ S.Struct({
761
+ folderId: S.String.pipe(T.Label()),
762
+ regionId: PartialUpdateFolderTelemetryLinkRequestRegionId.pipe(T.Label()),
763
+ accessToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
764
+ description: S.optional(S.String),
765
+ displayName: S.optional(S.String),
766
+ enabled: S.optional(S.Boolean),
767
+ telemetryRouterId: S.optional(S.String),
768
+ }).pipe(
769
+ T.Http({
770
+ method: "PATCH",
771
+ uri: "/v1/folders/{folderId}/regions/{regionId}/telemetry-link",
772
+ code: 200,
773
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
774
+ }),
775
+ ),
776
+ ).annotate({
777
+ identifier: "PartialUpdateFolderTelemetryLinkRequest",
778
+ }) as any as S.Schema<PartialUpdateFolderTelemetryLinkRequest>;
779
+
780
+ export type PartialUpdateOrganizationTelemetryLinkRequestRegionId =
781
+ | "eu01"
782
+ | "eu02";
783
+ export const PartialUpdateOrganizationTelemetryLinkRequestRegionId =
784
+ /*@__PURE__*/ S.String;
785
+
786
+ export interface PartialUpdateOrganizationTelemetryLinkRequest {
787
+ /** The STACKIT portal organization UUID the resource is located in. */
788
+ organizationId: string;
789
+ /** The STACKIT region name the resource is located in. */
790
+ regionId:
791
+ | PartialUpdateOrganizationTelemetryLinkRequestRegionId
792
+ | (string & {});
793
+ /** The access token. */
794
+ accessToken?: string | Redacted.Redacted<string>;
795
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
796
+ description?: string;
797
+ /** The display name is a short name chosen by the user to identify the resource. */
798
+ displayName?: string;
799
+ /** Indicates whether routing through the link to a telemetry-router is active. */
800
+ enabled?: boolean;
801
+ /** The ID of the telemetry-router to route the telemetry data. */
802
+ telemetryRouterId?: string;
803
+ }
804
+ export const PartialUpdateOrganizationTelemetryLinkRequest =
805
+ /*@__PURE__*/ S.suspend(() =>
806
+ S.Struct({
807
+ organizationId: S.String.pipe(T.Label()),
808
+ regionId: PartialUpdateOrganizationTelemetryLinkRequestRegionId.pipe(
809
+ T.Label(),
810
+ ),
811
+ accessToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
812
+ description: S.optional(S.String),
813
+ displayName: S.optional(S.String),
814
+ enabled: S.optional(S.Boolean),
815
+ telemetryRouterId: S.optional(S.String),
816
+ }).pipe(
817
+ T.Http({
818
+ method: "PATCH",
819
+ uri: "/v1/organizations/{organizationId}/regions/{regionId}/telemetry-link",
820
+ code: 200,
821
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
822
+ }),
823
+ ),
824
+ ).annotate({
825
+ identifier: "PartialUpdateOrganizationTelemetryLinkRequest",
826
+ }) as any as S.Schema<PartialUpdateOrganizationTelemetryLinkRequest>;
827
+
828
+ export type PartialUpdateProjectTelemetryLinkRequestRegionId = "eu01" | "eu02";
829
+ export const PartialUpdateProjectTelemetryLinkRequestRegionId =
830
+ /*@__PURE__*/ S.String;
831
+
832
+ export interface PartialUpdateProjectTelemetryLinkRequest {
833
+ /** The STACKIT portal project UUID the resource is located in. */
834
+ projectId: string;
835
+ /** The STACKIT region name the resource is located in. */
836
+ regionId: PartialUpdateProjectTelemetryLinkRequestRegionId | (string & {});
837
+ /** The access token. */
838
+ accessToken?: string | Redacted.Redacted<string>;
839
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
840
+ description?: string;
841
+ /** The display name is a short name chosen by the user to identify the resource. */
842
+ displayName?: string;
843
+ /** Indicates whether routing through the link to a telemetry-router is active. */
844
+ enabled?: boolean;
845
+ /** The ID of the telemetry-router to route the telemetry data. */
846
+ telemetryRouterId?: string;
847
+ }
848
+ export const PartialUpdateProjectTelemetryLinkRequest = /*@__PURE__*/ S.suspend(
849
+ () =>
850
+ S.Struct({
851
+ projectId: S.String.pipe(T.Label()),
852
+ regionId: PartialUpdateProjectTelemetryLinkRequestRegionId.pipe(
853
+ T.Label(),
854
+ ),
855
+ accessToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
856
+ description: S.optional(S.String),
857
+ displayName: S.optional(S.String),
858
+ enabled: S.optional(S.Boolean),
859
+ telemetryRouterId: S.optional(S.String),
860
+ }).pipe(
861
+ T.Http({
862
+ method: "PATCH",
863
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-link",
864
+ code: 200,
865
+ baseUrl: "https://telemetry-link.api.stackit.cloud",
866
+ }),
867
+ ),
868
+ ).annotate({
869
+ identifier: "PartialUpdateProjectTelemetryLinkRequest",
870
+ }) as any as S.Schema<PartialUpdateProjectTelemetryLinkRequest>;
871
+
872
+ export type CreateFolderBackflushJobError =
873
+ | BadRequest
874
+ | Conflict
875
+ | StackitOpError;
876
+ /** Creates a new Backflush Job for the folder. */
877
+ export const createFolderBackflushJob: API.OperationMethod<
878
+ CreateFolderBackflushJobRequest,
879
+ BackflushJobResponse,
880
+ CreateFolderBackflushJobError,
881
+ StackitOpContext
882
+ > = /*@__PURE__*/ API.make(() => ({
883
+ input: CreateFolderBackflushJobRequest,
884
+ output: BackflushJobResponse,
885
+ errors: [BadRequest, Conflict, UnknownStackitError],
886
+ protocol: StackitProtocol,
887
+ retry: Retry.Retry,
888
+ }));
889
+
890
+ export type CreateOrganizationBackflushJobError =
891
+ | BadRequest
892
+ | Conflict
893
+ | StackitOpError;
894
+ /** Creates a new Backflush Job for the organization. */
895
+ export const createOrganizationBackflushJob: API.OperationMethod<
896
+ CreateOrganizationBackflushJobRequest,
897
+ BackflushJobResponse,
898
+ CreateOrganizationBackflushJobError,
899
+ StackitOpContext
900
+ > = /*@__PURE__*/ API.make(() => ({
901
+ input: CreateOrganizationBackflushJobRequest,
902
+ output: BackflushJobResponse,
903
+ errors: [BadRequest, Conflict, UnknownStackitError],
904
+ protocol: StackitProtocol,
905
+ retry: Retry.Retry,
906
+ }));
907
+
908
+ export type CreateOrUpdateFolderTelemetryLinkError =
909
+ | BadRequest
910
+ | NotFound
911
+ | Conflict
912
+ | StackitOpError;
913
+ /** Creates or updates the given Telemetry Link within the folder. */
914
+ export const createOrUpdateFolderTelemetryLink: API.OperationMethod<
915
+ CreateOrUpdateFolderTelemetryLinkRequest,
916
+ TelemetryLinkResponse,
917
+ CreateOrUpdateFolderTelemetryLinkError,
918
+ StackitOpContext
919
+ > = /*@__PURE__*/ API.make(() => ({
920
+ input: CreateOrUpdateFolderTelemetryLinkRequest,
921
+ output: TelemetryLinkResponse,
922
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
923
+ protocol: StackitProtocol,
924
+ retry: Retry.Retry,
925
+ }));
926
+
927
+ export type CreateOrUpdateOrganizationTelemetryLinkError =
928
+ | BadRequest
929
+ | NotFound
930
+ | Conflict
931
+ | StackitOpError;
932
+ /** Creates or updates the given Telemetry Link within the organization. */
933
+ export const createOrUpdateOrganizationTelemetryLink: API.OperationMethod<
934
+ CreateOrUpdateOrganizationTelemetryLinkRequest,
935
+ TelemetryLinkResponse,
936
+ CreateOrUpdateOrganizationTelemetryLinkError,
937
+ StackitOpContext
938
+ > = /*@__PURE__*/ API.make(() => ({
939
+ input: CreateOrUpdateOrganizationTelemetryLinkRequest,
940
+ output: TelemetryLinkResponse,
941
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
942
+ protocol: StackitProtocol,
943
+ retry: Retry.Retry,
944
+ }));
945
+
946
+ export type CreateOrUpdateProjectTelemetryLinkError =
947
+ | BadRequest
948
+ | NotFound
949
+ | Conflict
950
+ | StackitOpError;
951
+ /** Creates or updates the given Telemetry Link within the project. */
952
+ export const createOrUpdateProjectTelemetryLink: API.OperationMethod<
953
+ CreateOrUpdateProjectTelemetryLinkRequest,
954
+ TelemetryLinkResponse,
955
+ CreateOrUpdateProjectTelemetryLinkError,
956
+ StackitOpContext
957
+ > = /*@__PURE__*/ API.make(() => ({
958
+ input: CreateOrUpdateProjectTelemetryLinkRequest,
959
+ output: TelemetryLinkResponse,
960
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
961
+ protocol: StackitProtocol,
962
+ retry: Retry.Retry,
963
+ }));
964
+
965
+ export type CreateProjectBackflushJobError =
966
+ | BadRequest
967
+ | Conflict
968
+ | StackitOpError;
969
+ /** Creates a new Backflush Job for the project. */
970
+ export const createProjectBackflushJob: API.OperationMethod<
971
+ CreateProjectBackflushJobRequest,
972
+ BackflushJobResponse,
973
+ CreateProjectBackflushJobError,
974
+ StackitOpContext
975
+ > = /*@__PURE__*/ API.make(() => ({
976
+ input: CreateProjectBackflushJobRequest,
977
+ output: BackflushJobResponse,
978
+ errors: [BadRequest, Conflict, UnknownStackitError],
979
+ protocol: StackitProtocol,
980
+ retry: Retry.Retry,
981
+ }));
982
+
983
+ export type DeleteFolderTelemetryLinkError =
984
+ | BadRequest
985
+ | NotFound
986
+ | Conflict
987
+ | StackitOpError;
988
+ /** Deletes the given Telemetry Link within the folder. */
989
+ export const deleteFolderTelemetryLink: API.OperationMethod<
990
+ DeleteFolderTelemetryLinkRequest,
991
+ DeleteFolderTelemetryLinkResponse,
992
+ DeleteFolderTelemetryLinkError,
993
+ StackitOpContext
994
+ > = /*@__PURE__*/ API.make(() => ({
995
+ input: DeleteFolderTelemetryLinkRequest,
996
+ output: DeleteFolderTelemetryLinkResponse,
997
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
998
+ protocol: StackitProtocol,
999
+ retry: Retry.Retry,
1000
+ }));
1001
+
1002
+ export type DeleteOrganizationTelemetryLinkError =
1003
+ | BadRequest
1004
+ | NotFound
1005
+ | Conflict
1006
+ | StackitOpError;
1007
+ /** Deletes the given Telemetry Link within the organization. */
1008
+ export const deleteOrganizationTelemetryLink: API.OperationMethod<
1009
+ DeleteOrganizationTelemetryLinkRequest,
1010
+ DeleteOrganizationTelemetryLinkResponse,
1011
+ DeleteOrganizationTelemetryLinkError,
1012
+ StackitOpContext
1013
+ > = /*@__PURE__*/ API.make(() => ({
1014
+ input: DeleteOrganizationTelemetryLinkRequest,
1015
+ output: DeleteOrganizationTelemetryLinkResponse,
1016
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
1017
+ protocol: StackitProtocol,
1018
+ retry: Retry.Retry,
1019
+ }));
1020
+
1021
+ export type DeleteProjectTelemetryLinkError =
1022
+ | BadRequest
1023
+ | NotFound
1024
+ | Conflict
1025
+ | StackitOpError;
1026
+ /** Deletes the given Telemetry Link within the project. */
1027
+ export const deleteProjectTelemetryLink: API.OperationMethod<
1028
+ DeleteProjectTelemetryLinkRequest,
1029
+ DeleteProjectTelemetryLinkResponse,
1030
+ DeleteProjectTelemetryLinkError,
1031
+ StackitOpContext
1032
+ > = /*@__PURE__*/ API.make(() => ({
1033
+ input: DeleteProjectTelemetryLinkRequest,
1034
+ output: DeleteProjectTelemetryLinkResponse,
1035
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
1036
+ protocol: StackitProtocol,
1037
+ retry: Retry.Retry,
1038
+ }));
1039
+
1040
+ export type GetFolderBackflushJobError = BadRequest | NotFound | StackitOpError;
1041
+ /** Returns the details for the given Backflush Job in a folder. */
1042
+ export const getFolderBackflushJob: API.OperationMethod<
1043
+ GetFolderBackflushJobRequest,
1044
+ BackflushJobResponse,
1045
+ GetFolderBackflushJobError,
1046
+ StackitOpContext
1047
+ > = /*@__PURE__*/ API.make(() => ({
1048
+ input: GetFolderBackflushJobRequest,
1049
+ output: BackflushJobResponse,
1050
+ errors: [BadRequest, NotFound, UnknownStackitError],
1051
+ protocol: StackitProtocol,
1052
+ retry: Retry.Retry,
1053
+ }));
1054
+
1055
+ export type GetFolderTelemetryLinkError =
1056
+ | BadRequest
1057
+ | NotFound
1058
+ | StackitOpError;
1059
+ /** Returns the details for the given Telemetry Link within the folder. */
1060
+ export const getFolderTelemetryLink: API.OperationMethod<
1061
+ GetFolderTelemetryLinkRequest,
1062
+ TelemetryLinkResponse,
1063
+ GetFolderTelemetryLinkError,
1064
+ StackitOpContext
1065
+ > = /*@__PURE__*/ API.make(() => ({
1066
+ input: GetFolderTelemetryLinkRequest,
1067
+ output: TelemetryLinkResponse,
1068
+ errors: [BadRequest, NotFound, UnknownStackitError],
1069
+ protocol: StackitProtocol,
1070
+ retry: Retry.Retry,
1071
+ }));
1072
+
1073
+ export type GetOrganizationBackflushJobError =
1074
+ | BadRequest
1075
+ | NotFound
1076
+ | StackitOpError;
1077
+ /** Returns the details for the given Backflush Job in a organization. */
1078
+ export const getOrganizationBackflushJob: API.OperationMethod<
1079
+ GetOrganizationBackflushJobRequest,
1080
+ BackflushJobResponse,
1081
+ GetOrganizationBackflushJobError,
1082
+ StackitOpContext
1083
+ > = /*@__PURE__*/ API.make(() => ({
1084
+ input: GetOrganizationBackflushJobRequest,
1085
+ output: BackflushJobResponse,
1086
+ errors: [BadRequest, NotFound, UnknownStackitError],
1087
+ protocol: StackitProtocol,
1088
+ retry: Retry.Retry,
1089
+ }));
1090
+
1091
+ export type GetOrganizationTelemetryLinkError =
1092
+ | BadRequest
1093
+ | NotFound
1094
+ | StackitOpError;
1095
+ /** Returns the details for the given Telemetry Link within the organization. */
1096
+ export const getOrganizationTelemetryLink: API.OperationMethod<
1097
+ GetOrganizationTelemetryLinkRequest,
1098
+ TelemetryLinkResponse,
1099
+ GetOrganizationTelemetryLinkError,
1100
+ StackitOpContext
1101
+ > = /*@__PURE__*/ API.make(() => ({
1102
+ input: GetOrganizationTelemetryLinkRequest,
1103
+ output: TelemetryLinkResponse,
1104
+ errors: [BadRequest, NotFound, UnknownStackitError],
1105
+ protocol: StackitProtocol,
1106
+ retry: Retry.Retry,
1107
+ }));
1108
+
1109
+ export type GetProjectBackflushJobError =
1110
+ | BadRequest
1111
+ | NotFound
1112
+ | StackitOpError;
1113
+ /** Returns the details for the given Backflush Job in a project. */
1114
+ export const getProjectBackflushJob: API.OperationMethod<
1115
+ GetProjectBackflushJobRequest,
1116
+ BackflushJobResponse,
1117
+ GetProjectBackflushJobError,
1118
+ StackitOpContext
1119
+ > = /*@__PURE__*/ API.make(() => ({
1120
+ input: GetProjectBackflushJobRequest,
1121
+ output: BackflushJobResponse,
1122
+ errors: [BadRequest, NotFound, UnknownStackitError],
1123
+ protocol: StackitProtocol,
1124
+ retry: Retry.Retry,
1125
+ }));
1126
+
1127
+ export type GetProjectTelemetryLinkError =
1128
+ | BadRequest
1129
+ | NotFound
1130
+ | StackitOpError;
1131
+ /** Returns the details for the given Telemetry Link within the project. */
1132
+ export const getProjectTelemetryLink: API.OperationMethod<
1133
+ GetProjectTelemetryLinkRequest,
1134
+ TelemetryLinkResponse,
1135
+ GetProjectTelemetryLinkError,
1136
+ StackitOpContext
1137
+ > = /*@__PURE__*/ API.make(() => ({
1138
+ input: GetProjectTelemetryLinkRequest,
1139
+ output: TelemetryLinkResponse,
1140
+ errors: [BadRequest, NotFound, UnknownStackitError],
1141
+ protocol: StackitProtocol,
1142
+ retry: Retry.Retry,
1143
+ }));
1144
+
1145
+ export type ListFolderBackflushJobsError = BadRequest | StackitOpError;
1146
+ /** Returns a list of all Backflush Jobs for the folder. */
1147
+ export const listFolderBackflushJobs: API.OperationMethod<
1148
+ ListFolderBackflushJobsRequest,
1149
+ ListBackflushJobsResponse,
1150
+ ListFolderBackflushJobsError,
1151
+ StackitOpContext
1152
+ > = /*@__PURE__*/ API.make(() => ({
1153
+ input: ListFolderBackflushJobsRequest,
1154
+ output: ListBackflushJobsResponse,
1155
+ errors: [BadRequest, UnknownStackitError],
1156
+ protocol: StackitProtocol,
1157
+ retry: Retry.Retry,
1158
+ }));
1159
+
1160
+ export type ListOrganizationBackflushJobsError = BadRequest | StackitOpError;
1161
+ /** Returns a list of all Backflush Jobs for the organization. */
1162
+ export const listOrganizationBackflushJobs: API.OperationMethod<
1163
+ ListOrganizationBackflushJobsRequest,
1164
+ ListBackflushJobsResponse,
1165
+ ListOrganizationBackflushJobsError,
1166
+ StackitOpContext
1167
+ > = /*@__PURE__*/ API.make(() => ({
1168
+ input: ListOrganizationBackflushJobsRequest,
1169
+ output: ListBackflushJobsResponse,
1170
+ errors: [BadRequest, UnknownStackitError],
1171
+ protocol: StackitProtocol,
1172
+ retry: Retry.Retry,
1173
+ }));
1174
+
1175
+ export type ListProjectBackflushJobsError = BadRequest | StackitOpError;
1176
+ /** Returns a list of all Backflush Jobs for the project. */
1177
+ export const listProjectBackflushJobs: API.OperationMethod<
1178
+ ListProjectBackflushJobsRequest,
1179
+ ListBackflushJobsResponse,
1180
+ ListProjectBackflushJobsError,
1181
+ StackitOpContext
1182
+ > = /*@__PURE__*/ API.make(() => ({
1183
+ input: ListProjectBackflushJobsRequest,
1184
+ output: ListBackflushJobsResponse,
1185
+ errors: [BadRequest, UnknownStackitError],
1186
+ protocol: StackitProtocol,
1187
+ retry: Retry.Retry,
1188
+ }));
1189
+
1190
+ export type PartialUpdateFolderTelemetryLinkError =
1191
+ | BadRequest
1192
+ | NotFound
1193
+ | Conflict
1194
+ | StackitOpError;
1195
+ /** Patches the given Telemetry Link within the folder. */
1196
+ export const partialUpdateFolderTelemetryLink: API.OperationMethod<
1197
+ PartialUpdateFolderTelemetryLinkRequest,
1198
+ TelemetryLinkResponse,
1199
+ PartialUpdateFolderTelemetryLinkError,
1200
+ StackitOpContext
1201
+ > = /*@__PURE__*/ API.make(() => ({
1202
+ input: PartialUpdateFolderTelemetryLinkRequest,
1203
+ output: TelemetryLinkResponse,
1204
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
1205
+ protocol: StackitProtocol,
1206
+ retry: Retry.Retry,
1207
+ }));
1208
+
1209
+ export type PartialUpdateOrganizationTelemetryLinkError =
1210
+ | BadRequest
1211
+ | NotFound
1212
+ | Conflict
1213
+ | StackitOpError;
1214
+ /** Patches the given Telemetry Link within the organization. */
1215
+ export const partialUpdateOrganizationTelemetryLink: API.OperationMethod<
1216
+ PartialUpdateOrganizationTelemetryLinkRequest,
1217
+ TelemetryLinkResponse,
1218
+ PartialUpdateOrganizationTelemetryLinkError,
1219
+ StackitOpContext
1220
+ > = /*@__PURE__*/ API.make(() => ({
1221
+ input: PartialUpdateOrganizationTelemetryLinkRequest,
1222
+ output: TelemetryLinkResponse,
1223
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
1224
+ protocol: StackitProtocol,
1225
+ retry: Retry.Retry,
1226
+ }));
1227
+
1228
+ export type PartialUpdateProjectTelemetryLinkError =
1229
+ | BadRequest
1230
+ | NotFound
1231
+ | Conflict
1232
+ | StackitOpError;
1233
+ /** Patches the given Telemetry Link within the project. */
1234
+ export const partialUpdateProjectTelemetryLink: API.OperationMethod<
1235
+ PartialUpdateProjectTelemetryLinkRequest,
1236
+ TelemetryLinkResponse,
1237
+ PartialUpdateProjectTelemetryLinkError,
1238
+ StackitOpContext
1239
+ > = /*@__PURE__*/ API.make(() => ({
1240
+ input: PartialUpdateProjectTelemetryLinkRequest,
1241
+ output: TelemetryLinkResponse,
1242
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
1243
+ protocol: StackitProtocol,
1244
+ retry: Retry.Retry,
1245
+ }));