@distilled.cloud/stackit 0.0.0-placeholder → 1.0.0-rc.13

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +34 -0
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +48 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +148 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/response-validation.test.d.ts +4 -0
  24. package/lib/response-validation.test.d.ts.map +1 -0
  25. package/lib/response-validation.test.js +31 -0
  26. package/lib/response-validation.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +562 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +545 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +353 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +358 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +426 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +992 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +197 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +188 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +875 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +854 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +339 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +375 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +423 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +552 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2965 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3768 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +513 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +703 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +162 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +173 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +542 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +636 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +498 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +611 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +356 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +319 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +889 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +446 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +577 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3407 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +623 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +789 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +1018 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +614 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +636 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +221 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +503 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +203 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +541 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +478 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +718 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +659 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +474 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +364 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +523 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +159 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +845 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +536 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +598 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +1087 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +393 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +550 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +523 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +301 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +627 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +1013 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +556 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +78 -7
  240. package/src/credentials.ts +90 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +73 -0
  244. package/src/protocol.ts +243 -0
  245. package/src/response-validation.test.ts +45 -0
  246. package/src/retry.ts +53 -0
  247. package/src/services/alb.ts +1409 -0
  248. package/src/services/alb_waf.ts +1347 -0
  249. package/src/services/authorization.ts +740 -0
  250. package/src/services/automation.ts +966 -0
  251. package/src/services/cdn.ts +2736 -0
  252. package/src/services/certificates.ts +450 -0
  253. package/src/services/cost.ts +484 -0
  254. package/src/services/dns.ts +2271 -0
  255. package/src/services/dremio.ts +803 -0
  256. package/src/services/edge.ts +839 -0
  257. package/src/services/functions.ts +1010 -0
  258. package/src/services/git.ts +1275 -0
  259. package/src/services/iaas.ts +8670 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1233 -0
  262. package/src/services/kms.ts +1638 -0
  263. package/src/services/lb_ip_lists.ts +377 -0
  264. package/src/services/load_balancer.ts +1342 -0
  265. package/src/services/logme.ts +1379 -0
  266. package/src/services/logs.ts +1150 -0
  267. package/src/services/mariadb.ts +1293 -0
  268. package/src/services/model_experiments.ts +797 -0
  269. package/src/services/model_serving.ts +697 -0
  270. package/src/services/mongodb_flex.ts +2078 -0
  271. package/src/services/object_storage.ts +1248 -0
  272. package/src/services/observability.ts +7856 -0
  273. package/src/services/opensearch.ts +1354 -0
  274. package/src/services/pim.ts +2090 -0
  275. package/src/services/postgres_flex.ts +2326 -0
  276. package/src/services/pubsub.ts +1336 -0
  277. package/src/services/rabbitmq.ts +1402 -0
  278. package/src/services/registry.ts +494 -0
  279. package/src/services/resource_manager.ts +1155 -0
  280. package/src/services/run_command.ts +441 -0
  281. package/src/services/sca.ts +1222 -0
  282. package/src/services/scf.ts +1537 -0
  283. package/src/services/secrets_manager.ts +1399 -0
  284. package/src/services/server_backup.ts +1032 -0
  285. package/src/services/server_update.ts +767 -0
  286. package/src/services/service_account.ts +1208 -0
  287. package/src/services/service_enablement.ts +359 -0
  288. package/src/services/sfs.ts +1913 -0
  289. package/src/services/ske.ts +1408 -0
  290. package/src/services/sqlserverflex.ts +2543 -0
  291. package/src/services/stackit_marketplace.ts +853 -0
  292. package/src/services/telemetry_link.ts +1245 -0
  293. package/src/services/telemetry_router.ts +1205 -0
  294. package/src/services/ufw.ts +704 -0
  295. package/src/services/valkey.ts +1357 -0
  296. package/src/services/vpn.ts +2554 -0
  297. package/src/services/workflows.ts +1361 -0
  298. package/src/traits.ts +65 -0
