@distilled.cloud/stackit 0.0.0-stage → 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 +33 -2
  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 +83 -3
  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,789 @@
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 API from "@distilled.cloud/core/api";
4
+ import * as C from "@distilled.cloud/core/category";
5
+ import * as T from "../traits.js";
6
+ import { StackitProtocol, } from "../protocol.js";
7
+ import { UnknownStackitError } from "../errors.js";
8
+ import * as Retry from "../retry.js";
9
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
10
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
11
+ code: S.Number,
12
+ message: S.String,
13
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
14
+ }
15
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
16
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
17
+ code: S.Number,
18
+ message: S.String,
19
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
20
+ }
21
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
22
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
23
+ code: S.Number,
24
+ message: S.String,
25
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
26
+ }
27
+ export const GetCategoryRequestLanguage = /*@__PURE__*/ S.String;
28
+ export const GetCategoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
29
+ categoryId: S.String.pipe(T.Label()),
30
+ language: S.optional(GetCategoryRequestLanguage.pipe(T.Query())),
31
+ }).pipe(T.Http({
32
+ method: "GET",
33
+ uri: "/v2/categories/{categoryId}",
34
+ code: 200,
35
+ baseUrl: "https://pim.api.stackit.cloud",
36
+ }))).annotate({
37
+ identifier: "GetCategoryRequest",
38
+ });
39
+ export const PublicCategory = /*@__PURE__*/ S.suspend(() => S.Struct({
40
+ description: S.optional(S.String),
41
+ id: S.optional(S.NullOr(S.String)),
42
+ image: S.optional(S.String),
43
+ language: S.optional(S.String),
44
+ name: S.optional(S.String),
45
+ validStart: S.optional(S.String),
46
+ version: S.optional(S.String),
47
+ })).annotate({ identifier: "PublicCategory" });
48
+ export const GetProductRequestLanguage = /*@__PURE__*/ S.String;
49
+ export const GetProductRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
50
+ productId: S.String.pipe(T.Label()),
51
+ language: S.optional(GetProductRequestLanguage.pipe(T.Query())),
52
+ }).pipe(T.Http({
53
+ method: "GET",
54
+ uri: "/v2/products/{productId}",
55
+ code: 200,
56
+ baseUrl: "https://pim.api.stackit.cloud",
57
+ }))).annotate({
58
+ identifier: "GetProductRequest",
59
+ });
60
+ export const PublicProductApiIdentifierList = /*@__PURE__*/ S.Array(S.String);
61
+ export const PublicProduct = /*@__PURE__*/ S.suspend(() => S.Struct({
62
+ apiIdentifier: S.optional(PublicProductApiIdentifierList),
63
+ categoryId: S.optional(S.NullOr(S.String)),
64
+ categoryName: S.optional(S.NullOr(S.String)),
65
+ description: S.optional(S.String),
66
+ id: S.optional(S.NullOr(S.String)),
67
+ image: S.optional(S.String),
68
+ language: S.optional(S.String),
69
+ longName: S.optional(S.String),
70
+ shortName: S.optional(S.String),
71
+ validStart: S.optional(S.String),
72
+ version: S.optional(S.String),
73
+ })).annotate({ identifier: "PublicProduct" });
74
+ export const GetProductMarketingDataRequestLanguage = /*@__PURE__*/ S.String;
75
+ export const GetProductMarketingDataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
76
+ productId: S.String.pipe(T.Label()),
77
+ language: S.optional(GetProductMarketingDataRequestLanguage.pipe(T.Query())),
78
+ }).pipe(T.Http({
79
+ method: "GET",
80
+ uri: "/v2/products/{productId}/marketing",
81
+ code: 200,
82
+ baseUrl: "https://pim.api.stackit.cloud",
83
+ }))).annotate({
84
+ identifier: "GetProductMarketingDataRequest",
85
+ });
86
+ export const MarketingAdvantage = /*@__PURE__*/ S.suspend(() => S.Struct({
87
+ advantage: S.optional(S.String),
88
+ position: S.optional(S.Number),
89
+ })).annotate({
90
+ identifier: "MarketingAdvantage",
91
+ });
92
+ export const PublicMarketingDataAdvantagesList = /*@__PURE__*/ S.Array(MarketingAdvantage);
93
+ export const MarketingApplication = /*@__PURE__*/ S.suspend(() => S.Struct({
94
+ application: S.optional(S.String),
95
+ applicationTitle: S.optional(S.String),
96
+ position: S.optional(S.Number),
97
+ })).annotate({
98
+ identifier: "MarketingApplication",
99
+ });
100
+ export const PublicMarketingDataApplicationsList = /*@__PURE__*/ S.Array(MarketingApplication);
101
+ export const MarketingFunction = /*@__PURE__*/ S.suspend(() => S.Struct({
102
+ function: S.optional(S.String),
103
+ position: S.optional(S.Number),
104
+ })).annotate({
105
+ identifier: "MarketingFunction",
106
+ });
107
+ export const PublicMarketingDataFunctionsList = /*@__PURE__*/ S.Array(MarketingFunction);
108
+ export const PublicMarketingData = /*@__PURE__*/ S.suspend(() => S.Struct({
109
+ advantages: S.optional(PublicMarketingDataAdvantagesList),
110
+ applications: S.optional(PublicMarketingDataApplicationsList),
111
+ functions: S.optional(PublicMarketingDataFunctionsList),
112
+ headline: S.optional(S.String),
113
+ id: S.optional(S.NullOr(S.String)),
114
+ introductoryText: S.optional(S.String),
115
+ language: S.optional(S.String),
116
+ longName: S.optional(S.String),
117
+ shortName: S.optional(S.String),
118
+ stId: S.optional(S.String),
119
+ validStart: S.optional(S.String),
120
+ version: S.optional(S.String),
121
+ })).annotate({
122
+ identifier: "PublicMarketingData",
123
+ });
124
+ export const GetSKURequestLanguage = /*@__PURE__*/ S.String;
125
+ export const GetSKURequest = /*@__PURE__*/ S.suspend(() => S.Struct({
126
+ skuId: S.String.pipe(T.Label()),
127
+ language: S.optional(GetSKURequestLanguage.pipe(T.Query())),
128
+ }).pipe(T.Http({
129
+ method: "GET",
130
+ uri: "/v2/skus/{skuId}",
131
+ code: 200,
132
+ baseUrl: "https://pim.api.stackit.cloud",
133
+ }))).annotate({ identifier: "GetSKURequest" });
134
+ export const FinOpsFocus = /*@__PURE__*/ S.suspend(() => S.Struct({
135
+ serviceCategory: S.optional(S.String),
136
+ serviceSubCategory: S.optional(S.String),
137
+ })).annotate({ identifier: "FinOpsFocus" });
138
+ export const CurrencyCodes = /*@__PURE__*/ S.String;
139
+ export const CurrencySymbols = /*@__PURE__*/ S.String;
140
+ export const Price = /*@__PURE__*/ S.suspend(() => S.Struct({
141
+ currencyCode: S.optional(CurrencyCodes),
142
+ currencySymbol: S.optional(S.NullOr(CurrencySymbols)),
143
+ monthlyPrice: S.optional(S.NullOr(S.String)),
144
+ roundedMonthlyPrice: S.optional(S.String),
145
+ roundedValue: S.optional(S.String),
146
+ validFrom: S.optional(S.String),
147
+ value: S.optional(S.String),
148
+ valueAsInt: S.optional(S.Number),
149
+ })).annotate({ identifier: "Price" });
150
+ export const GetSKUResponsePricesList = /*@__PURE__*/ S.Array(Price);
151
+ export const GetSKUResponseServiceIdList = /*@__PURE__*/ S.Array(S.String);
152
+ export const PublicDatabaseSpecificAttributesPerformanceClassesList =
153
+ /*@__PURE__*/ S.Array(S.String);
154
+ export const PublicDatabaseSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
155
+ discriminator: S.String,
156
+ diskStoragePerNode: S.optional(S.NullOr(S.String)),
157
+ flavor: S.optional(S.NullOr(S.String)),
158
+ nodes: S.optional(S.NullOr(S.Number)),
159
+ performanceClasses: S.optional(PublicDatabaseSpecificAttributesPerformanceClassesList),
160
+ ram: S.optional(S.NullOr(S.Number)),
161
+ storageMaxGb: S.optional(S.NullOr(S.Number)),
162
+ storageMinGb: S.optional(S.NullOr(S.Number)),
163
+ type: S.optional(S.NullOr(S.String)),
164
+ vCPU: S.optional(S.NullOr(S.Number)),
165
+ })).annotate({
166
+ identifier: "PublicDatabaseSpecificAttributes",
167
+ });
168
+ export const ArchivingSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
169
+ discriminator: S.String,
170
+ metro: S.optional(S.NullOr(S.Boolean)),
171
+ })).annotate({
172
+ identifier: "ArchivingSpecificAttributes",
173
+ });
174
+ export const ComputeEngineSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
175
+ discriminator: S.String,
176
+ flavor: S.optional(S.NullOr(S.String)),
177
+ hardware: S.optional(S.NullOr(S.String)),
178
+ metro: S.optional(S.NullOr(S.Boolean)),
179
+ os: S.optional(S.NullOr(S.String)),
180
+ ram: S.optional(S.NullOr(S.Number)),
181
+ vCPU: S.optional(S.NullOr(S.Number)),
182
+ })).annotate({
183
+ identifier: "ComputeEngineSpecificAttributes",
184
+ });
185
+ export const ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
186
+ export const NetworkSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
187
+ connectionLimitPerLoadBalancer: S.optional(S.NullOr(S.Number)),
188
+ discriminator: S.String,
189
+ maxBandWidth: S.optional(S.NullOr(S.Number)),
190
+ maxConnections: S.optional(S.NullOr(S.Number)),
191
+ planId: S.optional(S.NullOr(S.String)),
192
+ recordLimitPerZone: S.optional(S.NullOr(S.Number)),
193
+ type: S.optional(S.NullOr(S.String)),
194
+ })).annotate({
195
+ identifier: "NetworkSpecificAttributes",
196
+ });
197
+ export const MessagingSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
198
+ discriminator: S.String,
199
+ diskStoragePerNode: S.optional(S.NullOr(S.String)),
200
+ nodes: S.optional(S.NullOr(S.Number)),
201
+ ram: S.optional(S.NullOr(S.Number)),
202
+ type: S.optional(S.NullOr(S.String)),
203
+ vCPU: S.optional(S.NullOr(S.Number)),
204
+ })).annotate({
205
+ identifier: "MessagingSpecificAttributes",
206
+ });
207
+ export const LoggingAndMonitoringSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
208
+ discriminator: S.String,
209
+ diskStoragePerNode: S.optional(S.NullOr(S.String)),
210
+ metricPerMin: S.optional(S.NullOr(S.Number)),
211
+ nodes: S.optional(S.NullOr(S.Number)),
212
+ targets: S.optional(S.NullOr(S.Number)),
213
+ type: S.optional(S.NullOr(S.String)),
214
+ })).annotate({
215
+ identifier: "LoggingAndMonitoringSpecificAttributes",
216
+ });
217
+ export const ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
218
+ export const StorageSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
219
+ class: S.optional(S.NullOr(S.String)),
220
+ discriminator: S.String,
221
+ maxIOPerSec: S.optional(S.NullOr(S.Number)),
222
+ maxTroughInMB: S.optional(S.NullOr(S.Number)),
223
+ metro: S.optional(S.NullOr(S.Boolean)),
224
+ storage: S.optional(S.NullOr(S.String)),
225
+ type: S.optional(S.NullOr(S.String)),
226
+ })).annotate({
227
+ identifier: "StorageSpecificAttributes",
228
+ });
229
+ export const DataAndAI = /*@__PURE__*/ S.suspend(() => S.Struct({
230
+ discriminator: S.String,
231
+ type: S.optional(S.NullOr(S.String)),
232
+ })).annotate({ identifier: "DataAndAI" });
233
+ export const RuntimeSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
234
+ discriminator: S.String,
235
+ planId: S.optional(S.NullOr(S.String)),
236
+ type: S.optional(S.NullOr(S.String)),
237
+ })).annotate({
238
+ identifier: "RuntimeSpecificAttributes",
239
+ });
240
+ export const SupportSpecificAttributesCommunicationChannelList =
241
+ /*@__PURE__*/ S.Array(S.String);
242
+ export const SupportSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
243
+ communicationChannel: S.optional(SupportSpecificAttributesCommunicationChannelList),
244
+ contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
245
+ discriminator: S.String,
246
+ escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
247
+ escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
248
+ escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
249
+ escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
250
+ escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
251
+ escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
252
+ finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
253
+ finPenaltySLAVio90_80Pct: S.optional(S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct"))),
254
+ initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
255
+ leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
256
+ location: S.optional(S.NullOr(S.String)),
257
+ projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
258
+ reactionTimeInMins: S.optional(S.NullOr(S.Number)),
259
+ repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
260
+ responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
261
+ responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
262
+ responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
263
+ serviceHoursBCINC: S.optional(S.NullOr(S.String)),
264
+ serviceHoursINC: S.optional(S.NullOr(S.String)),
265
+ serviceHoursSR: S.optional(S.NullOr(S.String)),
266
+ slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
267
+ })).annotate({
268
+ identifier: "SupportSpecificAttributes",
269
+ });
270
+ export const DeveloperPlatformSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
271
+ discriminator: S.String,
272
+ diskStoragePerNode: S.optional(S.NullOr(S.String)),
273
+ storage: S.optional(S.NullOr(S.String)),
274
+ type: S.optional(S.NullOr(S.String)),
275
+ })).annotate({
276
+ identifier: "DeveloperPlatformSpecificAttributes",
277
+ });
278
+ export const GetSKUResponseProductSpecificAttributes =
279
+ /*@__PURE__*/ S.Unknown;
280
+ export const PublicSavingsPlan = /*@__PURE__*/ S.suspend(() => S.Struct({
281
+ discount: S.optional(S.Number),
282
+ validityPeriodInYears: S.optional(S.Number),
283
+ })).annotate({
284
+ identifier: "PublicSavingsPlan",
285
+ });
286
+ export const GetSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
287
+ export const GetSKUResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
288
+ categoryId: S.NullOr(S.String),
289
+ categoryName: S.NullOr(S.String),
290
+ cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
291
+ deprecated: S.NullOr(S.String),
292
+ documentation: S.NullOr(S.String),
293
+ finOpsFocus: FinOpsFocus,
294
+ generalProductGroup: S.NullOr(S.String),
295
+ id: S.String,
296
+ language: S.optional(S.String),
297
+ licenseName: S.optional(S.NullOr(S.String)),
298
+ maturityModelState: S.NullOr(S.String),
299
+ metric: S.optional(S.NullOr(S.String)),
300
+ name: S.NullOr(S.String),
301
+ priceListVisibility: S.NullOr(S.String),
302
+ prices: GetSKUResponsePricesList,
303
+ productId: S.NullOr(S.String),
304
+ productName: S.NullOr(S.String),
305
+ rateType: S.optional(S.NullOr(S.String)),
306
+ region: S.String,
307
+ serviceId: S.optional(GetSKUResponseServiceIdList),
308
+ technicalProductGroup: S.optional(S.NullOr(S.String)),
309
+ tierMaxValue: S.optional(S.NullOr(S.Number)),
310
+ tierMinValue: S.optional(S.NullOr(S.Number)),
311
+ title: S.String,
312
+ unit: S.String,
313
+ unitBilling: S.String,
314
+ validStart: S.String,
315
+ version: S.String,
316
+ productSpecificAttributes: S.optional(GetSKUResponseProductSpecificAttributes),
317
+ savingsPlans: S.optional(GetSKUResponseSavingsPlansList),
318
+ })).annotate({ identifier: "GetSKUResponse" });
319
+ export const GetSTAXSKURequestLanguage = /*@__PURE__*/ S.String;
320
+ export const GetSTAXSKURequest = /*@__PURE__*/ S.suspend(() => S.Struct({
321
+ skuId: S.String.pipe(T.Label()),
322
+ language: S.optional(GetSTAXSKURequestLanguage.pipe(T.Query())),
323
+ }).pipe(T.Http({
324
+ method: "GET",
325
+ uri: "/v2/stackitx/skus/{skuId}",
326
+ code: 200,
327
+ baseUrl: "https://pim.api.stackit.cloud",
328
+ }))).annotate({
329
+ identifier: "GetSTAXSKURequest",
330
+ });
331
+ export const GetSTAXSKUResponsePricesList = /*@__PURE__*/ S.Array(Price);
332
+ export const GetSTAXSKUResponseServiceIdList = /*@__PURE__*/ S.Array(S.String);
333
+ export const GetSTAXSKUResponseProductSpecificAttributes =
334
+ /*@__PURE__*/ S.Unknown;
335
+ export const GetSTAXSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
336
+ export const GetSTAXSKUResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
337
+ categoryId: S.NullOr(S.String),
338
+ categoryName: S.NullOr(S.String),
339
+ cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
340
+ deprecated: S.NullOr(S.String),
341
+ documentation: S.NullOr(S.String),
342
+ finOpsFocus: FinOpsFocus,
343
+ generalProductGroup: S.NullOr(S.String),
344
+ id: S.String,
345
+ language: S.optional(S.String),
346
+ licenseName: S.optional(S.NullOr(S.String)),
347
+ maturityModelState: S.NullOr(S.String),
348
+ metric: S.optional(S.NullOr(S.String)),
349
+ name: S.NullOr(S.String),
350
+ priceListVisibility: S.NullOr(S.String),
351
+ prices: GetSTAXSKUResponsePricesList,
352
+ productId: S.NullOr(S.String),
353
+ productName: S.NullOr(S.String),
354
+ rateType: S.optional(S.NullOr(S.String)),
355
+ region: S.String,
356
+ serviceId: S.optional(GetSTAXSKUResponseServiceIdList),
357
+ technicalProductGroup: S.optional(S.NullOr(S.String)),
358
+ tierMaxValue: S.optional(S.NullOr(S.Number)),
359
+ tierMinValue: S.optional(S.NullOr(S.Number)),
360
+ title: S.String,
361
+ unit: S.String,
362
+ unitBilling: S.String,
363
+ validStart: S.String,
364
+ version: S.String,
365
+ productSpecificAttributes: S.optional(GetSTAXSKUResponseProductSpecificAttributes),
366
+ savingsPlans: S.optional(GetSTAXSKUResponseSavingsPlansList),
367
+ })).annotate({
368
+ identifier: "GetSTAXSKUResponse",
369
+ });
370
+ export const ListCategoriesRequestLanguage = /*@__PURE__*/ S.String;
371
+ export const ListCategoriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
372
+ pageSize: S.optional(S.Number.pipe(T.Query())),
373
+ cursor: S.optional(S.String.pipe(T.Query())),
374
+ categoryName: S.optional(S.String.pipe(T.Query())),
375
+ language: S.optional(ListCategoriesRequestLanguage.pipe(T.Query())),
376
+ }).pipe(T.Http({
377
+ method: "GET",
378
+ uri: "/v2/categories",
379
+ code: 200,
380
+ baseUrl: "https://pim.api.stackit.cloud",
381
+ }))).annotate({
382
+ identifier: "ListCategoriesRequest",
383
+ });
384
+ export const ListCategoriesResponseDataList = /*@__PURE__*/ S.Array(PublicCategory);
385
+ export const MetaInformation = /*@__PURE__*/ S.suspend(() => S.Struct({
386
+ nextCursor: S.optional(S.String),
387
+ pageSize: S.optional(S.Number),
388
+ })).annotate({
389
+ identifier: "MetaInformation",
390
+ });
391
+ export const ListCategoriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
392
+ data: S.optional(ListCategoriesResponseDataList),
393
+ meta: S.optional(MetaInformation),
394
+ })).annotate({
395
+ identifier: "ListCategoriesResponse",
396
+ });
397
+ export const ListCategoryProductsRequestLanguage = /*@__PURE__*/ S.String;
398
+ export const ListCategoryProductsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
399
+ categoryId: S.String.pipe(T.Label()),
400
+ pageSize: S.optional(S.Number.pipe(T.Query())),
401
+ cursor: S.optional(S.String.pipe(T.Query())),
402
+ productName: S.optional(S.String.pipe(T.Query())),
403
+ language: S.optional(ListCategoryProductsRequestLanguage.pipe(T.Query())),
404
+ }).pipe(T.Http({
405
+ method: "GET",
406
+ uri: "/v2/categories/{categoryId}/products",
407
+ code: 200,
408
+ baseUrl: "https://pim.api.stackit.cloud",
409
+ }))).annotate({
410
+ identifier: "ListCategoryProductsRequest",
411
+ });
412
+ export const ListCategoryProductsResponseDataList = /*@__PURE__*/ S.Array(PublicProduct);
413
+ export const ListCategoryProductsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
414
+ data: S.optional(ListCategoryProductsResponseDataList),
415
+ meta: S.optional(MetaInformation),
416
+ })).annotate({
417
+ identifier: "ListCategoryProductsResponse",
418
+ });
419
+ export const ListMarketingDataRequestLanguage = /*@__PURE__*/ S.String;
420
+ export const ListMarketingDataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
421
+ pageSize: S.optional(S.Number.pipe(T.Query())),
422
+ cursor: S.optional(S.String.pipe(T.Query())),
423
+ language: S.optional(ListMarketingDataRequestLanguage.pipe(T.Query())),
424
+ productName: S.optional(S.String.pipe(T.Query())),
425
+ }).pipe(T.Http({
426
+ method: "GET",
427
+ uri: "/v2/marketing",
428
+ code: 200,
429
+ baseUrl: "https://pim.api.stackit.cloud",
430
+ }))).annotate({
431
+ identifier: "ListMarketingDataRequest",
432
+ });
433
+ export const ListMarketingDataResponseDataList = /*@__PURE__*/ S.Array(PublicMarketingData);
434
+ export const ListMarketingDataResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
435
+ data: S.optional(ListMarketingDataResponseDataList),
436
+ meta: S.optional(MetaInformation),
437
+ })).annotate({
438
+ identifier: "ListMarketingDataResponse",
439
+ });
440
+ export const ListProductsRequestLanguage = /*@__PURE__*/ S.String;
441
+ export const ListProductsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
442
+ pageSize: S.optional(S.Number.pipe(T.Query())),
443
+ cursor: S.optional(S.String.pipe(T.Query())),
444
+ categoryName: S.optional(S.String.pipe(T.Query())),
445
+ productName: S.optional(S.String.pipe(T.Query())),
446
+ language: S.optional(ListProductsRequestLanguage.pipe(T.Query())),
447
+ }).pipe(T.Http({
448
+ method: "GET",
449
+ uri: "/v2/products",
450
+ code: 200,
451
+ baseUrl: "https://pim.api.stackit.cloud",
452
+ }))).annotate({
453
+ identifier: "ListProductsRequest",
454
+ });
455
+ export const ListProductsResponseDataList = /*@__PURE__*/ S.Array(PublicProduct);
456
+ export const ListProductsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
457
+ data: S.optional(ListProductsResponseDataList),
458
+ meta: S.optional(MetaInformation),
459
+ })).annotate({
460
+ identifier: "ListProductsResponse",
461
+ });
462
+ export const ListProductSKUsRequestLanguage = /*@__PURE__*/ S.String;
463
+ export const ListProductSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
464
+ export const ListProductSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
465
+ productId: S.String.pipe(T.Label()),
466
+ cursor: S.optional(S.String.pipe(T.Query())),
467
+ pageSize: S.optional(S.Number.pipe(T.Query())),
468
+ language: S.optional(ListProductSKUsRequestLanguage.pipe(T.Query())),
469
+ skuName: S.optional(S.String.pipe(T.Query())),
470
+ region: S.optional(ListProductSKUsRequestRegionList.pipe(T.Query())),
471
+ }).pipe(T.Http({
472
+ method: "GET",
473
+ uri: "/v2/products/{productId}/skus",
474
+ code: 200,
475
+ baseUrl: "https://pim.api.stackit.cloud",
476
+ }))).annotate({
477
+ identifier: "ListProductSKUsRequest",
478
+ });
479
+ export const PublicSKUPricesList = /*@__PURE__*/ S.Array(Price);
480
+ export const PublicSKUServiceIdList = /*@__PURE__*/ S.Array(S.String);
481
+ export const PublicSKUProductSpecificAttributes =
482
+ /*@__PURE__*/ S.Unknown;
483
+ export const PublicSKUSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
484
+ export const PublicSKU = /*@__PURE__*/ S.suspend(() => S.Struct({
485
+ categoryId: S.NullOr(S.String),
486
+ categoryName: S.NullOr(S.String),
487
+ cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
488
+ deprecated: S.NullOr(S.String),
489
+ documentation: S.NullOr(S.String),
490
+ finOpsFocus: FinOpsFocus,
491
+ generalProductGroup: S.NullOr(S.String),
492
+ id: S.String,
493
+ language: S.optional(S.String),
494
+ licenseName: S.optional(S.NullOr(S.String)),
495
+ maturityModelState: S.NullOr(S.String),
496
+ metric: S.optional(S.NullOr(S.String)),
497
+ name: S.NullOr(S.String),
498
+ priceListVisibility: S.NullOr(S.String),
499
+ prices: PublicSKUPricesList,
500
+ productId: S.NullOr(S.String),
501
+ productName: S.NullOr(S.String),
502
+ rateType: S.optional(S.NullOr(S.String)),
503
+ region: S.String,
504
+ serviceId: S.optional(PublicSKUServiceIdList),
505
+ technicalProductGroup: S.optional(S.NullOr(S.String)),
506
+ tierMaxValue: S.optional(S.NullOr(S.Number)),
507
+ tierMinValue: S.optional(S.NullOr(S.Number)),
508
+ title: S.String,
509
+ unit: S.String,
510
+ unitBilling: S.String,
511
+ validStart: S.String,
512
+ version: S.String,
513
+ productSpecificAttributes: S.optional(PublicSKUProductSpecificAttributes),
514
+ savingsPlans: S.optional(PublicSKUSavingsPlansList),
515
+ })).annotate({ identifier: "PublicSKU" });
516
+ export const ListProductSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
517
+ export const ListProductSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
518
+ data: S.optional(ListProductSKUsResponseDataList),
519
+ meta: S.optional(MetaInformation),
520
+ })).annotate({
521
+ identifier: "ListProductSKUsResponse",
522
+ });
523
+ export const ListProductSTAXSKUsRequestLanguage = /*@__PURE__*/ S.String;
524
+ export const ListProductSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
525
+ export const ListProductSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
526
+ productId: S.String.pipe(T.Label()),
527
+ cursor: S.optional(S.String.pipe(T.Query())),
528
+ pageSize: S.optional(S.Number.pipe(T.Query())),
529
+ language: S.optional(ListProductSTAXSKUsRequestLanguage.pipe(T.Query())),
530
+ skuName: S.optional(S.String.pipe(T.Query())),
531
+ region: S.optional(ListProductSTAXSKUsRequestRegionList.pipe(T.Query())),
532
+ }).pipe(T.Http({
533
+ method: "GET",
534
+ uri: "/v2/products/{productId}/stackitx/skus",
535
+ code: 200,
536
+ baseUrl: "https://pim.api.stackit.cloud",
537
+ }))).annotate({
538
+ identifier: "ListProductSTAXSKUsRequest",
539
+ });
540
+ export const ListProductSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
541
+ export const ListProductSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
542
+ data: S.optional(ListProductSTAXSKUsResponseDataList),
543
+ meta: S.optional(MetaInformation),
544
+ })).annotate({
545
+ identifier: "ListProductSTAXSKUsResponse",
546
+ });
547
+ export const ListSKUsRequestLanguage = /*@__PURE__*/ S.String;
548
+ export const ListSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
549
+ export const ListSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
550
+ cursor: S.optional(S.String.pipe(T.Query())),
551
+ pageSize: S.optional(S.Number.pipe(T.Query())),
552
+ language: S.optional(ListSKUsRequestLanguage.pipe(T.Query())),
553
+ categoryName: S.optional(S.String.pipe(T.Query())),
554
+ productName: S.optional(S.String.pipe(T.Query())),
555
+ skuName: S.optional(S.String.pipe(T.Query())),
556
+ region: S.optional(ListSKUsRequestRegionList.pipe(T.Query())),
557
+ }).pipe(T.Http({
558
+ method: "GET",
559
+ uri: "/v2/skus",
560
+ code: 200,
561
+ baseUrl: "https://pim.api.stackit.cloud",
562
+ }))).annotate({
563
+ identifier: "ListSKUsRequest",
564
+ });
565
+ export const ListSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
566
+ export const ListSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
567
+ data: S.optional(ListSKUsResponseDataList),
568
+ meta: S.optional(MetaInformation),
569
+ })).annotate({
570
+ identifier: "ListSKUsResponse",
571
+ });
572
+ export const ListSTAXSKUsRequestLanguage = /*@__PURE__*/ S.String;
573
+ export const ListSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
574
+ export const ListSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
575
+ cursor: S.optional(S.String.pipe(T.Query())),
576
+ pageSize: S.optional(S.Number.pipe(T.Query())),
577
+ language: S.optional(ListSTAXSKUsRequestLanguage.pipe(T.Query())),
578
+ categoryName: S.optional(S.String.pipe(T.Query())),
579
+ productName: S.optional(S.String.pipe(T.Query())),
580
+ skuName: S.optional(S.String.pipe(T.Query())),
581
+ region: S.optional(ListSTAXSKUsRequestRegionList.pipe(T.Query())),
582
+ }).pipe(T.Http({
583
+ method: "GET",
584
+ uri: "/v2/stackitx/skus",
585
+ code: 200,
586
+ baseUrl: "https://pim.api.stackit.cloud",
587
+ }))).annotate({
588
+ identifier: "ListSTAXSKUsRequest",
589
+ });
590
+ export const ListSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
591
+ export const ListSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
592
+ data: S.optional(ListSTAXSKUsResponseDataList),
593
+ meta: S.optional(MetaInformation),
594
+ })).annotate({
595
+ identifier: "ListSTAXSKUsResponse",
596
+ });
597
+ export const SearchSKUsRequestLanguage = /*@__PURE__*/ S.String;
598
+ export const SearchSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
599
+ language: S.optional(SearchSKUsRequestLanguage.pipe(T.Query())),
600
+ pageSize: S.optional(S.Number.pipe(T.Query())),
601
+ cursor: S.optional(S.String.pipe(T.Query())),
602
+ categoryName: S.optional(S.String),
603
+ class: S.optional(S.String),
604
+ communicationChannel: S.optional(S.String),
605
+ connectionLimitPerLoadBalancer: S.optional(S.Number),
606
+ contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
607
+ deprecated: S.optional(S.String),
608
+ diskStoragePerNode: S.optional(S.String),
609
+ documentation: S.optional(S.String),
610
+ escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
611
+ escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
612
+ escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
613
+ escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
614
+ escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
615
+ escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
616
+ finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
617
+ finPenaltySLAVio90_80Pct: S.optional(S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct"))),
618
+ flavor: S.optional(S.String),
619
+ generalProductGroup: S.optional(S.String),
620
+ hardware: S.optional(S.String),
621
+ initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
622
+ leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
623
+ location: S.optional(S.NullOr(S.String)),
624
+ maturityModelState: S.optional(S.String),
625
+ maxIOPerSec: S.optional(S.Number),
626
+ maxTroughInMB: S.optional(S.Number),
627
+ metricPerMin: S.optional(S.Number),
628
+ metro: S.optional(S.Boolean),
629
+ monthlyPrice: S.optional(S.String),
630
+ name: S.optional(S.String),
631
+ nodes: S.optional(S.Number),
632
+ os: S.optional(S.String),
633
+ priceListVisibility: S.optional(S.String),
634
+ productName: S.optional(S.String),
635
+ projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
636
+ ram: S.optional(S.Number),
637
+ reactionTimeInMins: S.optional(S.NullOr(S.Number)),
638
+ recordLimitPerZone: S.optional(S.Number),
639
+ region: S.optional(S.String),
640
+ repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
641
+ responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
642
+ responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
643
+ responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
644
+ serviceHoursBCINC: S.optional(S.NullOr(S.String)),
645
+ serviceHoursINC: S.optional(S.NullOr(S.String)),
646
+ serviceHoursSR: S.optional(S.NullOr(S.String)),
647
+ serviceId: S.optional(S.String),
648
+ sku: S.optional(S.String),
649
+ slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
650
+ storage: S.optional(S.String),
651
+ storageMaxGb: S.optional(S.Number),
652
+ storageMinGb: S.optional(S.Number),
653
+ targets: S.optional(S.Number),
654
+ technicalProductGroup: S.optional(S.String),
655
+ title: S.optional(S.String),
656
+ type: S.optional(S.String),
657
+ unit: S.optional(S.String),
658
+ unitBilling: S.optional(S.String),
659
+ vCPU: S.optional(S.Number),
660
+ validFrom: S.optional(S.String),
661
+ value: S.optional(S.String),
662
+ }).pipe(T.Http({
663
+ method: "POST",
664
+ uri: "/v2/skus/search",
665
+ code: 200,
666
+ baseUrl: "https://pim.api.stackit.cloud",
667
+ }))).annotate({
668
+ identifier: "SearchSKUsRequest",
669
+ });
670
+ export const SearchSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
671
+ export const SearchSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
672
+ data: S.optional(SearchSKUsResponseDataList),
673
+ meta: S.optional(MetaInformation),
674
+ })).annotate({
675
+ identifier: "SearchSKUsResponse",
676
+ });
677
+ /** Get category by ID Retrieves a specific category by its ID, available for general public. */
678
+ export const getCategory = /*@__PURE__*/ API.make(() => ({
679
+ input: GetCategoryRequest,
680
+ output: PublicCategory,
681
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
682
+ protocol: StackitProtocol,
683
+ retry: Retry.Retry,
684
+ }));
685
+ /** Get product by ID Retrieves a specific product by its ID, available for general public. */
686
+ export const getProduct = /*@__PURE__*/ API.make(() => ({
687
+ input: GetProductRequest,
688
+ output: PublicProduct,
689
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
690
+ protocol: StackitProtocol,
691
+ retry: Retry.Retry,
692
+ }));
693
+ /** Get marketing data for a product Retrieves the marketing data for a specific product, available for general public. */
694
+ export const getProductMarketingData = /*@__PURE__*/ API.make(() => ({
695
+ input: GetProductMarketingDataRequest,
696
+ output: PublicMarketingData,
697
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
698
+ protocol: StackitProtocol,
699
+ retry: Retry.Retry,
700
+ }));
701
+ /** Get SKU by ID Retrieves a specific SKU by its ID, available for general public. */
702
+ export const getSKU = /*@__PURE__*/ API.make(() => ({
703
+ input: GetSKURequest,
704
+ output: GetSKUResponse,
705
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
706
+ protocol: StackitProtocol,
707
+ retry: Retry.Retry,
708
+ }));
709
+ /** Get STACKIT:X SKU by ID Retrieves a specific STACKIT:X SKU by its ID, available for general public. */
710
+ export const getSTAXSKU = /*@__PURE__*/ API.make(() => ({
711
+ input: GetSTAXSKURequest,
712
+ output: GetSTAXSKUResponse,
713
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
714
+ protocol: StackitProtocol,
715
+ retry: Retry.Retry,
716
+ }));
717
+ /** List all categories Returns all categories, available for general public. */
718
+ export const listCategories = /*@__PURE__*/ API.make(() => ({
719
+ input: ListCategoriesRequest,
720
+ output: ListCategoriesResponse,
721
+ errors: [BadRequest, Forbidden, UnknownStackitError],
722
+ protocol: StackitProtocol,
723
+ retry: Retry.Retry,
724
+ }));
725
+ /** List products in a category Retrieves a specific category's products, available for general public. */
726
+ export const listCategoryProducts = /*@__PURE__*/ API.make(() => ({
727
+ input: ListCategoryProductsRequest,
728
+ output: ListCategoryProductsResponse,
729
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
730
+ protocol: StackitProtocol,
731
+ retry: Retry.Retry,
732
+ }));
733
+ /** List all marketing materials Retrieves a list of all marketing materials for all products, available for general public. */
734
+ export const listMarketingData = /*@__PURE__*/ API.make(() => ({
735
+ input: ListMarketingDataRequest,
736
+ output: ListMarketingDataResponse,
737
+ errors: [BadRequest, Forbidden, UnknownStackitError],
738
+ protocol: StackitProtocol,
739
+ retry: Retry.Retry,
740
+ }));
741
+ /** List all products Retrieves a list of all products, available for general public. */
742
+ export const listProducts = /*@__PURE__*/ API.make(() => ({
743
+ input: ListProductsRequest,
744
+ output: ListProductsResponse,
745
+ errors: [BadRequest, Forbidden, UnknownStackitError],
746
+ protocol: StackitProtocol,
747
+ retry: Retry.Retry,
748
+ }));
749
+ /** List SKUs for a product Retrieves a list of all SKUs of a product, available for general public. */
750
+ export const listProductSKUs = /*@__PURE__*/ API.make(() => ({
751
+ input: ListProductSKUsRequest,
752
+ output: ListProductSKUsResponse,
753
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
754
+ protocol: StackitProtocol,
755
+ retry: Retry.Retry,
756
+ }));
757
+ /** List STACKIT:X SKUs for a product Retrieves a list of all STACKIT:X SKUs of a product, available for general public. */
758
+ export const listProductSTAXSKUs = /*@__PURE__*/ API.make(() => ({
759
+ input: ListProductSTAXSKUsRequest,
760
+ output: ListProductSTAXSKUsResponse,
761
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
762
+ protocol: StackitProtocol,
763
+ retry: Retry.Retry,
764
+ }));
765
+ /** List all SKUs Retrieves a list of all SKUs, available for general public. */
766
+ export const listSKUs = /*@__PURE__*/ API.make(() => ({
767
+ input: ListSKUsRequest,
768
+ output: ListSKUsResponse,
769
+ errors: [BadRequest, Forbidden, UnknownStackitError],
770
+ protocol: StackitProtocol,
771
+ retry: Retry.Retry,
772
+ }));
773
+ /** List all STACKIT:X SKUs Get all STACKIT:X SKUs data that has maturity model different than alpha. */
774
+ export const listSTAXSKUs = /*@__PURE__*/ API.make(() => ({
775
+ input: ListSTAXSKUsRequest,
776
+ output: ListSTAXSKUsResponse,
777
+ errors: [BadRequest, Forbidden, UnknownStackitError],
778
+ protocol: StackitProtocol,
779
+ retry: Retry.Retry,
780
+ }));
781
+ /** Performs a SKUs search with specific attributes Accepts a JSON object with a predefined set of optional attributes to be used as search criteria. */
782
+ export const searchSKUs = /*@__PURE__*/ API.make(() => ({
783
+ input: SearchSKUsRequest,
784
+ output: SearchSKUsResponse,
785
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
786
+ protocol: StackitProtocol,
787
+ retry: Retry.Retry,
788
+ }));
789
+ //# sourceMappingURL=pim.js.map