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

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 (281) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -1
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -53
  8. package/lib/errors.js +1 -26
  9. package/lib/index.d.ts +3 -3
  10. package/lib/index.js +1 -24
  11. package/lib/index.lazy.js +7 -0
  12. package/lib/pagination.js +1 -45
  13. package/lib/protocol.d.ts +2 -2
  14. package/lib/protocol.d.ts.map +1 -1
  15. package/lib/protocol.js +1 -149
  16. package/lib/retry.js +1 -32
  17. package/lib/services/alb.d.ts.map +1 -1
  18. package/lib/services/alb.js +30 -84
  19. package/lib/services/alb.js.map +1 -0
  20. package/lib/services/alb_waf.d.ts.map +1 -1
  21. package/lib/services/alb_waf.js +35 -95
  22. package/lib/services/alb_waf.js.map +1 -0
  23. package/lib/services/authorization.d.ts.map +1 -1
  24. package/lib/services/authorization.js +2 -76
  25. package/lib/services/authorization.js.map +1 -0
  26. package/lib/services/automation.d.ts.map +1 -1
  27. package/lib/services/automation.js +25 -68
  28. package/lib/services/automation.js.map +1 -0
  29. package/lib/services/cdn.d.ts.map +1 -1
  30. package/lib/services/cdn.js +33 -91
  31. package/lib/services/cdn.js.map +1 -0
  32. package/lib/services/certificates.d.ts.map +1 -1
  33. package/lib/services/certificates.js +2 -53
  34. package/lib/services/certificates.js.map +1 -0
  35. package/lib/services/cost.d.ts.map +1 -1
  36. package/lib/services/cost.js +2 -47
  37. package/lib/services/cost.js.map +1 -0
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +42 -110
  40. package/lib/services/dns.js.map +1 -0
  41. package/lib/services/dremio.d.ts.map +1 -1
  42. package/lib/services/dremio.js +2 -66
  43. package/lib/services/dremio.js.map +1 -0
  44. package/lib/services/edge.d.ts.map +1 -1
  45. package/lib/services/edge.js +29 -76
  46. package/lib/services/edge.js.map +1 -0
  47. package/lib/services/functions.d.ts.map +1 -1
  48. package/lib/services/functions.js +28 -70
  49. package/lib/services/functions.js.map +1 -0
  50. package/lib/services/git.d.ts.map +1 -1
  51. package/lib/services/git.js +37 -97
  52. package/lib/services/git.js.map +1 -0
  53. package/lib/services/iaas.d.ts.map +1 -1
  54. package/lib/services/iaas.js +183 -420
  55. package/lib/services/iaas.js.map +1 -0
  56. package/lib/services/index.js +0 -2
  57. package/lib/services/intake.d.ts.map +1 -1
  58. package/lib/services/intake.js +31 -84
  59. package/lib/services/intake.js.map +1 -0
  60. package/lib/services/kms.d.ts.map +1 -1
  61. package/lib/services/kms.js +43 -108
  62. package/lib/services/kms.js.map +1 -0
  63. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  64. package/lib/services/lb_ip_lists.js +2 -53
  65. package/lib/services/lb_ip_lists.js.map +1 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +31 -87
  68. package/lib/services/load_balancer.js.map +1 -0
  69. package/lib/services/logme.d.ts.map +1 -1
  70. package/lib/services/logme.js +35 -92
  71. package/lib/services/logme.js.map +1 -0
  72. package/lib/services/logs.d.ts.map +1 -1
  73. package/lib/services/logs.js +36 -94
  74. package/lib/services/logs.js.map +1 -0
  75. package/lib/services/mariadb.d.ts.map +1 -1
  76. package/lib/services/mariadb.js +36 -94
  77. package/lib/services/mariadb.js.map +1 -0
  78. package/lib/services/model_experiments.d.ts.map +1 -1
  79. package/lib/services/model_experiments.js +2 -77
  80. package/lib/services/model_experiments.js.map +1 -0
  81. package/lib/services/model_serving.d.ts.map +1 -1
  82. package/lib/services/model_serving.js +2 -65
  83. package/lib/services/model_serving.js.map +1 -0
  84. package/lib/services/mongodb_flex.d.ts.map +1 -1
  85. package/lib/services/mongodb_flex.js +44 -112
  86. package/lib/services/mongodb_flex.js.map +1 -0
  87. package/lib/services/object_storage.d.ts.map +1 -1
  88. package/lib/services/object_storage.js +40 -105
  89. package/lib/services/object_storage.js.map +1 -0
  90. package/lib/services/observability.d.ts.map +1 -1
  91. package/lib/services/observability.js +161 -385
  92. package/lib/services/observability.js.map +1 -0
  93. package/lib/services/opensearch.d.ts.map +1 -1
  94. package/lib/services/opensearch.js +36 -95
  95. package/lib/services/opensearch.js.map +1 -0
  96. package/lib/services/pim.d.ts.map +1 -1
  97. package/lib/services/pim.js +33 -91
  98. package/lib/services/pim.js.map +1 -0
  99. package/lib/services/postgres_flex.d.ts.map +1 -1
  100. package/lib/services/postgres_flex.js +49 -126
  101. package/lib/services/postgres_flex.js.map +1 -0
  102. package/lib/services/pubsub.d.ts.map +1 -1
  103. package/lib/services/pubsub.js +39 -104
  104. package/lib/services/pubsub.js.map +1 -0
  105. package/lib/services/rabbitmq.d.ts.map +1 -1
  106. package/lib/services/rabbitmq.js +37 -98
  107. package/lib/services/rabbitmq.js.map +1 -0
  108. package/lib/services/registry.d.ts.map +1 -1
  109. package/lib/services/registry.js +2 -58
  110. package/lib/services/registry.js.map +1 -0
  111. package/lib/services/resource_manager.d.ts.map +1 -1
  112. package/lib/services/resource_manager.js +38 -103
  113. package/lib/services/resource_manager.js.map +1 -0
  114. package/lib/services/run_command.d.ts.map +1 -1
  115. package/lib/services/run_command.js +2 -47
  116. package/lib/services/run_command.js.map +1 -0
  117. package/lib/services/sca.d.ts.map +1 -1
  118. package/lib/services/sca.js +27 -73
  119. package/lib/services/sca.js.map +1 -0
  120. package/lib/services/scf.d.ts.map +1 -1
  121. package/lib/services/scf.js +42 -109
  122. package/lib/services/scf.js.map +1 -0
  123. package/lib/services/secrets_manager.d.ts.map +1 -1
  124. package/lib/services/secrets_manager.js +44 -111
  125. package/lib/services/secrets_manager.js.map +1 -0
  126. package/lib/services/server_backup.d.ts.map +1 -1
  127. package/lib/services/server_backup.js +31 -80
  128. package/lib/services/server_backup.js.map +1 -0
  129. package/lib/services/server_update.d.ts.map +1 -1
  130. package/lib/services/server_update.js +2 -68
  131. package/lib/services/server_update.js.map +1 -0
  132. package/lib/services/service_account.d.ts.map +1 -1
  133. package/lib/services/service_account.js +32 -86
  134. package/lib/services/service_account.js.map +1 -0
  135. package/lib/services/service_enablement.d.ts.map +1 -1
  136. package/lib/services/service_enablement.js +2 -50
  137. package/lib/services/service_enablement.js.map +1 -0
  138. package/lib/services/sfs.d.ts.map +1 -1
  139. package/lib/services/sfs.js +48 -125
  140. package/lib/services/sfs.js.map +1 -0
  141. package/lib/services/ske.d.ts.map +1 -1
  142. package/lib/services/ske.js +28 -76
  143. package/lib/services/ske.js.map +1 -0
  144. package/lib/services/sqlserverflex.d.ts.map +1 -1
  145. package/lib/services/sqlserverflex.js +48 -123
  146. package/lib/services/sqlserverflex.js.map +1 -0
  147. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  148. package/lib/services/stackit_marketplace.js +28 -74
  149. package/lib/services/stackit_marketplace.js.map +1 -0
  150. package/lib/services/telemetry_link.d.ts.map +1 -1
  151. package/lib/services/telemetry_link.js +36 -91
  152. package/lib/services/telemetry_link.js.map +1 -0
  153. package/lib/services/telemetry_router.d.ts.map +1 -1
  154. package/lib/services/telemetry_router.js +31 -83
  155. package/lib/services/telemetry_router.js.map +1 -0
  156. package/lib/services/ufw.d.ts.map +1 -1
  157. package/lib/services/ufw.js +2 -65
  158. package/lib/services/ufw.js.map +1 -0
  159. package/lib/services/valkey.d.ts.map +1 -1
  160. package/lib/services/valkey.js +36 -95
  161. package/lib/services/valkey.js.map +1 -0
  162. package/lib/services/vpn.d.ts.map +1 -1
  163. package/lib/services/vpn.js +45 -116
  164. package/lib/services/vpn.js.map +1 -0
  165. package/lib/services/workflows.d.ts.map +1 -1
  166. package/lib/services/workflows.js +29 -78
  167. package/lib/services/workflows.js.map +1 -0
  168. package/lib/services.lazy/alb.js +4 -0
  169. package/lib/services.lazy/alb_waf.js +4 -0
  170. package/lib/services.lazy/authorization.js +1 -0
  171. package/lib/services.lazy/automation.js +4 -0
  172. package/lib/services.lazy/cdn.js +4 -0
  173. package/lib/services.lazy/certificates.js +1 -0
  174. package/lib/services.lazy/cost.js +1 -0
  175. package/lib/services.lazy/dns.js +4 -0
  176. package/lib/services.lazy/dremio.js +1 -0
  177. package/lib/services.lazy/edge.js +4 -0
  178. package/lib/services.lazy/functions.js +3 -0
  179. package/lib/services.lazy/git.js +4 -0
  180. package/lib/services.lazy/iaas.js +4 -0
  181. package/lib/services.lazy/index.js +3 -0
  182. package/lib/services.lazy/intake.js +4 -0
  183. package/lib/services.lazy/kms.js +4 -0
  184. package/lib/services.lazy/lb_ip_lists.js +1 -0
  185. package/lib/services.lazy/load_balancer.js +4 -0
  186. package/lib/services.lazy/logme.js +4 -0
  187. package/lib/services.lazy/logs.js +4 -0
  188. package/lib/services.lazy/mariadb.js +4 -0
  189. package/lib/services.lazy/model_experiments.js +1 -0
  190. package/lib/services.lazy/model_serving.js +1 -0
  191. package/lib/services.lazy/mongodb_flex.js +4 -0
  192. package/lib/services.lazy/object_storage.js +4 -0
  193. package/lib/services.lazy/observability.js +4 -0
  194. package/lib/services.lazy/opensearch.js +4 -0
  195. package/lib/services.lazy/pim.js +4 -0
  196. package/lib/services.lazy/postgres_flex.js +4 -0
  197. package/lib/services.lazy/pubsub.js +4 -0
  198. package/lib/services.lazy/rabbitmq.js +4 -0
  199. package/lib/services.lazy/registry.js +1 -0
  200. package/lib/services.lazy/resource_manager.js +4 -0
  201. package/lib/services.lazy/run_command.js +1 -0
  202. package/lib/services.lazy/sca.js +4 -0
  203. package/lib/services.lazy/scf.js +4 -0
  204. package/lib/services.lazy/secrets_manager.js +4 -0
  205. package/lib/services.lazy/server_backup.js +4 -0
  206. package/lib/services.lazy/server_update.js +1 -0
  207. package/lib/services.lazy/service_account.js +4 -0
  208. package/lib/services.lazy/service_enablement.js +1 -0
  209. package/lib/services.lazy/sfs.js +4 -0
  210. package/lib/services.lazy/ske.js +4 -0
  211. package/lib/services.lazy/sqlserverflex.js +4 -0
  212. package/lib/services.lazy/stackit_marketplace.js +4 -0
  213. package/lib/services.lazy/telemetry_link.js +4 -0
  214. package/lib/services.lazy/telemetry_router.js +4 -0
  215. package/lib/services.lazy/ufw.js +1 -0
  216. package/lib/services.lazy/valkey.js +4 -0
  217. package/lib/services.lazy/vpn.js +4 -0
  218. package/lib/services.lazy/workflows.js +4 -0
  219. package/lib/traits.js +1 -15
  220. package/package.json +8 -9
  221. package/src/credentials.ts +1 -2
  222. package/src/index.ts +3 -3
  223. package/src/protocol.ts +13 -11
  224. package/src/services/alb.ts +39 -0
  225. package/src/services/alb_waf.ts +45 -0
  226. package/src/services/authorization.ts +35 -0
  227. package/src/services/automation.ts +33 -0
  228. package/src/services/cdn.ts +43 -0
  229. package/src/services/certificates.ts +23 -0
  230. package/src/services/cost.ts +19 -0
  231. package/src/services/dns.ts +55 -0
  232. package/src/services/dremio.ts +31 -0
  233. package/src/services/edge.ts +41 -0
  234. package/src/services/functions.ts +43 -0
  235. package/src/services/git.ts +53 -0
  236. package/src/services/iaas.ts +285 -0
  237. package/src/services/intake.ts +43 -0
  238. package/src/services/kms.ts +63 -0
  239. package/src/services/lb_ip_lists.ts +23 -0
  240. package/src/services/load_balancer.ts +39 -0
  241. package/src/services/logme.ts +51 -0
  242. package/src/services/logs.ts +49 -0
  243. package/src/services/mariadb.ts +51 -0
  244. package/src/services/model_experiments.ts +33 -0
  245. package/src/services/model_serving.ts +29 -0
  246. package/src/services/mongodb_flex.ts +63 -0
  247. package/src/services/object_storage.ts +55 -0
  248. package/src/services/observability.ts +225 -0
  249. package/src/services/opensearch.ts +51 -0
  250. package/src/services/pim.ts +41 -0
  251. package/src/services/postgres_flex.ts +67 -0
  252. package/src/services/pubsub.ts +49 -0
  253. package/src/services/rabbitmq.ts +51 -0
  254. package/src/services/registry.ts +25 -0
  255. package/src/services/resource_manager.ts +45 -0
  256. package/src/services/run_command.ts +23 -0
  257. package/src/services/sca.ts +37 -0
  258. package/src/services/scf.ts +59 -0
  259. package/src/services/secrets_manager.ts +65 -0
  260. package/src/services/server_backup.ts +45 -0
  261. package/src/services/server_update.ts +37 -0
  262. package/src/services/service_account.ts +43 -0
  263. package/src/services/service_enablement.ts +21 -0
  264. package/src/services/sfs.ts +65 -0
  265. package/src/services/ske.ts +41 -0
  266. package/src/services/sqlserverflex.ts +69 -0
  267. package/src/services/stackit_marketplace.ts +39 -0
  268. package/src/services/telemetry_link.ts +55 -0
  269. package/src/services/telemetry_router.ts +43 -0
  270. package/src/services/ufw.ts +29 -0
  271. package/src/services/valkey.ts +51 -0
  272. package/src/services/vpn.ts +61 -0
  273. package/src/services/workflows.ts +41 -0
  274. package/lib/credentials.js.map +0 -1
  275. package/lib/errors.js.map +0 -1
  276. package/lib/pagination.js.map +0 -1
  277. package/lib/protocol.js.map +0 -1
  278. package/lib/retry.js.map +0 -1
  279. package/lib/services/index.js.map +0 -1
  280. package/lib/traits.js.map +0 -1
  281. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -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: "Sca",
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", {
@@ -478,6 +491,8 @@ export const createApplication: API.OperationMethod<
478
491
  errors: [BadRequest, Conflict, UnknownStackitError],
