@distilled.cloud/stackit 1.0.0-rc.14 → 1.0.0-rc.16

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