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

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,15 +1,11 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
1
  import * as API from "@distilled.cloud/core/api";
4
2
  import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.ts";
6
- import {
7
- StackitProtocol,
8
- type StackitOpError,
9
- type StackitOpContext,
10
- } from "../protocol.ts";
3
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
+ import * as S from "@distilled.cloud/core/schema";
11
5
  import { UnknownStackitError } from "../errors.ts";
6
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
12
7
  import * as Retry from "../retry.ts";
8
+ import * as T from "../traits.ts";
13
9
 
14
10
  export type { StackitOpError, StackitOpContext };
15
11
 
@@ -49,12 +45,9 @@ export class NotFound
49
45
  [{ status: 404 }],
50
46
  ) {}
51
47
 
52
- /** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.* */
48
+ /** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.* */
53
49
  export type Labels = { [key: string]: string | undefined };
54
- export const Labels = /*@__PURE__*/ S.Record(
55
- S.String,
56
- S.String,
57
- ) as any as S.Schema<Labels>;
50
+ export const Labels = /*@__PURE__*/ S.Record(S.String, S.String) as any as S.Schema<Labels>;
58
51
 
59
52
  export interface Member {
60
53
  /** A valid role defined for the resource. */
@@ -98,13 +91,11 @@ export const CreateFolderRequest = /*@__PURE__*/ S.suspend(() =>
98
91
  baseUrl: "https://resource-manager.api.stackit.cloud",
99
92
  }),
100
93
  ),
101
- ).annotate({
102
- identifier: "CreateFolderRequest",
103
- }) as any as S.Schema<CreateFolderRequest>;
94
+ ).annotate({ identifier: "CreateFolderRequest" }) as any as S.Schema<CreateFolderRequest>;
104
95
 
105
96
  /** Container type of parent container. */
106
97
  export type ParentType = "ORGANIZATION" | "FOLDER";
107
- export const ParentType = /*@__PURE__*/ S.String;
98
+ export const ParentType = S.String;
108
99
 
109
100
  /** Parent container. */
110
101
  export interface Parent {
@@ -149,7 +140,7 @@ export const FolderResponse = /*@__PURE__*/ S.suspend(() =>
149
140
  }),
150
141
  ).annotate({ identifier: "FolderResponse" }) as any as S.Schema<FolderResponse>;
151
142
 
152
- /** Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * Either a `"scope": "PUBLIC"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `"networkArea": "<networkAreaID>"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. */
143
+ /** Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). * Either a `"scope": "PUBLIC"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `"networkArea": "<networkAreaID>"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. */
153
144
  export type CreateProjectLabels = { [key: string]: string | undefined };
154
145
  export const CreateProjectLabels = /*@__PURE__*/ S.Record(
155
146
  S.String,
@@ -185,13 +176,11 @@ export const CreateProjectRequest = /*@__PURE__*/ S.suspend(() =>
185
176
  baseUrl: "https://resource-manager.api.stackit.cloud",
186
177
  }),
187
178
  ),
188
- ).annotate({
189
- identifier: "CreateProjectRequest",
190
- }) as any as S.Schema<CreateProjectRequest>;
179
+ ).annotate({ identifier: "CreateProjectRequest" }) as any as S.Schema<CreateProjectRequest>;
191
180
 
192
181
  /** Lifecycle state of the resource container. | LIFECYCLE STATE | DESCRIPTION | |----------|--------------------| | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | | ACTIVE | Resource container can be fully used. | | INACTIVE | Resource container usage has been disabled. | | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | */
193
182
  export type LifecycleState = "CREATING" | "ACTIVE" | "DELETING" | "INACTIVE";
194
- export const LifecycleState = /*@__PURE__*/ S.String;
183
+ export const LifecycleState = S.String;
195
184
 
196
185
  export interface Project {
197
186
  /** Globally unique, user-friendly identifier. */
@@ -239,14 +228,10 @@ export const DeleteFolderRequest = /*@__PURE__*/ S.suspend(() =>
239
228
  baseUrl: "https://resource-manager.api.stackit.cloud",
240
229
  }),