479
492
  protocol: StackitProtocol,
480
493
  retry: Retry.Retry,
494
+ telemetry: TELEMETRY,
495
+ span: "CreateApplication",
481
496
  }));
482
497
 
483
498
  export type CreateEnvironmentError = BadRequest | Conflict | StackitOpError;
@@ -493,6 +508,8 @@ export const createEnvironment: API.OperationMethod<
493
508
  errors: [BadRequest, Conflict, UnknownStackitError],
494
509
  protocol: StackitProtocol,
495
510
  retry: Retry.Retry,
511
+ telemetry: TELEMETRY,
512
+ span: "CreateEnvironment",
496
513
  }));
497
514
 
498
515
  export type DeleteApplicationError = NotFound | StackitOpError;
@@ -508,6 +525,8 @@ export const deleteApplication: API.OperationMethod<
508
525
  errors: [NotFound, UnknownStackitError],
509
526
  protocol: StackitProtocol,
510
527
  retry: Retry.Retry,
528
+ telemetry: TELEMETRY,
529
+ span: "DeleteApplication",
511
530
  }));
512
531
 
513
532
  export type GetApplicationError = NotFound | StackitOpError;
@@ -523,6 +542,8 @@ export const getApplication: API.OperationMethod<
523
542
  errors: [NotFound, UnknownStackitError],
