@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15

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 (289) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +3 -3
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +1 -1
  7. package/lib/errors.js.map +1 -1
  8. package/lib/pagination.d.ts +1 -1
  9. package/lib/pagination.d.ts.map +1 -1
  10. package/lib/pagination.js +2 -5
  11. package/lib/pagination.js.map +1 -1
  12. package/lib/protocol.d.ts +3 -3
  13. package/lib/protocol.d.ts.map +1 -1
  14. package/lib/protocol.js +9 -10
  15. package/lib/protocol.js.map +1 -1
  16. package/lib/protocol.test.d.ts +2 -0
  17. package/lib/protocol.test.d.ts.map +1 -0
  18. package/lib/protocol.test.js +181 -0
  19. package/lib/protocol.test.js.map +1 -0
  20. package/lib/retry.d.ts +1 -1
  21. package/lib/retry.d.ts.map +1 -1
  22. package/lib/retry.js +1 -1
  23. package/lib/retry.js.map +1 -1
  24. package/lib/services/alb.d.ts +1 -1
  25. package/lib/services/alb.d.ts.map +1 -1
  26. package/lib/services/alb.js +33 -82
  27. package/lib/services/alb.js.map +1 -1
  28. package/lib/services/alb_waf.d.ts +1 -1
  29. package/lib/services/alb_waf.d.ts.map +1 -1
  30. package/lib/services/alb_waf.js +23 -47
  31. package/lib/services/alb_waf.js.map +1 -1
  32. package/lib/services/authorization.d.ts +1 -1
  33. package/lib/services/authorization.d.ts.map +1 -1
  34. package/lib/services/authorization.js +19 -49
  35. package/lib/services/authorization.js.map +1 -1
  36. package/lib/services/automation.d.ts +21 -58
  37. package/lib/services/automation.d.ts.map +1 -1
  38. package/lib/services/automation.js +49 -112
  39. package/lib/services/automation.js.map +1 -1
  40. package/lib/services/cdn.d.ts +2 -2
  41. package/lib/services/cdn.d.ts.map +1 -1
  42. package/lib/services/cdn.js +91 -177
  43. package/lib/services/cdn.js.map +1 -1
  44. package/lib/services/certificates.d.ts +1 -1
  45. package/lib/services/certificates.d.ts.map +1 -1
  46. package/lib/services/certificates.js +13 -31
  47. package/lib/services/certificates.js.map +1 -1
  48. package/lib/services/cost.d.ts +1 -1
  49. package/lib/services/cost.d.ts.map +1 -1
  50. package/lib/services/cost.js +17 -28
  51. package/lib/services/cost.js.map +1 -1
  52. package/lib/services/dns.d.ts +22 -55
  53. package/lib/services/dns.d.ts.map +1 -1
  54. package/lib/services/dns.js +72 -200
  55. package/lib/services/dns.js.map +1 -1
  56. package/lib/services/dremio.d.ts +1 -1
  57. package/lib/services/dremio.d.ts.map +1 -1
  58. package/lib/services/dremio.js +28 -50
  59. package/lib/services/dremio.js.map +1 -1
  60. package/lib/services/edge.d.ts +1 -1
  61. package/lib/services/edge.d.ts.map +1 -1
  62. package/lib/services/edge.js +14 -32
  63. package/lib/services/edge.js.map +1 -1
  64. package/lib/services/functions.d.ts +1 -1
  65. package/lib/services/functions.d.ts.map +1 -1
  66. package/lib/services/functions.js +19 -43
  67. package/lib/services/functions.js.map +1 -1
  68. package/lib/services/git.d.ts +1 -1
  69. package/lib/services/git.d.ts.map +1 -1
  70. package/lib/services/git.js +25 -57
  71. package/lib/services/git.js.map +1 -1
  72. package/lib/services/iaas.d.ts +31 -10
  73. package/lib/services/iaas.d.ts.map +1 -1
  74. package/lib/services/iaas.js +151 -376
  75. package/lib/services/iaas.js.map +1 -1
  76. package/lib/services/intake.d.ts +1 -1
  77. package/lib/services/intake.d.ts.map +1 -1
  78. package/lib/services/intake.js +45 -83
  79. package/lib/services/intake.js.map +1 -1
  80. package/lib/services/kms.d.ts +1 -1
  81. package/lib/services/kms.d.ts.map +1 -1
  82. package/lib/services/kms.js +63 -103
  83. package/lib/services/kms.js.map +1 -1
  84. package/lib/services/lb_ip_lists.d.ts +1 -3
  85. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  86. package/lib/services/lb_ip_lists.js +18 -37
  87. package/lib/services/lb_ip_lists.js.map +1 -1
  88. package/lib/services/load_balancer.d.ts +1 -1
  89. package/lib/services/load_balancer.d.ts.map +1 -1
  90. package/lib/services/load_balancer.js +32 -77
  91. package/lib/services/load_balancer.js.map +1 -1
  92. package/lib/services/logme.d.ts +1 -1
  93. package/lib/services/logme.d.ts.map +1 -1
  94. package/lib/services/logme.js +39 -101
  95. package/lib/services/logme.js.map +1 -1
  96. package/lib/services/logs.d.ts +1 -1
  97. package/lib/services/logs.d.ts.map +1 -1
  98. package/lib/services/logs.js +36 -59
  99. package/lib/services/logs.js.map +1 -1
  100. package/lib/services/mariadb.d.ts +1 -1
  101. package/lib/services/mariadb.d.ts.map +1 -1
  102. package/lib/services/mariadb.js +37 -97
  103. package/lib/services/mariadb.js.map +1 -1
  104. package/lib/services/model_experiments.d.ts +2 -2
  105. package/lib/services/model_experiments.d.ts.map +1 -1
  106. package/lib/services/model_experiments.js +27 -47
  107. package/lib/services/model_experiments.js.map +1 -1
  108. package/lib/services/model_serving.d.ts +2 -2
  109. package/lib/services/model_serving.d.ts.map +1 -1
  110. package/lib/services/model_serving.js +29 -61
  111. package/lib/services/model_serving.js.map +1 -1
  112. package/lib/services/mongodb_flex.d.ts +1 -1
  113. package/lib/services/mongodb_flex.d.ts.map +1 -1
  114. package/lib/services/mongodb_flex.js +76 -162
  115. package/lib/services/mongodb_flex.js.map +1 -1
  116. package/lib/services/object_storage.d.ts +25 -1
  117. package/lib/services/object_storage.d.ts.map +1 -1
  118. package/lib/services/object_storage.js +52 -89
  119. package/lib/services/object_storage.js.map +1 -1
  120. package/lib/services/observability.d.ts +5 -5
  121. package/lib/services/observability.d.ts.map +1 -1
  122. package/lib/services/observability.js +170 -419
  123. package/lib/services/observability.js.map +1 -1
  124. package/lib/services/opensearch.d.ts +1 -1
  125. package/lib/services/opensearch.d.ts.map +1 -1
  126. package/lib/services/opensearch.js +40 -100
  127. package/lib/services/opensearch.js.map +1 -1
  128. package/lib/services/pim.d.ts +1 -1
  129. package/lib/services/pim.d.ts.map +1 -1
  130. package/lib/services/pim.js +45 -98
  131. package/lib/services/pim.js.map +1 -1
  132. package/lib/services/postgres_flex.d.ts +2 -2
  133. package/lib/services/postgres_flex.d.ts.map +1 -1
  134. package/lib/services/postgres_flex.js +96 -261
  135. package/lib/services/postgres_flex.js.map +1 -1
  136. package/lib/services/pubsub.d.ts +2 -2
  137. package/lib/services/pubsub.d.ts.map +1 -1
  138. package/lib/services/pubsub.js +53 -148
  139. package/lib/services/pubsub.js.map +1 -1
  140. package/lib/services/rabbitmq.d.ts +2 -2
  141. package/lib/services/rabbitmq.d.ts.map +1 -1
  142. package/lib/services/rabbitmq.js +41 -103
  143. package/lib/services/rabbitmq.js.map +1 -1
  144. package/lib/services/registry.d.ts +1 -1
  145. package/lib/services/registry.d.ts.map +1 -1
  146. package/lib/services/registry.js +16 -39
  147. package/lib/services/registry.js.map +1 -1
  148. package/lib/services/resource_manager.d.ts +5 -5
  149. package/lib/services/resource_manager.d.ts.map +1 -1
  150. package/lib/services/resource_manager.js +23 -53
  151. package/lib/services/resource_manager.js.map +1 -1
  152. package/lib/services/run_command.d.ts +1 -1
  153. package/lib/services/run_command.d.ts.map +1 -1
  154. package/lib/services/run_command.js +15 -33
  155. package/lib/services/run_command.js.map +1 -1
  156. package/lib/services/sca.d.ts +18 -6
  157. package/lib/services/sca.d.ts.map +1 -1
  158. package/lib/services/sca.js +42 -75
  159. package/lib/services/sca.js.map +1 -1
  160. package/lib/services/scf.d.ts +1 -1
  161. package/lib/services/scf.d.ts.map +1 -1
  162. package/lib/services/scf.js +30 -78
  163. package/lib/services/scf.js.map +1 -1
  164. package/lib/services/secrets_manager.d.ts +1 -1
  165. package/lib/services/secrets_manager.d.ts.map +1 -1
  166. package/lib/services/secrets_manager.js +32 -78
  167. package/lib/services/secrets_manager.js.map +1 -1
  168. package/lib/services/server_backup.d.ts +1 -1
  169. package/lib/services/server_backup.d.ts.map +1 -1
  170. package/lib/services/server_backup.js +16 -36
  171. package/lib/services/server_backup.js.map +1 -1
  172. package/lib/services/server_update.d.ts +1 -1
  173. package/lib/services/server_update.d.ts.map +1 -1
  174. package/lib/services/server_update.js +10 -22
  175. package/lib/services/server_update.js.map +1 -1
  176. package/lib/services/service_account.d.ts +1 -1
  177. package/lib/services/service_account.d.ts.map +1 -1
  178. package/lib/services/service_account.js +32 -49
  179. package/lib/services/service_account.js.map +1 -1
  180. package/lib/services/service_enablement.d.ts +1 -1
  181. package/lib/services/service_enablement.d.ts.map +1 -1
  182. package/lib/services/service_enablement.js +11 -13
  183. package/lib/services/service_enablement.js.map +1 -1
  184. package/lib/services/sfs.d.ts +17 -17
  185. package/lib/services/sfs.d.ts.map +1 -1
  186. package/lib/services/sfs.js +34 -89
  187. package/lib/services/sfs.js.map +1 -1
  188. package/lib/services/ske.d.ts +27 -1
  189. package/lib/services/ske.d.ts.map +1 -1
  190. package/lib/services/ske.js +49 -89
  191. package/lib/services/ske.js.map +1 -1
  192. package/lib/services/sqlserverflex.d.ts +2 -2
  193. package/lib/services/sqlserverflex.d.ts.map +1 -1
  194. package/lib/services/sqlserverflex.js +104 -255
  195. package/lib/services/sqlserverflex.js.map +1 -1
  196. package/lib/services/stackit_marketplace.d.ts +4 -4
  197. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  198. package/lib/services/stackit_marketplace.js +17 -31
  199. package/lib/services/stackit_marketplace.js.map +1 -1
  200. package/lib/services/telemetry_link.d.ts +1 -1
  201. package/lib/services/telemetry_link.d.ts.map +1 -1
  202. package/lib/services/telemetry_link.js +34 -52
  203. package/lib/services/telemetry_link.js.map +1 -1
  204. package/lib/services/telemetry_router.d.ts +1 -1
  205. package/lib/services/telemetry_router.d.ts.map +1 -1
  206. package/lib/services/telemetry_router.js +49 -88
  207. package/lib/services/telemetry_router.js.map +1 -1
  208. package/lib/services/ufw.d.ts +1 -1
  209. package/lib/services/ufw.d.ts.map +1 -1
  210. package/lib/services/ufw.js +25 -47
  211. package/lib/services/ufw.js.map +1 -1
  212. package/lib/services/valkey.d.ts +2 -2
  213. package/lib/services/valkey.d.ts.map +1 -1
  214. package/lib/services/valkey.js +40 -100
  215. package/lib/services/valkey.js.map +1 -1
  216. package/lib/services/vpn.d.ts +1 -1
  217. package/lib/services/vpn.d.ts.map +1 -1
  218. package/lib/services/vpn.js +98 -180
  219. package/lib/services/vpn.js.map +1 -1
  220. package/lib/services/workflows.d.ts +1 -1
  221. package/lib/services/workflows.d.ts.map +1 -1
  222. package/lib/services/workflows.js +40 -88
  223. package/lib/services/workflows.js.map +1 -1
  224. package/lib/traits.d.ts.map +1 -1
  225. package/lib/traits.js +1 -1
  226. package/lib/traits.js.map +1 -1
  227. package/package.json +13 -11
  228. package/src/credentials.ts +10 -16
  229. package/src/errors.ts +1 -1
  230. package/src/pagination.ts +6 -22
  231. package/src/protocol.test.ts +304 -0
  232. package/src/protocol.ts +29 -47
  233. package/src/retry.ts +2 -8
  234. package/src/services/alb.ts +45 -128
  235. package/src/services/alb_waf.ts +35 -94
  236. package/src/services/authorization.ts +20 -56
  237. package/src/services/automation.ts +92 -262
  238. package/src/services/cdn.ts +191 -351
  239. package/src/services/certificates.ts +17 -49
  240. package/src/services/cost.ts +29 -64
  241. package/src/services/dns.ts +160 -495
  242. package/src/services/dremio.ts +35 -85
  243. package/src/services/edge.ts +37 -96
  244. package/src/services/functions.ts +31 -84
  245. package/src/services/git.ts +41 -122
  246. package/src/services/iaas.ts +392 -1184
  247. package/src/services/intake.ts +57 -124
  248. package/src/services/kms.ts +91 -192
  249. package/src/services/lb_ip_lists.ts +21 -56
  250. package/src/services/load_balancer.ts +43 -119
  251. package/src/services/logme.ts +55 -150
  252. package/src/services/logs.ts +57 -158
  253. package/src/services/mariadb.ts +45 -126
  254. package/src/services/model_experiments.ts +36 -92
  255. package/src/services/model_serving.ts +33 -76
  256. package/src/services/mongodb_flex.ts +113 -259
  257. package/src/services/object_storage.ts +101 -154
  258. package/src/services/observability.ts +635 -1127
  259. package/src/services/opensearch.ts +52 -141
  260. package/src/services/pim.ts +78 -183
  261. package/src/services/postgres_flex.ts +120 -366
  262. package/src/services/pubsub.ts +134 -277
  263. package/src/services/rabbitmq.ts +53 -145
  264. package/src/services/registry.ts +24 -72
  265. package/src/services/resource_manager.ts +46 -129
  266. package/src/services/run_command.ts +17 -45
  267. package/src/services/sca.ts +63 -98
  268. package/src/services/scf.ts +54 -195
  269. package/src/services/secrets_manager.ts +54 -136
  270. package/src/services/server_backup.ts +26 -75
  271. package/src/services/server_update.ts +15 -44
  272. package/src/services/service_account.ts +185 -272
  273. package/src/services/service_enablement.ts +18 -47
  274. package/src/services/sfs.ts +84 -166
  275. package/src/services/ske.ts +91 -113
  276. package/src/services/sqlserverflex.ts +147 -383
  277. package/src/services/stackit_marketplace.ts +184 -250
  278. package/src/services/telemetry_link.ts +199 -278
  279. package/src/services/telemetry_router.ts +73 -168
  280. package/src/services/ufw.ts +32 -82
  281. package/src/services/valkey.ts +54 -145
  282. package/src/services/vpn.ts +215 -404
  283. package/src/services/workflows.ts +57 -169
  284. package/src/traits.ts +2 -7
  285. package/lib/response-validation.test.d.ts +0 -4
  286. package/lib/response-validation.test.d.ts.map +0 -1
  287. package/lib/response-validation.test.js +0 -31
  288. package/lib/response-validation.test.js.map +0 -1
  289. package/src/response-validation.test.ts +0 -45
