@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.21

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 (369) hide show
  1. package/README.md +13 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +17 -3
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -1
  8. package/lib/errors.d.ts +8 -0
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -1
  11. package/lib/index.d.ts +9 -6
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +0 -1
  14. package/lib/pagination.d.ts.map +1 -1
  15. package/lib/protocol.d.ts +33 -12
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/alb.d.ts +8 -0
  19. package/lib/services/alb.d.ts.map +1 -1
  20. package/lib/services/alb.js +26 -26
  21. package/lib/services/alb.js.map +1 -1
  22. package/lib/services/alb_waf.d.ts +8 -0
  23. package/lib/services/alb_waf.d.ts.map +1 -1
  24. package/lib/services/alb_waf.js +31 -31
  25. package/lib/services/alb_waf.js.map +1 -1
  26. package/lib/services/authorization.d.ts +13 -0
  27. package/lib/services/authorization.d.ts.map +1 -1
  28. package/lib/services/authorization.js +1 -1
  29. package/lib/services/authorization.js.map +1 -1
  30. package/lib/services/automation.d.ts +23 -0
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +23 -22
  33. package/lib/services/automation.js.map +1 -1
  34. package/lib/services/cdn.d.ts +39 -1
  35. package/lib/services/cdn.d.ts.map +1 -1
  36. package/lib/services/cdn.js +31 -30
  37. package/lib/services/cdn.js.map +1 -1
  38. package/lib/services/certificates.d.ts +6 -0
  39. package/lib/services/certificates.d.ts.map +1 -1
  40. package/lib/services/certificates.js +1 -1
  41. package/lib/services/certificates.js.map +1 -1
  42. package/lib/services/cost.d.ts +19 -0
  43. package/lib/services/cost.d.ts.map +1 -1
  44. package/lib/services/cost.js +1 -1
  45. package/lib/services/cost.js.map +1 -1
  46. package/lib/services/dns.d.ts +16 -0
  47. package/lib/services/dns.d.ts.map +1 -1
  48. package/lib/services/dns.js +40 -40
  49. package/lib/services/dns.js.map +1 -1
  50. package/lib/services/iaas.d.ts +17 -0
  51. package/lib/services/iaas.d.ts.map +1 -1
  52. package/lib/services/iaas.js +181 -180
  53. package/lib/services/iaas.js.map +1 -1
  54. package/lib/services/identity.d.ts +19 -0
  55. package/lib/services/identity.d.ts.map +1 -1
  56. package/lib/services/identity.js +1 -1
  57. package/lib/services/identity.js.map +1 -1
  58. package/lib/services/index.d.ts +0 -10
  59. package/lib/services/index.d.ts.map +1 -1
  60. package/lib/services/index.js +0 -10
  61. package/lib/services/kms.d.ts +16 -0
  62. package/lib/services/kms.d.ts.map +1 -1
  63. package/lib/services/kms.js +41 -40
  64. package/lib/services/kms.js.map +1 -1
  65. package/lib/services/load_balancer.d.ts +8 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +27 -27
  68. package/lib/services/load_balancer.js.map +1 -1
  69. package/lib/services/logme.d.ts +14 -1
  70. package/lib/services/logme.d.ts.map +1 -1
  71. package/lib/services/logme.js +36 -35
  72. package/lib/services/logme.js.map +1 -1
  73. package/lib/services/logs.d.ts +6 -0
  74. package/lib/services/logs.d.ts.map +1 -1
  75. package/lib/services/logs.js +34 -34
  76. package/lib/services/logs.js.map +1 -1
  77. package/lib/services/mariadb.d.ts +14 -1
  78. package/lib/services/mariadb.d.ts.map +1 -1
  79. package/lib/services/mariadb.js +37 -36
  80. package/lib/services/mariadb.js.map +1 -1
  81. package/lib/services/model_experiments.d.ts +20 -0
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +1 -1
  84. package/lib/services/model_experiments.js.map +1 -1
  85. package/lib/services/model_serving.d.ts +13 -0
  86. package/lib/services/model_serving.d.ts.map +1 -1
  87. package/lib/services/model_serving.js +1 -1
  88. package/lib/services/model_serving.js.map +1 -1
  89. package/lib/services/mongodb_flex.d.ts +19 -0
  90. package/lib/services/mongodb_flex.d.ts.map +1 -1
  91. package/lib/services/mongodb_flex.js +42 -41
  92. package/lib/services/mongodb_flex.js.map +1 -1
  93. package/lib/services/object_storage.d.ts +34 -0
  94. package/lib/services/object_storage.d.ts.map +1 -1
  95. package/lib/services/object_storage.js +38 -37
  96. package/lib/services/object_storage.js.map +1 -1
  97. package/lib/services/observability.d.ts +34 -8
  98. package/lib/services/observability.d.ts.map +1 -1
  99. package/lib/services/observability.js +159 -158
  100. package/lib/services/observability.js.map +1 -1
  101. package/lib/services/opensearch.d.ts +14 -1
  102. package/lib/services/opensearch.d.ts.map +1 -1
  103. package/lib/services/opensearch.js +37 -36
  104. package/lib/services/opensearch.js.map +1 -1
  105. package/lib/services/pim.d.ts +22 -0
  106. package/lib/services/pim.d.ts.map +1 -1
  107. package/lib/services/pim.js +31 -30
  108. package/lib/services/pim.js.map +1 -1
  109. package/lib/services/postgres_flex.d.ts +37 -0
  110. package/lib/services/postgres_flex.d.ts.map +1 -1
  111. package/lib/services/postgres_flex.js +48 -47
  112. package/lib/services/postgres_flex.js.map +1 -1
  113. package/lib/services/rabbitmq.d.ts +14 -1
  114. package/lib/services/rabbitmq.d.ts.map +1 -1
  115. package/lib/services/rabbitmq.js +38 -37
  116. package/lib/services/rabbitmq.js.map +1 -1
  117. package/lib/services/registry.d.ts +37 -0
  118. package/lib/services/registry.d.ts.map +1 -1
  119. package/lib/services/registry.js +1 -1
  120. package/lib/services/registry.js.map +1 -1
  121. package/lib/services/resource_manager.d.ts +24 -0
  122. package/lib/services/resource_manager.d.ts.map +1 -1
  123. package/lib/services/resource_manager.js +36 -35
  124. package/lib/services/resource_manager.js.map +1 -1
  125. package/lib/services/run_command.d.ts +12 -0
  126. package/lib/services/run_command.d.ts.map +1 -1
  127. package/lib/services/run_command.js +1 -1
  128. package/lib/services/run_command.js.map +1 -1
  129. package/lib/services/scf.d.ts +13 -0
  130. package/lib/services/scf.d.ts.map +1 -1
  131. package/lib/services/scf.js +40 -39
  132. package/lib/services/scf.js.map +1 -1
  133. package/lib/services/secrets_manager.d.ts +21 -0
  134. package/lib/services/secrets_manager.d.ts.map +1 -1
  135. package/lib/services/secrets_manager.js +42 -41
  136. package/lib/services/secrets_manager.js.map +1 -1
  137. package/lib/services/server_backup.d.ts +6 -0
  138. package/lib/services/server_backup.d.ts.map +1 -1
  139. package/lib/services/server_backup.js +28 -28
  140. package/lib/services/server_backup.js.map +1 -1
  141. package/lib/services/server_update.d.ts +6 -0
  142. package/lib/services/server_update.d.ts.map +1 -1
  143. package/lib/services/server_update.js +1 -1
  144. package/lib/services/server_update.js.map +1 -1
  145. package/lib/services/service_account.d.ts +28 -0
  146. package/lib/services/service_account.d.ts.map +1 -1
  147. package/lib/services/service_account.js +30 -29
  148. package/lib/services/service_account.js.map +1 -1
  149. package/lib/services/service_enablement.d.ts +14 -0
  150. package/lib/services/service_enablement.d.ts.map +1 -1
  151. package/lib/services/service_enablement.js +1 -1
  152. package/lib/services/service_enablement.js.map +1 -1
  153. package/lib/services/sfs.d.ts +33 -0
  154. package/lib/services/sfs.d.ts.map +1 -1
  155. package/lib/services/sfs.js +46 -46
  156. package/lib/services/sfs.js.map +1 -1
  157. package/lib/services/ske.d.ts +8 -3
  158. package/lib/services/ske.d.ts.map +1 -1
  159. package/lib/services/ske.js +25 -25
  160. package/lib/services/ske.js.map +1 -1
  161. package/lib/services/sqlserverflex.d.ts +34 -0
  162. package/lib/services/sqlserverflex.d.ts.map +1 -1
  163. package/lib/services/sqlserverflex.js +46 -45
  164. package/lib/services/sqlserverflex.js.map +1 -1
  165. package/lib/services/stackit_marketplace.d.ts +26 -1
  166. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  167. package/lib/services/stackit_marketplace.js +26 -25
  168. package/lib/services/stackit_marketplace.js.map +1 -1
  169. package/lib/services/telemetry_link.d.ts +12 -0
  170. package/lib/services/telemetry_link.d.ts.map +1 -1
  171. package/lib/services/telemetry_link.js +35 -34
  172. package/lib/services/telemetry_link.js.map +1 -1
  173. package/lib/services/telemetry_router.d.ts +49 -3
  174. package/lib/services/telemetry_router.d.ts.map +1 -1
  175. package/lib/services/telemetry_router.js +33 -31
  176. package/lib/services/telemetry_router.js.map +1 -1
  177. package/lib/services/ufw.d.ts +15 -0
  178. package/lib/services/ufw.d.ts.map +1 -1
  179. package/lib/services/ufw.js +1 -1
  180. package/lib/services/ufw.js.map +1 -1
  181. package/lib/services/valkey.d.ts +14 -1
  182. package/lib/services/valkey.d.ts.map +1 -1
  183. package/lib/services/valkey.js +37 -36
  184. package/lib/services/valkey.js.map +1 -1
  185. package/lib/services/vpn.d.ts +43 -1
  186. package/lib/services/vpn.d.ts.map +1 -1
  187. package/lib/services/vpn.js +43 -42
  188. package/lib/services/vpn.js.map +1 -1
  189. package/lib/services.lazy/alb.js +1 -1
  190. package/lib/services.lazy/alb_waf.js +1 -1
  191. package/lib/services.lazy/automation.js +1 -1
  192. package/lib/services.lazy/cdn.js +1 -1
  193. package/lib/services.lazy/dns.js +1 -1
  194. package/lib/services.lazy/iaas.js +1 -1
  195. package/lib/services.lazy/index.js +2 -2
  196. package/lib/services.lazy/kms.js +1 -1
  197. package/lib/services.lazy/load_balancer.js +1 -1
  198. package/lib/services.lazy/logme.js +1 -1
  199. package/lib/services.lazy/logs.js +1 -1
  200. package/lib/services.lazy/mariadb.js +1 -1
  201. package/lib/services.lazy/mongodb_flex.js +1 -1
  202. package/lib/services.lazy/object_storage.js +1 -1
  203. package/lib/services.lazy/observability.js +1 -1
  204. package/lib/services.lazy/opensearch.js +1 -1
  205. package/lib/services.lazy/pim.js +1 -1
  206. package/lib/services.lazy/postgres_flex.js +1 -1
  207. package/lib/services.lazy/rabbitmq.js +1 -1
  208. package/lib/services.lazy/resource_manager.js +1 -1
  209. package/lib/services.lazy/scf.js +1 -1
  210. package/lib/services.lazy/secrets_manager.js +1 -1
  211. package/lib/services.lazy/server_backup.js +1 -1
  212. package/lib/services.lazy/service_account.js +1 -1
  213. package/lib/services.lazy/sfs.js +1 -1
  214. package/lib/services.lazy/ske.js +1 -1
  215. package/lib/services.lazy/sqlserverflex.js +1 -1
  216. package/lib/services.lazy/stackit_marketplace.js +1 -1
  217. package/lib/services.lazy/telemetry_link.js +1 -1
  218. package/lib/services.lazy/telemetry_router.js +1 -1
  219. package/lib/services.lazy/valkey.js +1 -1
  220. package/lib/services.lazy/vpn.js +1 -1
  221. package/lib/traits.d.ts.map +1 -1
  222. package/lib/{services → unstable-services}/dremio.d.ts +19 -4
  223. package/lib/unstable-services/dremio.d.ts.map +1 -0
  224. package/lib/unstable-services/dremio.js +2 -0
  225. package/lib/unstable-services/dremio.js.map +1 -0
  226. package/lib/{services → unstable-services}/edge.d.ts +13 -1
  227. package/lib/unstable-services/edge.d.ts.map +1 -0
  228. package/lib/unstable-services/edge.js +29 -0
  229. package/lib/unstable-services/edge.js.map +1 -0
  230. package/lib/unstable-services/functions.d.ts.map +1 -0
  231. package/lib/unstable-services/functions.js +28 -0
  232. package/lib/unstable-services/functions.js.map +1 -0
  233. package/lib/{services → unstable-services}/git.d.ts +42 -1
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +43 -0
  236. package/lib/unstable-services/git.js.map +1 -0
  237. package/lib/unstable-services/index.d.ts +11 -0
  238. package/lib/unstable-services/index.d.ts.map +1 -0
  239. package/lib/unstable-services/index.js +10 -0
  240. package/lib/{services → unstable-services}/intake.d.ts +8 -2
  241. package/lib/unstable-services/intake.d.ts.map +1 -0
  242. package/lib/unstable-services/intake.js +31 -0
  243. package/lib/unstable-services/intake.js.map +1 -0
  244. package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
  245. package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
  246. package/lib/unstable-services/lb_ip_lists.js +2 -0
  247. package/lib/unstable-services/lb_ip_lists.js.map +1 -0
  248. package/lib/{services → unstable-services}/mailout.d.ts +95 -126
  249. package/lib/unstable-services/mailout.d.ts.map +1 -0
  250. package/lib/unstable-services/mailout.js +30 -0
  251. package/lib/unstable-services/mailout.js.map +1 -0
  252. package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
  253. package/lib/unstable-services/pubsub.d.ts.map +1 -0
  254. package/lib/unstable-services/pubsub.js +39 -0
  255. package/lib/unstable-services/pubsub.js.map +1 -0
  256. package/lib/{services → unstable-services}/sca.d.ts +73 -23
  257. package/lib/unstable-services/sca.d.ts.map +1 -0
  258. package/lib/unstable-services/sca.js +41 -0
  259. package/lib/unstable-services/sca.js.map +1 -0
  260. package/lib/{services → unstable-services}/workflows.d.ts +29 -1
  261. package/lib/unstable-services/workflows.d.ts.map +1 -0
  262. package/lib/unstable-services/workflows.js +30 -0
  263. package/lib/unstable-services/workflows.js.map +1 -0
  264. package/lib/unstable-services.lazy/dremio.js +1 -0
  265. package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
  266. package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
  267. package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
  268. package/lib/unstable-services.lazy/index.js +3 -0
  269. package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
  270. package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
  271. package/lib/unstable-services.lazy/mailout.js +4 -0
  272. package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
  273. package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
  274. package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
  275. package/package.json +12 -6
  276. package/src/credentials.ts +44 -7
  277. package/src/errors.ts +10 -1
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -127
  280. package/src/services/alb.ts +35 -14
  281. package/src/services/alb_waf.ts +41 -17
  282. package/src/services/authorization.ts +121 -75
  283. package/src/services/automation.ts +151 -76
  284. package/src/services/cdn.ts +284 -187
  285. package/src/services/certificates.ts +17 -6
  286. package/src/services/cost.ts +75 -17
  287. package/src/services/dns.ts +219 -149
  288. package/src/services/iaas.ts +888 -708
  289. package/src/services/identity.ts +109 -51
  290. package/src/services/index.ts +0 -10
  291. package/src/services/kms.ts +185 -118
  292. package/src/services/load_balancer.ts +35 -14
  293. package/src/services/logme.ts +181 -123
  294. package/src/services/logs.ts +43 -19
  295. package/src/services/mariadb.ts +179 -121
  296. package/src/services/model_experiments.ts +122 -64
  297. package/src/services/model_serving.ts +102 -58
  298. package/src/services/mongodb_flex.ts +196 -131
  299. package/src/services/object_storage.ts +226 -106
  300. package/src/services/observability.ts +880 -709
  301. package/src/services/opensearch.ts +182 -124
  302. package/src/services/pim.ts +166 -104
  303. package/src/services/postgres_flex.ts +291 -170
  304. package/src/services/rabbitmq.ts +188 -130
  305. package/src/services/registry.ts +146 -40
  306. package/src/services/resource_manager.ts +180 -110
  307. package/src/services/run_command.ts +73 -37
  308. package/src/services/scf.ts +178 -119
  309. package/src/services/secrets_manager.ts +198 -129
  310. package/src/services/server_backup.ts +39 -17
  311. package/src/services/server_update.ts +31 -13
  312. package/src/services/service_account.ts +180 -85
  313. package/src/services/service_enablement.ts +64 -28
  314. package/src/services/sfs.ts +265 -163
  315. package/src/services/ske.ts +39 -20
  316. package/src/services/sqlserverflex.ts +290 -175
  317. package/src/services/stackit_marketplace.ts +138 -70
  318. package/src/services/telemetry_link.ts +151 -100
  319. package/src/services/telemetry_router.ts +241 -109
  320. package/src/services/ufw.ts +97 -50
  321. package/src/services/valkey.ts +179 -121
  322. package/src/services/vpn.ts +305 -194
  323. package/src/{services → unstable-services}/dremio.ts +113 -74
  324. package/src/{services → unstable-services}/edge.ts +113 -72
  325. package/src/{services → unstable-services}/functions.ts +31 -16
  326. package/src/{services → unstable-services}/git.ts +285 -133
  327. package/src/unstable-services/index.ts +11 -0
  328. package/src/{services → unstable-services}/intake.ts +41 -20
  329. package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
  330. package/src/{services → unstable-services}/mailout.ts +290 -381
  331. package/src/{services → unstable-services}/pubsub.ts +47 -19
  332. package/src/{services → unstable-services}/sca.ts +349 -172
  333. package/src/{services → unstable-services}/workflows.ts +149 -76
  334. package/lib/index.lazy.js +0 -7
  335. package/lib/index.lazy.js.map +0 -1
  336. package/lib/services/dremio.d.ts.map +0 -1
  337. package/lib/services/dremio.js +0 -2
  338. package/lib/services/dremio.js.map +0 -1
  339. package/lib/services/edge.d.ts.map +0 -1
  340. package/lib/services/edge.js +0 -29
  341. package/lib/services/edge.js.map +0 -1
  342. package/lib/services/functions.d.ts.map +0 -1
  343. package/lib/services/functions.js +0 -28
  344. package/lib/services/functions.js.map +0 -1
  345. package/lib/services/git.d.ts.map +0 -1
  346. package/lib/services/git.js +0 -41
  347. package/lib/services/git.js.map +0 -1
  348. package/lib/services/intake.d.ts.map +0 -1
  349. package/lib/services/intake.js +0 -31
  350. package/lib/services/intake.js.map +0 -1
  351. package/lib/services/lb_ip_lists.d.ts.map +0 -1
  352. package/lib/services/lb_ip_lists.js +0 -2
  353. package/lib/services/lb_ip_lists.js.map +0 -1
  354. package/lib/services/mailout.d.ts.map +0 -1
  355. package/lib/services/mailout.js +0 -33
  356. package/lib/services/mailout.js.map +0 -1
  357. package/lib/services/pubsub.d.ts.map +0 -1
  358. package/lib/services/pubsub.js +0 -39
  359. package/lib/services/pubsub.js.map +0 -1
  360. package/lib/services/sca.d.ts.map +0 -1
  361. package/lib/services/sca.js +0 -35
  362. package/lib/services/sca.js.map +0 -1
  363. package/lib/services/workflows.d.ts.map +0 -1
  364. package/lib/services/workflows.js +0 -29
  365. package/lib/services/workflows.js.map +0 -1
  366. package/lib/services.lazy/dremio.js +0 -1
  367. package/lib/services.lazy/lb_ip_lists.js +0 -1
  368. package/lib/services.lazy/mailout.js +0 -4
  369. /package/lib/{services → unstable-services}/functions.d.ts +0 -0
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
6
  import type * as Redacted from "effect/Redacted";