524
543
  protocol: StackitProtocol,
525
544
  retry: Retry.Retry,
545
+ telemetry: TELEMETRY,
546
+ span: "GetApplication",
526
547
  }));
527
548
 
528
549
  export type GetApplicationEventsError = NotFound | StackitOpError;
@@ -538,6 +559,8 @@ export const getApplicationEvents: API.OperationMethod<
538
559
  errors: [NotFound, UnknownStackitError],
539
560
  protocol: StackitProtocol,
540
561
  retry: Retry.Retry,
562
+ telemetry: TELEMETRY,
563
+ span: "GetApplicationEvents",
541
564
  }));
542
565
 
543
566
  export type GetApplicationLogsError = BadRequest | NotFound | StackitOpError;
@@ -553,6 +576,8 @@ export const getApplicationLogs: API.OperationMethod<
553
576
  errors: [BadRequest, NotFound, UnknownStackitError],
554
577
  protocol: StackitProtocol,
555
578
  retry: Retry.Retry,
579
+ telemetry: TELEMETRY,
580
+ span: "GetApplicationLogs",
556
581
  }));
557
582
 
558
583
  export type GetEnvironmentError = NotFound | StackitOpError;
@@ -568,6 +593,8 @@ export const getEnvironment: API.OperationMethod<
568
593
  errors: [NotFound, UnknownStackitError],