241
230
  ),
242
- ).annotate({
243
- identifier: "DeleteFolderRequest",
244
- }) as any as S.Schema<DeleteFolderRequest>;
231
+ ).annotate({ identifier: "DeleteFolderRequest" }) as any as S.Schema<DeleteFolderRequest>;
245
232
 
246
233
  export interface DeleteFolderResponse {}
247
- export const DeleteFolderResponse = /*@__PURE__*/ S.suspend(() =>
248
- S.Struct({}),
249
- ).annotate({
234
+ export const DeleteFolderResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
250
235
  identifier: "DeleteFolderResponse",
251
236
  }) as any as S.Schema<DeleteFolderResponse>;
252
237
 
@@ -278,9 +263,7 @@ export const DeleteFolderLabelsRequest = /*@__PURE__*/ S.suspend(() =>
278
263
  }) as any as S.Schema<DeleteFolderLabelsRequest>;
279
264
 
280
265
  export interface DeleteFolderLabelsResponse {}
281
- export const DeleteFolderLabelsResponse = /*@__PURE__*/ S.suspend(() =>
282
- S.Struct({}),
283
- ).annotate({
266
+ export const DeleteFolderLabelsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
284
267
  identifier: "DeleteFolderLabelsResponse",
285
268
  }) as any as S.Schema<DeleteFolderLabelsResponse>;
286
269
 
@@ -333,14 +316,10 @@ export const DeleteProjectRequest = /*@__PURE__*/ S.suspend(() =>
333
316
  baseUrl: "https://resource-manager.api.stackit.cloud",
334
317
  }),
335
318
  ),
336
- ).annotate({
337
- identifier: "DeleteProjectRequest",
338
- }) as any as S.Schema<DeleteProjectRequest>;
319
+ ).annotate({ identifier: "DeleteProjectRequest" }) as any as S.Schema<DeleteProjectRequest>;
339
320
 
340
321
  export interface DeleteProjectResponse {}
341
- export const DeleteProjectResponse = /*@__PURE__*/ S.suspend(() =>
342
- S.Struct({}),
343
- ).annotate({
322
+ export const DeleteProjectResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
344
323
  identifier: "DeleteProjectResponse",
345
324
  }) as any as S.Schema<DeleteProjectResponse>;
346
325
 
@@ -372,9 +351,7 @@ export const DeleteProjectLabelsRequest = /*@__PURE__*/ S.suspend(() =>
372
351
  }) as any as S.Schema<DeleteProjectLabelsRequest>;
373
352
 
374
353
  export interface DeleteProjectLabelsResponse {}
375
- export const DeleteProjectLabelsResponse = /*@__PURE__*/ S.suspend(() =>
376
- S.Struct({}),
377
- ).annotate({
354
+ export const DeleteProjectLabelsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
378
355
  identifier: "DeleteProjectLabelsResponse",
379
356
  }) as any as S.Schema<DeleteProjectLabelsResponse>;
380
357
 
@@ -395,13 +372,11 @@ export const GetFolderDetailsRequest = /*@__PURE__*/ S.suspend(() =>
395
372
  baseUrl: "https://resource-manager.api.stackit.cloud",
396
373
  }),
397
374
  ),
398
- ).annotate({
399
- identifier: "GetFolderDetailsRequest",
400
- }) as any as S.Schema<GetFolderDetailsRequest>;
375
+ ).annotate({ identifier: "GetFolderDetailsRequest" }) as any as S.Schema<GetFolderDetailsRequest>;
401
376
 
402
377
  /** Parent container type. */
403
378
  export type ParentListItemType = "FOLDER" | "ORGANIZATION";
404
- export const ParentListItemType = /*@__PURE__*/ S.String;
379
+ export const ParentListItemType = S.String;
405
380
 