@@ -1,16 +1,12 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as C from "@distilled.cloud/core/category";
1
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
4
  import * as S from "@distilled.cloud/core/schema";
3
5
  import * as Redacted from "effect/Redacted";
4
- import * as API from "@distilled.cloud/core/api";
5
- import * as C from "@distilled.cloud/core/category";
6
- import * as T from "../traits.ts";
7
- import {
8
- StackitProtocol,
9
- type StackitOpError,
10
- type StackitOpContext,
11
- } from "../protocol.ts";
12
6
  import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
13
8
  import * as Retry from "../retry.ts";
9
+ import * as T from "../traits.ts";
14
10
 
15
11
  export type { StackitOpError, StackitOpContext };
16
12
 
@@ -58,7 +54,7 @@ export type EnvVarType =
58
54
  | "ENV_FROM_SOURCE_TYPE_UNSPECIFIED"
59
55
  | "ENV_FROM_SOURCE_TYPE_MANUAL"
60
56
  | "ENV_FROM_SOURCE_TYPE_SECRET";
61
- export const EnvVarType = /*@__PURE__*/ S.String;
57
+ export const EnvVarType = S.String;
62
58
 
63
59
  /** EnvVar defines a single environment variable. */
64
60
  export interface EnvVar {
@@ -127,16 +123,19 @@ export const NetworkIngressAclList = /*@__PURE__*/ S.Array(
127
123
  export interface Network {
128
124
  /** Allowed destination CIDRs for Ingress traffic. */
129
125
  ingressAcl?: NetworkIngressAclList;
126
+ /** Internal port number for inter application communication. */
127
+ internalPort?: number;
130
128
  /** Port number. */
131
129
  port?: number;
132
130
  /** Whether the application should be accessible from the internet. */
133
- publicIngress: boolean;
131
+ publicIngress?: boolean;
134
132
  }
135
133
  export const Network = /*@__PURE__*/ S.suspend(() =>
136
134
  S.Struct({
137
135
  ingressAcl: S.optional(NetworkIngressAclList),
136
+ internalPort: S.optional(S.Number),
138
137
  port: S.optional(S.Number),
139
- publicIngress: S.Boolean,
138
+ publicIngress: S.optional(S.Boolean),
140
139
  }),
141
140
  ).annotate({ identifier: "Network" }) as any as S.Schema<Network>;
142
141
 
@@ -156,10 +155,8 @@ export const ApplicationRegistryCredentialsAuth = /*@__PURE__*/ S.suspend(() =>
156
155
  identifier: "ApplicationRegistryCredentialsAuth",
157
156
  }) as any as S.Schema<ApplicationRegistryCredentialsAuth>;
158
157
 
159
- export type ApplicationRegistryAuthType =
160
- | "AUTH_TYPE_NONE"
161
- | "AUTH_TYPE_CREDENTIALS";
162
- export const ApplicationRegistryAuthType = /*@__PURE__*/ S.String;
158
+ export type ApplicationRegistryAuthType = "AUTH_TYPE_NONE" | "AUTH_TYPE_CREDENTIALS";
159
+ export const ApplicationRegistryAuthType = S.String;
163
160
 
164
161
  export interface ApplicationRegistry {
165
162
  credentials?: ApplicationRegistryCredentialsAuth;
@@ -170,9 +167,7 @@ export const ApplicationRegistry = /*@__PURE__*/ S.suspend(() =>
170
167
  credentials: S.optional(ApplicationRegistryCredentialsAuth),
171
168
  type: ApplicationRegistryAuthType,
172
169
  }),
173
- ).annotate({
174
- identifier: "ApplicationRegistry",
175
- }) as any as S.Schema<ApplicationRegistry>;
170
+ ).annotate({ identifier: "ApplicationRegistry" }) as any as S.Schema<ApplicationRegistry>;
176
171
 