569
594
  protocol: StackitProtocol,
570
595
  retry: Retry.Retry,
596
+ telemetry: TELEMETRY,
597
+ span: "GetEnvironment",
571
598
  }));
572
599
 
573
600
  export type GetOverviewError = StackitOpError;
@@ -583,6 +610,8 @@ export const getOverview: API.OperationMethod<
583
610
  errors: [UnknownStackitError],
584
611
  protocol: StackitProtocol,
585
612
  retry: Retry.Retry,
613
+ telemetry: TELEMETRY,
614
+ span: "GetOverview",
586
615
  }));
587
616
 
588
617
  export type ListApplicationsError = BadRequest | StackitOpError;
@@ -598,6 +627,8 @@ export const listApplications: API.OperationMethod<
598
627
  errors: [BadRequest, UnknownStackitError],
599
628
  protocol: StackitProtocol,
600
629
  retry: Retry.Retry,
630
+ telemetry: TELEMETRY,
631
+ span: "ListApplications",
601
632
  }));
602
633
 
603
634
  export type ListEnvironmentsError = BadRequest | StackitOpError;
@@ -613,6 +644,8 @@ export const listEnvironments: API.OperationMethod<
613
644
  errors: [BadRequest, UnknownStackitError],
614
645
  protocol: StackitProtocol,
615
646
  retry: Retry.Retry,
647
+ telemetry: TELEMETRY,
648
+ span: "ListEnvironments",
616
649
  }));
617
650
 
618
651
  export type ListProjectApplicationsError = BadRequest | StackitOpError;