406
381
  export interface ParentListItem {
407
382
  /** User-friendly identifier of either organization or folder (will replace id). */
@@ -429,9 +404,7 @@ export const ParentListItem = /*@__PURE__*/ S.suspend(() =>
429
404
  ).annotate({ identifier: "ParentListItem" }) as any as S.Schema<ParentListItem>;
430
405
 
431
406
  export type ParentList = Array<ParentListItem>;
432
- export const ParentList = /*@__PURE__*/ S.Array(
433
- ParentListItem,
434
- ) as any as S.Schema<ParentList>;
407
+ export const ParentList = /*@__PURE__*/ S.Array(ParentListItem) as any as S.Schema<ParentList>;
435
408
 
436
409
  export interface GetFolderDetailsResponse {
437
410
  /** Globally unique user-friendly identifier. */
@@ -459,9 +432,7 @@ export const GetFolderDetailsResponse = /*@__PURE__*/ S.suspend(() =>
459
432
  parents: S.optional(ParentList),
460
433
  updateTime: S.String,
461
434
  }),
462
- ).annotate({
463
- identifier: "GetFolderDetailsResponse",
464
- }) as any as S.Schema<GetFolderDetailsResponse>;
435
+ ).annotate({ identifier: "GetFolderDetailsResponse" }) as any as S.Schema<GetFolderDetailsResponse>;
465
436
 
466
437
  export interface GetOrganizationRequest {
467
438
  /** Organization identifier - containerId as well as UUID identifier is supported. */
@@ -478,9 +449,7 @@ export const GetOrganizationRequest = /*@__PURE__*/ S.suspend(() =>
478
449
  baseUrl: "https://resource-manager.api.stackit.cloud",
479
450
  }),
480
451
  ),
481
- ).annotate({
482
- identifier: "GetOrganizationRequest",
483
- }) as any as S.Schema<GetOrganizationRequest>;
452
+ ).annotate({ identifier: "GetOrganizationRequest" }) as any as S.Schema<GetOrganizationRequest>;
484
453
 
485
454
  export interface OrganizationResponse {
486
455
  /** Globally unique, user-friendly identifier. */
@@ -506,9 +475,7 @@ export const OrganizationResponse = /*@__PURE__*/ S.suspend(() =>
506
475
  organizationId: S.String,
507
476
  updateTime: S.String,
508
477
  }),
509
- ).annotate({
510
- identifier: "OrganizationResponse",
511
- }) as any as S.Schema<OrganizationResponse>;
478
+ ).annotate({ identifier: "OrganizationResponse" }) as any as S.Schema<OrganizationResponse>;
512
479
 
513
480
  export interface GetProjectRequest {
514
481
  /** Project identifier - containerId as well as UUID identifier is supported. */
@@ -527,9 +494,7 @@ export const GetProjectRequest = /*@__PURE__*/ S.suspend(() =>
527
494
  baseUrl: "https://resource-manager.api.stackit.cloud",
528
495
  }),
529
496
  ),
530
- ).annotate({
531
- identifier: "GetProjectRequest",
532
- }) as any as S.Schema<GetProjectRequest>;
497
+ ).annotate({ identifier: "GetProjectRequest" }) as any as S.Schema<GetProjectRequest>;
533
498
 
534
499
  export interface GetProjectResponse {
535
500
  /** Globally unique identifier. */
@@ -559,9 +524,7 @@ export const GetProjectResponse = /*@__PURE__*/ S.suspend(() =>
559
524
  projectId: S.String,
560
525
  updateTime: S.String,
561
526
  }),
562
- ).annotate({
563
- identifier: "GetProjectResponse",
564
- }) as any as S.Schema<GetProjectResponse>;
527
+ ).annotate({ identifier: "GetProjectResponse" }) as any as S.Schema<GetProjectResponse>;
565
528
 
566
529
  export type ListFoldersRequestContainerIdsList = Array<string>;