177
172
  /** Image registry configuration for the application. */
178
173
  export type CreateApplicationRequestRegistryList = Array<ApplicationRegistry>;
@@ -188,7 +183,7 @@ export type CurrentStatus =
188
183
  | "CURRENT_STATUS_FAILED"
189
184
  | "CURRENT_STATUS_IDLE"
190
185
  | "CURRENT_STATUS_NONE";
191
- export const CurrentStatus = /*@__PURE__*/ S.String;
186
+ export const CurrentStatus = S.String;
192
187
 
193
188
  export interface RuntimeStatusInput {
194
189
  currentStatus?: CurrentStatus | (string & {});
@@ -197,9 +192,7 @@ export const RuntimeStatusInput = /*@__PURE__*/ S.suspend(() =>
197
192
  S.Struct({
198
193
  currentStatus: S.optional(CurrentStatus),
199
194
  }),
200
- ).annotate({
201
- identifier: "RuntimeStatusInput",
202
- }) as any as S.Schema<RuntimeStatusInput>;
195
+ ).annotate({ identifier: "RuntimeStatusInput" }) as any as S.Schema<RuntimeStatusInput>;
203
196
 
204
197
  /** CustomRuleParameter defines a single scaler parameter. */
205
198
  export interface CustomRuleParameter {
@@ -211,9 +204,7 @@ export const CustomRuleParameter = /*@__PURE__*/ S.suspend(() =>
211
204
  name: S.String,
212
205
  value: S.String,
213
206
  }),
