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

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 (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -13,6 +13,19 @@ const __s: any[] = [];
13
13
 
14
14
  export type { StackitOpError, StackitOpContext };
15
15
 
16
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
17
+ const TELEMETRY = {
18
+ system: "stackit-api",
19
+ responseHeaders: [
20
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
21
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
22
+ ],
23
+ prefix: "STACKIT",
24
+ service: "TelemetryRouter",
25
+ labels: "stackit",
26
+ propagate: "w3c",
27
+ } as const;
28
+
16
29
  export class BadRequest
17
30
  extends /*@__PURE__*/ T.applyErrorMatchers(
18
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -49,22 +62,22 @@ export interface CreateAccessTokenRequest {
49
62
  /** The Telemetry Router UUID. */
50
63
  telemetryRouterId: string;
51
64
  /** The description of the access token. */
52
- description?: string;
65
+ description?: string | undefined;
53
66
  /** The selected display name of the access token. */
54
67
  displayName: string;
55
68
  /** The time-to-live (TTL) in days for the access token. If not set, token will not expire. */
56
- ttl?: number | null;
69
+ ttl?: number | null | undefined;
57
70
  }
58
71
  export type CreateAccessTokenResponseStatus = "active" | "expired" | "deleting";
59
72
  export interface CreateAccessTokenResponse {
60
73
  /** The user ID of the creator of the access token. */
61
74
  creatorId: string;
62
75
  /** The description of the access token. */
63
- description?: string;
76
+ description?: string | undefined;
64
77
  /** The selected display name of the access token. */
65
78
  displayName: string;
66
79
  /** The date and time until the access token is valid to (inclusively). */
67
- expirationTime?: string | null;
80
+ expirationTime?: string | null | undefined;
68
81
  /** An auto generated unique id which identifies the access token. */
69
82
  id: string;
70
83
  status: CreateAccessTokenResponseStatus;
@@ -86,7 +99,7 @@ export interface ConfigFilterAttributes {
86
99
  export type ConfigFilterAttributesList = Array<ConfigFilterAttributes>;
87
100
  export interface ConfigFilter {
88
101
  attributes: ConfigFilterAttributesList;
89
- disabled?: boolean;
102
+ disabled?: boolean | undefined;
90
103
  }
91
104
  /** Basic auth to authenticate at the OpenTelemetry URI */
92
105
  export interface DestinationConfigOpenTelemetryBasicAuth {
@@ -94,9 +107,9 @@ export interface DestinationConfigOpenTelemetryBasicAuth {
94
107
  username: string;
95
108
  }
96
109
  export interface DestinationConfigOpenTelemetry {
97
- basicAuth?: DestinationConfigOpenTelemetryBasicAuth;
110
+ basicAuth?: DestinationConfigOpenTelemetryBasicAuth | undefined;
98
111
  /** A bearer token to authenticate at the OpenTelemetry URI. */
99
- bearerToken?: string;
112
+ bearerToken?: string | undefined;
100
113
  /** The URI for reaching the resource. */
101
114
  uri: string;
102
115
  }
@@ -106,16 +119,16 @@ export interface DestinationConfigS3AccessKey {
106
119
  secret: string | Redacted.Redacted<string>;
107
120
  }
108
121
  export interface DestinationConfigS3 {
109
- accessKey?: DestinationConfigS3AccessKey;
122
+ accessKey?: DestinationConfigS3AccessKey | undefined;
110
123
  bucket: string;
111
124
  /** The URI for reaching the resource. */
112
125
  endpoint: string;
113
126
  }
114
127
  export interface DestinationConfig {
115
128
  configType: DestinationConfigType | (string & {});
116
- filter?: ConfigFilter;
117
- openTelemetry?: DestinationConfigOpenTelemetry;
118
- s3?: DestinationConfigS3;
129
+ filter?: ConfigFilter | undefined;
130
+ openTelemetry?: DestinationConfigOpenTelemetry | undefined;
131
+ s3?: DestinationConfigS3 | undefined;
119
132
  }
120
133
  export interface CreateDestinationRequest {
121
134
  /** The STACKIT portal project UUID the resource is located in. */
@@ -126,7 +139,7 @@ export interface CreateDestinationRequest {
126
139
  telemetryRouterId: string;
127
140
  config: DestinationConfig;
128
141
  /** The description is a longer text chosen by the user to provide more context for the resource. */
129
- description?: string;
142
+ description?: string | undefined;
130
143
  /** The display name is a short name chosen by the user to identify the resource. */
131
144
  displayName: string;
132
145
  }
@@ -141,7 +154,7 @@ export interface DestinationResponse {
141
154
  /** The credential type for the resource. */
142
155
  credentialType: DestinationResponseCredentialType;
143
156
  /** The description is a longer text chosen by the user to provide more context for the resource. */
144
- description?: string;
157
+ description?: string | undefined;
145
158
  /** The display name is a short name chosen by the user to identify the resource. */
146
159
  displayName: string;
147
160
  /** A auto generated unique id which identifies the resource. */
@@ -150,16 +163,18 @@ export interface DestinationResponse {
150
163
  status: DestinationResponseStatus;
151
164
  }
152
165
  export type CreateTelemetryRouterRequestRegionId = "eu01" | "eu02";
166
+ export type ResourceLabels = { [key: string]: string | undefined };
153
167
  export interface CreateTelemetryRouterRequest {
154
168
  /** The STACKIT portal project UUID the resource is located in. */
155
169
  projectId: string;
156
170
  /** The STACKIT region name the resource is located in. */
157
171
  regionId: CreateTelemetryRouterRequestRegionId | (string & {});
158
172
  /** The description is a longer text chosen by the user to provide more context for the resource. */
159
- description?: string;
173
+ description?: string | undefined;
160
174
  /** The display name is a short name chosen by the user to identify the resource. */
161
175
  displayName: string;
162
- filter?: ConfigFilter;
176
+ filter?: ConfigFilter | undefined;
177
+ resourceLabels?: ResourceLabels | undefined;
163
178
  }
164
179
  /** The current status of the resource. */
165
180
  export type TelemetryRouterResponseStatus = "reconciling" | "active" | "deleting";
@@ -167,12 +182,15 @@ export interface TelemetryRouterResponse {
167
182
  /** The point in time the resource was created. */
168
183
  creationTime: string;
169
184
  /** The description is a longer text chosen by the user to provide more context for the resource. */
170
- description?: string;
185
+ description?: string | undefined;
186
+ /** The number of destinations configured for the telemetry router. */
187
+ destinationCount?: number | undefined;
171
188
  /** The display name is a short name chosen by the user to identify the resource. */
172
189
  displayName: string;
173
- filter?: ConfigFilter;
190
+ filter?: ConfigFilter | undefined;
174
191
  /** A auto generated unique id which identifies the resource. */
175
192
  id: string;
193
+ resourceLabels?: ResourceLabels | undefined;
176
194
  /** The current status of the resource. */
177
195
  status: TelemetryRouterResponseStatus;
178
196
  /** The URI for reaching the resource. */
@@ -211,7 +229,7 @@ export interface DeleteTelemetryRouterRequest {
211
229
  /** The Telemetry Router UUID. */
212
230
  telemetryRouterId: string;
213
231
  /** If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. */
214
- force?: boolean;
232
+ force?: boolean | undefined;
215
233
  }
216
234
  export interface DeleteTelemetryRouterResponse {}
217
235
  export type GetAccessTokenRequestRegionId = "eu01" | "eu02";
@@ -230,11 +248,11 @@ export interface GetAccessTokenResponse2 {
230
248
  /** The user ID of the creator of the access token. */
231
249
  creatorId: string;
232
250
  /** The description of the access token. */
233
- description?: string;
251
+ description?: string | undefined;
234
252
  /** The selected display name of the access token. */
235
253
  displayName: string;
236
254
  /** The date and time until the access token is valid to (inclusively). */
237
- expirationTime?: string | null;
255
+ expirationTime?: string | null | undefined;
238
256
  /** An auto generated unique id which identifies the access token. */
239
257
  id: string;
240
258
  status: GetAccessTokenResponseStatus;
@@ -268,20 +286,20 @@ export interface ListAccessTokensRequest {
268
286
  /** The Telemetry Router UUID. */
269
287
  telemetryRouterId: string;
270
288
  /** A token to retrieve the next page of results. */
271
- pageToken?: string;
289
+ pageToken?: string | undefined;
272
290
  /** Maximum number of items to return */
273
- pageSize?: number;
291
+ pageSize?: number | undefined;
274
292
  }
275
293
  export type AccessTokenBaseResponseStatus = "active" | "expired" | "deleting";
276
294
  export interface AccessTokenBaseResponse {
277
295
  /** The user ID of the creator of the access token. */
278
296
  creatorId: string;
279
297
  /** The description of the access token. */
280
- description?: string;
298
+ description?: string | undefined;
281
299
  /** The selected display name of the access token. */
282
300
  displayName: string;
283
301
  /** The date and time until the access token is valid to (inclusively). */
284
- expirationTime?: string | null;
302
+ expirationTime?: string | null | undefined;
285
303
  /** An auto generated unique id which identifies the access token. */
286
304
  id: string;
287
305
  status: AccessTokenBaseResponseStatus;
@@ -290,7 +308,7 @@ export type ListAccessTokensResponseAccessTokensList = Array<AccessTokenBaseResp
290
308
  export interface ListAccessTokensResponse {
291
309
  accessTokens: ListAccessTokensResponseAccessTokensList;
292
310
  /** A token to retrieve the next page of results. */
293
- nextPageToken?: string;
311
+ nextPageToken?: string | undefined;
294
312
  }
295
313
  export type ListDestinationsRequestRegionId = "eu01" | "eu02";
296
314
  export interface ListDestinationsRequest {
@@ -301,15 +319,15 @@ export interface ListDestinationsRequest {
301
319
  /** The Telemetry Router UUID. */
302
320
  telemetryRouterId: string;
303
321
  /** A token to retrieve the next page of results. */
304
- pageToken?: string;
322
+ pageToken?: string | undefined;
305
323
  /** Maximum number of items to return */
306
- pageSize?: number;
324
+ pageSize?: number | undefined;
307
325
  }
308
326
  export type ListDestinationsResponseDestinationsList = Array<DestinationResponse>;
309
327
  export interface ListDestinationsResponse {
310
328
  destinations: ListDestinationsResponseDestinationsList;
311
329
  /** A token to retrieve the next page of results. */
312
- nextPageToken?: string;
330
+ nextPageToken?: string | undefined;
313
331
  }
314
332
  export type ListTelemetryRoutersRequestRegionId = "eu01" | "eu02";
315
333
  export interface ListTelemetryRoutersRequest {
@@ -318,16 +336,74 @@ export interface ListTelemetryRoutersRequest {
318
336
  /** The STACKIT region name the resource is located in. */
319
337
  regionId: ListTelemetryRoutersRequestRegionId | (string & {});
320
338
  /** A token to retrieve the next page of results. */
321
- pageToken?: string;
339
+ pageToken?: string | undefined;
322
340
  /** Maximum number of items to return */
323
- pageSize?: number;
341
+ pageSize?: number | undefined;
324
342
  }
325
343
  export type ListTelemetryRoutersResponseTelemetryRoutersList = Array<TelemetryRouterResponse>;
326
344
  export interface ListTelemetryRoutersResponse {
327
345
  /** A token to retrieve the next page of results. */
328
- nextPageToken?: string;
346
+ nextPageToken?: string | undefined;
329
347
  telemetryRouters: ListTelemetryRoutersResponseTelemetryRoutersList;
330
348
  }
349
+ export type PartialUpdateAccessTokenRequestRegionId = "eu01" | "eu02";
350
+ export interface PartialUpdateAccessTokenRequest {
351
+ /** The STACKIT portal project UUID the resource is located in. */
352
+ projectId: string;
353
+ /** The STACKIT region name the resource is located in. */
354
+ regionId: PartialUpdateAccessTokenRequestRegionId | (string & {});
355
+ /** The Telemetry Router UUID. */
356
+ telemetryRouterId: string;
357
+ /** The Access Token UUID. */
358
+ accessTokenId: string;
359
+ description?: string | null | undefined;
360
+ displayName?: string | null | undefined;
361
+ }
362
+ export type PartialUpdateAccessTokenResponseStatus = "active" | "expired" | "deleting";
363
+ export interface PartialUpdateAccessTokenResponse {
364
+ /** The user ID of the creator of the access token. */
365
+ creatorId: string;
366
+ /** The description of the access token. */
367
+ description?: string | undefined;
368
+ /** The selected display name of the access token. */
369
+ displayName: string;
370
+ /** The date and time until the access token is valid to (inclusively). */
371
+ expirationTime?: string | null | undefined;
372
+ /** An auto generated unique id which identifies the access token. */
373
+ id: string;
374
+ status: PartialUpdateAccessTokenResponseStatus;
375
+ }
376
+ export type PartialUpdateDestinationRequestRegionId = "eu01" | "eu02";
377
+ export interface PartialUpdateDestinationRequest {
378
+ /** The STACKIT portal project UUID the resource is located in. */
379
+ projectId: string;
380
+ /** The STACKIT region name the resource is located in. */
381
+ regionId: PartialUpdateDestinationRequestRegionId | (string & {});
382
+ /** The Telemetry Router UUID. */
383
+ telemetryRouterId: string;
384
+ /** The Destination UUID. */
385
+ destinationId: string;
386
+ config?: DestinationConfig | undefined;
387
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
388
+ description?: string | undefined;
389
+ /** The display name is a short name chosen by the user to identify the resource. */
390
+ displayName?: string | undefined;
391
+ }
392
+ export type PartialUpdateTelemetryRouterRequestRegionId = "eu01" | "eu02";
393
+ export interface PartialUpdateTelemetryRouterRequest {
394
+ /** The STACKIT portal project UUID the resource is located in. */
395
+ projectId: string;
396
+ /** The STACKIT region name the resource is located in. */
397
+ regionId: PartialUpdateTelemetryRouterRequestRegionId | (string & {});
398
+ /** The Telemetry Router UUID. */
399
+ telemetryRouterId: string;
400
+ /** The description is a longer text chosen by the user to provide more context for the resource. */
401
+ description?: string | undefined;
402
+ /** The display name is a short name chosen by the user to identify the resource. */
403
+ displayName?: string | undefined;
404
+ filter?: ConfigFilter | undefined;
405
+ resourceLabels?: ResourceLabels | undefined;
406
+ }
331
407
  export type UpdateAccessTokenRequestRegionId = "eu01" | "eu02";
332
408
  export interface UpdateAccessTokenRequest {
333
409
  /** The STACKIT portal project UUID the resource is located in. */
@@ -338,19 +414,19 @@ export interface UpdateAccessTokenRequest {
338
414
  telemetryRouterId: string;
339
415
  /** The Access Token UUID. */
340
416
  accessTokenId: string;
341
- description?: string | null;
342
- displayName?: string | null;
417
+ description?: string | null | undefined;
418
+ displayName?: string | null | undefined;
343
419
  }
344
420
  export type UpdateAccessTokenResponseStatus = "active" | "expired" | "deleting";
345
421
  export interface UpdateAccessTokenResponse {
346
422
  /** The user ID of the creator of the access token. */
347
423
  creatorId: string;
348
424
  /** The description of the access token. */
349
- description?: string;
425
+ description?: string | undefined;
350
426
  /** The selected display name of the access token. */
351
427
  displayName: string;
352
428
  /** The date and time until the access token is valid to (inclusively). */
353
- expirationTime?: string | null;
429
+ expirationTime?: string | null | undefined;
354
430
  /** An auto generated unique id which identifies the access token. */
355
431
  id: string;
356
432
  status: UpdateAccessTokenResponseStatus;
@@ -365,11 +441,11 @@ export interface UpdateDestinationRequest {
365
441
  telemetryRouterId: string;
366
442
  /** The Destination UUID. */
367
443
  destinationId: string;
368
- config?: DestinationConfig;
444
+ config?: DestinationConfig | undefined;
369
445
  /** The description is a longer text chosen by the user to provide more context for the resource. */
370
- description?: string;
446
+ description?: string | undefined;
371
447
  /** The display name is a short name chosen by the user to identify the resource. */
372
- displayName?: string;
448
+ displayName?: string | undefined;
373
449
  }
374
450
  export type UpdateTelemetryRouterRequestRegionId = "eu01" | "eu02";
375
451
  export interface UpdateTelemetryRouterRequest {
@@ -380,10 +456,11 @@ export interface UpdateTelemetryRouterRequest {
380
456
  /** The Telemetry Router UUID. */
381
457
  telemetryRouterId: string;
382
458
  /** The description is a longer text chosen by the user to provide more context for the resource. */
383
- description?: string;
459
+ description?: string | undefined;
384
460
  /** The display name is a short name chosen by the user to identify the resource. */
385
- displayName?: string;
386
- filter?: ConfigFilter;
461
+ displayName?: string | undefined;
462
+ filter?: ConfigFilter | undefined;
463
+ resourceLabels?: ResourceLabels | undefined;
387
464
  }
388
465
  export type CreateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
389
466
  /** Create a new access token for the given Telemetry Router. */
@@ -393,11 +470,13 @@ export const createAccessToken: API.OperationMethod<
393
470
  CreateAccessTokenError,
394
471
  StackitOpContext
395
472
  > = /*@__PURE__*/ API.make(() => ({
396
- input: __S(64, __c8, 0) as any as S.Schema<CreateAccessTokenRequest>,
397
- output: __S(65, __c8, 1) as any as S.Schema<CreateAccessTokenResponse>,
473
+ input: __S(88, __c11, 0) as any as S.Schema<CreateAccessTokenRequest>,
474
+ output: __S(89, __c11, 1) as any as S.Schema<CreateAccessTokenResponse>,
398
475
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
399
476
  protocol: StackitProtocol,
400
477
  retry: Retry.Retry,
478
+ telemetry: TELEMETRY,
479
+ span: "CreateAccessToken",
401
480
  }));
402
481
 
403
482
  export type CreateDestinationError = BadRequest | Conflict | StackitOpError;
@@ -408,11 +487,13 @@ export const createDestination: API.OperationMethod<
408
487
  CreateDestinationError,
409
488
  StackitOpContext
410
489
  > = /*@__PURE__*/ API.make(() => ({
411
- input: __S(72, __c9, 0) as any as S.Schema<CreateDestinationRequest>,
412
- output: __S(85, __c10, 5) as any as S.Schema<DestinationResponse>,
490
+ input: __S(96, __c12, 0) as any as S.Schema<CreateDestinationRequest>,
491
+ output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
413
492
  errors: [BadRequest, Conflict, UnknownStackitError],
414
493
  protocol: StackitProtocol,
415
494
  retry: Retry.Retry,
495
+ telemetry: TELEMETRY,
496
+ span: "CreateDestination",
416
497
  }));
417
498
 
418
499
  export type CreateTelemetryRouterError = BadRequest | Conflict | StackitOpError;
@@ -423,11 +504,13 @@ export const createTelemetryRouter: API.OperationMethod<
423
504
  CreateTelemetryRouterError,
424
505
  StackitOpContext
425
506
  > = /*@__PURE__*/ API.make(() => ({
426
- input: __S(96, __c12, 0) as any as S.Schema<CreateTelemetryRouterRequest>,
427
- output: __S(104, __c13, 0) as any as S.Schema<TelemetryRouterResponse>,
507
+ input: __S(120, __c15, 0) as any as S.Schema<CreateTelemetryRouterRequest>,
508
+ output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
428
509
  errors: [BadRequest, Conflict, UnknownStackitError],
429
510
  protocol: StackitProtocol,
430
511
  retry: Retry.Retry,
512
+ telemetry: TELEMETRY,
513
+ span: "CreateTelemetryRouter",
431
514
  }));
432
515
 
433
516
  export type DeleteAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -438,11 +521,13 @@ export const deleteAccessToken: API.OperationMethod<
438
521
  DeleteAccessTokenError,
439
522
  StackitOpContext
440
523
  > = /*@__PURE__*/ API.make(() => ({
441
- input: __S(112, __c14, 0) as any as S.Schema<DeleteAccessTokenRequest>,
442
- output: __S(120, __c15, 0) as any as S.Schema<DeleteAccessTokenResponse>,
524
+ input: __S(136, __c17, 0) as any as S.Schema<DeleteAccessTokenRequest>,
525
+ output: __S(144, __c18, 0) as any as S.Schema<DeleteAccessTokenResponse>,
443
526
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
444
527
  protocol: StackitProtocol,
445
528
  retry: Retry.Retry,
529
+ telemetry: TELEMETRY,
530
+ span: "DeleteAccessToken",
446
531
  }));
447
532
 
448
533
  export type DeleteDestinationError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -453,11 +538,13 @@ export const deleteDestination: API.OperationMethod<
453
538
  DeleteDestinationError,
454
539
  StackitOpContext
455
540
  > = /*@__PURE__*/ API.make(() => ({
456
- input: __S(128, __c16, 0) as any as S.Schema<DeleteDestinationRequest>,
457
- output: __S(120, __c15, 0) as any as S.Schema<DeleteDestinationResponse>,
541
+ input: __S(152, __c19, 0) as any as S.Schema<DeleteDestinationRequest>,
542
+ output: __S(144, __c18, 0) as any as S.Schema<DeleteDestinationResponse>,
458
543
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
459
544
  protocol: StackitProtocol,
460
545
  retry: Retry.Retry,
546
+ telemetry: TELEMETRY,
547
+ span: "DeleteDestination",
461
548
  }));
462
549
 
463
550
  export type DeleteTelemetryRouterError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -468,11 +555,13 @@ export const deleteTelemetryRouter: API.OperationMethod<
468
555
  DeleteTelemetryRouterError,
469
556
  StackitOpContext
470
557
  > = /*@__PURE__*/ API.make(() => ({
471
- input: __S(136, __c17, 0) as any as S.Schema<DeleteTelemetryRouterRequest>,
472
- output: __S(120, __c15, 0) as any as S.Schema<DeleteTelemetryRouterResponse>,
558
+ input: __S(160, __c20, 0) as any as S.Schema<DeleteTelemetryRouterRequest>,
559
+ output: __S(144, __c18, 0) as any as S.Schema<DeleteTelemetryRouterResponse>,
473
560
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
474
561
  protocol: StackitProtocol,
475
562
  retry: Retry.Retry,
563
+ telemetry: TELEMETRY,
564
+ span: "DeleteTelemetryRouter",
476
565
  }));
477
566
 
478
567
  export type GetAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -483,11 +572,13 @@ export const getAccessToken: API.OperationMethod<
483
572
  GetAccessTokenError,
484
573
  StackitOpContext
485
574
  > = /*@__PURE__*/ API.make(() => ({
486
- input: __S(144, __c18, 0) as any as S.Schema<GetAccessTokenRequest>,
487
- output: __S(152, __c19, 0) as any as S.Schema<GetAccessTokenResponse2>,
575
+ input: __S(168, __c21, 0) as any as S.Schema<GetAccessTokenRequest>,
576
+ output: __S(176, __c22, 0) as any as S.Schema<GetAccessTokenResponse2>,
488
577
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
489
578
  protocol: StackitProtocol,
490
579
  retry: Retry.Retry,
580
+ telemetry: TELEMETRY,
581
+ span: "GetAccessToken",
491
582
  }));
492
583
 
493
584
  export type GetDestinationError = BadRequest | NotFound | StackitOpError;
@@ -499,10 +590,12 @@ export const getDestination: API.OperationMethod<
499
590
  StackitOpContext
500
591
  > = /*@__PURE__*/ API.make(() => ({
501
592
  input: __S(0, __c0, 0) as any as S.Schema<GetDestinationRequest>,
502
- output: __S(85, __c10, 5) as any as S.Schema<DestinationResponse>,
593
+ output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
503
594
  errors: [BadRequest, NotFound, UnknownStackitError],
504
595
  protocol: StackitProtocol,
505
596
  retry: Retry.Retry,
597
+ telemetry: TELEMETRY,
598
+ span: "GetDestination",
506
599
  }));
507
600
 
508
601
  export type GetTelemetryRouterError = BadRequest | Conflict | StackitOpError;
@@ -514,10 +607,12 @@ export const getTelemetryRouter: API.OperationMethod<
514
607
  StackitOpContext
515
608
  > = /*@__PURE__*/ API.make(() => ({
516
609
  input: __S(8, __c1, 0) as any as S.Schema<GetTelemetryRouterRequest>,
517
- output: __S(104, __c13, 0) as any as S.Schema<TelemetryRouterResponse>,
610
+ output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
518
611
  errors: [BadRequest, Conflict, UnknownStackitError],
519
612
  protocol: StackitProtocol,
520
613
  retry: Retry.Retry,
614
+ telemetry: TELEMETRY,
615
+ span: "GetTelemetryRouter",
521
616
  }));
522
617
 
523
618
  export type ListAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -533,6 +628,8 @@ export const listAccessTokens: API.OperationMethod<
533
628
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
534
629
  protocol: StackitProtocol,
535
630
  retry: Retry.Retry,
631
+ telemetry: TELEMETRY,
632
+ span: "ListAccessTokens",
536
633
  }));
537
634
 
538
635
  export type ListDestinationsError = BadRequest | StackitOpError;
@@ -548,6 +645,8 @@ export const listDestinations: API.OperationMethod<
548
645
  errors: [BadRequest, UnknownStackitError],
549
646
  protocol: StackitProtocol,
550
647
  retry: Retry.Retry,
648
+ telemetry: TELEMETRY,
649
+ span: "ListDestinations",
551
650
  }));
552
651
 
553
652
  export type ListTelemetryRoutersError = BadRequest | StackitOpError;
@@ -563,6 +662,59 @@ export const listTelemetryRouters: API.OperationMethod<
563
662
  errors: [BadRequest, UnknownStackitError],
564
663
  protocol: StackitProtocol,
565
664
  retry: Retry.Retry,
665
+ telemetry: TELEMETRY,
666
+ span: "ListTelemetryRouters",
667
+ }));
668
+
669
+ export type PartialUpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
670
+ /** Patch an existing access token for the given Telemetry Router by its ID. */
671
+ export const partialUpdateAccessToken: API.OperationMethod<
672
+ PartialUpdateAccessTokenRequest,
673
+ PartialUpdateAccessTokenResponse,
674
+ PartialUpdateAccessTokenError,
675
+ StackitOpContext
676
+ > = /*@__PURE__*/ API.make(() => ({
677
+ input: __S(40, __c5, 0) as any as S.Schema<PartialUpdateAccessTokenRequest>,
678
+ output: __S(176, __c22, 0) as any as S.Schema<PartialUpdateAccessTokenResponse>,
679
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
680
+ protocol: StackitProtocol,
681
+ retry: Retry.Retry,
682
+ telemetry: TELEMETRY,
683
+ span: "PartialUpdateAccessToken",
684
+ }));
685
+
686
+ export type PartialUpdateDestinationError = BadRequest | NotFound | Conflict | StackitOpError;
687
+ /** Patches the given destination. */
688
+ export const partialUpdateDestination: API.OperationMethod<
689
+ PartialUpdateDestinationRequest,
690
+ DestinationResponse,
691
+ PartialUpdateDestinationError,
692
+ StackitOpContext
693
+ > = /*@__PURE__*/ API.make(() => ({
694
+ input: __S(48, __c6, 0) as any as S.Schema<PartialUpdateDestinationRequest>,
695
+ output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
696
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
697
+ protocol: StackitProtocol,
698
+ retry: Retry.Retry,
699
+ telemetry: TELEMETRY,
700
+ span: "PartialUpdateDestination",
701
+ }));
702
+
703
+ export type PartialUpdateTelemetryRouterError = BadRequest | NotFound | Conflict | StackitOpError;
704
+ /** Patches the given Telemetry Router. */
705
+ export const partialUpdateTelemetryRouter: API.OperationMethod<
706
+ PartialUpdateTelemetryRouterRequest,
707
+ TelemetryRouterResponse,
708
+ PartialUpdateTelemetryRouterError,
709
+ StackitOpContext
710
+ > = /*@__PURE__*/ API.make(() => ({
711
+ input: __S(56, __c7, 0) as any as S.Schema<PartialUpdateTelemetryRouterRequest>,
712
+ output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
713
+ errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
714
+ protocol: StackitProtocol,
715
+ retry: Retry.Retry,
716
+ telemetry: TELEMETRY,
717
+ span: "PartialUpdateTelemetryRouter",
566
718
  }));
567
719
 
568
720
  export type UpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -573,11 +725,13 @@ export const updateAccessToken: API.OperationMethod<
573
725
  UpdateAccessTokenError,
574
726
  StackitOpContext
575
727
  > = /*@__PURE__*/ API.make(() => ({
576
- input: __S(40, __c5, 0) as any as S.Schema<UpdateAccessTokenRequest>,
577
- output: __S(152, __c19, 0) as any as S.Schema<UpdateAccessTokenResponse>,
728
+ input: __S(64, __c8, 0) as any as S.Schema<UpdateAccessTokenRequest>,
729
+ output: __S(176, __c22, 0) as any as S.Schema<UpdateAccessTokenResponse>,
578
730
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
579
731
  protocol: StackitProtocol,
580
732
  retry: Retry.Retry,
733
+ telemetry: TELEMETRY,
734
+ span: "UpdateAccessToken",
581
735
  }));
582
736
 
583
737
  export type UpdateDestinationError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -588,11 +742,13 @@ export const updateDestination: API.OperationMethod<
588
742
  UpdateDestinationError,
589
743
  StackitOpContext
590
744
  > = /*@__PURE__*/ API.make(() => ({
591
- input: __S(48, __c6, 0) as any as S.Schema<UpdateDestinationRequest>,
592
- output: __S(85, __c10, 5) as any as S.Schema<DestinationResponse>,
745
+ input: __S(72, __c9, 0) as any as S.Schema<UpdateDestinationRequest>,
746
+ output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
593
747
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
594
748
  protocol: StackitProtocol,
595
749
  retry: Retry.Retry,
750
+ telemetry: TELEMETRY,
751
+ span: "UpdateDestination",
596
752
  }));
597
753
 
598
754
  export type UpdateTelemetryRouterError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -603,11 +759,13 @@ export const updateTelemetryRouter: API.OperationMethod<
603
759
  UpdateTelemetryRouterError,
604
760
  StackitOpContext
605
761
  > = /*@__PURE__*/ API.make(() => ({
606
- input: __S(56, __c7, 0) as any as S.Schema<UpdateTelemetryRouterRequest>,
607
- output: __S(104, __c13, 0) as any as S.Schema<TelemetryRouterResponse>,
762
+ input: __S(80, __c10, 0) as any as S.Schema<UpdateTelemetryRouterRequest>,
763
+ output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
608
764
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
609
765
  protocol: StackitProtocol,
610
766
  retry: Retry.Retry,
767
+ telemetry: TELEMETRY,
768
+ span: "UpdateTelemetryRouter",
611
769
  }));
612
770
 
613
771
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -670,7 +828,7 @@ function __c2(j: number): any {
670
828
  ),
671
829
  ).annotate({ identifier: "ListAccessTokensRequest" });
672
830
  case 1:
673
- return S.Array(__S(152, __c19, 0));
831
+ return S.Array(__S(176, __c22, 0));
674
832
  case 2:
675
833
  return S.suspend(() =>
676
834
  S.Struct({
@@ -700,7 +858,7 @@ function __c3(j: number): any {
700
858
  ),
701
859
  ).annotate({ identifier: "ListDestinationsRequest" });
702
860
  case 1:
703
- return S.Array(__S(85, __c10, 5));
861
+ return S.Array(__S(109, __c13, 5));
704
862
  case 2:
705
863
  return S.suspend(() =>
706
864
  S.Struct({
@@ -729,7 +887,7 @@ function __c4(j: number): any {
729
887
  ),
730
888
  ).annotate({ identifier: "ListTelemetryRoutersRequest" });
731
889
  case 1:
732
- return S.Array(__S(104, __c13, 0));
890
+ return S.Array(__S(129, __c16, 1));
733
891
  case 2:
734
892
  return S.suspend(() =>
735
893
  S.Struct({
@@ -740,6 +898,74 @@ function __c4(j: number): any {
740
898
  }
741
899
  }
742
900
  function __c5(j: number): any {
901
+ switch (j) {
902
+ case 0:
903
+ return S.suspend(() =>
904
+ S.Struct({
905
+ projectId: S.String.pipe(T.Label()),
906
+ regionId: S.String.pipe(T.Label()),
907
+ telemetryRouterId: S.String.pipe(T.Label()),
908
+ accessTokenId: S.String.pipe(T.Label()),
909
+ description: S.optional(S.NullOr(S.String)),
910
+ displayName: S.optional(S.NullOr(S.String)),
911
+ }).pipe(
912
+ T.Http({
913
+ method: "PATCH",
914
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",
915
+ code: 200,
916
+ baseUrl: "https://telemetry-router.api.stackit.cloud",
917
+ }),
918
+ ),
919
+ ).annotate({ identifier: "PartialUpdateAccessTokenRequest" });
920
+ }
921
+ }
922
+ function __c6(j: number): any {
923
+ switch (j) {
924
+ case 0:
925
+ return S.suspend(() =>
926
+ S.Struct({
927
+ projectId: S.String.pipe(T.Label()),
928
+ regionId: S.String.pipe(T.Label()),
929
+ telemetryRouterId: S.String.pipe(T.Label()),
930
+ destinationId: S.String.pipe(T.Label()),
931
+ config: S.optional(__S(108, __c13, 4)),
932
+ description: S.optional(S.String),
933
+ displayName: S.optional(S.String),
934
+ }).pipe(
935
+ T.Http({
936
+ method: "PATCH",
937
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",
938
+ code: 200,
939
+ baseUrl: "https://telemetry-router.api.stackit.cloud",
940
+ }),
941
+ ),
942
+ ).annotate({ identifier: "PartialUpdateDestinationRequest" });
943
+ }
944
+ }
945
+ function __c7(j: number): any {
946
+ switch (j) {
947
+ case 0:
948
+ return S.suspend(() =>
949
+ S.Struct({
950
+ projectId: S.String.pipe(T.Label()),
951
+ regionId: S.String.pipe(T.Label()),
952
+ telemetryRouterId: S.String.pipe(T.Label()),
953
+ description: S.optional(S.String),
954
+ displayName: S.optional(S.String),
955
+ filter: S.optional(__S(115, __c14, 3)),
956
+ resourceLabels: S.optional(__S(128, __c16, 0)),
957
+ }).pipe(
958
+ T.Http({
959
+ method: "PATCH",
960
+ uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",
961
+ code: 200,
962
+ baseUrl: "https://telemetry-router.api.stackit.cloud",
963
+ }),
964
+ ),
965
+ ).annotate({ identifier: "PartialUpdateTelemetryRouterRequest" });
966
+ }
967
+ }
968
+ function __c8(j: number): any {
743
969
  switch (j) {
744
970
  case 0:
745
971
  return S.suspend(() =>
@@ -761,7 +987,7 @@ function __c5(j: number): any {
761
987
  ).annotate({ identifier: "UpdateAccessTokenRequest" });
762
988
  }
763
989
  }
764
- function __c6(j: number): any {
990
+ function __c9(j: number): any {
765
991
  switch (j) {
766
992
  case 0:
767
993
  return S.suspend(() =>
@@ -770,7 +996,7 @@ function __c6(j: number): any {
770
996
  regionId: S.String.pipe(T.Label()),
771
997
  telemetryRouterId: S.String.pipe(T.Label()),
772
998
  destinationId: S.String.pipe(T.Label()),
773
- config: S.optional(__S(84, __c10, 4)),
999
+ config: S.optional(__S(108, __c13, 4)),
774
1000
  description: S.optional(S.String),
775
1001
  displayName: S.optional(S.String),
776
1002
  }).pipe(
@@ -784,7 +1010,7 @@ function __c6(j: number): any {
784
1010
  ).annotate({ identifier: "UpdateDestinationRequest" });
785
1011
  }
786
1012
  }
787
- function __c7(j: number): any {
1013
+ function __c10(j: number): any {
788
1014
  switch (j) {
789
1015
  case 0:
790
1016
  return S.suspend(() =>
@@ -794,7 +1020,8 @@ function __c7(j: number): any {
794
1020
  telemetryRouterId: S.String.pipe(T.Label()),
795
1021
  description: S.optional(S.String),
796
1022
  displayName: S.optional(S.String),
797
- filter: S.optional(__S(91, __c11, 3)),
1023
+ filter: S.optional(__S(115, __c14, 3)),
1024
+ resourceLabels: S.optional(__S(128, __c16, 0)),
798
1025
  }).pipe(
799
1026
  T.Http({
800
1027
  method: "PUT",
@@ -806,7 +1033,7 @@ function __c7(j: number): any {
806
1033
  ).annotate({ identifier: "UpdateTelemetryRouterRequest" });
807
1034
  }
808
1035
  }
809
- function __c8(j: number): any {
1036
+ function __c11(j: number): any {
810
1037
  switch (j) {
811
1038
  case 0:
812
1039
  return S.suspend(() =>
@@ -840,7 +1067,7 @@ function __c8(j: number): any {
840
1067
  ).annotate({ identifier: "CreateAccessTokenResponse" });
841
1068
  }
842
1069
  }
843
- function __c9(j: number): any {
1070
+ function __c12(j: number): any {
844
1071
  switch (j) {
845
1072
  case 0:
846
1073
  return S.suspend(() =>
@@ -848,7 +1075,7 @@ function __c9(j: number): any {
848
1075
  projectId: S.String.pipe(T.Label()),
849
1076
  regionId: S.String.pipe(T.Label()),
850
1077
  telemetryRouterId: S.String.pipe(T.Label()),
851
- config: __S(84, __c10, 4),
1078
+ config: __S(108, __c13, 4),
852
1079
  description: S.optional(S.String),
853
1080
  displayName: S.String,
854
1081
  }).pipe(
@@ -862,7 +1089,7 @@ function __c9(j: number): any {
862
1089
  ).annotate({ identifier: "CreateDestinationRequest" });
863
1090
  }
864
1091
  }
865
- function __c10(j: number): any {
1092
+ function __c13(j: number): any {
866
1093
  switch (j) {
867
1094
  case 0:
868
1095
  return S.suspend(() =>
@@ -874,7 +1101,7 @@ function __c10(j: number): any {
874
1101
  case 1:
875
1102
  return S.suspend(() =>
876
1103
  S.Struct({
877
- basicAuth: S.optional(__S(80, __c10, 0)),
1104
+ basicAuth: S.optional(__S(104, __c13, 0)),
878
1105
  bearerToken: S.optional(S.String),
879
1106
  uri: S.String,
880
1107
  }),
@@ -889,7 +1116,7 @@ function __c10(j: number): any {
889
1116
  case 3:
890
1117
  return S.suspend(() =>
891
1118
  S.Struct({
892
- accessKey: S.optional(__S(82, __c10, 2)),
1119
+ accessKey: S.optional(__S(106, __c13, 2)),
893
1120
  bucket: S.String,
894
1121
  endpoint: S.String,
895
1122
  }),
@@ -898,15 +1125,15 @@ function __c10(j: number): any {
898
1125
  return S.suspend(() =>
899
1126
  S.Struct({
900
1127
  configType: S.String,
901
- filter: S.optional(__S(91, __c11, 3)),
902
- openTelemetry: S.optional(__S(81, __c10, 1)),
903
- s3: S.optional(__S(83, __c10, 3)),
1128
+ filter: S.optional(__S(115, __c14, 3)),
1129
+ openTelemetry: S.optional(__S(105, __c13, 1)),
1130
+ s3: S.optional(__S(107, __c13, 3)),
904
1131
  }),
905
1132
  ).annotate({ identifier: "DestinationConfig" });
906
1133
  case 5:
907
1134
  return S.suspend(() =>
908
1135
  S.Struct({
909
- config: __S(84, __c10, 4),
1136
+ config: __S(108, __c13, 4),
910
1137
  creationTime: S.String,
911
1138
  credentialType: S.String,
912
1139
  description: S.optional(S.String),
@@ -917,7 +1144,7 @@ function __c10(j: number): any {
917
1144
  ).annotate({ identifier: "DestinationResponse" });
918
1145
  }
919
1146
  }
920
- function __c11(j: number): any {
1147
+ function __c14(j: number): any {
921
1148
  switch (j) {
922
1149
  case 0:
923
1150
  return S.Array(S.String);
@@ -927,21 +1154,21 @@ function __c11(j: number): any {
927
1154
  key: S.String,
928
1155
  level: S.String,
929
1156
  matcher: S.String,
930
- values: __S(88, __c11, 0),
1157
+ values: __S(112, __c14, 0),
931
1158
  }),
932
1159
  ).annotate({ identifier: "ConfigFilterAttributes" });
933
1160
  case 2:
934
- return S.Array(__S(89, __c11, 1));
1161
+ return S.Array(__S(113, __c14, 1));
935
1162
  case 3:
936
1163
  return S.suspend(() =>
937
1164
  S.Struct({
938
- attributes: __S(90, __c11, 2),
1165
+ attributes: __S(114, __c14, 2),
939
1166
  disabled: S.optional(S.Boolean),
940
1167
  }),
941
1168
  ).annotate({ identifier: "ConfigFilter" });
942
1169
  }
943
1170
  }
944
- function __c12(j: number): any {
1171
+ function __c15(j: number): any {
945
1172
  switch (j) {
946
1173
  case 0:
947
1174
  return S.suspend(() =>
@@ -950,7 +1177,8 @@ function __c12(j: number): any {
950
1177
  regionId: S.String.pipe(T.Label()),
951
1178
  description: S.optional(S.String),
952
1179
  displayName: S.String,
953
- filter: S.optional(__S(91, __c11, 3)),
1180
+ filter: S.optional(__S(115, __c14, 3)),
1181
+ resourceLabels: S.optional(__S(128, __c16, 0)),
954
1182
  }).pipe(
955
1183
  T.Http({
956
1184
  method: "POST",
@@ -962,23 +1190,27 @@ function __c12(j: number): any {
962
1190
  ).annotate({ identifier: "CreateTelemetryRouterRequest" });
963
1191
  }
964
1192
  }
965
- function __c13(j: number): any {
1193
+ function __c16(j: number): any {
966
1194
  switch (j) {
967
1195
  case 0:
1196
+ return S.Record(S.String, S.String);
1197
+ case 1:
968
1198
  return S.suspend(() =>
969
1199
  S.Struct({
970
1200
  creationTime: S.String,
971
1201
  description: S.optional(S.String),
1202
+ destinationCount: S.optional(S.Number),
972
1203
  displayName: S.String,
973
- filter: S.optional(__S(91, __c11, 3)),
1204
+ filter: S.optional(__S(115, __c14, 3)),
974
1205
  id: S.String,
1206
+ resourceLabels: S.optional(__S(128, __c16, 0)),
975
1207
  status: S.String,
976
1208
  uri: S.String,
977
1209
  }),
978
1210
  ).annotate({ identifier: "TelemetryRouterResponse" });
979
1211
  }
980
1212
  }
981
- function __c14(j: number): any {
1213
+ function __c17(j: number): any {
982
1214
  switch (j) {
983
1215
  case 0:
984
1216
  return S.suspend(() =>
@@ -998,13 +1230,13 @@ function __c14(j: number): any {
998
1230
  ).annotate({ identifier: "DeleteAccessTokenRequest" });
999
1231
  }
1000
1232
  }
1001
- function __c15(j: number): any {
1233
+ function __c18(j: number): any {
1002
1234
  switch (j) {
1003
1235
  case 0:
1004
1236
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAccessTokenResponse" });
1005
1237
  }
1006
1238
  }
1007
- function __c16(j: number): any {
1239
+ function __c19(j: number): any {
1008
1240
  switch (j) {
1009
1241
  case 0:
1010
1242
  return S.suspend(() =>
@@ -1024,7 +1256,7 @@ function __c16(j: number): any {
1024
1256
  ).annotate({ identifier: "DeleteDestinationRequest" });
1025
1257
  }
1026
1258
  }
1027
- function __c17(j: number): any {
1259
+ function __c20(j: number): any {
1028
1260
  switch (j) {
1029
1261
  case 0:
1030
1262
  return S.suspend(() =>
@@ -1044,7 +1276,7 @@ function __c17(j: number): any {
1044
1276
  ).annotate({ identifier: "DeleteTelemetryRouterRequest" });
1045
1277
  }
1046
1278
  }
1047
- function __c18(j: number): any {
1279
+ function __c21(j: number): any {
1048
1280
  switch (j) {
1049
1281
  case 0:
1050
1282
  return S.suspend(() =>
@@ -1064,7 +1296,7 @@ function __c18(j: number): any {
1064
1296
  ).annotate({ identifier: "GetAccessTokenRequest" });
1065
1297
  }
1066
1298
  }
1067
- function __c19(j: number): any {
1299
+ function __c22(j: number): any {
1068
1300
  switch (j) {
1069
1301
  case 0:
1070
1302
  return S.suspend(() =>