567
530
  export const ListFoldersRequestContainerIdsList = /*@__PURE__*/ S.Array(
@@ -585,15 +548,11 @@ export interface ListFoldersRequest {
585
548
  export const ListFoldersRequest = /*@__PURE__*/ S.suspend(() =>
586
549
  S.Struct({
587
550
  containerParentId: S.optional(S.String.pipe(T.Query())),
588
- containerIds: S.optional(
589
- ListFoldersRequestContainerIdsList.pipe(T.Query()),
590
- ),
551
+ containerIds: S.optional(ListFoldersRequestContainerIdsList.pipe(T.Query())),
591
552
  member: S.optional(S.String.pipe(T.Query())),
592
553
  limit: S.optional(S.Number.pipe(T.Query())),
593
554
  offset: S.optional(S.Number.pipe(T.Query())),
594
- creation_time_start: S.optional(
595
- S.String.pipe(T.Query("creation-time-start")),
596
- ),
555
+ creation_time_start: S.optional(S.String.pipe(T.Query("creation-time-start"))),
597
556
  }).pipe(
598
557
  T.Http({
599
558
  method: "GET",
@@ -602,9 +561,7 @@ export const ListFoldersRequest = /*@__PURE__*/ S.suspend(() =>
602
561
  baseUrl: "https://resource-manager.api.stackit.cloud",
603
562
  }),
604
563
  ),
605
- ).annotate({
606
- identifier: "ListFoldersRequest",
607
- }) as any as S.Schema<ListFoldersRequest>;
564
+ ).annotate({ identifier: "ListFoldersRequest" }) as any as S.Schema<ListFoldersRequest>;
608
565
 
609
566
  export interface ListFoldersResponseItemsItem {
610
567
  /** Globally unique folder identifier. */
@@ -650,9 +607,7 @@ export const ListFoldersResponse = /*@__PURE__*/ S.suspend(() =>
650
607
  limit: S.Number,
651
608
  offset: S.Number,
652
609
  }),
653
- ).annotate({
654
- identifier: "ListFoldersResponse",
655
- }) as any as S.Schema<ListFoldersResponse>;
610
+ ).annotate({ identifier: "ListFoldersResponse" }) as any as S.Schema<ListFoldersResponse>;
656
611
 
657
612
  export type ListOrganizationsRequestContainerIdsList = Array<string>;