214
- ).annotate({
215
- identifier: "CustomRuleParameter",
216
- }) as any as S.Schema<CustomRuleParameter>;
207
+ ).annotate({ identifier: "CustomRuleParameter" }) as any as S.Schema<CustomRuleParameter>;
217
208
 
218
209
  /** Scaler parameters. */
219
210
  export type CustomScaleRuleParametersList = Array<CustomRuleParameter>;
@@ -233,9 +224,7 @@ export const CustomRuleSecretMapping = /*@__PURE__*/ S.suspend(() =>
233
224
  parameter: S.String,
234
225
  secret: S.String.pipe(T.SensitiveValue({})),
235
226
  }),
236
- ).annotate({
237
- identifier: "CustomRuleSecretMapping",
238
- }) as any as S.Schema<CustomRuleSecretMapping>;
227
+ ).annotate({ identifier: "CustomRuleSecretMapping" }) as any as S.Schema<CustomRuleSecretMapping>;
239
228
 
240
229
  /** Secret mappings for the scaler. */
241
230
  export type CustomScaleRuleSecretsMappingList = Array<CustomRuleSecretMapping>;
@@ -258,9 +247,7 @@ export const CustomScaleRule = /*@__PURE__*/ S.suspend(() =>
258
247
  secretsMapping: S.optional(CustomScaleRuleSecretsMappingList),
259
248
  type: S.String,
260
249
  }),