7
- import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitServiceErrors } from "../errors.ts";
8
8
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
9
9
  import * as Retry from "../retry.ts";
10
10
  import * as T from "../traits.ts";
@@ -31,24 +31,40 @@ export class BadRequest
31
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
32
32
  code: S.Number,
33
33
  message: S.String,
34
+ body: /*@__PURE__*/ S.optional(
35
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
36
+ ),
37
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
34
38
  }).pipe(C.withBadRequestError),
35
39
  [{ status: 400 }],
36
- ) {}
40
+ )
41
+ {
42
+ declare readonly body?: Response4xx | string;
43
+ }
37
44
 
38
45
  export class Conflict
39
46
  extends /*@__PURE__*/ T.applyErrorMatchers(
40
47
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
41
48
  code: S.Number,
42
49
  message: S.String,
50
+ body: /*@__PURE__*/ S.optional(
51
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
52
+ ),
53
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
43
54
  }).pipe(C.withConflictError),
44
55
  [{ status: 409 }],
45
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?: Response4xx | string;
59
+ }
46
60
 
47
61
  export class NotFound
48
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
63
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
50
64
  code: S.Number,
51
65
  message: S.String,
66
+ body: /*@__PURE__*/ S.optional(S.Unknown),
67
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
68
  }).pipe(C.withBadRequestError),
