@distilled.cloud/stackit 1.0.0-rc.19 → 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 +13 -8
  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 +14 -5
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -126
  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,27 +31,48 @@ 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?: ApiErrorResponse | 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?: ApiErrorResponse | 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(
67
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
68
+ ),
69
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
70
  }).pipe(C.withBadRequestError),
53
71
  [{ status: 404 }],
54
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: ApiErrorResponse | string;
75
+ }
55
76
 
56
77
  /** Container argument override. */
57
78
  export type ContainerArgsList = Array<string>;
@@ -270,6 +291,26 @@ export interface Application {
270
291
  /** Last update date in RFC3339 format. */
271
292
  updatedAt?: string | undefined;
272
293
  }
294
+ /** EnvironmentRegistry defines a single registry representation. */
295
+ export interface EnvironmentRegistryInput {
296
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
297
+ password?: string | Redacted.Redacted<string> | undefined;
298
+ /** Registry server. */
299
+ server: string;
300
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
301
+ username?: string | undefined;
302
+ }
303
+ /** Image registry configurations to create alongside the environment. */
304
+ export type CreateEnvironmentRequestRegistriesList = Array<EnvironmentRegistryInput>;
305
+ /** EnvironmentSecret defines a single secret representation. */
306
+ export interface EnvironmentSecretInput {
307
+ /** Secret key. */
308
+ key: string;
309
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
310
+ value?: string | Redacted.Redacted<string> | undefined;
311
+ }
312
+ /** Secrets to create alongside the environment. */
313
+ export type CreateEnvironmentRequestSecretsList = Array<EnvironmentSecretInput>;
273
314
  export interface CreateEnvironmentRequest {
274
315
  /** Project to create the environment */
275
316
  projectId: string;
@@ -277,12 +318,17 @@ export interface CreateEnvironmentRequest {
277
318
  region: string;
278
319
  /** Human-readable display name. */
279
320
  displayName: string;
321
+ /** Image registry configurations to create alongside the environment. */
322
+ registries?: CreateEnvironmentRequestRegistriesList | undefined;
323
+ /** Secrets to create alongside the environment. */
324
+ secrets?: CreateEnvironmentRequestSecretsList | undefined;
280
325
  }
281
- /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Environment is being created. - CURRENT_STATUS_CREATED: Environment is successfully created. */
326
+ /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Environment is being created. - CURRENT_STATUS_CREATED: Environment is successfully created. - CURRENT_STATUS_FAILED: Environment is failed status. */
282
327
  export type EnvironmentCurrentStatus =
283
328
  | "CURRENT_STATUS_UNSPECIFIED"
284
329
  | "CURRENT_STATUS_PROGRESSING"
285
- | "CURRENT_STATUS_CREATED";
330
+ | "CURRENT_STATUS_CREATED"
331
+ | "CURRENT_STATUS_FAILED";
286
332
  /** Status of the environment. */
287
333
  export interface EnvironmentStatus {
288
334
  /** Amount of applications in the environment. */
@@ -531,7 +577,7 @@ export interface EnvironmentSecret {
531
577
  /** Last update timestamp of this registry entry. */
532
578
  updatedAt?: string | undefined;
533
579
  /** Secret value. Omit or set to null to keep the existing value unchanged. */
534
- value?: string | undefined;
580
+ value?: string | Redacted.Redacted<string> | undefined;
535
581
  }
536
582
  /** The collection of configured secrets. */
537
583
  export type EnvironmentSecretsVaultSecretsList = Array<EnvironmentSecret>;
@@ -546,6 +592,28 @@ export interface ListProjectApplicationsRequest {
546
592
  /** Region to list the applications from. */
547
593
  region: string;
548
594
  }
595
+ export interface StartApplicationRequest {
596
+ /** Project where the application resides. */
597
+ projectId: string;
598
+ /** Region where the application resides. */
599
+ region: string;
600
+ /** Environment where the application resides. */
601
+ environmentId: string;
602
+ /** Application id to start. */
603
+ applicationId: string;
604
+ }
605
+ export type StartApplicationResponse = unknown;
606
+ export interface StopApplicationRequest {
607
+ /** Project where the application resides. */
608
+ projectId: string;
609
+ /** Region where the application resides. */
610
+ region: string;
611
+ /** Environment where the application resides. */
612
+ environmentId: string;
613
+ /** Application id to stop. */
614
+ applicationId: string;
615
+ }
616
+ export type StopApplicationResponse = unknown;
549
617
  /** Containers to deploy for the application. */
550
618
  export type UpdateApplicationRequestContainersList = Array<Container>;
551
619
  export interface UpdateApplicationRequest {
@@ -558,23 +626,12 @@ export interface UpdateApplicationRequest {
558
626
  /** Application id to update. */
559
627
  applicationId: string;
560
628
  /** Containers to deploy for the application. */
561
- containers: UpdateApplicationRequestContainersList;
562
- /** Human-readable display name. */
563
- displayName: string;
629
+ containers?: UpdateApplicationRequestContainersList | undefined;
564
630
  network?: ApplicationNetwork | undefined;
565
- scaling: ApplicationScaling;
631
+ scaling?: ApplicationScaling | undefined;
566
632
  /** Indicates if the application resources are stopped. */
567
633
  stopped?: boolean | undefined;
568
634
  }
569
- /** EnvironmentRegistry defines a single registry representation. */
570
- export interface EnvironmentRegistryInput {
571
- /** Registry password. Omit or set to null to keep the existing value unchanged. */
572
- password?: string | Redacted.Redacted<string> | undefined;
573
- /** Registry server. */
574
- server: string;
575
- /** Registry username. Omit or set to null to keep the existing value unchanged. */
576
- username?: string | undefined;
577
- }
578
635
  /** The collection of configured registries. */
579
636
  export type UpdateEnvironmentRegistriesRequestRegistriesList = Array<EnvironmentRegistryInput>;
580
637
  export interface UpdateEnvironmentRegistriesRequest {
@@ -587,13 +644,6 @@ export interface UpdateEnvironmentRegistriesRequest {
587
644
  /** The collection of configured registries. */
588
645
  registries: UpdateEnvironmentRegistriesRequestRegistriesList;
589
646
  }
590
- /** EnvironmentSecret defines a single secret representation. */
591
- export interface EnvironmentSecretInput {
592
- /** Secret key. */
593
- key: string;
594
- /** Secret value. Omit or set to null to keep the existing value unchanged. */
595
- value?: string | undefined;
596
- }
597
647
  /** The collection of configured secrets. */
598
648
  export type UpdateEnvironmentSecretsRequestSecretsList = Array<EnvironmentSecretInput>;
599
649
  export interface UpdateEnvironmentSecretsRequest {
@@ -606,6 +656,13 @@ export interface UpdateEnvironmentSecretsRequest {
606
656
  /** The collection of configured secrets. */
607
657
  secrets: UpdateEnvironmentSecretsRequestSecretsList;
608
658
  }
659
+ /** ApiErrorResponse represents a standard error response from the API. */
660
+ export interface ApiErrorResponse {
661
+ /** The HTTP status code or internal error code. */
662
+ code?: number | undefined;
663
+ /** A human-readable error message. */
664
+ message?: string | undefined;
665
+ }
609
666
  export type CreateApplicationError = BadRequest | Conflict | StackitOpError;
610
667
  /** Creates a new application within an environment. */
611
668
  export const createApplication: API.OperationMethod<
@@ -614,9 +671,10 @@ export const createApplication: API.OperationMethod<
614
671
  CreateApplicationError,
615
672
  StackitOpContext
616
673
  > = /*@__PURE__*/ API.make(() => ({
617
- input: __S(416, __c13, 0) as any as S.Schema<CreateApplicationRequest>,
618
- output: __S(500, __c15, 20) as any as S.Schema<Application>,
619
- errors: [BadRequest, Conflict, UnknownStackitError],
674
+ input: __S(544, __c17, 0) as any as S.Schema<CreateApplicationRequest>,
675
+ output: __S(628, __c19, 20) as any as S.Schema<Application>,
676
+ errors: [BadRequest, Conflict],
677
+ serviceErrors: StackitServiceErrors,
620
678
  protocol: StackitProtocol,
621
679
  retry: Retry.Retry,
622
680
  telemetry: TELEMETRY,
@@ -631,9 +689,10 @@ export const createEnvironment: API.OperationMethod<
631
689
  CreateEnvironmentError,
632
690
  StackitOpContext
633
691
  > = /*@__PURE__*/ API.make(() => ({
634
- input: __S(512, __c16, 0) as any as S.Schema<CreateEnvironmentRequest>,
635
- output: __S(545, __c17, 1) as any as S.Schema<Environment>,
636
- errors: [BadRequest, Conflict, UnknownStackitError],
692
+ input: __S(640, __c20, 0) as any as S.Schema<CreateEnvironmentRequest>,
693
+ output: __S(737, __c23, 1) as any as S.Schema<Environment>,
694
+ errors: [BadRequest, Conflict],
695
+ serviceErrors: StackitServiceErrors,
637
696
  protocol: StackitProtocol,
638
697
  retry: Retry.Retry,
639
698
  telemetry: TELEMETRY,
@@ -648,9 +707,10 @@ export const deleteApplication: API.OperationMethod<
648
707
  DeleteApplicationError,
649
708
  StackitOpContext
650
709
  > = /*@__PURE__*/ API.make(() => ({
651
- input: __S(576, __c18, 0) as any as S.Schema<DeleteApplicationRequest>,
652
- output: __S(500, __c15, 20) as any as S.Schema<Application>,
653
- errors: [NotFound, UnknownStackitError],
710
+ input: __S(768, __c24, 0) as any as S.Schema<DeleteApplicationRequest>,
711
+ output: __S(628, __c19, 20) as any as S.Schema<Application>,
712
+ errors: [NotFound],
713
+ serviceErrors: StackitServiceErrors,
654
714
  protocol: StackitProtocol,
655
715
  retry: Retry.Retry,
656
716
  telemetry: TELEMETRY,
@@ -665,9 +725,10 @@ export const getApplication: API.OperationMethod<
665
725
  GetApplicationError,
666
726
  StackitOpContext
667
727
  > = /*@__PURE__*/ API.make(() => ({
668
- input: __S(608, __c19, 0) as any as S.Schema<GetApplicationRequest>,
669
- output: __S(500, __c15, 20) as any as S.Schema<Application>,
670
- errors: [NotFound, UnknownStackitError],
728
+ input: __S(800, __c25, 0) as any as S.Schema<GetApplicationRequest>,
729
+ output: __S(628, __c19, 20) as any as S.Schema<Application>,
730
+ errors: [NotFound],
731
+ serviceErrors: StackitServiceErrors,
671
732
  protocol: StackitProtocol,
672
733
  retry: Retry.Retry,
673
734
  telemetry: TELEMETRY,
@@ -682,9 +743,10 @@ export const getApplicationEvents: API.OperationMethod<
682
743
  GetApplicationEventsError,
683
744
  StackitOpContext
684
745
  > = /*@__PURE__*/ API.make(() => ({
685
- input: __S(640, __c20, 0) as any as S.Schema<GetApplicationEventsRequest>,
686
- output: __S(641, __c20, 1) as any as S.Schema<GetApplicationEventsResponse>,
687
- errors: [NotFound, UnknownStackitError],
746
+ input: __S(832, __c26, 0) as any as S.Schema<GetApplicationEventsRequest>,
747
+ output: __S(833, __c26, 1) as any as S.Schema<GetApplicationEventsResponse>,
748
+ errors: [NotFound],
749
+ serviceErrors: StackitServiceErrors,
688
750
  protocol: StackitProtocol,
689
751
  retry: Retry.Retry,
690
752
  telemetry: TELEMETRY,
@@ -699,9 +761,10 @@ export const getApplicationLogs: API.OperationMethod<
699
761
  GetApplicationLogsError,
700
762
  StackitOpContext
701
763
  > = /*@__PURE__*/ API.make(() => ({
702
- input: __S(704, __c22, 0) as any as S.Schema<GetApplicationLogsRequest>,
703
- output: __S(705, __c22, 1) as any as S.Schema<GetApplicationLogsResponse>,
704
- errors: [BadRequest, NotFound, UnknownStackitError],
764
+ input: __S(896, __c28, 0) as any as S.Schema<GetApplicationLogsRequest>,
765
+ output: __S(897, __c28, 1) as any as S.Schema<GetApplicationLogsResponse>,
766
+ errors: [BadRequest, NotFound],
767
+ serviceErrors: StackitServiceErrors,
705
768
  protocol: StackitProtocol,
706
769
  retry: Retry.Retry,
707
770
  telemetry: TELEMETRY,
@@ -716,9 +779,10 @@ export const getEnvironment: API.OperationMethod<
716
779
  GetEnvironmentError,
717
780
  StackitOpContext
718
781
  > = /*@__PURE__*/ API.make(() => ({
719
- input: __S(736, __c23, 0) as any as S.Schema<GetEnvironmentRequest>,
720
- output: __S(545, __c17, 1) as any as S.Schema<Environment>,
721
- errors: [NotFound, UnknownStackitError],
782
+ input: __S(928, __c29, 0) as any as S.Schema<GetEnvironmentRequest>,
783
+ output: __S(737, __c23, 1) as any as S.Schema<Environment>,
784
+ errors: [NotFound],
785
+ serviceErrors: StackitServiceErrors,
722
786
  protocol: StackitProtocol,
723
787
  retry: Retry.Retry,
724
788
  telemetry: TELEMETRY,
@@ -733,9 +797,10 @@ export const getOverview: API.OperationMethod<
733
797
  GetOverviewError,
734
798
  StackitOpContext
735
799
  > = /*@__PURE__*/ API.make(() => ({
736
- input: __S(0, __c0, 0) as any as S.Schema<GetOverviewRequest>,
737
- output: __S(2, __c0, 2) as any as S.Schema<GetOverviewResponse>,
738
- errors: [UnknownStackitError],
800
+ input: __S(32, __c1, 0) as any as S.Schema<GetOverviewRequest>,
801
+ output: __S(34, __c1, 2) as any as S.Schema<GetOverviewResponse>,
802
+ errors: [],
803
+ serviceErrors: StackitServiceErrors,
739
804
  protocol: StackitProtocol,
740
805
  retry: Retry.Retry,
741
806
  telemetry: TELEMETRY,
@@ -750,9 +815,10 @@ export const listApplications: API.OperationMethod<
750
815
  ListApplicationsError,
751
816
  StackitOpContext
752
817
  > = /*@__PURE__*/ API.make(() => ({
753
- input: __S(32, __c1, 0) as any as S.Schema<ListApplicationsRequest>,
754
- output: __S(66, __c2, 2) as any as S.Schema<ListApplicationsResponse>,
755
- errors: [BadRequest, UnknownStackitError],
818
+ input: __S(64, __c2, 0) as any as S.Schema<ListApplicationsRequest>,
819
+ output: __S(98, __c3, 2) as any as S.Schema<ListApplicationsResponse>,
820
+ errors: [BadRequest],
821
+ serviceErrors: StackitServiceErrors,
756
822
  protocol: StackitProtocol,
757
823
  retry: Retry.Retry,
758
824
  telemetry: TELEMETRY,
@@ -767,9 +833,10 @@ export const listEnvironmentRegistries: API.OperationMethod<
767
833
  ListEnvironmentRegistriesError,
768
834
  StackitOpContext
769
835
  > = /*@__PURE__*/ API.make(() => ({
770
- input: __S(96, __c3, 0) as any as S.Schema<ListEnvironmentRegistriesRequest>,
771
- output: __S(162, __c5, 2) as any as S.Schema<EnvironmentRegistriesVault>,
772
- errors: [NotFound, UnknownStackitError],
836
+ input: __S(128, __c4, 0) as any as S.Schema<ListEnvironmentRegistriesRequest>,
837
+ output: __S(194, __c6, 2) as any as S.Schema<EnvironmentRegistriesVault>,
838
+ errors: [NotFound],
839
+ serviceErrors: StackitServiceErrors,
773
840
  protocol: StackitProtocol,
774
841
  retry: Retry.Retry,
775
842
  telemetry: TELEMETRY,
@@ -784,9 +851,10 @@ export const listEnvironments: API.OperationMethod<
784
851
  ListEnvironmentsError,
785
852
  StackitOpContext
786
853
  > = /*@__PURE__*/ API.make(() => ({
787
- input: __S(192, __c6, 0) as any as S.Schema<ListEnvironmentsRequest>,
788
- output: __S(194, __c6, 2) as any as S.Schema<ListEnvironmentsResponse>,
789
- errors: [BadRequest, UnknownStackitError],
854
+ input: __S(224, __c7, 0) as any as S.Schema<ListEnvironmentsRequest>,
855
+ output: __S(226, __c7, 2) as any as S.Schema<ListEnvironmentsResponse>,
856
+ errors: [BadRequest],
857
+ serviceErrors: StackitServiceErrors,
790
858
  protocol: StackitProtocol,
791
859
  retry: Retry.Retry,
792
860
  telemetry: TELEMETRY,
@@ -801,9 +869,10 @@ export const listEnvironmentSecrets: API.OperationMethod<
801
869
  ListEnvironmentSecretsError,
802
870
  StackitOpContext
803
871
  > = /*@__PURE__*/ API.make(() => ({
804
- input: __S(224, __c7, 0) as any as S.Schema<ListEnvironmentSecretsRequest>,
805
- output: __S(258, __c8, 2) as any as S.Schema<EnvironmentSecretsVault>,
806
- errors: [NotFound, UnknownStackitError],
872
+ input: __S(256, __c8, 0) as any as S.Schema<ListEnvironmentSecretsRequest>,
873
+ output: __S(290, __c9, 2) as any as S.Schema<EnvironmentSecretsVault>,
874
+ errors: [NotFound],
875
+ serviceErrors: StackitServiceErrors,
807
876
  protocol: StackitProtocol,
808
877
  retry: Retry.Retry,
809
878
  telemetry: TELEMETRY,
@@ -818,15 +887,52 @@ export const listProjectApplications: API.OperationMethod<
818
887
  ListProjectApplicationsError,
819
888
  StackitOpContext
820
889
  > = /*@__PURE__*/ API.make(() => ({
821
- input: __S(288, __c9, 0) as any as S.Schema<ListProjectApplicationsRequest>,
822
- output: __S(66, __c2, 2) as any as S.Schema<ListApplicationsResponse>,
823
- errors: [BadRequest, UnknownStackitError],
890
+ input: __S(320, __c10, 0) as any as S.Schema<ListProjectApplicationsRequest>,
891
+ output: __S(98, __c3, 2) as any as S.Schema<ListApplicationsResponse>,
892
+ errors: [BadRequest],
893
+ serviceErrors: StackitServiceErrors,
824
894
  protocol: StackitProtocol,
825
895
  retry: Retry.Retry,
826
896
  telemetry: TELEMETRY,
827
897
  span: "ListProjectApplications",
828
898
  }));
829
899
 
900
+ export type StartApplicationError = NotFound | StackitOpError;
901
+ /** Starts an existing application. */
902
+ export const startApplication: API.OperationMethod<
903
+ StartApplicationRequest,
904
+ StartApplicationResponse,
905
+ StartApplicationError,
906
+ StackitOpContext
907
+ > = /*@__PURE__*/ API.make(() => ({
908
+ input: __S(352, __c11, 0) as any as S.Schema<StartApplicationRequest>,
909
+ output: __S(384, __c12, 0) as any as S.Schema<StartApplicationResponse>,
910
+ errors: [NotFound],
911
+ serviceErrors: StackitServiceErrors,
912
+ protocol: StackitProtocol,
913
+ retry: Retry.Retry,
914
+ telemetry: TELEMETRY,
915
+ span: "StartApplication",
916
+ }));
917
+
918
+ export type StopApplicationError = NotFound | StackitOpError;
919
+ /** Stops an existing application. */
920
+ export const stopApplication: API.OperationMethod<
921
+ StopApplicationRequest,
922
+ StopApplicationResponse,
923
+ StopApplicationError,
924
+ StackitOpContext
925
+ > = /*@__PURE__*/ API.make(() => ({
926
+ input: __S(416, __c13, 0) as any as S.Schema<StopApplicationRequest>,
927
+ output: __S(384, __c12, 0) as any as S.Schema<StopApplicationResponse>,
928
+ errors: [NotFound],
929
+ serviceErrors: StackitServiceErrors,
930
+ protocol: StackitProtocol,
931
+ retry: Retry.Retry,
932
+ telemetry: TELEMETRY,
933
+ span: "StopApplication",
934
+ }));
935
+
830
936
  export type UpdateApplicationError = BadRequest | NotFound | Conflict | StackitOpError;
831
937
  /** Updates an existing application. */
832
938
  export const updateApplication: API.OperationMethod<
@@ -835,9 +941,10 @@ export const updateApplication: API.OperationMethod<
835
941
  UpdateApplicationError,
836
942
  StackitOpContext
837
943
  > = /*@__PURE__*/ API.make(() => ({
838
- input: __S(320, __c10, 0) as any as S.Schema<UpdateApplicationRequest>,
839
- output: __S(500, __c15, 20) as any as S.Schema<Application>,
840
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
944
+ input: __S(448, __c14, 0) as any as S.Schema<UpdateApplicationRequest>,
945
+ output: __S(628, __c19, 20) as any as S.Schema<Application>,
946
+ errors: [BadRequest, NotFound, Conflict],
947
+ serviceErrors: StackitServiceErrors,
841
948
  protocol: StackitProtocol,
842
949
  retry: Retry.Retry,
843
950
  telemetry: TELEMETRY,
@@ -852,9 +959,10 @@ export const updateEnvironmentRegistries: API.OperationMethod<
852
959
  UpdateEnvironmentRegistriesError,
853
960
  StackitOpContext
854
961
  > = /*@__PURE__*/ API.make(() => ({
855
- input: __S(354, __c11, 2) as any as S.Schema<UpdateEnvironmentRegistriesRequest>,
856
- output: __S(162, __c5, 2) as any as S.Schema<EnvironmentRegistriesVault>,
857
- errors: [BadRequest, NotFound, UnknownStackitError],
962
+ input: __S(480, __c15, 0) as any as S.Schema<UpdateEnvironmentRegistriesRequest>,
963
+ output: __S(194, __c6, 2) as any as S.Schema<EnvironmentRegistriesVault>,
964
+ errors: [BadRequest, NotFound],
965
+ serviceErrors: StackitServiceErrors,
858
966
  protocol: StackitProtocol,
859
967
  retry: Retry.Retry,
860
968
  telemetry: TELEMETRY,
@@ -869,9 +977,10 @@ export const updateEnvironmentSecrets: API.OperationMethod<
869
977
  UpdateEnvironmentSecretsError,
870
978
  StackitOpContext
871
979
  > = /*@__PURE__*/ API.make(() => ({
872
- input: __S(386, __c12, 2) as any as S.Schema<UpdateEnvironmentSecretsRequest>,
873
- output: __S(258, __c8, 2) as any as S.Schema<EnvironmentSecretsVault>,
874
- errors: [BadRequest, NotFound, UnknownStackitError],
980
+ input: __S(512, __c16, 0) as any as S.Schema<UpdateEnvironmentSecretsRequest>,
981
+ output: __S(290, __c9, 2) as any as S.Schema<EnvironmentSecretsVault>,
982
+ errors: [BadRequest, NotFound],
983
+ serviceErrors: StackitServiceErrors,
875
984
  protocol: StackitProtocol,
876
985
  retry: Retry.Retry,
877
986
  telemetry: TELEMETRY,
@@ -880,6 +989,17 @@ export const updateEnvironmentSecrets: API.OperationMethod<
880
989
 
881
990
  // Schema builders: each runs one schema initializer, on that schema's first use.
882
991
  function __c0(j: number): any {
992
+ switch (j) {
993
+ case 0:
994
+ return S.suspend(() =>
995
+ S.Struct({
996
+ code: S.optional(S.Number),
997
+ message: S.optional(S.String),
998
+ }),
999
+ ).annotate({ identifier: "ApiErrorResponse" });
1000
+ }
1001
+ }
1002
+ function __c1(j: number): any {
883
1003
  switch (j) {
884
1004
  case 0:
885
1005
  return S.suspend(() =>
@@ -906,12 +1026,12 @@ function __c0(j: number): any {
906
1026
  return S.suspend(() =>
907
1027
  S.Struct({
908
1028
  region: S.optional(S.String),
909
- summary: S.optional(__S(1, __c0, 1)),
1029
+ summary: S.optional(__S(33, __c1, 1)),
910
1030
  }),
911
1031
  ).annotate({ identifier: "GetOverviewResponse" });
912
1032
  }
913
1033
  }
914
- function __c1(j: number): any {
1034
+ function __c2(j: number): any {
915
1035
  switch (j) {
916
1036
  case 0:
917
1037
  return S.suspend(() =>
@@ -930,7 +1050,7 @@ function __c1(j: number): any {
930
1050
  ).annotate({ identifier: "ListApplicationsRequest" });
931
1051
  }
932
1052
  }
933
- function __c2(j: number): any {
1053
+ function __c3(j: number): any {
934
1054
  switch (j) {
935
1055
  case 0:
936
1056
  return S.suspend(() =>
@@ -941,22 +1061,22 @@ function __c2(j: number): any {
941
1061
  environmentName: S.optional(S.String),
942
1062
  id: S.optional(S.String),
943
1063
  region: S.optional(S.String),
944
- status: S.optional(__S(451, __c14, 3)),
1064
+ status: S.optional(__S(579, __c18, 3)),
945
1065
  stopped: S.optional(S.Boolean),
946
1066
  updatedAt: S.optional(S.String),
947
1067
  }),
948
1068
  ).annotate({ identifier: "ApplicationSummary" });
949
1069
  case 1:
950
- return S.Array(__S(64, __c2, 0));
1070
+ return S.Array(__S(96, __c3, 0));
951
1071
  case 2:
952
1072
  return S.suspend(() =>
953
1073
  S.Struct({
954
- items: S.optional(__S(65, __c2, 1)),
1074
+ items: S.optional(__S(97, __c3, 1)),
955
1075
  }),
956
1076
  ).annotate({ identifier: "ListApplicationsResponse" });
957
1077
  }
958
1078
  }
959
- function __c3(j: number): any {
1079
+ function __c4(j: number): any {
960
1080
  switch (j) {
961
1081
  case 0:
962
1082
  return S.suspend(() =>
@@ -975,7 +1095,7 @@ function __c3(j: number): any {
975
1095
  ).annotate({ identifier: "ListEnvironmentRegistriesRequest" });
976
1096
  }
977
1097
  }
978
- function __c4(j: number): any {
1098
+ function __c5(j: number): any {
979
1099
  switch (j) {
980
1100
  case 0:
981
1101
  return S.suspend(() =>
@@ -986,16 +1106,16 @@ function __c4(j: number): any {
986
1106
  }),
987
1107
  ).annotate({ identifier: "RegistryConsumer" });
988
1108
  case 1:
989
- return S.Array(__S(128, __c4, 0));
1109
+ return S.Array(__S(160, __c5, 0));
990
1110
  case 2:
991
1111
  return S.suspend(() =>
992
1112
  S.Struct({
993
- consumers: S.optional(__S(129, __c4, 1)),
1113
+ consumers: S.optional(__S(161, __c5, 1)),
994
1114
  }),
995
1115
  ).annotate({ identifier: "EnvironmentRegistryStatus" });
996
1116
  }
997
1117
  }
998
- function __c5(j: number): any {
1118
+ function __c6(j: number): any {
999
1119
  switch (j) {
1000
1120
  case 0:
1001
1121
  return S.suspend(() =>
@@ -1004,22 +1124,22 @@ function __c5(j: number): any {
1004
1124
  password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1005
1125
  region: S.optional(S.String),
1006
1126
  server: S.String,
1007
- status: S.optional(__S(130, __c4, 2)),
1127
+ status: S.optional(__S(162, __c5, 2)),
1008
1128
  updatedAt: S.optional(S.String),
1009
1129
  username: S.optional(S.String),
1010
1130
  }),
1011
1131
  ).annotate({ identifier: "EnvironmentRegistry" });
1012
1132
  case 1:
1013
- return S.Array(__S(160, __c5, 0));
1133
+ return S.Array(__S(192, __c6, 0));
1014
1134
  case 2:
1015
1135
  return S.suspend(() =>
1016
1136
  S.Struct({
1017
- registries: __S(161, __c5, 1),
1137
+ registries: __S(193, __c6, 1),
1018
1138
  }),
1019
1139
  ).annotate({ identifier: "EnvironmentRegistriesVault" });
1020
1140
  }
1021
1141
  }
1022
- function __c6(j: number): any {
1142
+ function __c7(j: number): any {
1023
1143
  switch (j) {
1024
1144
  case 0:
1025
1145
  return S.suspend(() =>
@@ -1036,16 +1156,16 @@ function __c6(j: number): any {
1036
1156
  ),
1037
1157
  ).annotate({ identifier: "ListEnvironmentsRequest" });
1038
1158
  case 1:
1039
- return S.Array(__S(545, __c17, 1));
1159
+ return S.Array(__S(737, __c23, 1));
1040
1160
  case 2:
1041
1161
  return S.suspend(() =>
1042
1162
  S.Struct({
1043
- items: S.optional(__S(193, __c6, 1)),
1163
+ items: S.optional(__S(225, __c7, 1)),
1044
1164
  }),
1045
1165
  ).annotate({ identifier: "ListEnvironmentsResponse" });
1046
1166
  }
1047
1167
  }
1048
- function __c7(j: number): any {
1168
+ function __c8(j: number): any {
1049
1169
  switch (j) {
1050
1170
  case 0:
1051
1171
  return S.suspend(() =>
@@ -1064,7 +1184,7 @@ function __c7(j: number): any {
1064
1184
  ).annotate({ identifier: "ListEnvironmentSecretsRequest" });
1065
1185
  }
1066
1186
  }
1067
- function __c8(j: number): any {
1187
+ function __c9(j: number): any {
1068
1188
  switch (j) {
1069
1189
  case 0:
1070
1190
  return S.suspend(() =>
@@ -1072,22 +1192,22 @@ function __c8(j: number): any {
1072
1192
  createdAt: S.optional(S.String),
1073
1193
  key: S.String,
1074
1194
  region: S.optional(S.String),
1075
- status: S.optional(__S(130, __c4, 2)),
1195
+ status: S.optional(__S(162, __c5, 2)),
1076
1196
  updatedAt: S.optional(S.String),
1077
- value: S.optional(S.String),
1197
+ value: S.optional(S.String.pipe(T.SensitiveValue({}))),
1078
1198
  }),
1079
1199
  ).annotate({ identifier: "EnvironmentSecret" });
1080
1200
  case 1:
1081
- return S.Array(__S(256, __c8, 0));
1201
+ return S.Array(__S(288, __c9, 0));
1082
1202
  case 2:
1083
1203
  return S.suspend(() =>
1084
1204
  S.Struct({
1085
- secrets: __S(257, __c8, 1),
1205
+ secrets: __S(289, __c9, 1),
1086
1206
  }),
1087
1207
  ).annotate({ identifier: "EnvironmentSecretsVault" });
1088
1208
  }
1089
1209
  }
1090
- function __c9(j: number): any {
1210
+ function __c10(j: number): any {
1091
1211
  switch (j) {
1092
1212
  case 0:
1093
1213
  return S.suspend(() =>
@@ -1105,7 +1225,7 @@ function __c9(j: number): any {
1105
1225
  ).annotate({ identifier: "ListProjectApplicationsRequest" });
1106
1226
  }
1107
1227
  }
1108
- function __c10(j: number): any {
1228
+ function __c11(j: number): any {
1109
1229
  switch (j) {
1110
1230
  case 0:
1111
1231
  return S.suspend(() =>
@@ -1114,10 +1234,57 @@ function __c10(j: number): any {
1114
1234
  region: S.String.pipe(T.Label()),
1115
1235
  environmentId: S.String.pipe(T.Label()),
1116
1236
  applicationId: S.String.pipe(T.Label()),
1117
- containers: __S(484, __c15, 4),
1118
- displayName: S.String,
1119
- network: S.optional(__S(488, __c15, 8)),
1120
- scaling: __S(499, __c15, 19),
1237
+ }).pipe(
1238
+ T.Http({
1239
+ method: "POST",
1240
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/start",
1241
+ code: 200,
1242
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1243
+ }),
1244
+ ),
1245
+ ).annotate({ identifier: "StartApplicationRequest" });
1246
+ }
1247
+ }
1248
+ function __c12(j: number): any {
1249
+ switch (j) {
1250
+ case 0:
1251
+ return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
1252
+ identifier: "StartApplicationResponse",
1253
+ });
1254
+ }
1255
+ }
1256
+ function __c13(j: number): any {
1257
+ switch (j) {
1258
+ case 0:
1259
+ return S.suspend(() =>
1260
+ S.Struct({
1261
+ projectId: S.String.pipe(T.Label()),
1262
+ region: S.String.pipe(T.Label()),
1263
+ environmentId: S.String.pipe(T.Label()),
1264
+ applicationId: S.String.pipe(T.Label()),
1265
+ }).pipe(
1266
+ T.Http({
1267
+ method: "POST",
1268
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/stop",
1269
+ code: 200,
1270
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1271
+ }),
1272
+ ),
1273
+ ).annotate({ identifier: "StopApplicationRequest" });
1274
+ }
1275
+ }
1276
+ function __c14(j: number): any {
1277
+ switch (j) {
1278
+ case 0:
1279
+ return S.suspend(() =>
1280
+ S.Struct({
1281
+ projectId: S.String.pipe(T.Label()),
1282
+ region: S.String.pipe(T.Label()),
1283
+ environmentId: S.String.pipe(T.Label()),
1284
+ applicationId: S.String.pipe(T.Label()),
1285
+ containers: S.optional(__S(612, __c19, 4)),
1286
+ network: S.optional(__S(616, __c19, 8)),
1287
+ scaling: S.optional(__S(627, __c19, 19)),
1121
1288
  stopped: S.optional(S.Boolean),
1122
1289
  }).pipe(
1123
1290
  T.Http({
@@ -1130,25 +1297,15 @@ function __c10(j: number): any {
1130
1297
  ).annotate({ identifier: "UpdateApplicationRequest" });
1131
1298
  }
1132
1299
  }
1133
- function __c11(j: number): any {
1300
+ function __c15(j: number): any {
1134
1301
  switch (j) {
1135
1302
  case 0:
1136
- return S.suspend(() =>
1137
- S.Struct({
1138
- password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1139
- server: S.String,
1140
- username: S.optional(S.String),
1141
- }),
1142
- ).annotate({ identifier: "EnvironmentRegistryInput" });
1143
- case 1:
1144
- return S.Array(__S(352, __c11, 0));
1145
- case 2:
1146
1303
  return S.suspend(() =>
1147
1304
  S.Struct({
1148
1305
  projectId: S.String.pipe(T.Label()),
1149
1306
  region: S.String.pipe(T.Label()),
1150
1307
  environmentId: S.String.pipe(T.Label()),
1151
- registries: __S(353, __c11, 1),
1308
+ registries: __S(673, __c21, 1),
1152
1309
  }).pipe(
1153
1310
  T.Http({
1154
1311
  method: "PATCH",
@@ -1160,24 +1317,15 @@ function __c11(j: number): any {
1160
1317
  ).annotate({ identifier: "UpdateEnvironmentRegistriesRequest" });
1161
1318
  }
1162
1319
  }
1163
- function __c12(j: number): any {
1320
+ function __c16(j: number): any {
1164
1321
  switch (j) {
1165
1322
  case 0:
1166
- return S.suspend(() =>
1167
- S.Struct({
1168
- key: S.String,
1169
- value: S.optional(S.String),
1170
- }),
1171
- ).annotate({ identifier: "EnvironmentSecretInput" });
1172
- case 1:
1173
- return S.Array(__S(384, __c12, 0));
1174
- case 2:
1175
1323
  return S.suspend(() =>
1176
1324
  S.Struct({
1177
1325
  projectId: S.String.pipe(T.Label()),
1178
1326
  region: S.String.pipe(T.Label()),
1179
1327
  environmentId: S.String.pipe(T.Label()),
1180
- secrets: __S(385, __c12, 1),
1328
+ secrets: __S(705, __c22, 1),
1181
1329
  }).pipe(
1182
1330
  T.Http({
1183
1331
  method: "PATCH",
@@ -1189,7 +1337,7 @@ function __c12(j: number): any {
1189
1337
  ).annotate({ identifier: "UpdateEnvironmentSecretsRequest" });
1190
1338
  }
1191
1339
  }
1192
- function __c13(j: number): any {
1340
+ function __c17(j: number): any {
1193
1341
  switch (j) {
1194
1342
  case 0:
1195
1343
  return S.suspend(() =>
@@ -1197,10 +1345,10 @@ function __c13(j: number): any {
1197
1345
  projectId: S.String.pipe(T.Label()),
1198
1346
  region: S.String.pipe(T.Label()),
1199
1347
  environmentId: S.String.pipe(T.Label()),
1200
- containers: __S(484, __c15, 4),
1348
+ containers: __S(612, __c19, 4),
1201
1349
  displayName: S.String,
1202
- network: S.optional(__S(488, __c15, 8)),
1203
- scaling: __S(499, __c15, 19),
1350
+ network: S.optional(__S(616, __c19, 8)),
1351
+ scaling: __S(627, __c19, 19),
1204
1352
  stopped: S.optional(S.Boolean),
1205
1353
  }).pipe(
1206
1354
  T.Http({
@@ -1213,7 +1361,7 @@ function __c13(j: number): any {
1213
1361
  ).annotate({ identifier: "CreateApplicationRequest" });
1214
1362
  }
1215
1363
  }
1216
- function __c14(j: number): any {
1364
+ function __c18(j: number): any {
1217
1365
  switch (j) {
1218
1366
  case 0:
1219
1367
  return S.suspend(() =>
@@ -1230,19 +1378,19 @@ function __c14(j: number): any {
1230
1378
  }),
1231
1379
  ).annotate({ identifier: "ApplicationInstance" });
1232
1380
  case 2:
1233
- return S.Array(__S(449, __c14, 1));
1381
+ return S.Array(__S(577, __c18, 1));
1234
1382
  case 3:
1235
1383
  return S.suspend(() =>
1236
1384
  S.Struct({
1237
1385
  current: S.optional(S.String),
1238
- domains: S.optional(__S(448, __c14, 0)),
1239
- instances: S.optional(__S(450, __c14, 2)),
1386
+ domains: S.optional(__S(576, __c18, 0)),
1387
+ instances: S.optional(__S(578, __c18, 2)),
1240
1388
  lastDeployment: S.optional(S.String),
1241
1389
  }),
1242
1390
  ).annotate({ identifier: "ApplicationStatus" });
1243
1391
  }
1244
1392
  }
1245
- function __c15(j: number): any {
1393
+ function __c19(j: number): any {
1246
1394
  switch (j) {
1247
1395
  case 0:
1248
1396
  return S.Array(S.String);
@@ -1255,21 +1403,21 @@ function __c15(j: number): any {
1255
1403
  }),
1256
1404
  ).annotate({ identifier: "ContainerEnvVar" });
1257
1405
  case 2:
1258
- return S.Array(__S(481, __c15, 1));
1406
+ return S.Array(__S(609, __c19, 1));
1259
1407
  case 3:
1260
1408
  return S.suspend(() =>
1261
1409
  S.Struct({
1262
- args: S.optional(__S(480, __c15, 0)),
1263
- command: S.optional(__S(480, __c15, 0)),
1410
+ args: S.optional(__S(608, __c19, 0)),
1411
+ command: S.optional(__S(608, __c19, 0)),
1264
1412
  cpu: S.optional(S.Number),
1265
- environmentVariables: S.optional(__S(482, __c15, 2)),
1413
+ environmentVariables: S.optional(__S(610, __c19, 2)),
1266
1414
  image: S.String,
1267
1415
  memory: S.optional(S.Number),
1268
1416
  name: S.String,
1269
1417
  }),
1270
1418
  ).annotate({ identifier: "Container" });
1271
1419
  case 4:
1272
- return S.Array(__S(483, __c15, 3));
1420
+ return S.Array(__S(611, __c19, 3));
1273
1421
  case 5:
1274
1422
  return S.suspend(() =>
1275
1423
  S.Struct({
@@ -1280,14 +1428,14 @@ function __c15(j: number): any {
1280
1428
  case 6:
1281
1429
  return S.suspend(() =>
1282
1430
  S.Struct({
1283
- egress: S.optional(__S(480, __c15, 0)),
1284
- ingress: S.optional(__S(480, __c15, 0)),
1431
+ egress: S.optional(__S(608, __c19, 0)),
1432
+ ingress: S.optional(__S(608, __c19, 0)),
1285
1433
  }),
1286
1434
  ).annotate({ identifier: "ApplicationAccessControl" });
1287
1435
  case 7:
1288
1436
  return S.suspend(() =>
1289
1437
  S.Struct({
1290
- accessControl: S.optional(__S(486, __c15, 6)),
1438
+ accessControl: S.optional(__S(614, __c19, 6)),
1291
1439
  enabled: S.Boolean,
1292
1440
  port: S.optional(S.Number),
1293
1441
  }),
@@ -1295,8 +1443,8 @@ function __c15(j: number): any {
1295
1443
  case 8:
1296
1444
  return S.suspend(() =>
1297
1445
  S.Struct({
1298
- internal: S.optional(__S(485, __c15, 5)),
1299
- public: S.optional(__S(487, __c15, 7)),
1446
+ internal: S.optional(__S(613, __c19, 5)),
1447
+ public: S.optional(__S(615, __c19, 7)),
1300
1448
  }),
1301
1449
  ).annotate({ identifier: "ApplicationNetwork" });
1302
1450
  case 9:
@@ -1307,7 +1455,7 @@ function __c15(j: number): any {
1307
1455
  }),
1308
1456
  ).annotate({ identifier: "ApplicationCustomRuleParameter" });
1309
1457
  case 10:
1310
- return S.Array(__S(489, __c15, 9));
1458
+ return S.Array(__S(617, __c19, 9));
1311
1459
  case 11:
1312
1460
  return S.suspend(() =>
1313
1461
  S.Struct({
@@ -1316,12 +1464,12 @@ function __c15(j: number): any {
1316
1464
  }),
1317
1465
  ).annotate({ identifier: "ApplicationCustomRuleSecretMapping" });
1318
1466
  case 12:
1319
- return S.Array(__S(491, __c15, 11));
1467
+ return S.Array(__S(619, __c19, 11));
1320
1468
  case 13:
1321
1469
  return S.suspend(() =>
1322
1470
  S.Struct({
1323
- parameters: S.optional(__S(490, __c15, 10)),
1324
- secretsMapping: S.optional(__S(492, __c15, 12)),
1471
+ parameters: S.optional(__S(618, __c19, 10)),
1472
+ secretsMapping: S.optional(__S(620, __c19, 12)),
1325
1473
  type: S.String,
1326
1474
  }),
1327
1475
  ).annotate({ identifier: "ApplicationCustomScaleRule" });
@@ -1335,21 +1483,21 @@ function __c15(j: number): any {
1335
1483
  case 15:
1336
1484
  return S.suspend(() =>
1337
1485
  S.Struct({
1338
- customRule: S.optional(__S(493, __c15, 13)),
1339
- httpRule: S.optional(__S(494, __c15, 14)),
1486
+ customRule: S.optional(__S(621, __c19, 13)),
1487
+ httpRule: S.optional(__S(622, __c19, 14)),
1340
1488
  name: S.String,
1341
1489
  type: S.String,
1342
1490
  }),
1343
1491
  ).annotate({ identifier: "ApplicationScaleRule" });
1344
1492
  case 16:
1345
- return S.Array(__S(495, __c15, 15));
1493
+ return S.Array(__S(623, __c19, 15));
1346
1494
  case 17:
1347
1495
  return S.suspend(() =>
1348
1496
  S.Struct({
1349
1497
  allowScaleToZero: S.optional(S.Boolean),
1350
1498
  maxInstances: S.Number,
1351
1499
  minInstances: S.Number,
1352
- rules: __S(496, __c15, 16),
1500
+ rules: __S(624, __c19, 16),
1353
1501
  }),
1354
1502
  ).annotate({ identifier: "ApplicationAutoScaling" });
1355
1503
  case 18:
@@ -1361,31 +1509,31 @@ function __c15(j: number): any {
1361
1509
  case 19:
1362
1510
  return S.suspend(() =>
1363
1511
  S.Struct({
1364
- autoScaling: S.optional(__S(497, __c15, 17)),
1365
- manualScaling: S.optional(__S(498, __c15, 18)),
1512
+ autoScaling: S.optional(__S(625, __c19, 17)),
1513
+ manualScaling: S.optional(__S(626, __c19, 18)),
1366
1514
  type: S.String,
1367
1515
  }),
1368
1516
  ).annotate({ identifier: "ApplicationScaling" });
1369
1517
  case 20:
1370
1518
  return S.suspend(() =>
1371
1519
  S.Struct({
1372
- containers: __S(484, __c15, 4),
1520
+ containers: __S(612, __c19, 4),
1373
1521
  createdAt: S.optional(S.String),
1374
1522
  displayName: S.String,
1375
1523
  environmentId: S.optional(S.String),
1376
1524
  environmentName: S.optional(S.String),
1377
1525
  id: S.optional(S.String),
1378
- network: S.optional(__S(488, __c15, 8)),
1526
+ network: S.optional(__S(616, __c19, 8)),
1379
1527
  region: S.optional(S.String),
1380
- scaling: __S(499, __c15, 19),
1381
- status: S.optional(__S(451, __c14, 3)),
1528
+ scaling: __S(627, __c19, 19),
1529
+ status: S.optional(__S(579, __c18, 3)),
1382
1530
  stopped: S.optional(S.Boolean),
1383
1531
  updatedAt: S.optional(S.String),
1384
1532
  }),
1385
1533
  ).annotate({ identifier: "Application" });
1386
1534
  }
1387
1535
  }
1388
- function __c16(j: number): any {
1536
+ function __c20(j: number): any {
1389
1537
  switch (j) {
1390
1538
  case 0:
1391
1539
  return S.suspend(() =>
@@ -1393,6 +1541,8 @@ function __c16(j: number): any {
1393
1541
  projectId: S.String.pipe(T.Label()),
1394
1542
  region: S.String.pipe(T.Label()),
1395
1543
  displayName: S.String,
1544
+ registries: S.optional(__S(673, __c21, 1)),
1545
+ secrets: S.optional(__S(705, __c22, 1)),
1396
1546
  }).pipe(
1397
1547
  T.Http({
1398
1548
  method: "POST",
@@ -1404,7 +1554,34 @@ function __c16(j: number): any {
1404
1554
  ).annotate({ identifier: "CreateEnvironmentRequest" });
1405
1555
  }
1406
1556
  }
1407
- function __c17(j: number): any {
1557
+ function __c21(j: number): any {
1558
+ switch (j) {
1559
+ case 0:
1560
+ return S.suspend(() =>
1561
+ S.Struct({
1562
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1563
+ server: S.String,
1564
+ username: S.optional(S.String),
1565
+ }),
1566
+ ).annotate({ identifier: "EnvironmentRegistryInput" });
1567
+ case 1:
1568
+ return S.Array(__S(672, __c21, 0));
1569
+ }
1570
+ }
1571
+ function __c22(j: number): any {
1572
+ switch (j) {
1573
+ case 0:
1574
+ return S.suspend(() =>
1575
+ S.Struct({
1576
+ key: S.String,
1577
+ value: S.optional(S.String.pipe(T.SensitiveValue({}))),
1578
+ }),
1579
+ ).annotate({ identifier: "EnvironmentSecretInput" });
1580
+ case 1:
1581
+ return S.Array(__S(704, __c22, 0));
1582
+ }
1583
+ }
1584
+ function __c23(j: number): any {
1408
1585
  switch (j) {
1409
1586
  case 0:
1410
1587
  return S.suspend(() =>
@@ -1421,12 +1598,12 @@ function __c17(j: number): any {
1421
1598
  displayName: S.String,
1422
1599
  id: S.optional(S.String),
1423
1600
  region: S.optional(S.String),
1424
- status: S.optional(__S(544, __c17, 0)),
1601
+ status: S.optional(__S(736, __c23, 0)),
1425
1602
  }),
1426
1603
  ).annotate({ identifier: "Environment" });
1427
1604
  }
1428
1605
  }
1429
- function __c18(j: number): any {
1606
+ function __c24(j: number): any {
1430
1607
  switch (j) {
1431
1608
  case 0:
1432
1609
  return S.suspend(() =>
@@ -1446,7 +1623,7 @@ function __c18(j: number): any {
1446
1623
  ).annotate({ identifier: "DeleteApplicationRequest" });
1447
1624
  }
1448
1625
  }
1449
- function __c19(j: number): any {
1626
+ function __c25(j: number): any {
1450
1627
  switch (j) {
1451
1628
  case 0:
1452
1629
  return S.suspend(() =>
@@ -1466,7 +1643,7 @@ function __c19(j: number): any {
1466
1643
  ).annotate({ identifier: "GetApplicationRequest" });
1467
1644
  }
1468
1645
  }
1469
- function __c20(j: number): any {
1646
+ function __c26(j: number): any {
1470
1647
  switch (j) {
1471
1648
  case 0:
1472
1649
  return S.suspend(() =>
@@ -1487,12 +1664,12 @@ function __c20(j: number): any {
1487
1664
  case 1:
1488
1665
  return S.suspend(() =>
1489
1666
  S.Struct({
1490
- events: S.optional(__S(673, __c21, 1)),
1667
+ events: S.optional(__S(865, __c27, 1)),
1491
1668
  }),
1492
1669
  ).annotate({ identifier: "GetApplicationEventsResponse" });
1493
1670
  }
1494
1671
  }
1495
- function __c21(j: number): any {
1672
+ function __c27(j: number): any {
1496
1673
  switch (j) {
1497
1674
  case 0:
1498
1675
  return S.suspend(() =>
@@ -1501,10 +1678,10 @@ function __c21(j: number): any {
1501
1678
  }),
1502
1679
  ).annotate({ identifier: "ApplicationEvent" });
1503
1680
  case 1:
1504
- return S.Array(__S(672, __c21, 0));
1681
+ return S.Array(__S(864, __c27, 0));
1505
1682
  }
1506
1683
  }
1507
- function __c22(j: number): any {
1684
+ function __c28(j: number): any {
1508
1685
  switch (j) {
1509
1686
  case 0:
1510
1687
  return S.suspend(() =>
@@ -1528,12 +1705,12 @@ function __c22(j: number): any {
1528
1705
  case 1:
1529
1706
  return S.suspend(() =>
1530
1707
  S.Struct({
1531
- logs: S.optional(__S(673, __c21, 1)),
1708
+ logs: S.optional(__S(865, __c27, 1)),
1532
1709
  }),
1533
1710
  ).annotate({ identifier: "GetApplicationLogsResponse" });
1534
1711
  }
1535
1712
  }
1536
- function __c23(j: number): any {
1713
+ function __c29(j: number): any {
1537
1714
  switch (j) {
1538
1715
  case 0:
1539
1716
  return S.suspend(() =>