@@ -628,6 +661,8 @@ export const listProjectApplications: API.OperationMethod<
628
661
  errors: [BadRequest, UnknownStackitError],
629
662
  protocol: StackitProtocol,
630
663
  retry: Retry.Retry,
664
+ telemetry: TELEMETRY,
665
+ span: "ListProjectApplications",
631
666
  }));
632
667
 
633
668
  export type UpdateApplicationError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -643,6 +678,8 @@ export const updateApplication: API.OperationMethod<
643
678
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
644
679
  protocol: StackitProtocol,
645
680
  retry: Retry.Retry,
681
+ telemetry: TELEMETRY,
682
+ span: "UpdateApplication",
646
683
  }));
647
684
 
648
685
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -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: "Scf",
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", {
@@ -398,6 +411,8 @@ export const applyOrganizationQuota: API.OperationMethod<
398
411
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
399
412
  protocol: StackitProtocol,
400
413
  retry: Retry.Retry,
414
+ telemetry: TELEMETRY,
415
+ span: "ApplyOrganizationQuota",
401
416
  }));
402
417
 
403
418
  export type CreateOrganizationError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -413,6 +428,8 @@ export const createOrganization: API.OperationMethod<
413
428
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
414
429
  protocol: StackitProtocol,
415
430
  retry: Retry.Retry,
431
+ telemetry: TELEMETRY,
432
+ span: "CreateOrganization",
416
433
  }));
417
434
 
418
435
  export type CreateOrgManagerError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -428,6 +445,8 @@ export const createOrgManager: API.OperationMethod<
428
445
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
429
446
  protocol: StackitProtocol,
430
447
  retry: Retry.Retry,
448
+ telemetry: TELEMETRY,
449
+ span: "CreateOrgManager",
431
450
  }));
432
451
 
433
452
  export type CreateOrgRoleError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -443,6 +462,8 @@ export const createOrgRole: API.OperationMethod<
443
462
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
444
463
  protocol: StackitProtocol,
445
464
  retry: Retry.Retry,
465
+ telemetry: TELEMETRY,
466
+ span: "CreateOrgRole",
446
467
  }));
447
468
 
448
469
  export type CreateSpaceError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -458,6 +479,8 @@ export const createSpace: API.OperationMethod<
458
479
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
459
480
  protocol: StackitProtocol,
460
481
  retry: Retry.Retry,
482
+ telemetry: TELEMETRY,
483
+ span: "CreateSpace",
461
484
  }));
462
485
 
463
486
  export type CreateSpaceRoleError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -473,6 +496,8 @@ export const createSpaceRole: API.OperationMethod<
473
496
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
474
497
  protocol: StackitProtocol,
475
498
  retry: Retry.Retry,
499
+ telemetry: TELEMETRY,
500
+ span: "CreateSpaceRole",
476
501
  }));
477
502
 
478
503
  export type DeleteOrganizationError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -488,6 +513,8 @@ export const deleteOrganization: API.OperationMethod<
488
513
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
489
514
  protocol: StackitProtocol,
490
515
  retry: Retry.Retry,
516
+ telemetry: TELEMETRY,
517
+ span: "DeleteOrganization",
491
518
  }));
492
519
 
493
520
  export type DeleteOrgManagerError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -503,6 +530,8 @@ export const deleteOrgManager: API.OperationMethod<
503
530
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
504
531
  protocol: StackitProtocol,
505
532
  retry: Retry.Retry,
533
+ telemetry: TELEMETRY,
534
+ span: "DeleteOrgManager",
506
535
  }));
507
536
 
508
537
  export type DeleteSpaceError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -518,6 +547,8 @@ export const deleteSpace: API.OperationMethod<
518
547
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
519
548
  protocol: StackitProtocol,
520
549
  retry: Retry.Retry,
550
+ telemetry: TELEMETRY,
551
+ span: "DeleteSpace",
521
552
  }));
522
553
 
523
554
  export type GetOrganizationError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -533,6 +564,8 @@ export const getOrganization: API.OperationMethod<
533
564
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
534
565
  protocol: StackitProtocol,
535
566
  retry: Retry.Retry,
567
+ telemetry: TELEMETRY,
568
+ span: "GetOrganization",
536
569
  }));
537
570
 
538
571
  export type GetOrganizationQuotaError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -548,6 +581,8 @@ export const getOrganizationQuota: API.OperationMethod<
548
581
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
549
582
  protocol: StackitProtocol,
550
583
  retry: Retry.Retry,
584
+ telemetry: TELEMETRY,
585
+ span: "GetOrganizationQuota",
551
586
  }));
552
587
 
553
588
  export type GetOrganizationUsageSummaryError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -563,6 +598,8 @@ export const getOrganizationUsageSummary: API.OperationMethod<
563
598
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
564
599
  protocol: StackitProtocol,
565
600
  retry: Retry.Retry,
601
+ telemetry: TELEMETRY,
602
+ span: "GetOrganizationUsageSummary",
566
603
  }));
567
604
 
568
605
  export type GetOrgManagerError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -578,6 +615,8 @@ export const getOrgManager: API.OperationMethod<
