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

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