658
613
  export const ListOrganizationsRequestContainerIdsList = /*@__PURE__*/ S.Array(
@@ -673,15 +628,11 @@ export interface ListOrganizationsRequest {
673
628
  }
674
629
  export const ListOrganizationsRequest = /*@__PURE__*/ S.suspend(() =>
675
630
  S.Struct({
676
- containerIds: S.optional(
677
- ListOrganizationsRequestContainerIdsList.pipe(T.Query()),
678
- ),
631
+ containerIds: S.optional(ListOrganizationsRequestContainerIdsList.pipe(T.Query())),
679
632
  member: S.optional(S.String.pipe(T.Query())),
680
633
  limit: S.optional(S.Number.pipe(T.Query())),
681
634
  offset: S.optional(S.Number.pipe(T.Query())),
682
- creation_time_start: S.optional(
683
- S.String.pipe(T.Query("creation-time-start")),
684
- ),
635
+ creation_time_start: S.optional(S.String.pipe(T.Query("creation-time-start"))),
685
636
  }).pipe(
686
637
  T.Http({
687
638
  method: "GET",
@@ -690,9 +641,7 @@ export const ListOrganizationsRequest = /*@__PURE__*/ S.suspend(() =>
690
641
  baseUrl: "https://resource-manager.api.stackit.cloud",
691
642
  }),
692
643
  ),
693
- ).annotate({
694
- identifier: "ListOrganizationsRequest",
695
- }) as any as S.Schema<ListOrganizationsRequest>;
644
+ ).annotate({ identifier: "ListOrganizationsRequest" }) as any as S.Schema<ListOrganizationsRequest>;
696
645
 
697
646
  export interface ListOrganizationsResponseItemsItem {
698
647
  /** Globally unique, user-friendly identifier. */
@@ -722,8 +671,7 @@ export const ListOrganizationsResponseItemsItem = /*@__PURE__*/ S.suspend(() =>
722
671
  identifier: "ListOrganizationsResponseItemsItem",
723
672
  }) as any as S.Schema<ListOrganizationsResponseItemsItem>;
724
673
 
725
- export type ListOrganizationsResponseItemsList =
726
- Array<ListOrganizationsResponseItemsItem>;
674
+ export type ListOrganizationsResponseItemsList = Array<ListOrganizationsResponseItemsItem>;
727
675
  export const ListOrganizationsResponseItemsList = /*@__PURE__*/ S.Array(
728
676
  ListOrganizationsResponseItemsItem,
729
677
  ) as any as S.Schema<ListOrganizationsResponseItemsList>;
@@ -765,15 +713,11 @@ export interface ListProjectsRequest {
765
713
  export const ListProjectsRequest = /*@__PURE__*/ S.suspend(() =>
766
714
  S.Struct({
767
715
  containerParentId: S.optional(S.String.pipe(T.Query())),
768
- containerIds: S.optional(
769
- ListProjectsRequestContainerIdsList.pipe(T.Query()),
770
- ),
716
+ containerIds: S.optional(ListProjectsRequestContainerIdsList.pipe(T.Query())),
771
717
  member: S.optional(S.String.pipe(T.Query())),
772
718
  offset: S.optional(S.Number.pipe(T.Query())),
773
719
  limit: S.optional(S.Number.pipe(T.Query())),
774
- creation_time_start: S.optional(
775
- S.String.pipe(T.Query("creation-time-start")),
776
- ),
720
+ creation_time_start: S.optional(S.String.pipe(T.Query("creation-time-start"))),
777
721
  }).pipe(
778
722
  T.Http({
779
723
  method: "GET",
@@ -782,9 +726,7 @@ export const ListProjectsRequest = /*@__PURE__*/ S.suspend(() =>
782
726
  baseUrl: "https://resource-manager.api.stackit.cloud",
783
727
  }),
784
728
  ),
785
- ).annotate({
786
- identifier: "ListProjectsRequest",
787
- }) as any as S.Schema<ListProjectsRequest>;
729
+ ).annotate({ identifier: "ListProjectsRequest" }) as any as S.Schema<ListProjectsRequest>;
788
730
 
789
731
  export type ListProjectsResponseItemsList = Array<Project>;
790
732
  export const ListProjectsResponseItemsList = /*@__PURE__*/ S.Array(
@@ -802,15 +744,13 @@ export const ListProjectsResponse = /*@__PURE__*/ S.suspend(() =>
802
744
  limit: S.Number,
803
745
  offset: S.Number,
804
746
  }),
805
- ).annotate({
806
- identifier: "ListProjectsResponse",
807
- }) as any as S.Schema<ListProjectsResponse>;
747
+ ).annotate({ identifier: "ListProjectsResponse" }) as any as S.Schema<ListProjectsResponse>;
808
748
 
809
- /** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* */
810
- export type UpdateLabels = { [key: string]: string | undefined };
749
+ /** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.* */
750
+ export type UpdateLabels = { [key: string]: string | null | undefined };
811
751
  export const UpdateLabels = /*@__PURE__*/ S.Record(
812
752
  S.String,
813
- S.String,
753
+ S.NullOr(S.String),
814
754
  ) as any as S.Schema<UpdateLabels>;
815
755
 
816
756
  export interface PartialUpdateFolderRequest {
@@ -891,11 +831,7 @@ export const PartialUpdateProjectRequest = /*@__PURE__*/ S.suspend(() =>
891
831
  identifier: "PartialUpdateProjectRequest",
892
832
  }) as any as S.Schema<PartialUpdateProjectRequest>;
893
833
 
894
- export type CreateFolderError =
895
- | BadRequest
896
- | Forbidden
897
- | Conflict
898
- | StackitOpError;
834
+ export type CreateFolderError = BadRequest | Forbidden | Conflict | StackitOpError;
899
835
  /** Create Folder Creates a new folder within a parent organization or folder. Authorization & Permissions: - Evaluated on Target Parent Container: resource-manager.folder.create (required permission on the target parent organization or folder to create a folder). */