578
615
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
579
616
  protocol: StackitProtocol,
580
617
  retry: Retry.Retry,
618
+ telemetry: TELEMETRY,
619
+ span: "GetOrgManager",
581
620
  }));
582
621
 
583
622
  export type GetPlatformError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -593,6 +632,8 @@ export const getPlatform: API.OperationMethod<
593
632
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
594
633
  protocol: StackitProtocol,
595
634
  retry: Retry.Retry,
635
+ telemetry: TELEMETRY,
636
+ span: "GetPlatform",
596
637
  }));
597
638
 
598
639
  export type GetPlatformQuotaError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -608,6 +649,8 @@ export const getPlatformQuota: API.OperationMethod<
608
649
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
609
650
  protocol: StackitProtocol,
610
651
  retry: Retry.Retry,
652
+ telemetry: TELEMETRY,
653
+ span: "GetPlatformQuota",
611
654
  }));
612
655
 
613
656
  export type GetSpaceError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -623,6 +666,8 @@ export const getSpace: API.OperationMethod<
623
666
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
624
667
  protocol: StackitProtocol,
625
668
  retry: Retry.Retry,
669
+ telemetry: TELEMETRY,
670
+ span: "GetSpace",
626
671
  }));
627
672
 
628
673
  export type ListOrganizationQuotasError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -638,6 +683,8 @@ export const listOrganizationQuotas: API.OperationMethod<
638
683
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
639
684
  protocol: StackitProtocol,
640
685
  retry: Retry.Retry,
686
+ telemetry: TELEMETRY,
687
+ span: "ListOrganizationQuotas",
641
688
  }));
642
689
 
643
690
  export type ListOrganizationsError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -653,6 +700,8 @@ export const listOrganizations: API.OperationMethod<
653
700
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
654
701
  protocol: StackitProtocol,
655
702
  retry: Retry.Retry,
703
+ telemetry: TELEMETRY,
704
+ span: "ListOrganizations",
656
705
  }));
657
706
 
658
707
  export type ListPlatformQuotasError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -668,6 +717,8 @@ export const listPlatformQuotas: API.OperationMethod<
668
717
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
669
718
  protocol: StackitProtocol,
670
719
  retry: Retry.Retry,
720
+ telemetry: TELEMETRY,
721
+ span: "ListPlatformQuotas",
671
722
  }));
672
723
 
673
724
  export type ListPlatformsError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -683,6 +734,8 @@ export const listPlatforms: API.OperationMethod<
683
734
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
684
735
  protocol: StackitProtocol,
685
736
  retry: Retry.Retry,
737
+ telemetry: TELEMETRY,
738
+ span: "ListPlatforms",
686
739
  }));
687
740
 
688
741
  export type ListSpacesError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -698,6 +751,8 @@ export const listSpaces: API.OperationMethod<
698
751
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
699
752
  protocol: StackitProtocol,
700
753
  retry: Retry.Retry,
754
+ telemetry: TELEMETRY,
755
+ span: "ListSpaces",
701
756
  }));
702
757
 
703
758
  export type UpdateOrganizationError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -713,6 +768,8 @@ export const updateOrganization: API.OperationMethod<
713
768
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
714
769
  protocol: StackitProtocol,
715
770
  retry: Retry.Retry,
771
+ telemetry: TELEMETRY,
772
+ span: "UpdateOrganization",
716
773
  }));
717
774
 
718
775
  export type UpdateSpaceError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -728,6 +785,8 @@ export const updateSpace: API.OperationMethod<
728
785
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
729
786
  protocol: StackitProtocol,
730
787
  retry: Retry.Retry,
788
+ telemetry: TELEMETRY,
789
+ span: "UpdateSpace",
731
790
  }));
732
791
 
733
792
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -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: "SecretsManager",
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", {
@@ -382,6 +395,8 @@ export const createACL: API.OperationMethod<
382
395
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
383
396
  protocol: StackitProtocol,
384
397
  retry: Retry.Retry,
398
+ telemetry: TELEMETRY,
399
+ span: "CreateACL",
385
400
  }));
386
401
 
387
402
  export type CreateApproleError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -397,6 +412,8 @@ export const createApprole: API.OperationMethod<
397
412
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
398
413
  protocol: StackitProtocol,
399
414
  retry: Retry.Retry,
415
+ telemetry: TELEMETRY,
416
+ span: "CreateApprole",
400
417
  }));
401
418
 
402
419
  export type CreateApproleSecretIdError = BadRequest | NotFound | StackitOpError;
@@ -412,6 +429,8 @@ export const createApproleSecretId: API.OperationMethod<
412
429
  errors: [BadRequest, NotFound, UnknownStackitError],
413
430
  protocol: StackitProtocol,
414
431
  retry: Retry.Retry,
432
+ telemetry: TELEMETRY,
433
+ span: "CreateApproleSecretId",
415
434
  }));
416
435
 
417
436
  export type CreateInstanceError = BadRequest | StackitOpError;
