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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -13,6 +13,19 @@ const __s: any[] = [];
13
13
 
14
14
  export type { StackitOpError, StackitOpContext };
15
15
 
16
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
17
+ const TELEMETRY = {
18
+ system: "stackit-api",
19
+ responseHeaders: [
20
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
21
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
22
+ ],
23
+ prefix: "STACKIT",
24
+ service: "Sca",
25
+ labels: "stackit",
26
+ propagate: "w3c",
27
+ } as const;
28
+
16
29
  export class BadRequest
17
30
  extends /*@__PURE__*/ T.applyErrorMatchers(
18
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -45,256 +58,257 @@ export type ContainerArgsList = Array<string>;
45
58
  /** Container command override. */
46
59
  export type ContainerCommandList = Array<string>;
47
60
  /** EnvVarType identifies the origin of an environment variable. - ENV_FROM_SOURCE_TYPE_UNSPECIFIED: Used as zero value. - ENV_FROM_SOURCE_TYPE_MANUAL: Environment source from a literal value. - ENV_FROM_SOURCE_TYPE_SECRET: Environment source from a secret. */
48
- export type EnvVarType =
61
+ export type ContainerEnvVarType =
49
62
  | "ENV_FROM_SOURCE_TYPE_UNSPECIFIED"
50
63
  | "ENV_FROM_SOURCE_TYPE_MANUAL"
51
64
  | "ENV_FROM_SOURCE_TYPE_SECRET";
52
65
  /** EnvVar defines a single environment variable. */
53
- export interface EnvVar {
66
+ export interface ContainerEnvVar {
54
67
  /** Environment variable key. */
55
68
  key: string;
56
- origin?: EnvVarType | (string & {});
69
+ origin?: ContainerEnvVarType | (string & {}) | undefined;
57
70
  /** Environment variable value. */
58
71
  value: string;
59
72
  }
60
73
  /** Environment variables exposed to the container. */
61
- export type ContainerEnvironmentVariablesList = Array<EnvVar>;
74
+ export type ContainerEnvironmentVariablesList = Array<ContainerEnvVar>;
62
75
  /** Container describes a simplified container configuration for the application. */
63
76
  export interface Container {
64
77
  /** Container argument override. */
65
- args?: ContainerArgsList;
78
+ args?: ContainerArgsList | undefined;
66
79
  /** Container command override. */
67
- command?: ContainerCommandList;
80
+ command?: ContainerCommandList | undefined;
68
81
  /** CPU limit for the container. */
69
- cpu?: number;
82
+ cpu?: number | undefined;
70
83
  /** Environment variables exposed to the container. */
71
- environmentVariables?: ContainerEnvironmentVariablesList;
84
+ environmentVariables?: ContainerEnvironmentVariablesList | undefined;
72
85
  /** Container image configuration. */
73
86
  image: string;
74
87
  /** Memory limit for the container. */
75
- memory?: number;
88
+ memory?: number | undefined;
76
89
  /** Container name. */
77
90
  name: string;
78
91
  }
79
92
  /** Containers to deploy for the application. */
80
93
  export type CreateApplicationRequestContainersList = Array<Container>;
81
- /** Allowed destination CIDRs for Ingress traffic. */
82
- export type NetworkIngressAclList = Array<string>;
94
+ export interface ApplicationInternalNetwork {
95
+ /** Enable or disable internal networking. */
96
+ enabled: boolean;
97
+ /** Port to expose the application internally. */
98
+ port?: number | undefined;
99
+ }
100
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
101
+ export type ApplicationAccessControlEgressList = Array<string>;
102
+ /** List of IPv4 CIDR ranges allowed to access the application. */
103
+ export type ApplicationAccessControlIngressList = Array<string>;
104
+ export interface ApplicationAccessControl {
105
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
106
+ egress?: ApplicationAccessControlEgressList | undefined;
107
+ /** List of IPv4 CIDR ranges allowed to access the application. */
108
+ ingress?: ApplicationAccessControlIngressList | undefined;
109
+ }
110
+ export interface ApplicationPublicNetwork {
111
+ accessControl?: ApplicationAccessControl | undefined;
112
+ /** Enable or disable public networking. */
113
+ enabled: boolean;
114
+ /** Port to expose the application. */
115
+ port?: number | undefined;
116
+ }
83
117
  /** Network configuration for an application. */
84
- export interface Network {
85
- /** Allowed destination CIDRs for Ingress traffic. */
86
- ingressAcl?: NetworkIngressAclList;
87
- /** Internal port number for inter application communication. */
88
- internalPort?: number;
89
- /** Port number. */
90
- port?: number;
91
- /** Whether the application should be accessible from the internet. */
92
- publicIngress?: boolean;
93
- }
94
- export interface ApplicationRegistryCredentialsAuth {
95
- /** Password to authenticate to the registry. Omit or set to null to indicate deletion in updates. */
96
- password?: string | Redacted.Redacted<string>;
97
- url: string;
98
- user: string;
99
- }
100
- export type ApplicationRegistryAuthType = "AUTH_TYPE_NONE" | "AUTH_TYPE_CREDENTIALS";
101
- export interface ApplicationRegistry {
102
- credentials?: ApplicationRegistryCredentialsAuth;
103
- type: ApplicationRegistryAuthType | (string & {});
104
- }
105
- /** Image registry configuration for the application. */
106
- export type CreateApplicationRequestRegistryList = Array<ApplicationRegistry>;
107
- /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Applications replicas are being created. - CURRENT_STATUS_RUNNING: Application is ready and has the desired replicas running. - CURRENT_STATUS_FAILED: Application is not available and has some error. - CURRENT_STATUS_IDLE: Application is ready but is scaled to 0 replicas. - CURRENT_STATUS_NONE: Application is stopped. */
108
- export type CurrentStatus =
109
- | "CURRENT_STATUS_UNSPECIFIED"
110
- | "CURRENT_STATUS_PROGRESSING"
111
- | "CURRENT_STATUS_RUNNING"
112
- | "CURRENT_STATUS_FAILED"
113
- | "CURRENT_STATUS_IDLE"
114
- | "CURRENT_STATUS_NONE";
115
- export interface RuntimeStatusInput {
116
- currentStatus?: CurrentStatus | (string & {});
118
+ export interface ApplicationNetwork {
119
+ internal?: ApplicationInternalNetwork | undefined;
120
+ public?: ApplicationPublicNetwork | undefined;
117
121
  }
118
- /** CustomRuleParameter defines a single scaler parameter. */
119
- export interface CustomRuleParameter {
122
+ /** CustomRuleParameter defines a single scaler parameter from KEDA Scaler metadata configuration. */
123
+ export interface ApplicationCustomRuleParameter {
124
+ /** Parameter name/key from KEDA metadata parameters. */
120
125
  name: string;
126
+ /** Parameter value for KEDA metadata key. */
121
127
  value: string;
122
128
  }
123
129
  /** Scaler parameters. */
124
- export type CustomScaleRuleParametersList = Array<CustomRuleParameter>;
130
+ export type ApplicationCustomScaleRuleParametersList = Array<ApplicationCustomRuleParameter>;
125
131
  /** CustomRuleSecretMapping maps a scaler parameter to an environment secret. */
126
- export interface CustomRuleSecretMapping {
132
+ export interface ApplicationCustomRuleSecretMapping {
127
133
  /** Secret parameter name. */
128
134
  parameter: string;
129
135
  /** Environment secret name. */
130
136
  secret: string | Redacted.Redacted<string>;
131
137
  }
132
138
  /** Secret mappings for the scaler. */
133
- export type CustomScaleRuleSecretsMappingList = Array<CustomRuleSecretMapping>;
134
- /** CustomScaleRule defines parameters for custom scalers (e.g., KEDA). */
135
- export interface CustomScaleRule {
139
+ export type ApplicationCustomScaleRuleSecretsMappingList =
140
+ Array<ApplicationCustomRuleSecretMapping>;
141
+ /** CustomScaleRule defines parameters for KEDA Scalers. */
142
+ export interface ApplicationCustomScaleRule {
136
143
  /** Scaler parameters. */
137
- parameters?: CustomScaleRuleParametersList;
144
+ parameters?: ApplicationCustomScaleRuleParametersList | undefined;
138
145
  /** Secret mappings for the scaler. */
139
- secretsMapping?: CustomScaleRuleSecretsMappingList;
146
+ secretsMapping?: ApplicationCustomScaleRuleSecretsMappingList | undefined;
140
147
  /** Scaler type. */
141
148
  type: string;
142
149
  }
143
150
  /** HttpScaleRule defines parameters for HTTP-based scaling. */
144
- export interface HttpScaleRule {
151
+ export interface ApplicationHttpScaleRule {
145
152
  /** Target concurrency per instance. */
146
- concurrency?: number;
153
+ concurrency?: number | undefined;
147
154
  /** Target requests per second per instance. */
148
- rps?: number;
155
+ rps?: number | undefined;
149
156
  }
150
157
  /** - RULE_TYPE_UNSPECIFIED: Used as zero value. - RULE_TYPE_HTTP: HTTP scaling rule. - RULE_TYPE_CUSTOM: Custom scaling rule (e.g. KEDA). */
151
- export type RuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
158
+ export type ApplicationRuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
152
159
  /** ScaleRule defines one autoscaling trigger. */
153
- export interface ScaleRule {
154
- customRule?: CustomScaleRule;
155
- httpRule?: HttpScaleRule;
160
+ export interface ApplicationScaleRule {
161
+ customRule?: ApplicationCustomScaleRule | undefined;
162
+ httpRule?: ApplicationHttpScaleRule | undefined;
156
163
  /** Rule name. */
157
164
  name: string;
158
- type: RuleType | (string & {});
165
+ type: ApplicationRuleType | (string & {});
159
166
  }
160
167
  /** Scaling rules. */
161
- export type AutoScalingRulesList = Array<ScaleRule>;
168
+ export type ApplicationAutoScalingRulesList = Array<ApplicationScaleRule>;
162
169
  /** AutoScaling configuration. */
163
- export interface AutoScaling {
170
+ export interface ApplicationAutoScaling {
164
171
  /** Allow automatically scale to zero. */
165
- allowScaleToZero?: boolean;
172
+ allowScaleToZero?: boolean | undefined;
166
173
  /** Maximum number of instances. */
167
174
  maxInstances: number;
168
175
  /** Minimum number of instances. */
169
176
  minInstances: number;
170
177
  /** Scaling rules. */
171
- rules: AutoScalingRulesList;
178
+ rules: ApplicationAutoScalingRulesList;
172
179
  }
173
180
  /** ManualScaling configuration. */
174
- export interface ManualScaling {
181
+ export interface ApplicationManualScaling {
175
182
  /** Number of instances to run. */
176
183
  instances: number;
177
184
  }
178
- /** - SCALING_TYPE_UNSPECIFIED: Used as zero value. - SCALING_TYPE_AUTO: Auto scaling based on rules. - SCALING_TYPE_MANUAL: Manual scaling with fixed number of instances. */
179
- export type ScalingType = "SCALING_TYPE_UNSPECIFIED" | "SCALING_TYPE_AUTO" | "SCALING_TYPE_MANUAL";
185
+ /** ScalingType for the scaling configuration of the application. - SCALING_TYPE_UNSPECIFIED: Used as zero value. - SCALING_TYPE_AUTO: Auto scaling based on rules. - SCALING_TYPE_MANUAL: Manual scaling with fixed number of instances. */
186
+ export type ApplicationScalingType =
187
+ | "SCALING_TYPE_UNSPECIFIED"
188
+ | "SCALING_TYPE_AUTO"
189
+ | "SCALING_TYPE_MANUAL";
180
190
  /** Scaling configuration for the application. */
181
- export interface Scaling {
182
- autoScaling?: AutoScaling;
183
- manualScaling?: ManualScaling;
184
- type: ScalingType | (string & {});
191
+ export interface ApplicationScaling {
192
+ autoScaling?: ApplicationAutoScaling | undefined;
193
+ manualScaling?: ApplicationManualScaling | undefined;
194
+ type: ApplicationScalingType | (string & {});
185
195
  }
186
- /** ApplicationSecret defines a single secret key-value pair. */
187
- export interface ApplicationSecret {
188
- /** Secret key. */
189
- key: string;
190
- /** Secret value. Omit or set to null to keep the existing value unchanged. */
191
- value?: string;
192
- }
193
- /** Secrets associated with the application. */
194
- export type CreateApplicationRequestSecretsList = Array<ApplicationSecret>;
195
196
  export interface CreateApplicationRequest {
196
197
  /** Project to create the application in. */
197
198
  projectId: string;
198
- /** environment to create the application in. */
199
+ /** Region to create the application in. */
200
+ region: string;
201
+ /** Environment to create the application in. */
199
202
  environmentId: string;
200
203
  /** Containers to deploy for the application. */
201
204
  containers: CreateApplicationRequestContainersList;
202
205
  /** Human-readable display name. */
203
206
  displayName: string;
204
- network?: Network;
205
- /** Image registry configuration for the application. */
206
- registry?: CreateApplicationRequestRegistryList;
207
- runtimeStatus?: RuntimeStatusInput;
208
- scaling: Scaling;
209
- /** Secrets associated with the application. */
210
- secrets?: CreateApplicationRequestSecretsList;
207
+ network?: ApplicationNetwork | undefined;
208
+ scaling: ApplicationScaling;
211
209
  /** Indicates if the application resources are stopped. */
212
- stopped?: boolean;
210
+ stopped?: boolean | undefined;
213
211
  }
214
212
  /** Containers to deploy for the application. */
215
213
  export type ApplicationContainersList = Array<Container>;
216
- /** Image registry configuration for the application. */
217
- export type ApplicationRegistryList = Array<ApplicationRegistry>;
218
- /** Failure reasons collected from workload conditions. */
219
- export type RuntimeStatusFailureReasonsList = Array<string>;
214
+ /** Current status of the application. - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Applications replicas are being created. - CURRENT_STATUS_RUNNING: Application is ready and has the desired replicas running. - CURRENT_STATUS_FAILED: Application is not available and has some error. - CURRENT_STATUS_IDLE: Application is ready but is scaled to 0 replicas. - CURRENT_STATUS_NONE: Application is stopped. */
215
+ export type ApplicationCurrentStatus =
216
+ | "CURRENT_STATUS_UNSPECIFIED"
217
+ | "CURRENT_STATUS_PROGRESSING"
218
+ | "CURRENT_STATUS_RUNNING"
219
+ | "CURRENT_STATUS_FAILED"
220
+ | "CURRENT_STATUS_IDLE"
221
+ | "CURRENT_STATUS_NONE";
222
+ /** List of application domains. */
223
+ export interface ApplicationDomains {
224
+ /** Default domain for the application. */
225
+ default?: string | undefined;
226
+ /** Internal domain for the application. */
227
+ internal?: string | undefined;
228
+ }
220
229
  /** - INSTANCE_STATUS_PROGRESSING: Instance is being created. - INSTANCE_STATUS_RUNNING: Instance is available and running. - INSTANCE_STATUS_FAILED: Instance is not available and has some error. */
221
- export type InstanceStatus =
230
+ export type ApplicationInstanceStatus =
222
231
  | "INSTANCE_STATUS_PROGRESSING"
223
232
  | "INSTANCE_STATUS_RUNNING"
224
233
  | "INSTANCE_STATUS_FAILED";
225
234
  /** Application instance summary. */
226
- export interface Instance {
235
+ export interface ApplicationInstance {
227
236
  /** Instance's name. */
228
- name?: string;
229
- status?: InstanceStatus;
230
- }
231
- export type RuntimeStatusInstancesList = Array<Instance>;
232
- /** Known URLs for the running application. */
233
- export type RuntimeStatusUrlsList = Array<string>;
234
- export interface RuntimeStatus {
235
- currentStatus?: CurrentStatus;
236
- /** Failure reasons collected from workload conditions. */
237
- failureReasons?: RuntimeStatusFailureReasonsList;
238
- instances?: RuntimeStatusInstancesList;
239
- /** Internal URL for the running application. */
240
- internalUrl?: string;
237
+ name?: string | undefined;
238
+ status?: ApplicationInstanceStatus | undefined;
239
+ }
240
+ export type ApplicationStatusInstancesList = Array<ApplicationInstance>;
241
+ /** Status of the application. */
242
+ export interface ApplicationStatus {
243
+ current?: ApplicationCurrentStatus | undefined;
244
+ domains?: ApplicationDomains | undefined;
245
+ instances?: ApplicationStatusInstancesList | undefined;
241
246
  /** Last time the application was deployed. */
242
- lastDeployment?: string;
243
- /** Known URLs for the running application. */
244
- urls?: RuntimeStatusUrlsList;
247
+ lastDeployment?: string | undefined;
245
248
  }
246
- /** Secrets associated with the application. */
247
- export type ApplicationSecretsList = Array<ApplicationSecret>;
248
249
  /** Application describes a deployable multi-container workload instance. */
249
250
  export interface Application {
250
251
  /** Containers to deploy for the application. */
251
252
  containers: ApplicationContainersList;
253
+ /** Creation date in RFC3339 format. */
254
+ createdAt?: string | undefined;
252
255
  /** Human-readable display name. */
253
256
  displayName: string;
254
- /** Application environment ID. */
255
- environmentId?: string;
256
- /** Application human-readable display name. */
257
- environmentName?: string;
258
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
259
- id?: string;
260
- network?: Network;
261
- /** Image registry configuration for the application. */
262
- registry?: ApplicationRegistryList;
263
- runtimeStatus?: RuntimeStatus;
264
- scaling: Scaling;
265
- /** Secrets associated with the application. */
266
- secrets?: ApplicationSecretsList;
257
+ /** Environment identifier where the application belongs. */
258
+ environmentId?: string | undefined;
259
+ /** Environment human-readable display name. */
260
+ environmentName?: string | undefined;
261
+ /** Application identifier. */
262
+ id?: string | undefined;
263
+ network?: ApplicationNetwork | undefined;
264
+ /** Region of the environment. */
265
+ region?: string | undefined;
266
+ scaling: ApplicationScaling;
267
+ status?: ApplicationStatus | undefined;
267
268
  /** Indicates if the application resources are stopped. */
268
- stopped?: boolean;
269
+ stopped?: boolean | undefined;
270
+ /** Last update date in RFC3339 format. */
271
+ updatedAt?: string | undefined;
269
272
  }
270
- /** - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value. - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created. - ENVIRONMENT_STATUS_CREATED: Environment is successfully created. */
271
- export type EnvironmentStatus =
272
- | "ENVIRONMENT_STATUS_UNSPECIFIED"
273
- | "ENVIRONMENT_STATUS_PROGRESSING"
274
- | "ENVIRONMENT_STATUS_CREATED";
275
273
  export interface CreateEnvironmentRequest {
276
- /** Parent project resource name to create under */
274
+ /** Project to create the environment */
277
275
  projectId: string;
276
+ /** Region to place the environment */
277
+ region: string;
278
278
  /** Human-readable display name. */
279
279
  displayName: string;
280
- status?: EnvironmentStatus | (string & {});
280
+ }
281
+ /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Environment is being created. - CURRENT_STATUS_CREATED: Environment is successfully created. */
282
+ export type EnvironmentCurrentStatus =
283
+ | "CURRENT_STATUS_UNSPECIFIED"
284
+ | "CURRENT_STATUS_PROGRESSING"
285
+ | "CURRENT_STATUS_CREATED";
286
+ /** Status of the environment. */
287
+ export interface EnvironmentStatus {
288
+ /** Amount of applications in the environment. */
289
+ applicationsNumber?: number | undefined;
290
+ current?: EnvironmentCurrentStatus | undefined;
281
291
  }
282
292
  /** Environment describes an isolated container scope within a project. */
283
293
  export interface Environment {
284
294
  /** Creation date in RFC3339 format. */
285
- createdAt?: string;
295
+ createdAt?: string | undefined;
286
296
  /** Is the default environmet. */
287
- default?: boolean;
297
+ default?: boolean | undefined;
288
298
  /** Human-readable display name. */
289
299
  displayName: string;
290
- /** Environment identifier, for example: default. */
291
- id?: string;
292
- status?: EnvironmentStatus;
300
+ /** Environment identifier. */
301
+ id?: string | undefined;
302
+ /** Region of the environment. */
303
+ region?: string | undefined;
304
+ status?: EnvironmentStatus | undefined;
293
305
  }
294
306
  export interface DeleteApplicationRequest {
295
307
  /** Project to delete the application in. */
296
308
  projectId: string;
297
- /** environment to delete the application in. */
309
+ /** Region to delete the application in. */
310
+ region: string;
311
+ /** Environment to delete the application in. */
298
312
  environmentId: string;
299
313
  /** Application id to delete. */
300
314
  applicationId: string;
@@ -302,182 +316,311 @@ export interface DeleteApplicationRequest {
302
316
  export interface GetApplicationRequest {
303
317
  /** Project to fetch the application from. */
304
318
  projectId: string;
305
- /** environment to fetch the application from. */
319
+ /** Region to fetch the application from. */
320
+ region: string;
321
+ /** Environment to fetch the application from. */
306
322
  environmentId: string;
307
323
  /** Application id to fetch. */
308
324
  applicationId: string;
309
325
  }
310
326
  export interface GetApplicationEventsRequest {
311
- /** Project to fetch the application from. */
327
+ /** Project to fetch the application events from. */
312
328
  projectId: string;
313
- /** Environment to fetch the application from. */
329
+ /** Region to fetch the application events from. */
330
+ region: string;
331
+ /** Environment to fetch the application events from. */
314
332
  environmentId: string;
315
- /** Application id to fetch. */
333
+ /** Application id to fetch the events. */
316
334
  applicationId: string;
317
335
  }
318
336
  /** Event defines an event line. */
319
- export interface Event {
337
+ export interface ApplicationEvent {
320
338
  /** Event message. */
321
- message?: string;
339
+ message?: string | undefined;
322
340
  }
323
341
  /** Events list. */
324
- export type GetApplicationEventsResponseEventsList = Array<Event>;
342
+ export type GetApplicationEventsResponseEventsList = Array<ApplicationEvent>;
325
343
  /** GetApplicationEventsResponse contains an application's events list. */
326
344
  export interface GetApplicationEventsResponse {
327
345
  /** Events list. */
328
- events?: GetApplicationEventsResponseEventsList;
346
+ events?: GetApplicationEventsResponseEventsList | undefined;
329
347
  }
330
348
  export interface GetApplicationLogsRequest {
331
- /** Project to fetch the application from. */
349
+ /** Project to fetch the application logs from. */
332
350
  projectId: string;
333
- /** Environment to fetch the application from. */
351
+ /** Region to fetch the application logs from. */
352
+ region: string;
353
+ /** Environment to fetch the application logs from. */
334
354
  environmentId: string;
335
- /** Application id to fetch. */
355
+ /** Application id to fetch the logs. */
336
356
  applicationId: string;
337
357
  /** Instance name of the application. */
338
358
  instance: string;
339
359
  /** Container name to collect logs. */
340
360
  container: string;
341
361
  /** Get previous failed execution of the container. */
342
- previous?: boolean;
362
+ previous?: boolean | undefined;
343
363
  }
344
364
  /** Log defines a log line. */
345
- export interface Log {
365
+ export interface ApplicationLog {
346
366
  /** Log message. */
347
- message?: string;
367
+ message?: string | undefined;
348
368
  }
349
369
  /** Logs list. */
350
- export type GetApplicationLogsResponseLogsList = Array<Log>;
370
+ export type GetApplicationLogsResponseLogsList = Array<ApplicationLog>;
351
371
  /** GetApplicationLogsResponse contains an application's logs list. */
352
372
  export interface GetApplicationLogsResponse {
353
373
  /** Logs list. */
354
- logs?: GetApplicationLogsResponseLogsList;
374
+ logs?: GetApplicationLogsResponseLogsList | undefined;
355
375
  }
356
376
  export interface GetEnvironmentRequest {
357
- /** Parent project resource name to fetch under. */
377
+ /** Project to retrieve the environment */
358
378
  projectId: string;
379
+ /** Region to fetch the environment */
380
+ region: string;
359
381
  /** Environment identifier, for example: default. */
360
382
  environmentId: string;
361
383
  }
362
384
  export interface GetOverviewRequest {
363
- /** Parent project resource name to list under. */
385
+ /** Project to fetch the overview from. */
364
386
  projectId: string;
387
+ /** Region to fetch the overview from. */
388
+ region: string;
365
389
  }
366
390
  /** Summary describes the current status of a project. */
367
- export interface Summary {
391
+ export interface OverviewSummary {
368
392
  /** Number of applications running in a project. */
369
- applicationsRunning?: number;
393
+ applicationsRunning?: number | undefined;
370
394
  /** Number of applications created in a project. */
371
- applicationsTotal?: number;
395
+ applicationsTotal?: number | undefined;
372
396
  }
373
397
  /** GetOverviewResponse contains a summary of the current state of the project's application. */
374
398
  export interface GetOverviewResponse {
375
- summary: Summary;
399
+ /** Region where the overview is being fetched from. */
400
+ region?: string | undefined;
401
+ summary?: OverviewSummary | undefined;
376
402
  }
377
403
  export interface ListApplicationsRequest {
378
- /** Project to list the applications in. */
404
+ /** Project to list the applications from. */
379
405
  projectId: string;
380
- /** environment to list the applications in. */
406
+ /** Region to list the applications from. */
407
+ region: string;
408
+ /** Environment to list the applications from. */
381
409
  environmentId: string;
382
410
  }
383
- /** ApplicationSummary describes a summary of an application. */
411
+ /** ApplicationSummary describes a briefer representation of an application. */
384
412
  export interface ApplicationSummary {
385
- /** Number of containers. */
386
- containers?: number;
387
413
  /** Creation date in RFC3339 format. */
388
- createdAt?: string;
389
- /** Application's human-readable name. */
390
- displayName?: string;
391
- /** Environment's identifier. */
392
- environmentId?: string;
393
- /** Environment's human-readable name. */
394
- environmentName?: string;
395
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
396
- id?: string;
397
- /** Application's running instances. */
398
- instances?: number;
399
- /** Application's internal URL. */
400
- internalUrl?: string;
401
- /** Date of the last moment the application got the running status in RFC3339 format. */
402
- lastDeployment?: string;
403
- status?: CurrentStatus;
414
+ createdAt?: string | undefined;
415
+ /** Human-readable display name. */
416
+ displayName?: string | undefined;
417
+ /** Environment identifier where the application belongs. */
418
+ environmentId?: string | undefined;
419
+ /** Environment human-readable display name. */
420
+ environmentName?: string | undefined;
421
+ /** Application identifier. */
422
+ id?: string | undefined;
423
+ /** Region of the environment. */
424
+ region?: string | undefined;
425
+ status?: ApplicationStatus | undefined;
404
426
  /** Indicates if the application resources are stopped. */
405
- stopped?: boolean;
406
- /** Application's published URL. */
407
- url?: string;
427
+ stopped?: boolean | undefined;
428
+ /** Last update date in RFC3339 format. */
429
+ updatedAt?: string | undefined;
408
430
  }
409
- /** Applications under the requested parent. */
431
+ /** Applications summaries under the requested parent. */
410
432
  export type ListApplicationsResponseItemsList = Array<ApplicationSummary>;
411
433
  /** ListApplicationsResponse contains applications and pagination metadata. */
412
434
  export interface ListApplicationsResponse {
413
- /** Applications under the requested parent. */
414
- items?: ListApplicationsResponseItemsList;
435
+ /** Applications summaries under the requested parent. */
436
+ items?: ListApplicationsResponseItemsList | undefined;
415
437
  }
416
- export interface ListEnvironmentsRequest {
417
- /** Parent project resource name to list under. */
438
+ export interface ListEnvironmentRegistriesRequest {
439
+ /** Project to fetch the environment registries from. */
418
440
  projectId: string;
441
+ /** Region to fetch the environment registries from. */
442
+ region: string;
443
+ /** Environment to fetch the environment registries from. */
444
+ environmentId: string;
419
445
  }
420
- /** Environment summary. */
421
- export interface EnvironmentSummary {
422
- /** Amount of applications in the environment. */
423
- applicationsNumber?: number;
424
- /** Creation date in RFC3339 format. */
425
- createdAt?: string;
426
- /** Is the default environmet. */
427
- default?: boolean;
428
- /** Human-readable display name. */
429
- displayName?: string;
430
- /** Environment identifier, for example: default. */
431
- id?: string;
446
+ /** RegistryConsumer lists the usages of a single Environment registry. */
447
+ export interface RegistryConsumer {
448
+ /** The container where the registry is used. */
449
+ container?: string | undefined;
450
+ /** The display name of the entity. */
451
+ displayName?: string | undefined;
452
+ /** The entity that is consuming the registry. */
453
+ id?: string | undefined;
454
+ }
455
+ /** List of entities actively consuming this registry. */
456
+ export type EnvironmentRegistryStatusConsumersList = Array<RegistryConsumer>;
457
+ /** EnvironmentRegistryStatus computed fields for a single registry. */
458
+ export interface EnvironmentRegistryStatus {
459
+ /** List of entities actively consuming this registry. */
460
+ consumers?: EnvironmentRegistryStatusConsumersList | undefined;
461
+ }
462
+ /** EnvironmentRegistry defines a single registry representation. */
463
+ export interface EnvironmentRegistry {
464
+ /** Creation timestamp of this registry entry. */
465
+ createdAt?: string | undefined;
466
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
467
+ password?: string | Redacted.Redacted<string> | undefined;
468
+ /** Registry region. */
469
+ region?: string | undefined;
470
+ /** Registry server. */
471
+ server: string;
472
+ status?: EnvironmentRegistryStatus | undefined;
473
+ /** Last update timestamp of this registry entry. */
474
+ updatedAt?: string | undefined;
475
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
476
+ username?: string | undefined;
477
+ }
478
+ /** The collection of configured registries. */
479
+ export type EnvironmentRegistriesVaultRegistriesList = Array<EnvironmentRegistry>;
480
+ /** Represents the collection Environment registries. */
481
+ export interface EnvironmentRegistriesVault {
482
+ /** The collection of configured registries. */
483
+ registries: EnvironmentRegistriesVaultRegistriesList;
484
+ }
485
+ export interface ListEnvironmentsRequest {
486
+ /** Project to list environments from. */
487
+ projectId: string;
488
+ /** Region to fetch the environments from. */
489
+ region: string;
432
490
  }
433
491
  /** Environments under the requested parent. */
434
- export type ListEnvironmentsResponseItemsList = Array<EnvironmentSummary>;
492
+ export type ListEnvironmentsResponseItemsList = Array<Environment>;
435
493
  /** ListEnvironmentsResponse contains environments and pagination metadata. */
436
494
  export interface ListEnvironmentsResponse {
437
495
  /** Environments under the requested parent. */
438
- items?: ListEnvironmentsResponseItemsList;
496
+ items?: ListEnvironmentsResponseItemsList | undefined;
497
+ }
498
+ export interface ListEnvironmentSecretsRequest {
499
+ /** Project to fetch the environment secrets from. */
500
+ projectId: string;
501
+ /** Region to fetch the environment secrets from. */
502
+ region: string;
503
+ /** Environment to fetch the environment secrets from. */
504
+ environmentId: string;
505
+ }
506
+ /** SecretConsumer lists the usages of a single Environment secret. */
507
+ export interface SecretConsumer {
508
+ /** The container where the secret is used. */
509
+ container?: string | undefined;
510
+ /** The display name of the entity. */
511
+ displayName?: string | undefined;
512
+ /** The entity that is consuming the secret. */
513
+ id?: string | undefined;
514
+ }
515
+ /** List of entities actively consuming this secret. */
516
+ export type EnvironmentSecretStatusConsumersList = Array<SecretConsumer>;
517
+ /** EnvironmentSecretStatus computed fields for a single secret. */
518
+ export interface EnvironmentSecretStatus {
519
+ /** List of entities actively consuming this secret. */
520
+ consumers?: EnvironmentSecretStatusConsumersList | undefined;
521
+ }
522
+ /** EnvironmentSecret defines a single secret representation. */
523
+ export interface EnvironmentSecret {
524
+ /** Creation timestamp of this registry entry. */
525
+ createdAt?: string | undefined;
526
+ /** Secret key. */
527
+ key: string;
528
+ /** Secret region. */
529
+ region?: string | undefined;
530
+ status?: EnvironmentSecretStatus | undefined;
531
+ /** Last update timestamp of this registry entry. */
532
+ updatedAt?: string | undefined;
533
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
534
+ value?: string | undefined;
535
+ }
536
+ /** The collection of configured secrets. */
537
+ export type EnvironmentSecretsVaultSecretsList = Array<EnvironmentSecret>;
538
+ /** Represents the vault containing the Environment secrets. */
539
+ export interface EnvironmentSecretsVault {
540
+ /** The collection of configured secrets. */
541
+ secrets: EnvironmentSecretsVaultSecretsList;
439
542
  }
440
543
  export interface ListProjectApplicationsRequest {
441
544
  /** Project to list the applications in. */
442
545
  projectId: string;
546
+ /** Region to list the applications from. */
547
+ region: string;
443
548
  }
444
549
  /** Containers to deploy for the application. */
445
550
  export type UpdateApplicationRequestContainersList = Array<Container>;
446
- /** Image registry configuration for the application. */
447
- export type UpdateApplicationRequestRegistryList = Array<ApplicationRegistry>;
448
- /** Secrets associated with the application. */
449
- export type UpdateApplicationRequestSecretsList = Array<ApplicationSecret>;
450
551
  export interface UpdateApplicationRequest {
451
552
  /** Project to update the application in. */
452
553
  projectId: string;
453
- /** environment to update the application in. */
554
+ /** Region to update the application in. */
555
+ region: string;
556
+ /** Environment to update the application in. */
454
557
  environmentId: string;
455
558
  /** Application id to update. */
456
559
  applicationId: string;
457
560
  /** Containers to deploy for the application. */
458
- containers?: UpdateApplicationRequestContainersList;
459
- network?: Network;
460
- /** Image registry configuration for the application. */
461
- registry?: UpdateApplicationRequestRegistryList;
462
- scaling?: Scaling;
463
- /** Secrets associated with the application. */
464
- secrets?: UpdateApplicationRequestSecretsList;
561
+ containers: UpdateApplicationRequestContainersList;
562
+ /** Human-readable display name. */
563
+ displayName: string;
564
+ network?: ApplicationNetwork | undefined;
565
+ scaling: ApplicationScaling;
465
566
  /** Indicates if the application resources are stopped. */
466
- stopped?: boolean;
567
+ stopped?: boolean | undefined;
568
+ }
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
+ /** The collection of configured registries. */
579
+ export type UpdateEnvironmentRegistriesRequestRegistriesList = Array<EnvironmentRegistryInput>;
580
+ export interface UpdateEnvironmentRegistriesRequest {
581
+ /** Project to update the environment registries in. */
582
+ projectId: string;
583
+ /** Region to update the environment registries from. */
584
+ region: string;
585
+ /** Environment to update the environment registries in. */
586
+ environmentId: string;
587
+ /** The collection of configured registries. */
588
+ registries: UpdateEnvironmentRegistriesRequestRegistriesList;
589
+ }
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
+ /** The collection of configured secrets. */
598
+ export type UpdateEnvironmentSecretsRequestSecretsList = Array<EnvironmentSecretInput>;
599
+ export interface UpdateEnvironmentSecretsRequest {
600
+ /** Project to update the environment secrets in. */
601
+ projectId: string;
602
+ /** Region to update the environment secrets from. */
603
+ region: string;
604
+ /** Environment to update the environment secrets in. */
605
+ environmentId: string;
606
+ /** The collection of configured secrets. */
607
+ secrets: UpdateEnvironmentSecretsRequestSecretsList;
467
608
  }
468
609
  export type CreateApplicationError = BadRequest | Conflict | StackitOpError;
469
- /** Creates a new application within a environment. */
610
+ /** Creates a new application within an environment. */
470
611
  export const createApplication: API.OperationMethod<
471
612
  CreateApplicationRequest,
472
613
  Application,
473
614
  CreateApplicationError,
474
615
  StackitOpContext
475
616
  > = /*@__PURE__*/ API.make(() => ({
476
- input: __S(193, __c6, 1) as any as S.Schema<CreateApplicationRequest>,
477
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
617
+ input: __S(416, __c13, 0) as any as S.Schema<CreateApplicationRequest>,
618
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
478
619
  errors: [BadRequest, Conflict, UnknownStackitError],
479
620
  protocol: StackitProtocol,
480
621
  retry: Retry.Retry,
622
+ telemetry: TELEMETRY,
623
+ span: "CreateApplication",
481
624
  }));
482
625
 
483
626
  export type CreateEnvironmentError = BadRequest | Conflict | StackitOpError;
@@ -488,11 +631,13 @@ export const createEnvironment: API.OperationMethod<
488
631
  CreateEnvironmentError,
489
632
  StackitOpContext
490
633
  > = /*@__PURE__*/ API.make(() => ({
491
- input: __S(256, __c8, 0) as any as S.Schema<CreateEnvironmentRequest>,
492
- output: __S(288, __c9, 0) as any as S.Schema<Environment>,
634
+ input: __S(512, __c16, 0) as any as S.Schema<CreateEnvironmentRequest>,
635
+ output: __S(545, __c17, 1) as any as S.Schema<Environment>,
493
636
  errors: [BadRequest, Conflict, UnknownStackitError],
494
637
  protocol: StackitProtocol,
495
638
  retry: Retry.Retry,
639
+ telemetry: TELEMETRY,
640
+ span: "CreateEnvironment",
496
641
  }));
497
642
 
498
643
  export type DeleteApplicationError = NotFound | StackitOpError;
@@ -503,11 +648,13 @@ export const deleteApplication: API.OperationMethod<
503
648
  DeleteApplicationError,
504
649
  StackitOpContext
505
650
  > = /*@__PURE__*/ API.make(() => ({
506
- input: __S(320, __c10, 0) as any as S.Schema<DeleteApplicationRequest>,
507
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
651
+ input: __S(576, __c18, 0) as any as S.Schema<DeleteApplicationRequest>,
652
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
508
653
  errors: [NotFound, UnknownStackitError],
509
654
  protocol: StackitProtocol,
510
655
  retry: Retry.Retry,
656
+ telemetry: TELEMETRY,
657
+ span: "DeleteApplication",
511
658
  }));
512
659
 
513
660
  export type GetApplicationError = NotFound | StackitOpError;
@@ -518,11 +665,13 @@ export const getApplication: API.OperationMethod<
518
665
  GetApplicationError,
519
666
  StackitOpContext
520
667
  > = /*@__PURE__*/ API.make(() => ({
521
- input: __S(352, __c11, 0) as any as S.Schema<GetApplicationRequest>,
522
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
668
+ input: __S(608, __c19, 0) as any as S.Schema<GetApplicationRequest>,
669
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
523
670
  errors: [NotFound, UnknownStackitError],
524
671
  protocol: StackitProtocol,
525
672
  retry: Retry.Retry,
673
+ telemetry: TELEMETRY,
674
+ span: "GetApplication",
526
675
  }));
527
676
 
528
677
  export type GetApplicationEventsError = NotFound | StackitOpError;
@@ -533,11 +682,13 @@ export const getApplicationEvents: API.OperationMethod<
533
682
  GetApplicationEventsError,
534
683
  StackitOpContext
535
684
  > = /*@__PURE__*/ API.make(() => ({
536
- input: __S(384, __c12, 0) as any as S.Schema<GetApplicationEventsRequest>,
537
- output: __S(385, __c12, 1) as any as S.Schema<GetApplicationEventsResponse>,
685
+ input: __S(640, __c20, 0) as any as S.Schema<GetApplicationEventsRequest>,
686
+ output: __S(641, __c20, 1) as any as S.Schema<GetApplicationEventsResponse>,
538
687
  errors: [NotFound, UnknownStackitError],
539
688
  protocol: StackitProtocol,
540
689
  retry: Retry.Retry,
690
+ telemetry: TELEMETRY,
691
+ span: "GetApplicationEvents",
541
692
  }));
542
693
 
543
694
  export type GetApplicationLogsError = BadRequest | NotFound | StackitOpError;
@@ -548,11 +699,13 @@ export const getApplicationLogs: API.OperationMethod<
548
699
  GetApplicationLogsError,
549
700
  StackitOpContext
550
701
  > = /*@__PURE__*/ API.make(() => ({
551
- input: __S(448, __c14, 0) as any as S.Schema<GetApplicationLogsRequest>,
552
- output: __S(449, __c14, 1) as any as S.Schema<GetApplicationLogsResponse>,
702
+ input: __S(704, __c22, 0) as any as S.Schema<GetApplicationLogsRequest>,
703
+ output: __S(705, __c22, 1) as any as S.Schema<GetApplicationLogsResponse>,
553
704
  errors: [BadRequest, NotFound, UnknownStackitError],
554
705
  protocol: StackitProtocol,
555
706
  retry: Retry.Retry,
707
+ telemetry: TELEMETRY,
708
+ span: "GetApplicationLogs",
556
709
  }));
557
710
 
558
711
  export type GetEnvironmentError = NotFound | StackitOpError;
@@ -563,15 +716,17 @@ export const getEnvironment: API.OperationMethod<
563
716
  GetEnvironmentError,
564
717
  StackitOpContext
565
718
  > = /*@__PURE__*/ API.make(() => ({
566
- input: __S(480, __c15, 0) as any as S.Schema<GetEnvironmentRequest>,
567
- output: __S(288, __c9, 0) as any as S.Schema<Environment>,
719
+ input: __S(736, __c23, 0) as any as S.Schema<GetEnvironmentRequest>,
720
+ output: __S(545, __c17, 1) as any as S.Schema<Environment>,
568
721
  errors: [NotFound, UnknownStackitError],
569
722
  protocol: StackitProtocol,
570
723
  retry: Retry.Retry,
724
+ telemetry: TELEMETRY,
725
+ span: "GetEnvironment",
571
726
  }));
572
727
 
573
728
  export type GetOverviewError = StackitOpError;
574
- /** Retrieves the overview for an environment. */
729
+ /** Retrieves an aggregated overview of the project's current state. */
575
730
  export const getOverview: API.OperationMethod<
576
731
  GetOverviewRequest,
577
732
  GetOverviewResponse,
@@ -583,6 +738,8 @@ export const getOverview: API.OperationMethod<
583
738
  errors: [UnknownStackitError],
584
739
  protocol: StackitProtocol,
585
740
  retry: Retry.Retry,
741
+ telemetry: TELEMETRY,
742
+ span: "GetOverview",
586
743
  }));
587
744
 
588
745
  export type ListApplicationsError = BadRequest | StackitOpError;
@@ -598,6 +755,25 @@ export const listApplications: API.OperationMethod<
598
755
  errors: [BadRequest, UnknownStackitError],
599
756
  protocol: StackitProtocol,
600
757
  retry: Retry.Retry,
758
+ telemetry: TELEMETRY,
759
+ span: "ListApplications",
760
+ }));
761
+
762
+ export type ListEnvironmentRegistriesError = NotFound | StackitOpError;
763
+ /** Retrieves the registries defined within an environment. */
764
+ export const listEnvironmentRegistries: API.OperationMethod<
765
+ ListEnvironmentRegistriesRequest,
766
+ EnvironmentRegistriesVault,
767
+ ListEnvironmentRegistriesError,
768
+ StackitOpContext
769
+ > = /*@__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],
773
+ protocol: StackitProtocol,
774
+ retry: Retry.Retry,
775
+ telemetry: TELEMETRY,
776
+ span: "ListEnvironmentRegistries",
601
777
  }));
602
778
 
603
779
  export type ListEnvironmentsError = BadRequest | StackitOpError;
@@ -608,11 +784,30 @@ export const listEnvironments: API.OperationMethod<
608
784
  ListEnvironmentsError,
609
785
  StackitOpContext
610
786
  > = /*@__PURE__*/ API.make(() => ({
611
- input: __S(96, __c3, 0) as any as S.Schema<ListEnvironmentsRequest>,
612
- output: __S(99, __c3, 3) as any as S.Schema<ListEnvironmentsResponse>,
787
+ input: __S(192, __c6, 0) as any as S.Schema<ListEnvironmentsRequest>,
788
+ output: __S(194, __c6, 2) as any as S.Schema<ListEnvironmentsResponse>,
613
789
  errors: [BadRequest, UnknownStackitError],
614
790
  protocol: StackitProtocol,
615
791
  retry: Retry.Retry,
792
+ telemetry: TELEMETRY,
793
+ span: "ListEnvironments",
794
+ }));
795
+
796
+ export type ListEnvironmentSecretsError = NotFound | StackitOpError;
797
+ /** Retrieves the secrets defined within an environment. */
798
+ export const listEnvironmentSecrets: API.OperationMethod<
799
+ ListEnvironmentSecretsRequest,
800
+ EnvironmentSecretsVault,
801
+ ListEnvironmentSecretsError,
802
+ StackitOpContext
803
+ > = /*@__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],
807
+ protocol: StackitProtocol,
808
+ retry: Retry.Retry,
809
+ telemetry: TELEMETRY,
810
+ span: "ListEnvironmentSecrets",
616
811
  }));
617
812
 
618
813
  export type ListProjectApplicationsError = BadRequest | StackitOpError;
@@ -623,11 +818,13 @@ export const listProjectApplications: API.OperationMethod<
623
818
  ListProjectApplicationsError,
624
819
  StackitOpContext
625
820
  > = /*@__PURE__*/ API.make(() => ({
626
- input: __S(128, __c4, 0) as any as S.Schema<ListProjectApplicationsRequest>,
821
+ input: __S(288, __c9, 0) as any as S.Schema<ListProjectApplicationsRequest>,
627
822
  output: __S(66, __c2, 2) as any as S.Schema<ListApplicationsResponse>,
628
823
  errors: [BadRequest, UnknownStackitError],
629
824
  protocol: StackitProtocol,
630
825
  retry: Retry.Retry,
826
+ telemetry: TELEMETRY,
827
+ span: "ListProjectApplications",
631
828
  }));
632
829
 
633
830
  export type UpdateApplicationError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -638,11 +835,47 @@ export const updateApplication: API.OperationMethod<
638
835
  UpdateApplicationError,
639
836
  StackitOpContext
640
837
  > = /*@__PURE__*/ API.make(() => ({
641
- input: __S(160, __c5, 0) as any as S.Schema<UpdateApplicationRequest>,
642
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
838
+ input: __S(320, __c10, 0) as any as S.Schema<UpdateApplicationRequest>,
839
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
643
840
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
644
841
  protocol: StackitProtocol,
645
842
  retry: Retry.Retry,
843
+ telemetry: TELEMETRY,
844
+ span: "UpdateApplication",
845
+ }));
846
+
847
+ export type UpdateEnvironmentRegistriesError = BadRequest | NotFound | StackitOpError;
848
+ /** Updates the environment registries collection. */
849
+ export const updateEnvironmentRegistries: API.OperationMethod<
850
+ UpdateEnvironmentRegistriesRequest,
851
+ EnvironmentRegistriesVault,
852
+ UpdateEnvironmentRegistriesError,
853
+ StackitOpContext
854
+ > = /*@__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],
858
+ protocol: StackitProtocol,
859
+ retry: Retry.Retry,
860
+ telemetry: TELEMETRY,
861
+ span: "UpdateEnvironmentRegistries",
862
+ }));
863
+
864
+ export type UpdateEnvironmentSecretsError = BadRequest | NotFound | StackitOpError;
865
+ /** Updates the environment secrets collection. */
866
+ export const updateEnvironmentSecrets: API.OperationMethod<
867
+ UpdateEnvironmentSecretsRequest,
868
+ EnvironmentSecretsVault,
869
+ UpdateEnvironmentSecretsError,
870
+ StackitOpContext
871
+ > = /*@__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],
875
+ protocol: StackitProtocol,
876
+ retry: Retry.Retry,
877
+ telemetry: TELEMETRY,
878
+ span: "UpdateEnvironmentSecrets",
646
879
  }));
647
880
 
648
881
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -652,10 +885,11 @@ function __c0(j: number): any {
652
885
  return S.suspend(() =>
653
886
  S.Struct({
654
887
  projectId: S.String.pipe(T.Label()),
888
+ region: S.String.pipe(T.Label()),
655
889
  }).pipe(
656
890
  T.Http({
657
891
  method: "GET",
658
- uri: "/v1alpha/projects/{projectId}/overview",
892
+ uri: "/v1beta/projects/{projectId}/regions/{region}/overview",
659
893
  code: 200,
660
894
  baseUrl: "https://sca.api.{region}stackit.cloud",
661
895
  }),
@@ -667,11 +901,12 @@ function __c0(j: number): any {
667
901
  applicationsRunning: S.optional(S.Number),
668
902
  applicationsTotal: S.optional(S.Number),
669
903
  }),
670
- ).annotate({ identifier: "Summary" });
904
+ ).annotate({ identifier: "OverviewSummary" });
671
905
  case 2:
672
906
  return S.suspend(() =>
673
907
  S.Struct({
674
- summary: __S(1, __c0, 1),
908
+ region: S.optional(S.String),
909
+ summary: S.optional(__S(1, __c0, 1)),
675
910
  }),
676
911
  ).annotate({ identifier: "GetOverviewResponse" });
677
912
  }
@@ -682,11 +917,12 @@ function __c1(j: number): any {
682
917
  return S.suspend(() =>
683
918
  S.Struct({
684
919
  projectId: S.String.pipe(T.Label()),
920
+ region: S.String.pipe(T.Label()),
685
921
  environmentId: S.String.pipe(T.Label()),
686
922
  }).pipe(
687
923
  T.Http({
688
924
  method: "GET",
689
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications",
925
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications",
690
926
  code: 200,
691
927
  baseUrl: "https://sca.api.{region}stackit.cloud",
692
928
  }),
@@ -699,18 +935,15 @@ function __c2(j: number): any {
699
935
  case 0:
700
936
  return S.suspend(() =>
701
937
  S.Struct({
702
- containers: S.optional(S.Number),
703
938
  createdAt: S.optional(S.String),
704
939
  displayName: S.optional(S.String),
705
940
  environmentId: S.optional(S.String),
706
941
  environmentName: S.optional(S.String),
707
942
  id: S.optional(S.String),
708
- instances: S.optional(S.Number),
709
- internalUrl: S.optional(S.String),
710
- lastDeployment: S.optional(S.String),
711
- status: S.optional(S.String),
943
+ region: S.optional(S.String),
944
+ status: S.optional(__S(451, __c14, 3)),
712
945
  stopped: S.optional(S.Boolean),
713
- url: S.optional(S.String),
946
+ updatedAt: S.optional(S.String),
714
947
  }),
715
948
  ).annotate({ identifier: "ApplicationSummary" });
716
949
  case 1:
@@ -729,45 +962,142 @@ function __c3(j: number): any {
729
962
  return S.suspend(() =>
730
963
  S.Struct({
731
964
  projectId: S.String.pipe(T.Label()),
965
+ region: S.String.pipe(T.Label()),
966
+ environmentId: S.String.pipe(T.Label()),
732
967
  }).pipe(
733
968
  T.Http({
734
969
  method: "GET",
735
- uri: "/v1alpha/projects/{projectId}/environments",
970
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/registries",
736
971
  code: 200,
737
972
  baseUrl: "https://sca.api.{region}stackit.cloud",
738
973
  }),
739
974
  ),
740
- ).annotate({ identifier: "ListEnvironmentsRequest" });
741
- case 1:
975
+ ).annotate({ identifier: "ListEnvironmentRegistriesRequest" });
976
+ }
977
+ }
978
+ function __c4(j: number): any {
979
+ switch (j) {
980
+ case 0:
742
981
  return S.suspend(() =>
743
982
  S.Struct({
744
- applicationsNumber: S.optional(S.Number),
745
- createdAt: S.optional(S.String),
746
- default: S.optional(S.Boolean),
983
+ container: S.optional(S.String),
747
984
  displayName: S.optional(S.String),
748
985
  id: S.optional(S.String),
749
986
  }),
750
- ).annotate({ identifier: "EnvironmentSummary" });
987
+ ).annotate({ identifier: "RegistryConsumer" });
988
+ case 1:
989
+ return S.Array(__S(128, __c4, 0));
990
+ case 2:
991
+ return S.suspend(() =>
992
+ S.Struct({
993
+ consumers: S.optional(__S(129, __c4, 1)),
994
+ }),
995
+ ).annotate({ identifier: "EnvironmentRegistryStatus" });
996
+ }
997
+ }
998
+ function __c5(j: number): any {
999
+ switch (j) {
1000
+ case 0:
1001
+ return S.suspend(() =>
1002
+ S.Struct({
1003
+ createdAt: S.optional(S.String),
1004
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1005
+ region: S.optional(S.String),
1006
+ server: S.String,
1007
+ status: S.optional(__S(130, __c4, 2)),
1008
+ updatedAt: S.optional(S.String),
1009
+ username: S.optional(S.String),
1010
+ }),
1011
+ ).annotate({ identifier: "EnvironmentRegistry" });
1012
+ case 1:
1013
+ return S.Array(__S(160, __c5, 0));
1014
+ case 2:
1015
+ return S.suspend(() =>
1016
+ S.Struct({
1017
+ registries: __S(161, __c5, 1),
1018
+ }),
1019
+ ).annotate({ identifier: "EnvironmentRegistriesVault" });
1020
+ }
1021
+ }
1022
+ function __c6(j: number): any {
1023
+ switch (j) {
1024
+ case 0:
1025
+ return S.suspend(() =>
1026
+ S.Struct({
1027
+ projectId: S.String.pipe(T.Label()),
1028
+ region: S.String.pipe(T.Label()),
1029
+ }).pipe(
1030
+ T.Http({
1031
+ method: "GET",
1032
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments",
1033
+ code: 200,
1034
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1035
+ }),
1036
+ ),
1037
+ ).annotate({ identifier: "ListEnvironmentsRequest" });
1038
+ case 1:
1039
+ return S.Array(__S(545, __c17, 1));
751
1040
  case 2:
752
- return S.Array(__S(97, __c3, 1));
753
- case 3:
754
1041
  return S.suspend(() =>
755
1042
  S.Struct({
756
- items: S.optional(__S(98, __c3, 2)),
1043
+ items: S.optional(__S(193, __c6, 1)),
757
1044
  }),
758
1045
  ).annotate({ identifier: "ListEnvironmentsResponse" });
759
1046
  }
760
1047
  }
761
- function __c4(j: number): any {
1048
+ function __c7(j: number): any {
762
1049
  switch (j) {
763
1050
  case 0:
764
1051
  return S.suspend(() =>
765
1052
  S.Struct({
766
1053
  projectId: S.String.pipe(T.Label()),
1054
+ region: S.String.pipe(T.Label()),
1055
+ environmentId: S.String.pipe(T.Label()),
767
1056
  }).pipe(
768
1057
  T.Http({
769
1058
  method: "GET",
770
- uri: "/v1alpha/projects/{projectId}/applications",
1059
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/secrets",
1060
+ code: 200,
1061
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1062
+ }),
1063
+ ),
1064
+ ).annotate({ identifier: "ListEnvironmentSecretsRequest" });
1065
+ }
1066
+ }
1067
+ function __c8(j: number): any {
1068
+ switch (j) {
1069
+ case 0:
1070
+ return S.suspend(() =>
1071
+ S.Struct({
1072
+ createdAt: S.optional(S.String),
1073
+ key: S.String,
1074
+ region: S.optional(S.String),
1075
+ status: S.optional(__S(130, __c4, 2)),
1076
+ updatedAt: S.optional(S.String),
1077
+ value: S.optional(S.String),
1078
+ }),
1079
+ ).annotate({ identifier: "EnvironmentSecret" });
1080
+ case 1:
1081
+ return S.Array(__S(256, __c8, 0));
1082
+ case 2:
1083
+ return S.suspend(() =>
1084
+ S.Struct({
1085
+ secrets: __S(257, __c8, 1),
1086
+ }),
1087
+ ).annotate({ identifier: "EnvironmentSecretsVault" });
1088
+ }
1089
+ }
1090
+ function __c9(j: number): any {
1091
+ switch (j) {
1092
+ case 0:
1093
+ return S.suspend(() =>
1094
+ S.Struct({
1095
+ projectId: S.String.pipe(T.Label()),
1096
+ region: S.String.pipe(T.Label()),
1097
+ }).pipe(
1098
+ T.Http({
1099
+ method: "GET",
1100
+ uri: "/v1beta/projects/{projectId}/regions/{region}/applications",
771
1101
  code: 200,
772
1102
  baseUrl: "https://sca.api.{region}stackit.cloud",
773
1103
  }),
@@ -775,24 +1105,24 @@ function __c4(j: number): any {
775
1105
  ).annotate({ identifier: "ListProjectApplicationsRequest" });
776
1106
  }
777
1107
  }
778
- function __c5(j: number): any {
1108
+ function __c10(j: number): any {
779
1109
  switch (j) {
780
1110
  case 0:
781
1111
  return S.suspend(() =>
782
1112
  S.Struct({
783
1113
  projectId: S.String.pipe(T.Label()),
1114
+ region: S.String.pipe(T.Label()),
784
1115
  environmentId: S.String.pipe(T.Label()),
785
1116
  applicationId: S.String.pipe(T.Label()),
786
- containers: S.optional(__S(228, __c7, 4)),
787
- network: S.optional(__S(229, __c7, 5)),
788
- registry: S.optional(__S(232, __c7, 8)),
789
- scaling: S.optional(__S(243, __c7, 19)),
790
- secrets: S.optional(__S(245, __c7, 21)),
1117
+ containers: __S(484, __c15, 4),
1118
+ displayName: S.String,
1119
+ network: S.optional(__S(488, __c15, 8)),
1120
+ scaling: __S(499, __c15, 19),
791
1121
  stopped: S.optional(S.Boolean),
792
1122
  }).pipe(
793
1123
  T.Http({
794
1124
  method: "PATCH",
795
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1125
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
796
1126
  code: 200,
797
1127
  baseUrl: "https://sca.api.{region}stackit.cloud",
798
1128
  }),
@@ -800,31 +1130,82 @@ function __c5(j: number): any {
800
1130
  ).annotate({ identifier: "UpdateApplicationRequest" });
801
1131
  }
802
1132
  }
803
- function __c6(j: number): any {
1133
+ function __c11(j: number): any {
1134
+ switch (j) {
1135
+ 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
+ return S.suspend(() =>
1147
+ S.Struct({
1148
+ projectId: S.String.pipe(T.Label()),
1149
+ region: S.String.pipe(T.Label()),
1150
+ environmentId: S.String.pipe(T.Label()),
1151
+ registries: __S(353, __c11, 1),
1152
+ }).pipe(
1153
+ T.Http({
1154
+ method: "PATCH",
1155
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/registries",
1156
+ code: 200,
1157
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1158
+ }),
1159
+ ),
1160
+ ).annotate({ identifier: "UpdateEnvironmentRegistriesRequest" });
1161
+ }
1162
+ }
1163
+ function __c12(j: number): any {
804
1164
  switch (j) {
805
1165
  case 0:
806
1166
  return S.suspend(() =>
807
1167
  S.Struct({
808
- currentStatus: S.optional(S.String),
1168
+ key: S.String,
1169
+ value: S.optional(S.String),
809
1170
  }),
810
- ).annotate({ identifier: "RuntimeStatusInput" });
1171
+ ).annotate({ identifier: "EnvironmentSecretInput" });
811
1172
  case 1:
1173
+ return S.Array(__S(384, __c12, 0));
1174
+ case 2:
812
1175
  return S.suspend(() =>
813
1176
  S.Struct({
814
1177
  projectId: S.String.pipe(T.Label()),
1178
+ region: S.String.pipe(T.Label()),
815
1179
  environmentId: S.String.pipe(T.Label()),
816
- containers: __S(228, __c7, 4),
1180
+ secrets: __S(385, __c12, 1),
1181
+ }).pipe(
1182
+ T.Http({
1183
+ method: "PATCH",
1184
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/secrets",
1185
+ code: 200,
1186
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1187
+ }),
1188
+ ),
1189
+ ).annotate({ identifier: "UpdateEnvironmentSecretsRequest" });
1190
+ }
1191
+ }
1192
+ function __c13(j: number): any {
1193
+ switch (j) {
1194
+ case 0:
1195
+ return S.suspend(() =>
1196
+ S.Struct({
1197
+ projectId: S.String.pipe(T.Label()),
1198
+ region: S.String.pipe(T.Label()),
1199
+ environmentId: S.String.pipe(T.Label()),
1200
+ containers: __S(484, __c15, 4),
817
1201
  displayName: S.String,
818
- network: S.optional(__S(229, __c7, 5)),
819
- registry: S.optional(__S(232, __c7, 8)),
820
- runtimeStatus: S.optional(__S(192, __c6, 0)),
821
- scaling: __S(243, __c7, 19),
822
- secrets: S.optional(__S(245, __c7, 21)),
1202
+ network: S.optional(__S(488, __c15, 8)),
1203
+ scaling: __S(499, __c15, 19),
823
1204
  stopped: S.optional(S.Boolean),
824
1205
  }).pipe(
825
1206
  T.Http({
826
1207
  method: "POST",
827
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications",
1208
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications",
828
1209
  code: 200,
829
1210
  baseUrl: "https://sca.api.{region}stackit.cloud",
830
1211
  }),
@@ -832,7 +1213,36 @@ function __c6(j: number): any {
832
1213
  ).annotate({ identifier: "CreateApplicationRequest" });
833
1214
  }
834
1215
  }
835
- function __c7(j: number): any {
1216
+ function __c14(j: number): any {
1217
+ switch (j) {
1218
+ case 0:
1219
+ return S.suspend(() =>
1220
+ S.Struct({
1221
+ default: S.optional(S.String),
1222
+ internal: S.optional(S.String),
1223
+ }),
1224
+ ).annotate({ identifier: "ApplicationDomains" });
1225
+ case 1:
1226
+ return S.suspend(() =>
1227
+ S.Struct({
1228
+ name: S.optional(S.String),
1229
+ status: S.optional(S.String),
1230
+ }),
1231
+ ).annotate({ identifier: "ApplicationInstance" });
1232
+ case 2:
1233
+ return S.Array(__S(449, __c14, 1));
1234
+ case 3:
1235
+ return S.suspend(() =>
1236
+ S.Struct({
1237
+ current: S.optional(S.String),
1238
+ domains: S.optional(__S(448, __c14, 0)),
1239
+ instances: S.optional(__S(450, __c14, 2)),
1240
+ lastDeployment: S.optional(S.String),
1241
+ }),
1242
+ ).annotate({ identifier: "ApplicationStatus" });
1243
+ }
1244
+ }
1245
+ function __c15(j: number): any {
836
1246
  switch (j) {
837
1247
  case 0:
838
1248
  return S.Array(S.String);
@@ -843,175 +1253,150 @@ function __c7(j: number): any {
843
1253
  origin: S.optional(S.String),
844
1254
  value: S.String,
845
1255
  }),
846
- ).annotate({ identifier: "EnvVar" });
1256
+ ).annotate({ identifier: "ContainerEnvVar" });
847
1257
  case 2:
848
- return S.Array(__S(225, __c7, 1));
1258
+ return S.Array(__S(481, __c15, 1));
849
1259
  case 3:
850
1260
  return S.suspend(() =>
851
1261
  S.Struct({
852
- args: S.optional(__S(224, __c7, 0)),
853
- command: S.optional(__S(224, __c7, 0)),
1262
+ args: S.optional(__S(480, __c15, 0)),
1263
+ command: S.optional(__S(480, __c15, 0)),
854
1264
  cpu: S.optional(S.Number),
855
- environmentVariables: S.optional(__S(226, __c7, 2)),
1265
+ environmentVariables: S.optional(__S(482, __c15, 2)),
856
1266
  image: S.String,
857
1267
  memory: S.optional(S.Number),
858
1268
  name: S.String,
859
1269
  }),
860
1270
  ).annotate({ identifier: "Container" });
861
1271
  case 4:
862
- return S.Array(__S(227, __c7, 3));
1272
+ return S.Array(__S(483, __c15, 3));
863
1273
  case 5:
864
1274
  return S.suspend(() =>
865
1275
  S.Struct({
866
- ingressAcl: S.optional(__S(224, __c7, 0)),
867
- internalPort: S.optional(S.Number),
1276
+ enabled: S.Boolean,
868
1277
  port: S.optional(S.Number),
869
- publicIngress: S.optional(S.Boolean),
870
1278
  }),
871
- ).annotate({ identifier: "Network" });
1279
+ ).annotate({ identifier: "ApplicationInternalNetwork" });
872
1280
  case 6:
873
1281
  return S.suspend(() =>
874
1282
  S.Struct({
875
- password: S.optional(S.String.pipe(T.SensitiveValue({}))),
876
- url: S.String,
877
- user: S.String,
1283
+ egress: S.optional(__S(480, __c15, 0)),
1284
+ ingress: S.optional(__S(480, __c15, 0)),
878
1285
  }),
879
- ).annotate({ identifier: "ApplicationRegistryCredentialsAuth" });
1286
+ ).annotate({ identifier: "ApplicationAccessControl" });
880
1287
  case 7:
881
1288
  return S.suspend(() =>
882
1289
  S.Struct({
883
- credentials: S.optional(__S(230, __c7, 6)),
884
- type: S.String,
1290
+ accessControl: S.optional(__S(486, __c15, 6)),
1291
+ enabled: S.Boolean,
1292
+ port: S.optional(S.Number),
885
1293
  }),
886
- ).annotate({ identifier: "ApplicationRegistry" });
1294
+ ).annotate({ identifier: "ApplicationPublicNetwork" });
887
1295
  case 8:
888
- return S.Array(__S(231, __c7, 7));
1296
+ return S.suspend(() =>
1297
+ S.Struct({
1298
+ internal: S.optional(__S(485, __c15, 5)),
1299
+ public: S.optional(__S(487, __c15, 7)),
1300
+ }),
1301
+ ).annotate({ identifier: "ApplicationNetwork" });
889
1302
  case 9:
890
1303
  return S.suspend(() =>
891
1304
  S.Struct({
892
1305
  name: S.String,
893
1306
  value: S.String,
894
1307
  }),
895
- ).annotate({ identifier: "CustomRuleParameter" });
1308
+ ).annotate({ identifier: "ApplicationCustomRuleParameter" });
896
1309
  case 10:
897
- return S.Array(__S(233, __c7, 9));
1310
+ return S.Array(__S(489, __c15, 9));
898
1311
  case 11:
899
1312
  return S.suspend(() =>
900
1313
  S.Struct({
901
1314
  parameter: S.String,
902
1315
  secret: S.String.pipe(T.SensitiveValue({})),
903
1316
  }),
904
- ).annotate({ identifier: "CustomRuleSecretMapping" });
1317
+ ).annotate({ identifier: "ApplicationCustomRuleSecretMapping" });
905
1318
  case 12:
906
- return S.Array(__S(235, __c7, 11));
1319
+ return S.Array(__S(491, __c15, 11));
907
1320
  case 13:
908
1321
  return S.suspend(() =>
909
1322
  S.Struct({
910
- parameters: S.optional(__S(234, __c7, 10)),
911
- secretsMapping: S.optional(__S(236, __c7, 12)),
1323
+ parameters: S.optional(__S(490, __c15, 10)),
1324
+ secretsMapping: S.optional(__S(492, __c15, 12)),
912
1325
  type: S.String,
913
1326
  }),
914
- ).annotate({ identifier: "CustomScaleRule" });
1327
+ ).annotate({ identifier: "ApplicationCustomScaleRule" });
915
1328
  case 14:
916
1329
  return S.suspend(() =>
917
1330
  S.Struct({
918
1331
  concurrency: S.optional(S.Number),
919
1332
  rps: S.optional(S.Number),
920
1333
  }),
921
- ).annotate({ identifier: "HttpScaleRule" });
1334
+ ).annotate({ identifier: "ApplicationHttpScaleRule" });
922
1335
  case 15:
923
1336
  return S.suspend(() =>
924
1337
  S.Struct({
925
- customRule: S.optional(__S(237, __c7, 13)),
926
- httpRule: S.optional(__S(238, __c7, 14)),
1338
+ customRule: S.optional(__S(493, __c15, 13)),
1339
+ httpRule: S.optional(__S(494, __c15, 14)),
927
1340
  name: S.String,
928
1341
  type: S.String,
929
1342
  }),
930
- ).annotate({ identifier: "ScaleRule" });
1343
+ ).annotate({ identifier: "ApplicationScaleRule" });
931
1344
  case 16:
932
- return S.Array(__S(239, __c7, 15));
1345
+ return S.Array(__S(495, __c15, 15));
933
1346
  case 17:
934
1347
  return S.suspend(() =>
935
1348
  S.Struct({
936
1349
  allowScaleToZero: S.optional(S.Boolean),
937
1350
  maxInstances: S.Number,
938
1351
  minInstances: S.Number,
939
- rules: __S(240, __c7, 16),
1352
+ rules: __S(496, __c15, 16),
940
1353
  }),
941
- ).annotate({ identifier: "AutoScaling" });
1354
+ ).annotate({ identifier: "ApplicationAutoScaling" });
942
1355
  case 18:
943
1356
  return S.suspend(() =>
944
1357
  S.Struct({
945
1358
  instances: S.Number,
946
1359
  }),
947
- ).annotate({ identifier: "ManualScaling" });
1360
+ ).annotate({ identifier: "ApplicationManualScaling" });
948
1361
  case 19:
949
1362
  return S.suspend(() =>
950
1363
  S.Struct({
951
- autoScaling: S.optional(__S(241, __c7, 17)),
952
- manualScaling: S.optional(__S(242, __c7, 18)),
1364
+ autoScaling: S.optional(__S(497, __c15, 17)),
1365
+ manualScaling: S.optional(__S(498, __c15, 18)),
953
1366
  type: S.String,
954
1367
  }),
955
- ).annotate({ identifier: "Scaling" });
1368
+ ).annotate({ identifier: "ApplicationScaling" });
956
1369
  case 20:
957
1370
  return S.suspend(() =>
958
1371
  S.Struct({
959
- key: S.String,
960
- value: S.optional(S.String),
961
- }),
962
- ).annotate({ identifier: "ApplicationSecret" });
963
- case 21:
964
- return S.Array(__S(244, __c7, 20));
965
- case 22:
966
- return S.suspend(() =>
967
- S.Struct({
968
- name: S.optional(S.String),
969
- status: S.optional(S.String),
970
- }),
971
- ).annotate({ identifier: "Instance" });
972
- case 23:
973
- return S.Array(__S(246, __c7, 22));
974
- case 24:
975
- return S.suspend(() =>
976
- S.Struct({
977
- currentStatus: S.optional(S.String),
978
- failureReasons: S.optional(__S(224, __c7, 0)),
979
- instances: S.optional(__S(247, __c7, 23)),
980
- internalUrl: S.optional(S.String),
981
- lastDeployment: S.optional(S.String),
982
- urls: S.optional(__S(224, __c7, 0)),
983
- }),
984
- ).annotate({ identifier: "RuntimeStatus" });
985
- case 25:
986
- return S.suspend(() =>
987
- S.Struct({
988
- containers: __S(228, __c7, 4),
1372
+ containers: __S(484, __c15, 4),
1373
+ createdAt: S.optional(S.String),
989
1374
  displayName: S.String,
990
1375
  environmentId: S.optional(S.String),
991
1376
  environmentName: S.optional(S.String),
992
1377
  id: S.optional(S.String),
993
- network: S.optional(__S(229, __c7, 5)),
994
- registry: S.optional(__S(232, __c7, 8)),
995
- runtimeStatus: S.optional(__S(248, __c7, 24)),
996
- scaling: __S(243, __c7, 19),
997
- secrets: S.optional(__S(245, __c7, 21)),
1378
+ network: S.optional(__S(488, __c15, 8)),
1379
+ region: S.optional(S.String),
1380
+ scaling: __S(499, __c15, 19),
1381
+ status: S.optional(__S(451, __c14, 3)),
998
1382
  stopped: S.optional(S.Boolean),
1383
+ updatedAt: S.optional(S.String),
999
1384
  }),
1000
1385
  ).annotate({ identifier: "Application" });
1001
1386
  }
1002
1387
  }
1003
- function __c8(j: number): any {
1388
+ function __c16(j: number): any {
1004
1389
  switch (j) {
1005
1390
  case 0:
1006
1391
  return S.suspend(() =>
1007
1392
  S.Struct({
1008
1393
  projectId: S.String.pipe(T.Label()),
1394
+ region: S.String.pipe(T.Label()),
1009
1395
  displayName: S.String,
1010
- status: S.optional(S.String),
1011
1396
  }).pipe(
1012
1397
  T.Http({
1013
1398
  method: "POST",
1014
- uri: "/v1alpha/projects/{projectId}/environments",
1399
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments",
1015
1400
  code: 200,
1016
1401
  baseUrl: "https://sca.api.{region}stackit.cloud",
1017
1402
  }),
@@ -1019,32 +1404,41 @@ function __c8(j: number): any {
1019
1404
  ).annotate({ identifier: "CreateEnvironmentRequest" });
1020
1405
  }
1021
1406
  }
1022
- function __c9(j: number): any {
1407
+ function __c17(j: number): any {
1023
1408
  switch (j) {
1024
1409
  case 0:
1410
+ return S.suspend(() =>
1411
+ S.Struct({
1412
+ applicationsNumber: S.optional(S.Number),
1413
+ current: S.optional(S.String),
1414
+ }),
1415
+ ).annotate({ identifier: "EnvironmentStatus" });
1416
+ case 1:
1025
1417
  return S.suspend(() =>
1026
1418
  S.Struct({
1027
1419
  createdAt: S.optional(S.String),
1028
1420
  default: S.optional(S.Boolean),
1029
1421
  displayName: S.String,
1030
1422
  id: S.optional(S.String),
1031
- status: S.optional(S.String),
1423
+ region: S.optional(S.String),
1424
+ status: S.optional(__S(544, __c17, 0)),
1032
1425
  }),
1033
1426
  ).annotate({ identifier: "Environment" });
1034
1427
  }
1035
1428
  }
1036
- function __c10(j: number): any {
1429
+ function __c18(j: number): any {
1037
1430
  switch (j) {
1038
1431
  case 0:
1039
1432
  return S.suspend(() =>
1040
1433
  S.Struct({
1041
1434
  projectId: S.String.pipe(T.Label()),
1435
+ region: S.String.pipe(T.Label()),
1042
1436
  environmentId: S.String.pipe(T.Label()),
1043
1437
  applicationId: S.String.pipe(T.Label()),
1044
1438
  }).pipe(
1045
1439
  T.Http({
1046
1440
  method: "DELETE",
1047
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1441
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
1048
1442
  code: 200,
1049
1443
  baseUrl: "https://sca.api.{region}stackit.cloud",
1050
1444
  }),
@@ -1052,18 +1446,19 @@ function __c10(j: number): any {
1052
1446
  ).annotate({ identifier: "DeleteApplicationRequest" });
1053
1447
  }
1054
1448
  }
1055
- function __c11(j: number): any {
1449
+ function __c19(j: number): any {
1056
1450
  switch (j) {
1057
1451
  case 0:
1058
1452
  return S.suspend(() =>
1059
1453
  S.Struct({
1060
1454
  projectId: S.String.pipe(T.Label()),
1455
+ region: S.String.pipe(T.Label()),
1061
1456
  environmentId: S.String.pipe(T.Label()),
1062
1457
  applicationId: S.String.pipe(T.Label()),
1063
1458
  }).pipe(
1064
1459
  T.Http({
1065
1460
  method: "GET",
1066
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1461
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
1067
1462
  code: 200,
1068
1463
  baseUrl: "https://sca.api.{region}stackit.cloud",
1069
1464
  }),
@@ -1071,18 +1466,19 @@ function __c11(j: number): any {
1071
1466
  ).annotate({ identifier: "GetApplicationRequest" });
1072
1467
  }
1073
1468
  }
1074
- function __c12(j: number): any {
1469
+ function __c20(j: number): any {
1075
1470
  switch (j) {
1076
1471
  case 0:
1077
1472
  return S.suspend(() =>
1078
1473
  S.Struct({
1079
1474
  projectId: S.String.pipe(T.Label()),
1475
+ region: S.String.pipe(T.Label()),
1080
1476
  environmentId: S.String.pipe(T.Label()),
1081
1477
  applicationId: S.String.pipe(T.Label()),
1082
1478
  }).pipe(
1083
1479
  T.Http({
1084
1480
  method: "GET",
1085
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}/events",
1481
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/events",
1086
1482
  code: 200,
1087
1483
  baseUrl: "https://sca.api.{region}stackit.cloud",
1088
1484
  }),
@@ -1091,29 +1487,30 @@ function __c12(j: number): any {
1091
1487
  case 1:
1092
1488
  return S.suspend(() =>
1093
1489
  S.Struct({
1094
- events: S.optional(__S(417, __c13, 1)),
1490
+ events: S.optional(__S(673, __c21, 1)),
1095
1491
  }),
1096
1492
  ).annotate({ identifier: "GetApplicationEventsResponse" });
1097
1493
  }
1098
1494
  }
1099
- function __c13(j: number): any {
1495
+ function __c21(j: number): any {
1100
1496
  switch (j) {
1101
1497
  case 0:
1102
1498
  return S.suspend(() =>
1103
1499
  S.Struct({
1104
1500
  message: S.optional(S.String),
1105
1501
  }),
1106
- ).annotate({ identifier: "Event" });
1502
+ ).annotate({ identifier: "ApplicationEvent" });
1107
1503
  case 1:
1108
- return S.Array(__S(416, __c13, 0));
1504
+ return S.Array(__S(672, __c21, 0));
1109
1505
  }
1110
1506
  }
1111
- function __c14(j: number): any {
1507
+ function __c22(j: number): any {
1112
1508
  switch (j) {
1113
1509
  case 0:
1114
1510
  return S.suspend(() =>
1115
1511
  S.Struct({
1116
1512
  projectId: S.String.pipe(T.Label()),
1513
+ region: S.String.pipe(T.Label()),
1117
1514
  environmentId: S.String.pipe(T.Label()),
1118
1515
  applicationId: S.String.pipe(T.Label()),
1119
1516
  instance: S.String.pipe(T.Query()),
@@ -1122,7 +1519,7 @@ function __c14(j: number): any {
1122
1519
  }).pipe(
1123
1520
  T.Http({
1124
1521
  method: "GET",
1125
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}/logs",
1522
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/logs",
1126
1523
  code: 200,
1127
1524
  baseUrl: "https://sca.api.{region}stackit.cloud",
1128
1525
  }),
@@ -1131,22 +1528,23 @@ function __c14(j: number): any {
1131
1528
  case 1:
1132
1529
  return S.suspend(() =>
1133
1530
  S.Struct({
1134
- logs: S.optional(__S(417, __c13, 1)),
1531
+ logs: S.optional(__S(673, __c21, 1)),
1135
1532
  }),
1136
1533
  ).annotate({ identifier: "GetApplicationLogsResponse" });
1137
1534
  }
1138
1535
  }
1139
- function __c15(j: number): any {
1536
+ function __c23(j: number): any {
1140
1537
  switch (j) {
1141
1538
  case 0:
1142
1539
  return S.suspend(() =>
1143
1540
  S.Struct({
1144
1541
  projectId: S.String.pipe(T.Label()),
1542
+ region: S.String.pipe(T.Label()),
1145
1543
  environmentId: S.String.pipe(T.Label()),
1146
1544
  }).pipe(
1147
1545
  T.Http({
1148
1546
  method: "GET",
1149
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}",
1547
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}",
1150
1548
  code: 200,
1151
1549
  baseUrl: "https://sca.api.{region}stackit.cloud",
1152
1550
  }),