900
836
  export const createFolder: API.OperationMethod<
901
837
  CreateFolderRequest,
@@ -910,11 +846,7 @@ export const createFolder: API.OperationMethod<
910
846
  retry: Retry.Retry,
911
847
  }));
912
848
 
913
- export type CreateProjectError =
914
- | BadRequest
915
- | Forbidden
916
- | Conflict
917
- | StackitOpError;
849
+ export type CreateProjectError = BadRequest | Forbidden | Conflict | StackitOpError;
918
850
  /** Create Project Creates a new project within a parent container. - Creation request returns synchronously, while underlying resource provisioning runs asynchronously. - Initial lifecycle state is CREATING until provisioning completes. Authorization & Permissions: - Evaluated on Target Parent Container: resource-manager.project.create (required permission on the target parent organization or folder to create a project). */
919
851
  export const createProject: API.OperationMethod<
920
852
  CreateProjectRequest,
@@ -1049,11 +981,7 @@ export const getProject: API.OperationMethod<
1049
981
  retry: Retry.Retry,
1050
982
  }));
1051
983
 
1052
- export type ListFoldersError =
1053
- | BadRequest
1054
- | Forbidden
1055
- | Conflict
1056
- | StackitOpError;
984
+ export type ListFoldersError = BadRequest | Forbidden | Conflict | StackitOpError;
1057
985
  /** Get All Folders Returns all folders and their metadata that: - Are children of the specific containerParentId - Match the given containerIds - User is member of <br /> Filter: - Either containerParentId OR containerIds OR member must be passed - If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent - If member and containerParentId are given, both are used for filtering - If member is given, containers must not point to the same container parent Authorization & Permissions: - When filtering by member: resource-manager.folder.direct.get is evaluated on target folders for the member; if caller differs from target member, system-level resource-manager.folder.get is required. - When filtering by containerParentId: resource-manager.folder.list is evaluated on the parent container. - When filtering by containerIds: resource-manager.folder.get is evaluated on the parent container of requested folders. */
1058
986
  export const listFolders: API.OperationMethod<
1059
987
  ListFoldersRequest,
@@ -1098,11 +1026,7 @@ export const listProjects: API.OperationMethod<
1098
1026
  retry: Retry.Retry,
1099
1027
  }));
1100
1028
 
1101
- export type PartialUpdateFolderError =
1102
- | Forbidden
1103
- | NotFound
1104
- | Conflict
1105
- | StackitOpError;
1029
+ export type PartialUpdateFolderError = Forbidden | NotFound | Conflict | StackitOpError;
1106
1030
  /** Update Folder Update the folder and its metadata (name, labels, parent container). Authorization & Permissions: - Evaluated on Target Folder: resource-manager.folder.edit (required permission on the target folder to modify its details, labels, or parent). */
1107
1031
  export const partialUpdateFolder: API.OperationMethod<
1108
1032
  PartialUpdateFolderRequest,
@@ -1117,10 +1041,7 @@ export const partialUpdateFolder: API.OperationMethod<
1117
1041
  retry: Retry.Retry,
1118
1042
  }));
1119
1043
 
1120
- export type PartialUpdateOrganizationError =
1121
- | NotFound
1122
- | Conflict
1123
- | StackitOpError;
1044
+ export type PartialUpdateOrganizationError = NotFound | Conflict | StackitOpError;
1124
1045
  /** Update Organization Updates organization metadata (name, labels). Authorization & Permissions: - Evaluated on Target Organization: resource-manager.organization.edit (required permission on the organization to update metadata and labels). */
1125
1046
  export const partialUpdateOrganization: API.OperationMethod<
1126
1047
  PartialUpdateOrganizationRequest,
@@ -1135,11 +1056,7 @@ export const partialUpdateOrganization: API.OperationMethod<
1135
1056
  retry: Retry.Retry,