@@ -427,6 +446,8 @@ export const createInstance: API.OperationMethod<
427
446
  errors: [BadRequest, UnknownStackitError],
428
447
  protocol: StackitProtocol,
429
448
  retry: Retry.Retry,
449
+ telemetry: TELEMETRY,
450
+ span: "CreateInstance",
430
451
  }));
431
452
 
432
453
  export type CreateUserError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -442,6 +463,8 @@ export const createUser: API.OperationMethod<
442
463
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
443
464
  protocol: StackitProtocol,
444
465
  retry: Retry.Retry,
466
+ telemetry: TELEMETRY,
467
+ span: "CreateUser",
445
468
  }));
446
469
 
447
470
  export type DeleteACLError = BadRequest | NotFound | StackitOpError;
@@ -457,6 +480,8 @@ export const deleteACL: API.OperationMethod<
457
480
  errors: [BadRequest, NotFound, UnknownStackitError],
458
481
  protocol: StackitProtocol,
459
482
  retry: Retry.Retry,
483
+ telemetry: TELEMETRY,
484
+ span: "DeleteACL",
460
485
  }));
461
486
 
462
487
  export type DeleteApproleError = BadRequest | NotFound | StackitOpError;
@@ -472,6 +497,8 @@ export const deleteApprole: API.OperationMethod<
472
497
  errors: [BadRequest, NotFound, UnknownStackitError],
473
498
  protocol: StackitProtocol,
474
499
  retry: Retry.Retry,
500
+ telemetry: TELEMETRY,
501
+ span: "DeleteApprole",
475
502
  }));
476
503
 
477
504
  export type DeleteApproleSecretIdError = BadRequest | NotFound | StackitOpError;
@@ -487,6 +514,8 @@ export const deleteApproleSecretId: API.OperationMethod<
487
514
  errors: [BadRequest, NotFound, UnknownStackitError],
488
515
  protocol: StackitProtocol,
489
516
  retry: Retry.Retry,
517
+ telemetry: TELEMETRY,
518
+ span: "DeleteApproleSecretId",
490
519
  }));
491
520
 
492
521
  export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
@@ -502,6 +531,8 @@ export const deleteInstance: API.OperationMethod<
502
531
  errors: [BadRequest, NotFound, UnknownStackitError],
503
532
  protocol: StackitProtocol,
504
533
  retry: Retry.Retry,
534
+ telemetry: TELEMETRY,
535
+ span: "DeleteInstance",
505
536
  }));
506
537
 
507
538
  export type DeleteUserError = BadRequest | NotFound | StackitOpError;
@@ -517,6 +548,8 @@ export const deleteUser: API.OperationMethod<
517
548
  errors: [BadRequest, NotFound, UnknownStackitError],
518
549
  protocol: StackitProtocol,
519
550
  retry: Retry.Retry,
551
+ telemetry: TELEMETRY,
552
+ span: "DeleteUser",
520
553
  }));
521
554
 
522
555
  export type GetACLError = BadRequest | NotFound | StackitOpError;
@@ -528,6 +561,8 @@ export const getACL: API.OperationMethod<GetACLRequest, ACL, GetACLError, Stacki
528
561
  errors: [BadRequest, NotFound, UnknownStackitError],
529
562
  protocol: StackitProtocol,
530
563
  retry: Retry.Retry,
564
+ telemetry: TELEMETRY,
565
+ span: "GetACL",
531
566
  }));
532
567
 
533
568
  export type GetApproleError = BadRequest | NotFound | StackitOpError;
@@ -543,6 +578,8 @@ export const getApprole: API.OperationMethod<
543
578
  errors: [BadRequest, NotFound, UnknownStackitError],
544
579
  protocol: StackitProtocol,
545
580
  retry: Retry.Retry,
581
+ telemetry: TELEMETRY,
582
+ span: "GetApprole",
546
583
  }));
547
584
 
548
585
  export type GetApprolesError = BadRequest | NotFound | StackitOpError;
@@ -558,6 +595,8 @@ export const getApproles: API.OperationMethod<
558
595
  errors: [BadRequest, NotFound, UnknownStackitError],
559
596
  protocol: StackitProtocol,
560
597
  retry: Retry.Retry,
598
+ telemetry: TELEMETRY,
599
+ span: "GetApproles",
561
600
  }));
562
601
 
563
602
  export type GetApproleSecretIdError = BadRequest | NotFound | StackitOpError;
@@ -573,6 +612,8 @@ export const getApproleSecretId: API.OperationMethod<
573
612
  errors: [BadRequest, NotFound, UnknownStackitError],
574
613
  protocol: StackitProtocol,
575
614
  retry: Retry.Retry,
615
+ telemetry: TELEMETRY,
616
+ span: "GetApproleSecretId",
576
617
  }));
577
618
 
578
619
  export type GetInstanceError = BadRequest | NotFound | StackitOpError;
@@ -588,6 +629,8 @@ export const getInstance: API.OperationMethod<
588
629
  errors: [BadRequest, NotFound, UnknownStackitError],
589
630
  protocol: StackitProtocol,
590
631
  retry: Retry.Retry,