261
- ).annotate({
262
- identifier: "CustomScaleRule",
263
- }) as any as S.Schema<CustomScaleRule>;
250
+ ).annotate({ identifier: "CustomScaleRule" }) as any as S.Schema<CustomScaleRule>;
264
251
 
265
252
  /** HttpScaleRule defines parameters for HTTP-based scaling. */
266
253
  export interface HttpScaleRule {
@@ -277,11 +264,8 @@ export const HttpScaleRule = /*@__PURE__*/ S.suspend(() =>
277
264
  ).annotate({ identifier: "HttpScaleRule" }) as any as S.Schema<HttpScaleRule>;
278
265
 
279
266
  /** - RULE_TYPE_UNSPECIFIED: Used as zero value. - RULE_TYPE_HTTP: HTTP scaling rule. - RULE_TYPE_CUSTOM: Custom scaling rule (e.g. KEDA). */
280
- export type RuleType =
281
- | "RULE_TYPE_UNSPECIFIED"
282
- | "RULE_TYPE_HTTP"
283
- | "RULE_TYPE_CUSTOM";
284
- export const RuleType = /*@__PURE__*/ S.String;
267
+ export type RuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
268
+ export const RuleType = S.String;
285
269
 
286
270
  /** ScaleRule defines one autoscaling trigger. */
287
271
  export interface ScaleRule {
@@ -338,11 +322,8 @@ export const ManualScaling = /*@__PURE__*/ S.suspend(() =>
338
322
  ).annotate({ identifier: "ManualScaling" }) as any as S.Schema<ManualScaling>;
339
323
 
340
324
  /** - 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. */
341
- export type ScalingType =
342
- | "SCALING_TYPE_UNSPECIFIED"
343
- | "SCALING_TYPE_AUTO"
344
- | "SCALING_TYPE_MANUAL";
345
- export const ScalingType = /*@__PURE__*/ S.String;
325
+ export type ScalingType = "SCALING_TYPE_UNSPECIFIED" | "SCALING_TYPE_AUTO" | "SCALING_TYPE_MANUAL";
326
+ export const ScalingType = S.String;
346
327
 
347
328
  /** Scaling configuration for the application. */
348
329
  export interface Scaling {
@@ -370,9 +351,7 @@ export const ApplicationSecret = /*@__PURE__*/ S.suspend(() =>
370
351
  key: S.String,
371
352
  value: S.optional(S.String),
372
353
  }),
373
- ).annotate({
374
- identifier: "ApplicationSecret",
375
- }) as any as S.Schema<ApplicationSecret>;
354
+ ).annotate({ identifier: "ApplicationSecret" }) as any as S.Schema<ApplicationSecret>;
376
355
 
377
356
  /** Secrets associated with the application. */
378
357
  export type CreateApplicationRequestSecretsList = Array<ApplicationSecret>;
@@ -389,7 +368,7 @@ export interface CreateApplicationRequest {
389
368
  containers: CreateApplicationRequestContainersList;
390
369
  /** Human-readable display name. */
391
370
  displayName: string;
392
- network: Network;
371
+ network?: Network;
393
372
  /** Image registry configuration for the application. */
394
373
  registry?: CreateApplicationRequestRegistryList;
395
374
  runtimeStatus?: RuntimeStatusInput;
@@ -405,7 +384,7 @@ export const CreateApplicationRequest = /*@__PURE__*/ S.suspend(() =>
405
384
  environmentId: S.String.pipe(T.Label()),
406
385
  containers: CreateApplicationRequestContainersList,
407
386
  displayName: S.String,
408
- network: Network,
387
+ network: S.optional(Network),
409
388
  registry: S.optional(CreateApplicationRequestRegistryList),
410
389
  runtimeStatus: S.optional(RuntimeStatusInput),
411
390
  scaling: Scaling,
@@ -419,9 +398,7 @@ export const CreateApplicationRequest = /*@__PURE__*/ S.suspend(() =>
419
398
  baseUrl: "https://sca.api.{region}stackit.cloud",
420
399
  }),
421
400
  ),