1136
1057
  }));
1137
1058
 
1138
- export type PartialUpdateProjectError =
1139
- | Forbidden
1140
- | NotFound
1141
- | Conflict
1142
- | StackitOpError;
1059
+ export type PartialUpdateProjectError = Forbidden | NotFound | Conflict | StackitOpError;
1143
1060
  /** Update Project Updates project metadata (name, labels, or parent hierarchy). Authorization & Permissions: - Evaluated on Target Project: resource-manager.project.edit (required permission on the project to modify its details, labels, or parent). */
1144
1061
  export const partialUpdateProject: API.OperationMethod<
1145
1062
  PartialUpdateProjectRequest,
@@ -1,15 +1,11 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
1
  import * as API from "@distilled.cloud/core/api";
4
2
  import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.ts";
6
- import {
7
- StackitProtocol,
8
- type StackitOpError,
9
- type StackitOpContext,
10
- } from "../protocol.ts";
3
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
+ import * as S from "@distilled.cloud/core/schema";
11
5
  import { UnknownStackitError } from "../errors.ts";
6
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
12
7
  import * as Retry from "../retry.ts";
8
+ import * as T from "../traits.ts";
13
9
 
14
10
  export type { StackitOpError, StackitOpContext };
15
11
 
@@ -31,9 +27,7 @@ export class NotFound
31
27
  [{ status: 404 }],
32
28
  ) {}
33
29
 
34
- export type CreateCommandRequestParametersMap = {
35
- [key: string]: string | undefined;
36
- };
30
+ export type CreateCommandRequestParametersMap = { [key: string]: string | undefined };
37
31
  export const CreateCommandRequestParametersMap = /*@__PURE__*/ S.Record(
38
32
  S.String,
39
33
  S.String,
@@ -64,9 +58,7 @@ export const CreateCommandRequest = /*@__PURE__*/ S.suspend(() =>
64
58
  baseUrl: "https://run-command.api.stackit.cloud",
65
59
  }),
66
60
  ),
67
- ).annotate({
68
- identifier: "CreateCommandRequest",
69
- }) as any as S.Schema<CreateCommandRequest>;
61
+ ).annotate({ identifier: "CreateCommandRequest" }) as any as S.Schema<CreateCommandRequest>;
70
62
 
71
63
  export interface NewCommandResponse {
72
64
  id?: number;
@@ -75,9 +67,7 @@ export const NewCommandResponse = /*@__PURE__*/ S.suspend(() =>
75
67
  S.Struct({
76
68
  id: S.optional(S.Number),
77
69
  }),
78
- ).annotate({
79
- identifier: "NewCommandResponse",
80
- }) as any as S.Schema<NewCommandResponse>;
70
+ ).annotate({ identifier: "NewCommandResponse" }) as any as S.Schema<NewCommandResponse>;
81
71
 
82
72
  export interface GetCommandRequest {
83
73
  /** ID of the project */
@@ -103,16 +93,10 @@ export const GetCommandRequest = /*@__PURE__*/ S.suspend(() =>
103
93
  baseUrl: "https://run-command.api.stackit.cloud",
104
94
  }),
105
95
  ),
106
- ).annotate({
107
- identifier: "GetCommandRequest",
108
- }) as any as S.Schema<GetCommandRequest>;
96
+ ).annotate({ identifier: "GetCommandRequest" }) as any as S.Schema<GetCommandRequest>;
109
97
 
110
- export type CommandDetailsStatus =
111
- | "pending"
112
- | "running"
113
- | "completed"
114
- | "failed";
115
- export const CommandDetailsStatus = /*@__PURE__*/ S.String;
98
+ export type CommandDetailsStatus = "pending" | "running" | "completed" | "failed";
99
+ export const CommandDetailsStatus = S.String;
116
100
 