632
+ telemetry: TELEMETRY,
633
+ span: "GetInstance",
591
634
  }));
592
635
 
593
636
  export type GetUserError = BadRequest | NotFound | StackitOpError;
@@ -599,6 +642,8 @@ export const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, St
599
642
  errors: [BadRequest, NotFound, UnknownStackitError],
600
643
  protocol: StackitProtocol,
601
644
  retry: Retry.Retry,
645
+ telemetry: TELEMETRY,
646
+ span: "GetUser",
602
647
  }));
603
648
 
604
649
  export type ListACLsError = BadRequest | NotFound | StackitOpError;
@@ -614,6 +659,8 @@ export const listACLs: API.OperationMethod<
614
659
  errors: [BadRequest, NotFound, UnknownStackitError],
615
660
  protocol: StackitProtocol,
616
661
  retry: Retry.Retry,
662
+ telemetry: TELEMETRY,
663
+ span: "ListACLs",
617
664
  }));
618
665
 
619
666
  export type ListApproleSecretIdsError = BadRequest | NotFound | StackitOpError;
@@ -629,6 +676,8 @@ export const listApproleSecretIds: API.OperationMethod<
629
676
  errors: [BadRequest, NotFound, UnknownStackitError],
630
677
  protocol: StackitProtocol,
631
678
  retry: Retry.Retry,
679
+ telemetry: TELEMETRY,
680
+ span: "ListApproleSecretIds",
632
681
  }));
633
682
 
634
683
  export type ListInstancesError = BadRequest | StackitOpError;
@@ -644,6 +693,8 @@ export const listInstances: API.OperationMethod<
644
693
  errors: [BadRequest, UnknownStackitError],
645
694
  protocol: StackitProtocol,
646
695
  retry: Retry.Retry,
696
+ telemetry: TELEMETRY,
697
+ span: "ListInstances",
647
698
  }));
648
699
 
649
700
  export type ListUsersError = BadRequest | NotFound | StackitOpError;
@@ -659,6 +710,8 @@ export const listUsers: API.OperationMethod<
659
710
  errors: [BadRequest, NotFound, UnknownStackitError],
660
711
  protocol: StackitProtocol,
661
712
  retry: Retry.Retry,
713
+ telemetry: TELEMETRY,
714
+ span: "ListUsers",
662
715
  }));
663
716
 
664
717
  export type UpdateACLError = BadRequest | NotFound | StackitOpError;
@@ -674,6 +727,8 @@ export const updateACL: API.OperationMethod<
674
727
  errors: [BadRequest, NotFound, UnknownStackitError],
675
728
  protocol: StackitProtocol,
676
729
  retry: Retry.Retry,
730
+ telemetry: TELEMETRY,
731
+ span: "UpdateACL",
677
732
  }));
678
733
 
679
734
  export type UpdateACLsError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -689,6 +744,8 @@ export const updateACLs: API.OperationMethod<
689
744
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
690
745
  protocol: StackitProtocol,
691
746
  retry: Retry.Retry,
747
+ telemetry: TELEMETRY,
748
+ span: "UpdateACLs",
692
749
  }));
693
750
 
694
751
  export type UpdateApproleError = BadRequest | NotFound | StackitOpError;
@@ -704,6 +761,8 @@ export const updateApprole: API.OperationMethod<
704
761
  errors: [BadRequest, NotFound, UnknownStackitError],
705
762
  protocol: StackitProtocol,
706
763
  retry: Retry.Retry,
764
+ telemetry: TELEMETRY,
765
+ span: "UpdateApprole",
707
766
  }));
708
767
 
709
768
  export type UpdateApproleSecretIdError = BadRequest | NotFound | StackitOpError;
@@ -719,6 +778,8 @@ export const updateApproleSecretId: API.OperationMethod<
719
778
  errors: [BadRequest, NotFound, UnknownStackitError],
720
779
  protocol: StackitProtocol,
721
780
  retry: Retry.Retry,
781
+ telemetry: TELEMETRY,
782
+ span: "UpdateApproleSecretId",
722
783
  }));
723
784
 
724
785
  export type UpdateInstanceError = BadRequest | NotFound | StackitOpError;
@@ -734,6 +795,8 @@ export const updateInstance: API.OperationMethod<
734
795
  errors: [BadRequest, NotFound, UnknownStackitError],
735
796
  protocol: StackitProtocol,
736
797
  retry: Retry.Retry,
798
+ telemetry: TELEMETRY,
799
+ span: "UpdateInstance",
737
800
  }));
738
801
 
739
802
  export type UpdateUserError = BadRequest | NotFound | StackitOpError;
@@ -749,6 +812,8 @@ export const updateUser: API.OperationMethod<
749
812
  errors: [BadRequest, NotFound, UnknownStackitError],
750
813
  protocol: StackitProtocol,
751
814
  retry: Retry.Retry,
815
+ telemetry: TELEMETRY,
816
+ span: "UpdateUser",
752
817
  }));
753
818
 
754
819
  // Schema builders: each runs one schema initializer, on that schema's first use.