422
- ).annotate({
423
- identifier: "CreateApplicationRequest",
424
- }) as any as S.Schema<CreateApplicationRequest>;
401
+ ).annotate({ identifier: "CreateApplicationRequest" }) as any as S.Schema<CreateApplicationRequest>;
425
402
 
426
403
  /** Containers to deploy for the application. */
427
404
  export type ApplicationContainersList = Array<Container>;
@@ -446,7 +423,7 @@ export type InstanceStatus =
446
423
  | "INSTANCE_STATUS_PROGRESSING"
447
424
  | "INSTANCE_STATUS_RUNNING"
448
425
  | "INSTANCE_STATUS_FAILED";
449
- export const InstanceStatus = /*@__PURE__*/ S.String;
426
+ export const InstanceStatus = S.String;
450
427
 
451
428
  /** Application instance summary. */
452
429
  export interface Instance {
@@ -477,6 +454,8 @@ export interface RuntimeStatus {
477
454
  /** Failure reasons collected from workload conditions. */
478
455
  failureReasons?: RuntimeStatusFailureReasonsList;
479
456
  instances?: RuntimeStatusInstancesList;
457
+ /** Internal URL for the running application. */
458
+ internalUrl?: string;
480
459
  /** Last time the application was deployed. */
481
460
  lastDeployment?: string;
482
461
  /** Known URLs for the running application. */
@@ -487,6 +466,7 @@ export const RuntimeStatus = /*@__PURE__*/ S.suspend(() =>
487
466
  currentStatus: S.optional(CurrentStatus),
488
467
  failureReasons: S.optional(RuntimeStatusFailureReasonsList),
489
468
  instances: S.optional(RuntimeStatusInstancesList),
469
+ internalUrl: S.optional(S.String),
490
470
  lastDeployment: S.optional(S.String),
491
471
  urls: S.optional(RuntimeStatusUrlsList),
492
472
  }),
@@ -510,7 +490,7 @@ export interface Application {
510
490
  environmentName?: string;
511
491
  /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
512
492
  id?: string;
513
- network: Network;
493
+ network?: Network;
514
494
  /** Image registry configuration for the application. */
515
495
  registry?: ApplicationRegistryList;
516
496
  runtimeStatus?: RuntimeStatus;
@@ -527,7 +507,7 @@ export const Application = /*@__PURE__*/ S.suspend(() =>
527
507
  environmentId: S.optional(S.String),
528
508
  environmentName: S.optional(S.String),
529
509
  id: S.optional(S.String),
530
- network: Network,
510
+ network: S.optional(Network),
531
511
  registry: S.optional(ApplicationRegistryList),
532
512
  runtimeStatus: S.optional(RuntimeStatus),
533
513
  scaling: Scaling,
@@ -536,16 +516,25 @@ export const Application = /*@__PURE__*/ S.suspend(() =>
536
516
  }),
537
517
  ).annotate({ identifier: "Application" }) as any as S.Schema<Application>;
538
518
 
519
+ /** - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value. - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created. - ENVIRONMENT_STATUS_CREATED: Environment is successfully created. */
520
+ export type EnvironmentStatus =
521
+ | "ENVIRONMENT_STATUS_UNSPECIFIED"
522
+ | "ENVIRONMENT_STATUS_PROGRESSING"
523
+ | "ENVIRONMENT_STATUS_CREATED";
524
+ export const EnvironmentStatus = S.String;
525
+
539
526
  export interface CreateEnvironmentRequest {
540
527
  /** Parent project resource name to create under */
541
528
  projectId: string;
542
529
  /** Human-readable display name. */
543
530
  displayName: string;
531
+ status?: EnvironmentStatus | (string & {});
544
532
  }
545
533
  export const CreateEnvironmentRequest = /*@__PURE__*/ S.suspend(() =>
546
534
  S.Struct({
547
535
  projectId: S.String.pipe(T.Label()),
548
536
  displayName: S.String,
537
+ status: S.optional(EnvironmentStatus),
549
538
  }).pipe(
550
539
  T.Http({
551
540
  method: "POST",
@@ -554,9 +543,7 @@ export const CreateEnvironmentRequest = /*@__PURE__*/ S.suspend(() =>
554
543
  baseUrl: "https://sca.api.{region}stackit.cloud",
555
544
  }),
556
545
  ),
557
- ).annotate({
558
- identifier: "CreateEnvironmentRequest",
559
- }) as any as S.Schema<CreateEnvironmentRequest>;
546
+ ).annotate({ identifier: "CreateEnvironmentRequest" }) as any as S.Schema<CreateEnvironmentRequest>;
560
547
 
561
548
  /** Environment describes an isolated container scope within a project. */
562
549
  export interface Environment {
@@ -568,6 +555,7 @@ export interface Environment {
568
555
  displayName: string;
569
556
  /** Environment identifier, for example: default. */
570
557
  id?: string;
558
+ status?: EnvironmentStatus;
571
559
  }
572
560
  export const Environment = /*@__PURE__*/ S.suspend(() =>
573
561
  S.Struct({
@@ -575,6 +563,7 @@ export const Environment = /*@__PURE__*/ S.suspend(() =>
575
563
  default: S.optional(S.Boolean),
576
564
  displayName: S.String,
577
565
  id: S.optional(S.String),
566
+ status: S.optional(EnvironmentStatus),
578
567
  }),
579
568
  ).annotate({ identifier: "Environment" }) as any as S.Schema<Environment>;
580
569
 
@@ -599,9 +588,7 @@ export const DeleteApplicationRequest = /*@__PURE__*/ S.suspend(() =>
599
588
  baseUrl: "https://sca.api.{region}stackit.cloud",
600
589
  }),
601
590
  ),
602
- ).annotate({
603
- identifier: "DeleteApplicationRequest",
604
- }) as any as S.Schema<DeleteApplicationRequest>;
591
+ ).annotate({ identifier: "DeleteApplicationRequest" }) as any as S.Schema<DeleteApplicationRequest>;
605
592
 