@@ -0,0 +1,718 @@
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
+ 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.js";
7
+ import { StackitProtocol, } from "../protocol.js";
8
+ import { UnknownStackitError } from "../errors.js";
9
+ import * as Retry from "../retry.js";
10
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
11
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
12
+ code: S.Number,
13
+ message: S.String,
14
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
15
+ }
16
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
17
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
18
+ code: S.Number,
19
+ message: S.String,
20
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
21
+ }
22
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
23
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
24
+ code: S.Number,
25
+ message: S.String,
26
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
27
+ }
28
+ export const ApplyOrganizationQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
29
+ projectId: S.String.pipe(T.Label()),
30
+ region: S.String.pipe(T.Label()),
31
+ organizationId: S.String.pipe(T.Label()),
32
+ quotaId: S.String,
33
+ }).pipe(T.Http({
34
+ method: "POST",
35
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quota",
36
+ code: 200,
37
+ baseUrl: "https://scf.api.stackit.cloud",
38
+ }))).annotate({
39
+ identifier: "ApplyOrganizationQuotaRequest",
40
+ });
41
+ export const OrganizationQuota = /*@__PURE__*/ S.suspend(() => S.Struct({
42
+ orgId: S.String,
43
+ platformId: S.String,
44
+ projectId: S.String,
45
+ quotaId: S.String,
46
+ region: S.String,
47
+ })).annotate({
48
+ identifier: "OrganizationQuota",
49
+ });
50
+ export const CreateOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
51
+ projectId: S.String.pipe(T.Label()),
52
+ region: S.String.pipe(T.Label()),
53
+ name: S.String,
54
+ platformId: S.optional(S.String),
55
+ }).pipe(T.Http({
56
+ method: "POST",
57
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations",
58
+ code: 200,
59
+ baseUrl: "https://scf.api.stackit.cloud",
60
+ }))).annotate({
61
+ identifier: "CreateOrganizationRequest",
62
+ });
63
+ export const OrganizationCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
64
+ guid: S.String,
65
+ platformId: S.String,
66
+ projectId: S.String,
67
+ region: S.String,
68
+ })).annotate({
69
+ identifier: "OrganizationCreateResponse",
70
+ });
71
+ export const CreateOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
72
+ projectId: S.String.pipe(T.Label()),
73
+ region: S.String.pipe(T.Label()),
74
+ organizationId: S.String.pipe(T.Label()),
75
+ }).pipe(T.Http({
76
+ method: "POST",
77
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
78
+ code: 200,
79
+ baseUrl: "https://scf.api.stackit.cloud",
80
+ }))).annotate({
81
+ identifier: "CreateOrgManagerRequest",
82
+ });
83
+ export const OrgManagerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
84
+ createdAt: S.String,
85
+ guid: S.String,
86
+ orgId: S.String,
87
+ password: S.String.pipe(T.SensitiveValue({})),
88
+ platformId: S.String,
89
+ projectId: S.String,
90
+ region: S.String,
91
+ updatedAt: S.String,
92
+ username: S.String,
93
+ })).annotate({
94
+ identifier: "OrgManagerResponse",
95
+ });
96
+ export const OrgRoleType = /*@__PURE__*/ S.String;
97
+ export const CreateOrgRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
98
+ projectId: S.String.pipe(T.Label()),
99
+ region: S.String.pipe(T.Label()),
100
+ organizationId: S.String.pipe(T.Label()),
101
+ type: OrgRoleType,
102
+ userGuid: S.optional(S.String),
103
+ userName: S.optional(S.String),
104
+ }).pipe(T.Http({
105
+ method: "POST",
106
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/roles",
107
+ code: 200,
108
+ baseUrl: "https://scf.api.stackit.cloud",
109
+ }))).annotate({
110
+ identifier: "CreateOrgRoleRequest",
111
+ });
112
+ export const OrgRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
113
+ guid: S.String,
114
+ orgId: S.String,
115
+ platformId: S.String,
116
+ projectId: S.String,
117
+ region: S.String,
118
+ type: OrgRoleType,
119
+ })).annotate({
120
+ identifier: "OrgRoleResponse",
121
+ });
122
+ export const CreateSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
123
+ projectId: S.String.pipe(T.Label()),
124
+ region: S.String.pipe(T.Label()),
125
+ organizationId: S.String.pipe(T.Label()),
126
+ name: S.String,
127
+ }).pipe(T.Http({
128
+ method: "POST",
129
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces",
130
+ code: 200,
131
+ baseUrl: "https://scf.api.stackit.cloud",
132
+ }))).annotate({
133
+ identifier: "CreateSpaceRequest",
134
+ });
135
+ export const Space = /*@__PURE__*/ S.suspend(() => S.Struct({
136
+ createdAt: S.String,
137
+ guid: S.String,
138
+ name: S.String,
139
+ orgId: S.String,
140
+ platformId: S.String,
141
+ projectId: S.String,
142
+ region: S.String,
143
+ updatedAt: S.String,
144
+ })).annotate({ identifier: "Space" });
145
+ export const SpaceRoleType = /*@__PURE__*/ S.String;
146
+ export const CreateSpaceRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
147
+ projectId: S.String.pipe(T.Label()),
148
+ region: S.String.pipe(T.Label()),
149
+ organizationId: S.String.pipe(T.Label()),
150
+ spaceId: S.String.pipe(T.Label()),
151
+ type: SpaceRoleType,
152
+ userGuid: S.optional(S.String),
153
+ userName: S.optional(S.String),
154
+ }).pipe(T.Http({
155
+ method: "POST",
156
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}/roles",
157
+ code: 200,
158
+ baseUrl: "https://scf.api.stackit.cloud",
159
+ }))).annotate({
160
+ identifier: "CreateSpaceRoleRequest",
161
+ });
162
+ export const SpaceRoleCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
163
+ guid: S.String,
164
+ orgId: S.String,
165
+ platformId: S.String,
166
+ projectId: S.String,
167
+ region: S.String,
168
+ spaceId: S.String,
169
+ type: SpaceRoleType,
170
+ })).annotate({
171
+ identifier: "SpaceRoleCreateResponse",
172
+ });
173
+ export const DeleteOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
174
+ projectId: S.String.pipe(T.Label()),
175
+ region: S.String.pipe(T.Label()),
176
+ organizationId: S.String.pipe(T.Label()),
177
+ }).pipe(T.Http({
178
+ method: "DELETE",
179
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",
180
+ code: 200,
181
+ baseUrl: "https://scf.api.stackit.cloud",
182
+ }))).annotate({
183
+ identifier: "DeleteOrganizationRequest",
184
+ });
185
+ export const OrganizationDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
186
+ guid: S.String,
187
+ platformId: S.String,
188
+ projectId: S.String,
189
+ region: S.String,
190
+ })).annotate({
191
+ identifier: "OrganizationDeleteResponse",
192
+ });
193
+ export const DeleteOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
194
+ projectId: S.String.pipe(T.Label()),
195
+ region: S.String.pipe(T.Label()),
196
+ organizationId: S.String.pipe(T.Label()),
197
+ }).pipe(T.Http({
198
+ method: "DELETE",
199
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
200
+ code: 200,
201
+ baseUrl: "https://scf.api.stackit.cloud",
202
+ }))).annotate({
203
+ identifier: "DeleteOrgManagerRequest",
204
+ });
205
+ export const OrgManagerDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
206
+ message: S.String,
207
+ })).annotate({
208
+ identifier: "OrgManagerDeleteResponse",
209
+ });
210
+ export const DeleteSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
211
+ projectId: S.String.pipe(T.Label()),
212
+ region: S.String.pipe(T.Label()),
213
+ organizationId: S.String.pipe(T.Label()),
214
+ spaceId: S.String.pipe(T.Label()),
215
+ }).pipe(T.Http({
216
+ method: "DELETE",
217
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",
218
+ code: 200,
219
+ baseUrl: "https://scf.api.stackit.cloud",
220
+ }))).annotate({
221
+ identifier: "DeleteSpaceRequest",
222
+ });
223
+ export const SpaceDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
224
+ message: S.String,
225
+ })).annotate({
226
+ identifier: "SpaceDeleteResponse",
227
+ });
228
+ export const GetOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
229
+ projectId: S.String.pipe(T.Label()),
230
+ region: S.String.pipe(T.Label()),
231
+ organizationId: S.String.pipe(T.Label()),
232
+ }).pipe(T.Http({
233
+ method: "GET",
234
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",
235
+ code: 200,
236
+ baseUrl: "https://scf.api.stackit.cloud",
237
+ }))).annotate({
238
+ identifier: "GetOrganizationRequest",
239
+ });
240
+ export const Organization = /*@__PURE__*/ S.suspend(() => S.Struct({
241
+ createdAt: S.String,
242
+ guid: S.String,
243
+ name: S.String,
244
+ platformId: S.String,
245
+ projectId: S.String,
246
+ quotaId: S.String,
247
+ region: S.String,
248
+ status: S.String,
249
+ suspended: S.Boolean,
250
+ updatedAt: S.String,
251
+ })).annotate({ identifier: "Organization" });
252
+ export const GetOrganizationQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
253
+ projectId: S.String.pipe(T.Label()),
254
+ region: S.String.pipe(T.Label()),
255
+ organizationId: S.String.pipe(T.Label()),
256
+ quotaId: S.String.pipe(T.Label()),
257
+ }).pipe(T.Http({
258
+ method: "GET",
259
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas/{quotaId}",
260
+ code: 200,
261
+ baseUrl: "https://scf.api.stackit.cloud",
262
+ }))).annotate({
263
+ identifier: "GetOrganizationQuotaRequest",
264
+ });
265
+ export const QuotaApps = /*@__PURE__*/ S.suspend(() => S.Struct({
266
+ logRateLimitInBytesPerSecond: S.NullOr(S.Number),
267
+ perAppTasks: S.NullOr(S.Number),
268
+ perProcessMemoryInMb: S.NullOr(S.Number),
269
+ totalInstances: S.NullOr(S.Number),
270
+ totalMemoryInMb: S.NullOr(S.Number),
271
+ })).annotate({ identifier: "QuotaApps" });
272
+ export const QuotaDomains = /*@__PURE__*/ S.suspend(() => S.Struct({
273
+ totalDomains: S.NullOr(S.Number),
274
+ })).annotate({ identifier: "QuotaDomains" });
275
+ export const QuotaRoutes = /*@__PURE__*/ S.suspend(() => S.Struct({
276
+ totalReservedPorts: S.NullOr(S.Number),
277
+ totalRoutes: S.NullOr(S.Number),
278
+ })).annotate({ identifier: "QuotaRoutes" });
279
+ export const QuotaServices = /*@__PURE__*/ S.suspend(() => S.Struct({
280
+ paidServicesAllowed: S.Boolean,
281
+ totalServiceInstances: S.NullOr(S.Number),
282
+ totalServiceKeys: S.NullOr(S.Number),
283
+ })).annotate({ identifier: "QuotaServices" });
284
+ export const Quota = /*@__PURE__*/ S.suspend(() => S.Struct({
285
+ apps: QuotaApps,
286
+ createdAt: S.String,
287
+ domains: QuotaDomains,
288
+ guid: S.String,
289
+ name: S.String,
290
+ orgId: S.optional(S.String),
291
+ platformId: S.String,
292
+ projectId: S.String,
293
+ region: S.String,
294
+ routes: QuotaRoutes,
295
+ services: QuotaServices,
296
+ updatedAt: S.String,
297
+ })).annotate({ identifier: "Quota" });
298
+ export const GetOrganizationUsageSummaryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
299
+ projectId: S.String.pipe(T.Label()),
300
+ region: S.String.pipe(T.Label()),
301
+ organizationId: S.String.pipe(T.Label()),
302
+ }).pipe(T.Http({
303
+ method: "GET",
304
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/usage_summary",
305
+ code: 200,
306
+ baseUrl: "https://scf.api.stackit.cloud",
307
+ }))).annotate({
308
+ identifier: "GetOrganizationUsageSummaryRequest",
309
+ });
310
+ export const UsageSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
311
+ domains: S.Number,
312
+ memoryInMb: S.Number,
313
+ perAppTasks: S.Number,
314
+ reservedPorts: S.Number,
315
+ routes: S.Number,
316
+ serviceInstances: S.Number,
317
+ serviceKeys: S.Number,
318
+ startedInstances: S.Number,
319
+ })).annotate({ identifier: "UsageSummary" });
320
+ export const OrganizationUsageSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
321
+ orgId: S.String,
322
+ platformId: S.String,
323
+ projectId: S.String,
324
+ region: S.String,
325
+ usageSummary: UsageSummary,
326
+ })).annotate({
327
+ identifier: "OrganizationUsageSummary",
328
+ });
329
+ export const GetOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
330
+ projectId: S.String.pipe(T.Label()),
331
+ region: S.String.pipe(T.Label()),
332
+ organizationId: S.String.pipe(T.Label()),
333
+ }).pipe(T.Http({
334
+ method: "GET",
335
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
336
+ code: 200,
337
+ baseUrl: "https://scf.api.stackit.cloud",
338
+ }))).annotate({
339
+ identifier: "GetOrgManagerRequest",
340
+ });
341
+ export const OrgManager = /*@__PURE__*/ S.suspend(() => S.Struct({
342
+ createdAt: S.String,
343
+ guid: S.String,
344
+ orgId: S.String,
345
+ platformId: S.String,
346
+ projectId: S.String,
347
+ region: S.String,
348
+ updatedAt: S.String,
349
+ username: S.String,
350
+ })).annotate({ identifier: "OrgManager" });
351
+ export const GetPlatformRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
352
+ projectId: S.String.pipe(T.Label()),
353
+ region: S.String.pipe(T.Label()),
354
+ platformId: S.String.pipe(T.Label()),
355
+ }).pipe(T.Http({
356
+ method: "GET",
357
+ uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}",
358
+ code: 200,
359
+ baseUrl: "https://scf.api.stackit.cloud",
360
+ }))).annotate({
361
+ identifier: "GetPlatformRequest",
362
+ });
363
+ export const Platforms = /*@__PURE__*/ S.suspend(() => S.Struct({
364
+ apiUrl: S.String,
365
+ consoleUrl: S.optional(S.String),
366
+ displayName: S.String,
367
+ guid: S.String,
368
+ region: S.String,
369
+ systemId: S.String,
370
+ })).annotate({ identifier: "Platforms" });
371
+ export const GetPlatformQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
372
+ projectId: S.String.pipe(T.Label()),
373
+ region: S.String.pipe(T.Label()),
374
+ platformId: S.String.pipe(T.Label()),
375
+ quotaId: S.String.pipe(T.Label()),
376
+ }).pipe(T.Http({
377
+ method: "GET",
378
+ uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas/{quotaId}",
379
+ code: 200,
380
+ baseUrl: "https://scf.api.stackit.cloud",
381
+ }))).annotate({
382
+ identifier: "GetPlatformQuotaRequest",
383
+ });
384
+ export const GetSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
385
+ projectId: S.String.pipe(T.Label()),
386
+ region: S.String.pipe(T.Label()),
387
+ organizationId: S.String.pipe(T.Label()),
388
+ spaceId: S.String.pipe(T.Label()),
389
+ }).pipe(T.Http({
390
+ method: "GET",
391
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",
392
+ code: 200,
393
+ baseUrl: "https://scf.api.stackit.cloud",
394
+ }))).annotate({
395
+ identifier: "GetSpaceRequest",
396
+ });
397
+ export const ListOrganizationQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
398
+ projectId: S.String.pipe(T.Label()),
399
+ region: S.String.pipe(T.Label()),
400
+ organizationId: S.String.pipe(T.Label()),
401
+ }).pipe(T.Http({
402
+ method: "GET",
403
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas",
404
+ code: 200,
405
+ baseUrl: "https://scf.api.stackit.cloud",
406
+ }))).annotate({
407
+ identifier: "ListOrganizationQuotasRequest",
408
+ });
409
+ export const ListOrganizationQuotasResponseBodyList = /*@__PURE__*/ S.Array(Quota);
410
+ export const ListOrganizationQuotasResponse = /*@__PURE__*/ S.suspend(() => ListOrganizationQuotasResponseBodyList.pipe(T.RawResponseRoot())).annotate({
411
+ identifier: "ListOrganizationQuotasResponse",
412
+ });
413
+ export const ListOrganizationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
414
+ projectId: S.String.pipe(T.Label()),
415
+ region: S.String.pipe(T.Label()),
416
+ withDetails: S.optional(S.Boolean.pipe(T.Query())),
417
+ orderBy: S.optional(S.String.pipe(T.Query())),
418
+ page: S.optional(S.Number.pipe(T.Query())),
419
+ perPage: S.optional(S.Number.pipe(T.Query())),
420
+ }).pipe(T.Http({
421
+ method: "GET",
422
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations",
423
+ code: 200,
424
+ baseUrl: "https://scf.api.stackit.cloud",
425
+ }))).annotate({
426
+ identifier: "ListOrganizationsRequest",
427
+ });
428
+ export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
429
+ totalPages: S.optional(S.Number),
430
+ totalResults: S.optional(S.Number),
431
+ })).annotate({ identifier: "Pagination" });
432
+ export const OrganizationsListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
433
+ createdAt: S.optional(S.String),
434
+ guid: S.String,
435
+ name: S.optional(S.String),
436
+ platformId: S.String,
437
+ projectId: S.String,
438
+ quotaId: S.optional(S.String),
439
+ region: S.String,
440
+ status: S.String,
441
+ suspended: S.optional(S.Boolean),
442
+ updatedAt: S.optional(S.String),
443
+ })).annotate({
444
+ identifier: "OrganizationsListItem",
445
+ });
446
+ export const OrganizationsListResourcesList = /*@__PURE__*/ S.Array(OrganizationsListItem);
447
+ export const OrganizationsList = /*@__PURE__*/ S.suspend(() => S.Struct({
448
+ pagination: Pagination,
449
+ resources: OrganizationsListResourcesList,
450
+ })).annotate({
451
+ identifier: "OrganizationsList",
452
+ });
453
+ export const ListPlatformQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
454
+ projectId: S.String.pipe(T.Label()),
455
+ region: S.String.pipe(T.Label()),
456
+ platformId: S.String.pipe(T.Label()),
457
+ }).pipe(T.Http({
458
+ method: "GET",
459
+ uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas",
460
+ code: 200,
461
+ baseUrl: "https://scf.api.stackit.cloud",
462
+ }))).annotate({
463
+ identifier: "ListPlatformQuotasRequest",
464
+ });
465
+ export const ListPlatformQuotasResponseBodyList = /*@__PURE__*/ S.Array(Quota);
466
+ export const ListPlatformQuotasResponse = /*@__PURE__*/ S.suspend(() => ListPlatformQuotasResponseBodyList.pipe(T.RawResponseRoot())).annotate({
467
+ identifier: "ListPlatformQuotasResponse",
468
+ });
469
+ export const ListPlatformsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
470
+ projectId: S.String.pipe(T.Label()),
471
+ region: S.String.pipe(T.Label()),
472
+ page: S.optional(S.Number.pipe(T.Query())),
473
+ perPage: S.optional(S.Number.pipe(T.Query())),
474
+ }).pipe(T.Http({
475
+ method: "GET",
476
+ uri: "/v1/projects/{projectId}/regions/{region}/platforms",
477
+ code: 200,
478
+ baseUrl: "https://scf.api.stackit.cloud",
479
+ }))).annotate({
480
+ identifier: "ListPlatformsRequest",
481
+ });
482
+ export const PlatformListResourcesList = /*@__PURE__*/ S.Array(Platforms);
483
+ export const PlatformList = /*@__PURE__*/ S.suspend(() => S.Struct({
484
+ pagination: Pagination,
485
+ resources: PlatformListResourcesList,
486
+ })).annotate({ identifier: "PlatformList" });
487
+ export const ListSpacesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
488
+ projectId: S.String.pipe(T.Label()),
489
+ region: S.String.pipe(T.Label()),
490
+ organizationId: S.String.pipe(T.Label()),
491
+ page: S.optional(S.Number.pipe(T.Query())),
492
+ perPage: S.optional(S.Number.pipe(T.Query())),
493
+ }).pipe(T.Http({
494
+ method: "GET",
495
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces",
496
+ code: 200,
497
+ baseUrl: "https://scf.api.stackit.cloud",
498
+ }))).annotate({
499
+ identifier: "ListSpacesRequest",
500
+ });
501
+ export const SpacesListResourcesList = /*@__PURE__*/ S.Array(Space);
502
+ export const SpacesList = /*@__PURE__*/ S.suspend(() => S.Struct({
503
+ pagination: Pagination,
504
+ resources: SpacesListResourcesList,
505
+ })).annotate({ identifier: "SpacesList" });
506
+ export const UpdateOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
507
+ projectId: S.String.pipe(T.Label()),
508
+ region: S.String.pipe(T.Label()),
509
+ organizationId: S.String.pipe(T.Label()),
510
+ name: S.optional(S.String),
511
+ suspended: S.optional(S.Boolean),
512
+ }).pipe(T.Http({
513
+ method: "PATCH",
514
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",
515
+ code: 200,
516
+ baseUrl: "https://scf.api.stackit.cloud",
517
+ }))).annotate({
518
+ identifier: "UpdateOrganizationRequest",
519
+ });
520
+ export const UpdateSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
521
+ projectId: S.String.pipe(T.Label()),
522
+ region: S.String.pipe(T.Label()),
523
+ organizationId: S.String.pipe(T.Label()),
524
+ spaceId: S.String.pipe(T.Label()),
525
+ name: S.String,
526
+ }).pipe(T.Http({
527
+ method: "PATCH",
528
+ uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",
529
+ code: 200,
530
+ baseUrl: "https://scf.api.stackit.cloud",
531
+ }))).annotate({
532
+ identifier: "UpdateSpaceRequest",
533
+ });
534
+ /** Apply an organization quota Change the organization quota of an organization. */
535
+ export const applyOrganizationQuota = /*@__PURE__*/ API.make(() => ({
536
+ input: ApplyOrganizationQuotaRequest,
537
+ output: OrganizationQuota,
538
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
539
+ protocol: StackitProtocol,
540
+ retry: Retry.Retry,
541
+ }));
542
+ /** Create an organization Creates an organization without assigning any CF roles or creating a space. */
543
+ export const createOrganization = /*@__PURE__*/ API.make(() => ({
544
+ input: CreateOrganizationRequest,
545
+ output: OrganizationCreateResponse,
546
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
547
+ protocol: StackitProtocol,
548
+ retry: Retry.Retry,
549
+ }));
550
+ /** Create organization manager Creates organization manager within an organization. The organization manager will be backed by a CF user. There is only one organization manager per organization. The organization manager gets assigned the CF role Org Manager. This endpoint does synchronously several non-atomic steps behind the scenes. If any of those steps fail, the 'Delete Organization Manager' needs to be called first to clean up the failed creation attempt and afterwards the creation can be retried. The password needs to be stored by the API callee since it cannot be retrieved after creation. */
551
+ export const createOrgManager = /*@__PURE__*/ API.make(() => ({
552
+ input: CreateOrgManagerRequest,
553
+ output: OrgManagerResponse,
554
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
555
+ protocol: StackitProtocol,
556
+ retry: Retry.Retry,
557
+ }));
558
+ /** Assign organization role Assign organization role within an organization. If the role is already assigned, the existing role GUID gets returned. */
559
+ export const createOrgRole = /*@__PURE__*/ API.make(() => ({
560
+ input: CreateOrgRoleRequest,
561
+ output: OrgRoleResponse,
562
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
563
+ protocol: StackitProtocol,
564
+ retry: Retry.Retry,
565
+ }));
566
+ /** Create space Create space. */
567
+ export const createSpace = /*@__PURE__*/ API.make(() => ({
568
+ input: CreateSpaceRequest,
569
+ output: Space,
570
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
571
+ protocol: StackitProtocol,
572
+ retry: Retry.Retry,
573
+ }));
574
+ /** Assign space role Assign space role within an space. If the role is already assigned, the existing role GUID gets returned. */
575
+ export const createSpaceRole = /*@__PURE__*/ API.make(() => ({
576
+ input: CreateSpaceRoleRequest,
577
+ output: SpaceRoleCreateResponse,
578
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
579
+ protocol: StackitProtocol,
580
+ retry: Retry.Retry,
581
+ }));
582
+ /** Delete organization Delete an organization. */
583
+ export const deleteOrganization = /*@__PURE__*/ API.make(() => ({
584
+ input: DeleteOrganizationRequest,
585
+ output: OrganizationDeleteResponse,
586
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
587
+ protocol: StackitProtocol,
588
+ retry: Retry.Retry,
589
+ }));
590
+ /** Delete organization manager Delete the organization manager. */
591
+ export const deleteOrgManager = /*@__PURE__*/ API.make(() => ({
592
+ input: DeleteOrgManagerRequest,
593
+ output: OrgManagerDeleteResponse,
594
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
595
+ protocol: StackitProtocol,
596
+ retry: Retry.Retry,
597
+ }));
598
+ /** Delete space Delete space. */
599
+ export const deleteSpace = /*@__PURE__*/ API.make(() => ({
600
+ input: DeleteSpaceRequest,
601
+ output: SpaceDeleteResponse,
602
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
603
+ protocol: StackitProtocol,
604
+ retry: Retry.Retry,
605
+ }));
606
+ /** Get an organization Returns an organization. */
607
+ export const getOrganization = /*@__PURE__*/ API.make(() => ({
608
+ input: GetOrganizationRequest,
609
+ output: Organization,
610
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
611
+ protocol: StackitProtocol,
612
+ retry: Retry.Retry,
613
+ }));
614
+ /** Get an organization quota Returns an organization quota. */
615
+ export const getOrganizationQuota = /*@__PURE__*/ API.make(() => ({
616
+ input: GetOrganizationQuotaRequest,
617
+ output: Quota,
618
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
619
+ protocol: StackitProtocol,
620
+ retry: Retry.Retry,
621
+ }));
622
+ /** Get an organization usage summary Returns an organization usage summary. */
623
+ export const getOrganizationUsageSummary = /*@__PURE__*/ API.make(() => ({
624
+ input: GetOrganizationUsageSummaryRequest,
625
+ output: OrganizationUsageSummary,
626
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
627
+ protocol: StackitProtocol,
628
+ retry: Retry.Retry,
629
+ }));
630
+ /** Get organization manager Returns the organization manager within an organization. */
631
+ export const getOrgManager = /*@__PURE__*/ API.make(() => ({
632
+ input: GetOrgManagerRequest,
633
+ output: OrgManager,
634
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
635
+ protocol: StackitProtocol,
636
+ retry: Retry.Retry,
637
+ }));
638
+ /** Get platform Fetch a single platform */
639
+ export const getPlatform = /*@__PURE__*/ API.make(() => ({
640
+ input: GetPlatformRequest,
641
+ output: Platforms,
642
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
643
+ protocol: StackitProtocol,
644
+ retry: Retry.Retry,
645
+ }));
646
+ /** Get organization quota on a platform Returns an organization quota on a platform. */
647
+ export const getPlatformQuota = /*@__PURE__*/ API.make(() => ({
648
+ input: GetPlatformQuotaRequest,
649
+ output: Quota,
650
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
651
+ protocol: StackitProtocol,
652
+ retry: Retry.Retry,
653
+ }));
654
+ /** Get a space Returns a space. */
655
+ export const getSpace = /*@__PURE__*/ API.make(() => ({
656
+ input: GetSpaceRequest,
657
+ output: Space,
658
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
659
+ protocol: StackitProtocol,
660
+ retry: Retry.Retry,
661
+ }));
662
+ /** List organization quotas Returns a list of organization quotas. */
663
+ export const listOrganizationQuotas = /*@__PURE__*/ API.make(() => ({
664
+ input: ListOrganizationQuotasRequest,
665
+ output: ListOrganizationQuotasResponse,
666
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
667
+ protocol: StackitProtocol,
668
+ retry: Retry.Retry,
669
+ }));
670
+ /** List organizations Returns a list of organizations for a specific STACKIT project. */
671
+ export const listOrganizations = /*@__PURE__*/ API.make(() => ({
672
+ input: ListOrganizationsRequest,
673
+ output: OrganizationsList,
674
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
675
+ protocol: StackitProtocol,
676
+ retry: Retry.Retry,
677
+ }));
678
+ /** List organization quotas on a platform Returns a list of organization quotas on a platform. */
679
+ export const listPlatformQuotas = /*@__PURE__*/ API.make(() => ({
680
+ input: ListPlatformQuotasRequest,
681
+ output: ListPlatformQuotasResponse,
682
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
683
+ protocol: StackitProtocol,
684
+ retry: Retry.Retry,
685
+ }));
686
+ /** List all platforms List all platforms available for a STACKIT project */
687
+ export const listPlatforms = /*@__PURE__*/ API.make(() => ({
688
+ input: ListPlatformsRequest,
689
+ output: PlatformList,
690
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
691
+ protocol: StackitProtocol,
692
+ retry: Retry.Retry,
693
+ }));
694
+ /** List spaces Returns a list of spaces for a specific organization. */
695
+ export const listSpaces = /*@__PURE__*/ API.make(() => ({
696
+ input: ListSpacesRequest,
697
+ output: SpacesList,
698
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
699
+ protocol: StackitProtocol,
700
+ retry: Retry.Retry,
701
+ }));
702
+ /** Update organization Update organization. */
703
+ export const updateOrganization = /*@__PURE__*/ API.make(() => ({
704
+ input: UpdateOrganizationRequest,
705
+ output: Organization,
706
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
707
+ protocol: StackitProtocol,
708
+ retry: Retry.Retry,
709
+ }));
710
+ /** Update space Update space. */
711
+ export const updateSpace = /*@__PURE__*/ API.make(() => ({
712
+ input: UpdateSpaceRequest,
713
+ output: Space,
714
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
715
+ protocol: StackitProtocol,
716
+ retry: Retry.Retry,
717
+ }));
718
+ //# sourceMappingURL=scf.js.map