117
101
  export interface CommandDetails {
118
102
  commandTemplateName?: string;
@@ -224,9 +208,7 @@ export const ParametersSchema = /*@__PURE__*/ S.suspend(() =>
224
208
  S.Struct({
225
209
  properties: S.optional(Properties),
226
210
  }),
227
- ).annotate({
228
- identifier: "ParametersSchema",
229
- }) as any as S.Schema<ParametersSchema>;
211
+ ).annotate({ identifier: "ParametersSchema" }) as any as S.Schema<ParametersSchema>;
230
212
 
231
213
  export interface CommandTemplateSchema {
232
214
  description?: string;
@@ -243,9 +225,7 @@ export const CommandTemplateSchema = /*@__PURE__*/ S.suspend(() =>
243
225
  parametersSchema: S.optional(ParametersSchema),
244
226
  title: S.optional(S.String),
245
227
  }),
246
- ).annotate({
247
- identifier: "CommandTemplateSchema",
248
- }) as any as S.Schema<CommandTemplateSchema>;
228
+ ).annotate({ identifier: "CommandTemplateSchema" }) as any as S.Schema<CommandTemplateSchema>;
249
229
 
250
230
  export interface ListCommandsRequest {
251
231
  /** ID of the project */
@@ -268,12 +248,10 @@ export const ListCommandsRequest = /*@__PURE__*/ S.suspend(() =>
268
248
  baseUrl: "https://run-command.api.stackit.cloud",
269
249
  }),
270
250
  ),
271
- ).annotate({
272
- identifier: "ListCommandsRequest",
273
- }) as any as S.Schema<ListCommandsRequest>;
251
+ ).annotate({ identifier: "ListCommandsRequest" }) as any as S.Schema<ListCommandsRequest>;
274
252
 
275
253
  export type CommandsStatus = "pending" | "running" | "completed" | "failed";
276
- export const CommandsStatus = /*@__PURE__*/ S.String;
254
+ export const CommandsStatus = S.String;
277
255
 
278
256
  export interface Commands {
279
257
  commandTemplateName?: string;
@@ -306,9 +284,7 @@ export const GetCommandsResponse = /*@__PURE__*/ S.suspend(() =>
306
284
  S.Struct({
307
285
  items: S.optional(GetCommandsResponseItemsList),
308
286
  }),
309
- ).annotate({
310
- identifier: "GetCommandsResponse",
311
- }) as any as S.Schema<GetCommandsResponse>;
287
+ ).annotate({ identifier: "GetCommandsResponse" }) as any as S.Schema<GetCommandsResponse>;
312
288
 
313
289
  export interface ListCommandTemplatesRequest {
314
290
  /** The type of the Operating System (windows or linux). If not provided will return data for all OS types. */
@@ -345,9 +321,7 @@ export const CommandTemplate = /*@__PURE__*/ S.suspend(() =>
345
321
  osType: S.optional(CommandTemplateOsTypeList),
346
322
  title: S.optional(S.String),
347
323
  }),
348
- ).annotate({
349
- identifier: "CommandTemplate",
350
- }) as any as S.Schema<CommandTemplate>;
324
+ ).annotate({ identifier: "CommandTemplate" }) as any as S.Schema<CommandTemplate>;
351
325
 
352
326
  export type CommandTemplateResponseItemsList = Array<CommandTemplate>;
353
327
  export const CommandTemplateResponseItemsList = /*@__PURE__*/ S.Array(
@@ -361,9 +335,7 @@ export const CommandTemplateResponse = /*@__PURE__*/ S.suspend(() =>
361
335
  S.Struct({
362
336
  items: S.optional(CommandTemplateResponseItemsList),
363
337
  }),
364
- ).annotate({
365
- identifier: "CommandTemplateResponse",
366
- }) as any as S.Schema<CommandTemplateResponse>;
338
+ ).annotate({ identifier: "CommandTemplateResponse" }) as any as S.Schema<CommandTemplateResponse>;
367
339
 
368
340
  export type CreateCommandError = BadRequest | NotFound | StackitOpError;
369
341
  /** Creates a new command for execution */