606
593
  export interface GetApplicationRequest {
607
594
  /** Project to fetch the application from. */
@@ -624,9 +611,7 @@ export const GetApplicationRequest = /*@__PURE__*/ S.suspend(() =>
624
611
  baseUrl: "https://sca.api.{region}stackit.cloud",
625
612
  }),
626
613
  ),
627
- ).annotate({
628
- identifier: "GetApplicationRequest",
629
- }) as any as S.Schema<GetApplicationRequest>;
614
+ ).annotate({ identifier: "GetApplicationRequest" }) as any as S.Schema<GetApplicationRequest>;
630
615
 
631
616
  export interface GetApplicationEventsRequest {
632
617
  /** Project to fetch the application from. */
@@ -765,9 +750,7 @@ export const GetEnvironmentRequest = /*@__PURE__*/ S.suspend(() =>
765
750
  baseUrl: "https://sca.api.{region}stackit.cloud",
766
751
  }),
767
752
  ),
768
- ).annotate({
769
- identifier: "GetEnvironmentRequest",
770
- }) as any as S.Schema<GetEnvironmentRequest>;
753
+ ).annotate({ identifier: "GetEnvironmentRequest" }) as any as S.Schema<GetEnvironmentRequest>;
771
754
 
772
755
  export interface GetOverviewRequest {
773
756
  /** Parent project resource name to list under. */
@@ -784,9 +767,7 @@ export const GetOverviewRequest = /*@__PURE__*/ S.suspend(() =>
784
767
  baseUrl: "https://sca.api.{region}stackit.cloud",
785
768
  }),
786
769
  ),
787
- ).annotate({
788
- identifier: "GetOverviewRequest",
789
- }) as any as S.Schema<GetOverviewRequest>;
770
+ ).annotate({ identifier: "GetOverviewRequest" }) as any as S.Schema<GetOverviewRequest>;
790
771
 
791
772
  /** Summary describes the current status of a project. */
792
773
  export interface Summary {
@@ -810,9 +791,7 @@ export const GetOverviewResponse = /*@__PURE__*/ S.suspend(() =>
810
791
  S.Struct({
811
792
  summary: Summary,
812
793
  }),
813
- ).annotate({
814
- identifier: "GetOverviewResponse",
815
- }) as any as S.Schema<GetOverviewResponse>;
794
+ ).annotate({ identifier: "GetOverviewResponse" }) as any as S.Schema<GetOverviewResponse>;
816
795
 
817
796
  export interface ListApplicationsRequest {
818
797
  /** Project to list the applications in. */
@@ -832,9 +811,7 @@ export const ListApplicationsRequest = /*@__PURE__*/ S.suspend(() =>
832
811
  baseUrl: "https://sca.api.{region}stackit.cloud",
833
812
  }),
834
813
  ),
835
- ).annotate({
836
- identifier: "ListApplicationsRequest",
837
- }) as any as S.Schema<ListApplicationsRequest>;
814
+ ).annotate({ identifier: "ListApplicationsRequest" }) as any as S.Schema<ListApplicationsRequest>;
838
815
 
839
816
  /** ApplicationSummary describes a summary of an application. */
840
817
  export interface ApplicationSummary {
@@ -852,6 +829,8 @@ export interface ApplicationSummary {
852
829
  id?: string;
853
830
  /** Application's running instances. */
854
831
  instances?: number;
832
+ /** Application's internal URL. */
833
+ internalUrl?: string;
855
834
  /** Date of the last moment the application got the running status in RFC3339 format. */
856
835
  lastDeployment?: string;
857
836
  status?: CurrentStatus;
@@ -869,14 +848,13 @@ export const ApplicationSummary = /*@__PURE__*/ S.suspend(() =>
869
848
  environmentName: S.optional(S.String),
870
849
  id: S.optional(S.String),
871
850
  instances: S.optional(S.Number),
851
+ internalUrl: S.optional(S.String),
872
852
  lastDeployment: S.optional(S.String),
873
853
  status: S.optional(CurrentStatus),
874
854
  stopped: S.optional(S.Boolean),
875
855
  url: S.optional(S.String),
876
856
  }),
877
- ).annotate({
878
- identifier: "ApplicationSummary",
879
- }) as any as S.Schema<ApplicationSummary>;
857
+ ).annotate({ identifier: "ApplicationSummary" }) as any as S.Schema<ApplicationSummary>;
880
858
 
881
859
  /** Applications under the requested parent. */
882
860
  export type ListApplicationsResponseItemsList = Array<ApplicationSummary>;