53
69
  [{ status: 404 }],
54
70
  ) {}
@@ -109,7 +125,7 @@ export interface DestinationConfigOpenTelemetryBasicAuth {
109
125
  export interface DestinationConfigOpenTelemetry {
110
126
  basicAuth?: DestinationConfigOpenTelemetryBasicAuth | undefined;
111
127
  /** A bearer token to authenticate at the OpenTelemetry URI. */
112
- bearerToken?: string | undefined;
128
+ bearerToken?: string | Redacted.Redacted<string> | undefined;
113
129
  /** The URI for reaching the resource. */
114
130
  uri: string;
115
131
  }
@@ -374,6 +390,40 @@ export interface PartialUpdateAccessTokenResponse {
374
390
  status: PartialUpdateAccessTokenResponseStatus;
375
391
  }
376
392
  export type PartialUpdateDestinationRequestRegionId = "eu01" | "eu02";
393
+ export type ConfigFilterPatchAttributesList = Array<ConfigFilterAttributes>;
394
+ export interface ConfigFilterPatch {
395
+ attributes?: ConfigFilterPatchAttributesList | undefined;
396
+ disabled?: boolean | undefined;
397
+ }
398
+ /** Basic auth to authenticate at the OpenTelemetry URI */
399
+ export interface DestinationConfigPatchOpenTelemetryBasicAuth {
400
+ password?: string | Redacted.Redacted<string> | undefined;
401
+ username?: string | undefined;
402
+ }
403
+ export interface DestinationConfigPatchOpenTelemetry {
404
+ basicAuth?: DestinationConfigPatchOpenTelemetryBasicAuth | undefined;
405
+ /** A bearer token to authenticate at the OpenTelemetry URI. */
406
+ bearerToken?: string | Redacted.Redacted<string> | undefined;
407
+ /** The URI for reaching the resource. */
408
+ uri?: string | undefined;
409
+ }
410
+ /** The S3 access key */
411
+ export interface DestinationConfigPatchS3AccessKey {
412
+ id?: string | undefined;
413
+ secret?: string | Redacted.Redacted<string> | undefined;
414
+ }
415
+ export interface DestinationConfigPatchS3 {
416
+ accessKey?: DestinationConfigPatchS3AccessKey | undefined;
417
+ bucket?: string | undefined;
418
+ /** The URI for reaching the resource. */
419
+ endpoint?: string | undefined;
420
+ }
421
+ export interface DestinationConfigPatch {
422
+ configType?: DestinationConfigType | (string & {}) | undefined;
423
+ filter?: ConfigFilterPatch | undefined;
424
+ openTelemetry?: DestinationConfigPatchOpenTelemetry | undefined;
425
+ s3?: DestinationConfigPatchS3 | undefined;
426
+ }
377
427
  export interface PartialUpdateDestinationRequest {
378
428
  /** The STACKIT portal project UUID the resource is located in. */
379
429
  projectId: string;
@@ -383,7 +433,7 @@ export interface PartialUpdateDestinationRequest {
383
433
  telemetryRouterId: string;
384
434
  /** The Destination UUID. */
385
435
  destinationId: string;
386
- config?: DestinationConfig | undefined;
436
+ config?: DestinationConfigPatch | undefined;
387
437
  /** The description is a longer text chosen by the user to provide more context for the resource. */
388
438
  description?: string | undefined;
389
439
  /** The display name is a short name chosen by the user to identify the resource. */
@@ -401,7 +451,7 @@ export interface PartialUpdateTelemetryRouterRequest {
401
451
  description?: string | undefined;
402
452
  /** The display name is a short name chosen by the user to identify the resource. */
403
453
  displayName?: string | undefined;
404
- filter?: ConfigFilter | undefined;
454
+ filter?: ConfigFilterPatch | undefined;
405
455
  resourceLabels?: ResourceLabels | undefined;
406
456
  }
407
457
  export type UpdateAccessTokenRequestRegionId = "eu01" | "eu02";
@@ -462,6 +512,10 @@ export interface UpdateTelemetryRouterRequest {
462
512
  filter?: ConfigFilter | undefined;
463
513
  resourceLabels?: ResourceLabels | undefined;
464
514
  }
515
+ export interface Response4xx {
516
+ /** A message containing the reason for failure */
517
+ message: string;
518
+ }
465
519
  export type CreateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
466
520
  /** Create a new access token for the given Telemetry Router. */
467
521
  export const createAccessToken: API.OperationMethod<
@@ -470,9 +524,10 @@ export const createAccessToken: API.OperationMethod<
470
524
  CreateAccessTokenError,
471
525
  StackitOpContext
472
526
  > = /*@__PURE__*/ API.make(() => ({
473
- input: __S(88, __c11, 0) as any as S.Schema<CreateAccessTokenRequest>,
474
- output: __S(89, __c11, 1) as any as S.Schema<CreateAccessTokenResponse>,
475
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
527
+ input: __S(104, __c13, 0) as any as S.Schema<CreateAccessTokenRequest>,
528
+ output: __S(105, __c13, 1) as any as S.Schema<CreateAccessTokenResponse>,
529
+ errors: [BadRequest, NotFound, Conflict],
530
+ serviceErrors: StackitServiceErrors,
476
531
  protocol: StackitProtocol,
477
532
  retry: Retry.Retry,
478
533
  telemetry: TELEMETRY,
@@ -487,9 +542,10 @@ export const createDestination: API.OperationMethod<
487
542
  CreateDestinationError,
488
543
  StackitOpContext
489
544
  > = /*@__PURE__*/ API.make(() => ({
490
- input: __S(96, __c12, 0) as any as S.Schema<CreateDestinationRequest>,
491
- output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
492
- errors: [BadRequest, Conflict, UnknownStackitError],
545
+ input: __S(112, __c14, 0) as any as S.Schema<CreateDestinationRequest>,
546
+ output: __S(125, __c15, 5) as any as S.Schema<DestinationResponse>,
547
+ errors: [BadRequest, Conflict],
548
+ serviceErrors: StackitServiceErrors,
493
549
  protocol: StackitProtocol,
494
550
  retry: Retry.Retry,
495
551
  telemetry: TELEMETRY,
@@ -504,9 +560,10 @@ export const createTelemetryRouter: API.OperationMethod<
504
560
  CreateTelemetryRouterError,
505
561
  StackitOpContext
506
562
  > = /*@__PURE__*/ API.make(() => ({
507
- input: __S(120, __c15, 0) as any as S.Schema<CreateTelemetryRouterRequest>,
508
- output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
509
- errors: [BadRequest, Conflict, UnknownStackitError],
563
+ input: __S(136, __c17, 0) as any as S.Schema<CreateTelemetryRouterRequest>,
564
+ output: __S(145, __c18, 1) as any as S.Schema<TelemetryRouterResponse>,
565
+ errors: [BadRequest, Conflict],
566
+ serviceErrors: StackitServiceErrors,
510
567
  protocol: StackitProtocol,
511
568
  retry: Retry.Retry,
512
569
  telemetry: TELEMETRY,
@@ -521,9 +578,10 @@ export const deleteAccessToken: API.OperationMethod<
521
578
  DeleteAccessTokenError,
522
579
  StackitOpContext
523
580
  > = /*@__PURE__*/ API.make(() => ({
524
- input: __S(136, __c17, 0) as any as S.Schema<DeleteAccessTokenRequest>,
525
- output: __S(144, __c18, 0) as any as S.Schema<DeleteAccessTokenResponse>,
526
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
581
+ input: __S(152, __c19, 0) as any as S.Schema<DeleteAccessTokenRequest>,
582
+ output: __S(160, __c20, 0) as any as S.Schema<DeleteAccessTokenResponse>,
583
+ errors: [BadRequest, NotFound, Conflict],
584
+ serviceErrors: StackitServiceErrors,
527
585
  protocol: StackitProtocol,
528
586
  retry: Retry.Retry,
529
587
  telemetry: TELEMETRY,
@@ -538,9 +596,10 @@ export const deleteDestination: API.OperationMethod<
538
596
  DeleteDestinationError,
539
597
  StackitOpContext
540
598
  > = /*@__PURE__*/ API.make(() => ({
541
- input: __S(152, __c19, 0) as any as S.Schema<DeleteDestinationRequest>,
542
- output: __S(144, __c18, 0) as any as S.Schema<DeleteDestinationResponse>,
543
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
599
+ input: __S(168, __c21, 0) as any as S.Schema<DeleteDestinationRequest>,
600
+ output: __S(160, __c20, 0) as any as S.Schema<DeleteDestinationResponse>,
601
+ errors: [BadRequest, NotFound, Conflict],
602
+ serviceErrors: StackitServiceErrors,
544
603
  protocol: StackitProtocol,
545
604
  retry: Retry.Retry,
546
605
  telemetry: TELEMETRY,
@@ -555,9 +614,10 @@ export const deleteTelemetryRouter: API.OperationMethod<
555
614
  DeleteTelemetryRouterError,
556
615
  StackitOpContext
557
616
  > = /*@__PURE__*/ API.make(() => ({
558
- input: __S(160, __c20, 0) as any as S.Schema<DeleteTelemetryRouterRequest>,
559
- output: __S(144, __c18, 0) as any as S.Schema<DeleteTelemetryRouterResponse>,
560
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
617
+ input: __S(176, __c22, 0) as any as S.Schema<DeleteTelemetryRouterRequest>,
618
+ output: __S(160, __c20, 0) as any as S.Schema<DeleteTelemetryRouterResponse>,
619
+ errors: [BadRequest, NotFound, Conflict],
620
+ serviceErrors: StackitServiceErrors,
561
621
  protocol: StackitProtocol,
562
622
  retry: Retry.Retry,
563
623
  telemetry: TELEMETRY,
@@ -572,9 +632,10 @@ export const getAccessToken: API.OperationMethod<
572
632
  GetAccessTokenError,
573
633
  StackitOpContext
574
634
  > = /*@__PURE__*/ API.make(() => ({
575
- input: __S(168, __c21, 0) as any as S.Schema<GetAccessTokenRequest>,
576
- output: __S(176, __c22, 0) as any as S.Schema<GetAccessTokenResponse2>,
577
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
635
+ input: __S(184, __c23, 0) as any as S.Schema<GetAccessTokenRequest>,
636
+ output: __S(192, __c24, 0) as any as S.Schema<GetAccessTokenResponse2>,
637
+ errors: [BadRequest, NotFound, Conflict],
638
+ serviceErrors: StackitServiceErrors,
578
639
  protocol: StackitProtocol,
579
640
  retry: Retry.Retry,
580
641
  telemetry: TELEMETRY,
@@ -589,9 +650,10 @@ export const getDestination: API.OperationMethod<
589
650
  GetDestinationError,
590
651
  StackitOpContext
591
652
  > = /*@__PURE__*/ API.make(() => ({
592
- input: __S(0, __c0, 0) as any as S.Schema<GetDestinationRequest>,
593
- output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
594
- errors: [BadRequest, NotFound, UnknownStackitError],
653
+ input: __S(8, __c1, 0) as any as S.Schema<GetDestinationRequest>,
654
+ output: __S(125, __c15, 5) as any as S.Schema<DestinationResponse>,
655
+ errors: [BadRequest, NotFound],
656
+ serviceErrors: StackitServiceErrors,
595
657
  protocol: StackitProtocol,
596
658
  retry: Retry.Retry,
597
659
  telemetry: TELEMETRY,
@@ -606,9 +668,10 @@ export const getTelemetryRouter: API.OperationMethod<
606
668
  GetTelemetryRouterError,
607
669
  StackitOpContext
608
670
  > = /*@__PURE__*/ API.make(() => ({
609
- input: __S(8, __c1, 0) as any as S.Schema<GetTelemetryRouterRequest>,
610
- output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
611
- errors: [BadRequest, Conflict, UnknownStackitError],
671
+ input: __S(16, __c2, 0) as any as S.Schema<GetTelemetryRouterRequest>,
672
+ output: __S(145, __c18, 1) as any as S.Schema<TelemetryRouterResponse>,
673
+ errors: [BadRequest, Conflict],
674
+ serviceErrors: StackitServiceErrors,
612
675
  protocol: StackitProtocol,
613
676
  retry: Retry.Retry,
614
677
  telemetry: TELEMETRY,
@@ -623,9 +686,10 @@ export const listAccessTokens: API.OperationMethod<
623
686
  ListAccessTokensError,
624
687
  StackitOpContext
625
688
  > = /*@__PURE__*/ API.make(() => ({
626
- input: __S(16, __c2, 0) as any as S.Schema<ListAccessTokensRequest>,
627
- output: __S(18, __c2, 2) as any as S.Schema<ListAccessTokensResponse>,
628
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
689
+ input: __S(24, __c3, 0) as any as S.Schema<ListAccessTokensRequest>,
690
+ output: __S(26, __c3, 2) as any as S.Schema<ListAccessTokensResponse>,
691
+ errors: [BadRequest, NotFound, Conflict],
692
+ serviceErrors: StackitServiceErrors,
629
693
  protocol: StackitProtocol,
630
694
  retry: Retry.Retry,
631
695
  telemetry: TELEMETRY,
@@ -640,9 +704,10 @@ export const listDestinations: API.OperationMethod<
640
704
  ListDestinationsError,
641
705
  StackitOpContext
642
706
  > = /*@__PURE__*/ API.make(() => ({
643
- input: __S(24, __c3, 0) as any as S.Schema<ListDestinationsRequest>,
644
- output: __S(26, __c3, 2) as any as S.Schema<ListDestinationsResponse>,
645
- errors: [BadRequest, UnknownStackitError],
707
+ input: __S(32, __c4, 0) as any as S.Schema<ListDestinationsRequest>,
708
+ output: __S(34, __c4, 2) as any as S.Schema<ListDestinationsResponse>,
709
+ errors: [BadRequest],
710
+ serviceErrors: StackitServiceErrors,
646
711
  protocol: StackitProtocol,
647
712
  retry: Retry.Retry,
648
713
  telemetry: TELEMETRY,
@@ -657,9 +722,10 @@ export const listTelemetryRouters: API.OperationMethod<
657
722
  ListTelemetryRoutersError,
658
723
  StackitOpContext
659
724
  > = /*@__PURE__*/ API.make(() => ({
660
- input: __S(32, __c4, 0) as any as S.Schema<ListTelemetryRoutersRequest>,
661
- output: __S(34, __c4, 2) as any as S.Schema<ListTelemetryRoutersResponse>,
662
- errors: [BadRequest, UnknownStackitError],
725
+ input: __S(40, __c5, 0) as any as S.Schema<ListTelemetryRoutersRequest>,
726
+ output: __S(42, __c5, 2) as any as S.Schema<ListTelemetryRoutersResponse>,
727
+ errors: [BadRequest],
728
+ serviceErrors: StackitServiceErrors,
663
729
  protocol: StackitProtocol,
664
730
  retry: Retry.Retry,
665
731
  telemetry: TELEMETRY,
@@ -674,9 +740,10 @@ export const partialUpdateAccessToken: API.OperationMethod<
674
740
  PartialUpdateAccessTokenError,
675
741
  StackitOpContext
676
742
  > = /*@__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],
743
+ input: __S(48, __c6, 0) as any as S.Schema<PartialUpdateAccessTokenRequest>,
744
+ output: __S(192, __c24, 0) as any as S.Schema<PartialUpdateAccessTokenResponse>,
745
+ errors: [BadRequest, NotFound, Conflict],
746
+ serviceErrors: StackitServiceErrors,
680
747
  protocol: StackitProtocol,
681
748
  retry: Retry.Retry,
682
749
  telemetry: TELEMETRY,
@@ -691,9 +758,10 @@ export const partialUpdateDestination: API.OperationMethod<
691
758
  PartialUpdateDestinationError,
692
759
  StackitOpContext
693
760
  > = /*@__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],
761
+ input: __S(61, __c7, 5) as any as S.Schema<PartialUpdateDestinationRequest>,
762
+ output: __S(125, __c15, 5) as any as S.Schema<DestinationResponse>,
763
+ errors: [BadRequest, NotFound, Conflict],
764
+ serviceErrors: StackitServiceErrors,
697
765
  protocol: StackitProtocol,
698
766
  retry: Retry.Retry,
699
767
  telemetry: TELEMETRY,
@@ -708,9 +776,10 @@ export const partialUpdateTelemetryRouter: API.OperationMethod<
708
776
  PartialUpdateTelemetryRouterError,
709
777
  StackitOpContext
710
778
  > = /*@__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],
779
+ input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateTelemetryRouterRequest>,
780
+ output: __S(145, __c18, 1) as any as S.Schema<TelemetryRouterResponse>,
781
+ errors: [BadRequest, NotFound, Conflict],
782
+ serviceErrors: StackitServiceErrors,
714
783
  protocol: StackitProtocol,
715
784
  retry: Retry.Retry,
716
785
  telemetry: TELEMETRY,
@@ -725,9 +794,10 @@ export const updateAccessToken: API.OperationMethod<
725
794
  UpdateAccessTokenError,
726
795
  StackitOpContext
727
796
  > = /*@__PURE__*/ API.make(() => ({
728
- input: __S(64, __c8, 0) as any as S.Schema<UpdateAccessTokenRequest>,
729
- output: __S(176, __c22, 0) as any as S.Schema<UpdateAccessTokenResponse>,
730
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
797
+ input: __S(80, __c10, 0) as any as S.Schema<UpdateAccessTokenRequest>,
798
+ output: __S(192, __c24, 0) as any as S.Schema<UpdateAccessTokenResponse>,
799
+ errors: [BadRequest, NotFound, Conflict],
800
+ serviceErrors: StackitServiceErrors,
731
801
  protocol: StackitProtocol,
732
802
  retry: Retry.Retry,
733
803
  telemetry: TELEMETRY,
@@ -742,9 +812,10 @@ export const updateDestination: API.OperationMethod<
742
812
  UpdateDestinationError,
743
813
  StackitOpContext
744
814
  > = /*@__PURE__*/ API.make(() => ({
745
- input: __S(72, __c9, 0) as any as S.Schema<UpdateDestinationRequest>,
746
- output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
747
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
815
+ input: __S(88, __c11, 0) as any as S.Schema<UpdateDestinationRequest>,
816
+ output: __S(125, __c15, 5) as any as S.Schema<DestinationResponse>,
817
+ errors: [BadRequest, NotFound, Conflict],
818
+ serviceErrors: StackitServiceErrors,
748
819
  protocol: StackitProtocol,
749
820
  retry: Retry.Retry,
750
821
  telemetry: TELEMETRY,
@@ -759,9 +830,10 @@ export const updateTelemetryRouter: API.OperationMethod<
759
830
  UpdateTelemetryRouterError,
760
831
  StackitOpContext
761
832
  > = /*@__PURE__*/ API.make(() => ({
762
- input: __S(80, __c10, 0) as any as S.Schema<UpdateTelemetryRouterRequest>,
763
- output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
764
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
833
+ input: __S(96, __c12, 0) as any as S.Schema<UpdateTelemetryRouterRequest>,
834
+ output: __S(145, __c18, 1) as any as S.Schema<TelemetryRouterResponse>,
835
+ errors: [BadRequest, NotFound, Conflict],
836
+ serviceErrors: StackitServiceErrors,
765
837
  protocol: StackitProtocol,
766
838
  retry: Retry.Retry,
767
839
  telemetry: TELEMETRY,
@@ -770,6 +842,16 @@ export const updateTelemetryRouter: API.OperationMethod<
770
842
 
771
843
  // Schema builders: each runs one schema initializer, on that schema's first use.
772
844
  function __c0(j: number): any {
845
+ switch (j) {
846
+ case 0:
847
+ return S.suspend(() =>
848
+ S.Struct({
849
+ message: S.String,
850
+ }),
851
+ ).annotate({ identifier: "Response4xx" });
852
+ }
853
+ }
854
+ function __c1(j: number): any {
773
855
  switch (j) {
774
856
  case 0:
775
857
  return S.suspend(() =>
@@ -789,7 +871,7 @@ function __c0(j: number): any {
789
871
  ).annotate({ identifier: "GetDestinationRequest" });
790
872
  }
791
873
  }
792
- function __c1(j: number): any {
874
+ function __c2(j: number): any {
793
875
  switch (j) {
794
876
  case 0:
795
877
  return S.suspend(() =>
@@ -808,7 +890,7 @@ function __c1(j: number): any {
808
890
  ).annotate({ identifier: "GetTelemetryRouterRequest" });
809
891
  }
810
892
  }
811
- function __c2(j: number): any {
893
+ function __c3(j: number): any {
812
894
  switch (j) {
813
895
  case 0:
814
896
  return S.suspend(() =>
@@ -828,17 +910,17 @@ function __c2(j: number): any {
828
910
  ),
829
911
  ).annotate({ identifier: "ListAccessTokensRequest" });
830
912
  case 1:
831
- return S.Array(__S(176, __c22, 0));
913
+ return S.Array(__S(192, __c24, 0));
832
914
  case 2:
833
915
  return S.suspend(() =>
834
916
  S.Struct({
835
- accessTokens: __S(17, __c2, 1),
917
+ accessTokens: __S(25, __c3, 1),
836
918
  nextPageToken: S.optional(S.String),
837
919
  }),
838
920
  ).annotate({ identifier: "ListAccessTokensResponse" });
839
921
  }
840
922
  }
841
- function __c3(j: number): any {
923
+ function __c4(j: number): any {
842
924
  switch (j) {
843
925
  case 0:
844
926
  return S.suspend(() =>
@@ -858,17 +940,17 @@ function __c3(j: number): any {
858
940
  ),
859
941
  ).annotate({ identifier: "ListDestinationsRequest" });
860
942
  case 1:
861
- return S.Array(__S(109, __c13, 5));
943
+ return S.Array(__S(125, __c15, 5));
862
944
  case 2:
863
945
  return S.suspend(() =>
864
946
  S.Struct({
865
- destinations: __S(25, __c3, 1),
947
+ destinations: __S(33, __c4, 1),
866
948
  nextPageToken: S.optional(S.String),
867
949
  }),
868
950
  ).annotate({ identifier: "ListDestinationsResponse" });
869
951
  }
870
952
  }
871
- function __c4(j: number): any {
953
+ function __c5(j: number): any {
872
954
  switch (j) {
873
955
  case 0:
874
956
  return S.suspend(() =>
@@ -887,17 +969,17 @@ function __c4(j: number): any {
887
969
  ),
888
970
  ).annotate({ identifier: "ListTelemetryRoutersRequest" });
889
971
  case 1:
890
- return S.Array(__S(129, __c16, 1));
972
+ return S.Array(__S(145, __c18, 1));
891
973
  case 2:
892
974
  return S.suspend(() =>
893
975
  S.Struct({
894
976
  nextPageToken: S.optional(S.String),
895
- telemetryRouters: __S(33, __c4, 1),
977
+ telemetryRouters: __S(41, __c5, 1),
896
978
  }),
897
979
  ).annotate({ identifier: "ListTelemetryRoutersResponse" });
898
980
  }
899
981
  }
900
- function __c5(j: number): any {
982
+ function __c6(j: number): any {
901
983
  switch (j) {
902
984
  case 0:
903
985
  return S.suspend(() =>
@@ -919,16 +1001,55 @@ function __c5(j: number): any {
919
1001
  ).annotate({ identifier: "PartialUpdateAccessTokenRequest" });
920
1002
  }
921
1003
  }
922
- function __c6(j: number): any {
1004
+ function __c7(j: number): any {
923
1005
  switch (j) {
924
1006
  case 0:
1007
+ return S.suspend(() =>
1008
+ S.Struct({
1009
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1010
+ username: S.optional(S.String),
1011
+ }),
1012
+ ).annotate({ identifier: "DestinationConfigPatchOpenTelemetryBasicAuth" });
1013
+ case 1:
1014
+ return S.suspend(() =>
1015
+ S.Struct({
1016
+ basicAuth: S.optional(__S(56, __c7, 0)),
1017
+ bearerToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
1018
+ uri: S.optional(S.String),
1019
+ }),
1020
+ ).annotate({ identifier: "DestinationConfigPatchOpenTelemetry" });
1021
+ case 2:
1022
+ return S.suspend(() =>
1023
+ S.Struct({
1024
+ id: S.optional(S.String),
1025
+ secret: S.optional(S.String.pipe(T.SensitiveValue({}))),
1026
+ }),
1027
+ ).annotate({ identifier: "DestinationConfigPatchS3AccessKey" });
1028
+ case 3:
1029
+ return S.suspend(() =>
1030
+ S.Struct({
1031
+ accessKey: S.optional(__S(58, __c7, 2)),
1032
+ bucket: S.optional(S.String),
1033
+ endpoint: S.optional(S.String),
1034
+ }),
1035
+ ).annotate({ identifier: "DestinationConfigPatchS3" });
1036
+ case 4:
1037
+ return S.suspend(() =>
1038
+ S.Struct({
1039
+ configType: S.optional(S.String),
1040
+ filter: S.optional(__S(64, __c8, 0)),
1041
+ openTelemetry: S.optional(__S(57, __c7, 1)),
1042
+ s3: S.optional(__S(59, __c7, 3)),
1043
+ }),
1044
+ ).annotate({ identifier: "DestinationConfigPatch" });
1045
+ case 5:
925
1046
  return S.suspend(() =>
926
1047
  S.Struct({
927
1048
  projectId: S.String.pipe(T.Label()),
928
1049
  regionId: S.String.pipe(T.Label()),
929
1050
  telemetryRouterId: S.String.pipe(T.Label()),
930
1051
  destinationId: S.String.pipe(T.Label()),
931
- config: S.optional(__S(108, __c13, 4)),
1052
+ config: S.optional(__S(60, __c7, 4)),
932
1053
  description: S.optional(S.String),
933
1054
  displayName: S.optional(S.String),
934
1055
  }).pipe(
@@ -942,7 +1063,18 @@ function __c6(j: number): any {
942
1063
  ).annotate({ identifier: "PartialUpdateDestinationRequest" });
943
1064
  }
944
1065
  }
945
- function __c7(j: number): any {
1066
+ function __c8(j: number): any {
1067
+ switch (j) {
1068
+ case 0:
1069
+ return S.suspend(() =>
1070
+ S.Struct({
1071
+ attributes: S.optional(__S(130, __c16, 2)),
1072
+ disabled: S.optional(S.Boolean),
1073
+ }),
1074
+ ).annotate({ identifier: "ConfigFilterPatch" });
1075
+ }
1076
+ }
1077
+ function __c9(j: number): any {
946
1078
  switch (j) {
947
1079
  case 0:
948
1080
  return S.suspend(() =>
@@ -952,8 +1084,8 @@ function __c7(j: number): any {
952
1084
  telemetryRouterId: S.String.pipe(T.Label()),
953
1085
  description: S.optional(S.String),
954
1086
  displayName: S.optional(S.String),
955
- filter: S.optional(__S(115, __c14, 3)),
956
- resourceLabels: S.optional(__S(128, __c16, 0)),
1087
+ filter: S.optional(__S(64, __c8, 0)),
1088
+ resourceLabels: S.optional(__S(144, __c18, 0)),
957
1089
  }).pipe(
958
1090
  T.Http({
959
1091
  method: "PATCH",
@@ -965,7 +1097,7 @@ function __c7(j: number): any {
965
1097
  ).annotate({ identifier: "PartialUpdateTelemetryRouterRequest" });
966
1098
  }
967
1099
  }
968
- function __c8(j: number): any {
1100
+ function __c10(j: number): any {
969
1101
  switch (j) {
970
1102
  case 0:
971
1103
  return S.suspend(() =>
@@ -987,7 +1119,7 @@ function __c8(j: number): any {
987
1119
  ).annotate({ identifier: "UpdateAccessTokenRequest" });
988
1120
  }
989
1121
  }
990
- function __c9(j: number): any {
1122
+ function __c11(j: number): any {
991
1123
  switch (j) {
992
1124
  case 0:
993
1125
  return S.suspend(() =>
@@ -996,7 +1128,7 @@ function __c9(j: number): any {
996
1128
  regionId: S.String.pipe(T.Label()),
997
1129
  telemetryRouterId: S.String.pipe(T.Label()),
998
1130
  destinationId: S.String.pipe(T.Label()),
999
- config: S.optional(__S(108, __c13, 4)),
1131
+ config: S.optional(__S(124, __c15, 4)),
1000
1132
  description: S.optional(S.String),
1001
1133
  displayName: S.optional(S.String),
1002
1134
  }).pipe(
@@ -1010,7 +1142,7 @@ function __c9(j: number): any {
1010
1142
  ).annotate({ identifier: "UpdateDestinationRequest" });
1011
1143
  }
1012
1144
  }
1013
- function __c10(j: number): any {
1145
+ function __c12(j: number): any {
1014
1146
  switch (j) {
1015
1147
  case 0:
1016
1148
  return S.suspend(() =>
@@ -1020,8 +1152,8 @@ function __c10(j: number): any {
1020
1152
  telemetryRouterId: S.String.pipe(T.Label()),
1021
1153
  description: S.optional(S.String),
1022
1154
  displayName: S.optional(S.String),
1023
- filter: S.optional(__S(115, __c14, 3)),
1024
- resourceLabels: S.optional(__S(128, __c16, 0)),
1155
+ filter: S.optional(__S(131, __c16, 3)),
1156
+ resourceLabels: S.optional(__S(144, __c18, 0)),
1025
1157
  }).pipe(
1026
1158
  T.Http({
1027
1159
  method: "PUT",
@@ -1033,7 +1165,7 @@ function __c10(j: number): any {
1033
1165
  ).annotate({ identifier: "UpdateTelemetryRouterRequest" });
1034
1166
  }
1035
1167
  }
1036
- function __c11(j: number): any {
1168
+ function __c13(j: number): any {
1037
1169
  switch (j) {
1038
1170
  case 0:
1039
1171
  return S.suspend(() =>
@@ -1067,7 +1199,7 @@ function __c11(j: number): any {
1067
1199
  ).annotate({ identifier: "CreateAccessTokenResponse" });
1068
1200
  }
1069
1201
  }
1070
- function __c12(j: number): any {
1202
+ function __c14(j: number): any {
1071
1203
  switch (j) {
1072
1204
  case 0:
1073
1205
  return S.suspend(() =>
@@ -1075,7 +1207,7 @@ function __c12(j: number): any {
1075
1207
  projectId: S.String.pipe(T.Label()),
1076
1208
  regionId: S.String.pipe(T.Label()),
1077
1209
  telemetryRouterId: S.String.pipe(T.Label()),
1078
- config: __S(108, __c13, 4),
1210
+ config: __S(124, __c15, 4),
1079
1211
  description: S.optional(S.String),
1080
1212
  displayName: S.String,
1081
1213
  }).pipe(
@@ -1089,7 +1221,7 @@ function __c12(j: number): any {
1089
1221
  ).annotate({ identifier: "CreateDestinationRequest" });
1090
1222
  }
1091
1223
  }
1092
- function __c13(j: number): any {
1224
+ function __c15(j: number): any {
1093
1225
  switch (j) {
1094
1226
  case 0:
1095
1227
  return S.suspend(() =>
@@ -1101,8 +1233,8 @@ function __c13(j: number): any {
1101
1233
  case 1:
1102
1234
  return S.suspend(() =>
1103
1235
  S.Struct({
1104
- basicAuth: S.optional(__S(104, __c13, 0)),
1105
- bearerToken: S.optional(S.String),
1236
+ basicAuth: S.optional(__S(120, __c15, 0)),
1237
+ bearerToken: S.optional(S.String.pipe(T.SensitiveValue({}))),
1106
1238
  uri: S.String,
1107
1239
  }),
1108
1240
  ).annotate({ identifier: "DestinationConfigOpenTelemetry" });
@@ -1116,7 +1248,7 @@ function __c13(j: number): any {
1116
1248
  case 3:
1117
1249
  return S.suspend(() =>
1118
1250
  S.Struct({
1119
- accessKey: S.optional(__S(106, __c13, 2)),
1251
+ accessKey: S.optional(__S(122, __c15, 2)),
1120
1252
  bucket: S.String,
1121
1253
  endpoint: S.String,
1122
1254
  }),
@@ -1125,15 +1257,15 @@ function __c13(j: number): any {
1125
1257
  return S.suspend(() =>
1126
1258
  S.Struct({
1127
1259
  configType: S.String,
1128
- filter: S.optional(__S(115, __c14, 3)),
1129
- openTelemetry: S.optional(__S(105, __c13, 1)),
1130
- s3: S.optional(__S(107, __c13, 3)),
1260
+ filter: S.optional(__S(131, __c16, 3)),
1261
+ openTelemetry: S.optional(__S(121, __c15, 1)),
1262
+ s3: S.optional(__S(123, __c15, 3)),
1131
1263
  }),
1132
1264
  ).annotate({ identifier: "DestinationConfig" });
1133
1265
  case 5:
1134
1266
  return S.suspend(() =>
1135
1267
  S.Struct({
1136
- config: __S(108, __c13, 4),
1268
+ config: __S(124, __c15, 4),
1137
1269
  creationTime: S.String,
1138
1270
  credentialType: S.String,
1139
1271
  description: S.optional(S.String),
@@ -1144,7 +1276,7 @@ function __c13(j: number): any {
1144
1276
  ).annotate({ identifier: "DestinationResponse" });
1145
1277
  }
1146
1278
  }
1147
- function __c14(j: number): any {
1279
+ function __c16(j: number): any {
1148
1280
  switch (j) {
1149
1281
  case 0:
1150
1282
  return S.Array(S.String);
@@ -1154,21 +1286,21 @@ function __c14(j: number): any {
1154
1286
  key: S.String,
1155
1287
  level: S.String,
1156
1288
  matcher: S.String,
1157
- values: __S(112, __c14, 0),
1289
+ values: __S(128, __c16, 0),
1158
1290
  }),
1159
1291
  ).annotate({ identifier: "ConfigFilterAttributes" });
1160
1292
  case 2:
1161
- return S.Array(__S(113, __c14, 1));
1293
+ return S.Array(__S(129, __c16, 1));
1162
1294
  case 3:
1163
1295
  return S.suspend(() =>
1164
1296
  S.Struct({
1165
- attributes: __S(114, __c14, 2),
1297
+ attributes: __S(130, __c16, 2),
1166
1298
  disabled: S.optional(S.Boolean),
1167
1299
  }),
1168
1300
  ).annotate({ identifier: "ConfigFilter" });
1169
1301
  }
1170
1302
  }
1171
- function __c15(j: number): any {
1303
+ function __c17(j: number): any {
1172
1304
  switch (j) {
1173
1305
  case 0:
1174
1306
  return S.suspend(() =>
@@ -1177,8 +1309,8 @@ function __c15(j: number): any {
1177
1309
  regionId: S.String.pipe(T.Label()),
1178
1310
  description: S.optional(S.String),
1179
1311
  displayName: S.String,
1180
- filter: S.optional(__S(115, __c14, 3)),
1181
- resourceLabels: S.optional(__S(128, __c16, 0)),
1312
+ filter: S.optional(__S(131, __c16, 3)),
1313
+ resourceLabels: S.optional(__S(144, __c18, 0)),
1182
1314
  }).pipe(
1183
1315
  T.Http({
1184
1316
  method: "POST",
@@ -1190,7 +1322,7 @@ function __c15(j: number): any {
1190
1322
  ).annotate({ identifier: "CreateTelemetryRouterRequest" });
1191
1323
  }
1192
1324
  }
1193
- function __c16(j: number): any {
1325
+ function __c18(j: number): any {
1194
1326
  switch (j) {
1195
1327
  case 0:
1196
1328
  return S.Record(S.String, S.String);
@@ -1201,16 +1333,16 @@ function __c16(j: number): any {
1201
1333
  description: S.optional(S.String),
1202
1334
  destinationCount: S.optional(S.Number),
1203
1335
  displayName: S.String,
1204
- filter: S.optional(__S(115, __c14, 3)),
1336
+ filter: S.optional(__S(131, __c16, 3)),
1205
1337
  id: S.String,
1206
- resourceLabels: S.optional(__S(128, __c16, 0)),
1338
+ resourceLabels: S.optional(__S(144, __c18, 0)),
1207
1339
  status: S.String,
1208
1340
  uri: S.String,
1209
1341
  }),
1210
1342
  ).annotate({ identifier: "TelemetryRouterResponse" });
1211
1343
  }
1212
1344
  }
1213
- function __c17(j: number): any {
1345
+ function __c19(j: number): any {
1214
1346
  switch (j) {
1215
1347
  case 0:
1216
1348
  return S.suspend(() =>
@@ -1230,13 +1362,13 @@ function __c17(j: number): any {
1230
1362
  ).annotate({ identifier: "DeleteAccessTokenRequest" });
1231
1363
  }
1232
1364
  }
1233
- function __c18(j: number): any {
1365
+ function __c20(j: number): any {
1234
1366
  switch (j) {
1235
1367
  case 0:
1236
1368
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAccessTokenResponse" });
1237
1369
  }
1238
1370
  }
1239
- function __c19(j: number): any {
1371
+ function __c21(j: number): any {
1240
1372
  switch (j) {
1241
1373
  case 0:
1242
1374
  return S.suspend(() =>
@@ -1256,7 +1388,7 @@ function __c19(j: number): any {
1256
1388
  ).annotate({ identifier: "DeleteDestinationRequest" });
1257
1389
  }
1258
1390
  }
1259
- function __c20(j: number): any {
1391
+ function __c22(j: number): any {
1260
1392
  switch (j) {
1261
1393
  case 0:
1262
1394
  return S.suspend(() =>
@@ -1276,7 +1408,7 @@ function __c20(j: number): any {
1276
1408
  ).annotate({ identifier: "DeleteTelemetryRouterRequest" });
1277
1409
  }
1278
1410
  }
1279
- function __c21(j: number): any {
1411
+ function __c23(j: number): any {
1280
1412
  switch (j) {
1281
1413
  case 0:
1282
1414
  return S.suspend(() =>
@@ -1296,7 +1428,7 @@ function __c21(j: number): any {
1296
1428
  ).annotate({ identifier: "GetAccessTokenRequest" });
1297
1429
  }
1298
1430
  }
1299
- function __c22(j: number): any {
1431
+ function __c24(j: number): any {
1300
1432
  switch (j) {
1301
1433
  case 0:
1302
1434
  return S.suspend(() =>