@@ -893,9 +871,7 @@ export const ListApplicationsResponse = /*@__PURE__*/ S.suspend(() =>
893
871
  S.Struct({
894
872
  items: S.optional(ListApplicationsResponseItemsList),
895
873
  }),
896
- ).annotate({
897
- identifier: "ListApplicationsResponse",
898
- }) as any as S.Schema<ListApplicationsResponse>;
874
+ ).annotate({ identifier: "ListApplicationsResponse" }) as any as S.Schema<ListApplicationsResponse>;
899
875
 
900
876
  export interface ListEnvironmentsRequest {
901
877
  /** Parent project resource name to list under. */
@@ -912,9 +888,7 @@ export const ListEnvironmentsRequest = /*@__PURE__*/ S.suspend(() =>
912
888
  baseUrl: "https://sca.api.{region}stackit.cloud",
913
889
  }),
914
890
  ),
915
- ).annotate({
916
- identifier: "ListEnvironmentsRequest",
917
- }) as any as S.Schema<ListEnvironmentsRequest>;
891
+ ).annotate({ identifier: "ListEnvironmentsRequest" }) as any as S.Schema<ListEnvironmentsRequest>;
918
892
 
919
893
  /** Environment summary. */
920
894
  export interface EnvironmentSummary {
@@ -937,9 +911,7 @@ export const EnvironmentSummary = /*@__PURE__*/ S.suspend(() =>
937
911
  displayName: S.optional(S.String),
938
912
  id: S.optional(S.String),
939
913
  }),
940
- ).annotate({
941
- identifier: "EnvironmentSummary",
942
- }) as any as S.Schema<EnvironmentSummary>;
914
+ ).annotate({ identifier: "EnvironmentSummary" }) as any as S.Schema<EnvironmentSummary>;
943
915
 
944
916
  /** Environments under the requested parent. */
945
917
  export type ListEnvironmentsResponseItemsList = Array<EnvironmentSummary>;
@@ -956,9 +928,7 @@ export const ListEnvironmentsResponse = /*@__PURE__*/ S.suspend(() =>
956
928
  S.Struct({
957
929
  items: S.optional(ListEnvironmentsResponseItemsList),
958
930
  }),
959
- ).annotate({
960
- identifier: "ListEnvironmentsResponse",
961
- }) as any as S.Schema<ListEnvironmentsResponse>;
931
+ ).annotate({ identifier: "ListEnvironmentsResponse" }) as any as S.Schema<ListEnvironmentsResponse>;
962
932
 
963
933
  export interface ListProjectApplicationsRequest {
964
934
  /** Project to list the applications in. */
@@ -1034,9 +1004,7 @@ export const UpdateApplicationRequest = /*@__PURE__*/ S.suspend(() =>
1034
1004
  baseUrl: "https://sca.api.{region}stackit.cloud",
1035
1005
  }),
1036
1006
  ),
1037
- ).annotate({
1038
- identifier: "UpdateApplicationRequest",
1039
- }) as any as S.Schema<UpdateApplicationRequest>;
1007
+ ).annotate({ identifier: "UpdateApplicationRequest" }) as any as S.Schema<UpdateApplicationRequest>;
1040
1008
 
1041
1009
  export type CreateApplicationError = BadRequest | Conflict | StackitOpError;
1042
1010
  /** Creates a new application within a environment. */
@@ -1099,7 +1067,7 @@ export const getApplication: API.OperationMethod<
1099
1067
  }));
1100
1068
 
1101
1069
  export type GetApplicationEventsError = NotFound | StackitOpError;
1102
- /** GetApplicationEvents retrieves events of an application. */
1070
+ /** Retrieves events of an application. */
1103
1071
  export const getApplicationEvents: API.OperationMethod<
1104
1072
  GetApplicationEventsRequest,
1105
1073
  GetApplicationEventsResponse,
@@ -1114,7 +1082,7 @@ export const getApplicationEvents: API.OperationMethod<
1114
1082
  }));
1115
1083
 
1116
1084
  export type GetApplicationLogsError = BadRequest | NotFound | StackitOpError;
1117
- /** GetApplicationLogs retrieves logs of an application. */
1085
+ /** Retrieves logs of an application. */
1118
1086
  export const getApplicationLogs: API.OperationMethod<
1119
1087
  GetApplicationLogsRequest,
1120
1088
  GetApplicationLogsResponse,
@@ -1144,6 +1112,7 @@ export const getEnvironment: API.OperationMethod<
1144
1112
  }));
1145
1113
 
1146
1114
  export type GetOverviewError = StackitOpError;
1115
+ /** Retrieves the overview for an environment. */
1147
1116
  export const getOverview: API.OperationMethod<
1148
1117
  GetOverviewRequest,
1149
1118
  GetOverviewResponse,
@@ -1202,11 +1171,7 @@ export const listProjectApplications: API.OperationMethod<
1202
1171
  retry: Retry.Retry,
1203
1172
  }));
1204
1173
 
1205
- export type UpdateApplicationError =
1206
- | BadRequest
1207
- | NotFound
1208
- | Conflict
1209
- | StackitOpError;
1174
+ export type UpdateApplicationError = BadRequest | NotFound | Conflict | StackitOpError;
1210
1175
  /** Updates an existing application. */
1211
1176
  export const updateApplication: API.OperationMethod<
1212
1177
  UpdateApplicationRequest,