@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,222 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
4
+ export type { StackitOpError, StackitOpContext };
5
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
6
+ readonly code: any;
7
+ readonly message: any;
8
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
+ "@distilled.cloud/error/categories": {
10
+ BadRequestError: true;
11
+ };
12
+ });
13
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
14
+ }
15
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
16
+ readonly code: any;
17
+ readonly message: any;
18
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
19
+ "@distilled.cloud/error/categories": {
20
+ AuthError: true;
21
+ };
22
+ });
23
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
24
+ }
25
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
26
+ readonly code: any;
27
+ readonly message: any;
28
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
29
+ "@distilled.cloud/error/categories": {
30
+ BadRequestError: true;
31
+ };
32
+ });
33
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
34
+ }
35
+ export type GetCostsForProjectRequestDepth = "project" | "service" | "auto";
36
+ export declare const GetCostsForProjectRequestDepth: any;
37
+ export type GetCostsForProjectRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
38
+ export declare const GetCostsForProjectRequestGranularity: any;
39
+ export interface GetCostsForProjectRequest {
40
+ /** ID of a customer account */
41
+ customerAccountId: string;
42
+ /** ID of a project */
43
+ projectId: string;
44
+ /** Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included. */
45
+ from: string;
46
+ /** Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included. */
47
+ to: string;
48
+ /** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
49
+ depth?: GetCostsForProjectRequestDepth | (string & {});
50
+ /** Define granularity of costs – Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
51
+ granularity?: GetCostsForProjectRequestGranularity | (string & {});
52
+ /** Whether costs of 0 should be included in the response */
53
+ includeZeroCosts?: boolean;
54
+ }
55
+ export declare const GetCostsForProjectRequest: S.Schema<GetCostsForProjectRequest>;
56
+ /** Summarized costs for a project */
57
+ export interface SummarizedProjectCost {
58
+ customerAccountId: string;
59
+ projectId: string;
60
+ projectName: string;
61
+ /** Total charge (including discounts) for all services and the whole requested date range (value in cents) */
62
+ totalCharge: number;
63
+ /** Total discount for all services and the whole requested date range (value in cents) */
64
+ totalDiscount: number;
65
+ }
66
+ export declare const SummarizedProjectCost: S.Schema<SummarizedProjectCost>;
67
+ /** Time period according to desired granularity */
68
+ export interface ReportDataTimePeriod {
69
+ end?: string;
70
+ start?: string;
71
+ }
72
+ export declare const ReportDataTimePeriod: S.Schema<ReportDataTimePeriod>;
73
+ /** Costs report for a certain period of time */
74
+ export interface ReportData {
75
+ /** Charge, value in cents */
76
+ charge: number;
77
+ /** Discount, value in cents */
78
+ discount: number;
79
+ /** Quantity */
80
+ quantity: number;
81
+ /** Quantity in decimal format, returned as string to preserve precision. NOTE: This field will be removed in future versions and `totalQuantity` will become a decimal. */
82
+ quantityDecimal: string;
83
+ /** Time period according to desired granularity */
84
+ timePeriod: ReportDataTimePeriod;
85
+ }
86
+ export declare const ReportData: S.Schema<ReportData>;
87
+ /** Detailed project costs which are ONLY included if granularity is provided AND depth is "project" */
88
+ export type ProjectCostWithReportsReportDataList = Array<ReportData>;
89
+ export declare const ProjectCostWithReportsReportDataList: S.Schema<ProjectCostWithReportsReportDataList>;
90
+ /** Detailed costs for a project */
91
+ export interface ProjectCostWithReports {
92
+ customerAccountId: string;
93
+ projectId: string;
94
+ projectName: string;
95
+ /** Detailed project costs which are ONLY included if granularity is provided AND depth is "project" */
96
+ reportData?: ProjectCostWithReportsReportDataList;
97
+ /** Total charge (including discounts) for all services and the whole requested date range (value in cents) */
98
+ totalCharge: number;
99
+ /** Total discount for all services and the whole requested date range (value in cents) */
100
+ totalDiscount: number;
101
+ }
102
+ export declare const ProjectCostWithReports: S.Schema<ProjectCostWithReports>;
103
+ /** Summarized costs for a project */
104
+ export type SummarizedServiceCost = SummarizedProjectCost;
105
+ export declare const SummarizedServiceCost: S.Schema<SummarizedProjectCost>;
106
+ /** Summarized service costs */
107
+ export type ProjectCostWithSummarizedServicesServicesList = Array<SummarizedProjectCost>;
108
+ export declare const ProjectCostWithSummarizedServicesServicesList: S.Schema<ProjectCostWithSummarizedServicesServicesList>;
109
+ /** Costs for a project including summarized service costs */
110
+ export interface ProjectCostWithSummarizedServices {
111
+ customerAccountId: string;
112
+ projectId: string;
113
+ projectName: string;
114
+ /** Summarized service costs */
115
+ services?: ProjectCostWithSummarizedServicesServicesList;
116
+ /** Total charge (including discounts) for all services and the whole requested date range (value in cents) */
117
+ totalCharge: number;
118
+ /** Total discount for all services and the whole requested date range (value in cents) */
119
+ totalDiscount: number;
120
+ }
121
+ export declare const ProjectCostWithSummarizedServices: S.Schema<ProjectCostWithSummarizedServices>;
122
+ /** Detailed service costs which are ONLY included if granularity is provided */
123
+ export type DetailedServiceCostReportDataList = Array<ReportData>;
124
+ export declare const DetailedServiceCostReportDataList: S.Schema<DetailedServiceCostReportDataList>;
125
+ /** Costs for a single service */
126
+ export interface DetailedServiceCost {
127
+ /** Detailed service costs which are ONLY included if granularity is provided */
128
+ reportData?: DetailedServiceCostReportDataList;
129
+ /** Service category name */
130
+ serviceCategoryName: string;
131
+ /** Name of the service */
132
+ serviceName: string;
133
+ /** Service key */
134
+ sku: string;
135
+ /** Total charge (including discounts) for all services and the whole requested date range (value in cents) */
136
+ totalCharge: number;
137
+ /** Total discount for all services and the whole requested date range (value in cents) */
138
+ totalDiscount: number;
139
+ /** Total quantity */
140
+ totalQuantity: number;
141
+ /** Total quantity in decimal format, returned as string to preserve precision. NOTE: This field will be removed in future versions and `totalQuantity` will become a decimal. */
142
+ totalQuantityDecimal: string;
143
+ /** Label for unit */
144
+ unitLabel: string;
145
+ }
146
+ export declare const DetailedServiceCost: S.Schema<DetailedServiceCost>;
147
+ /** Total discount for all services and the whole requested date range (value in cents). Please see "depth" parameter for more details. */
148
+ export type ProjectCostWithDetailedServicesServicesList = Array<DetailedServiceCost>;
149
+ export declare const ProjectCostWithDetailedServicesServicesList: S.Schema<ProjectCostWithDetailedServicesServicesList>;
150
+ /** Detailed costs for a project including service costs */
151
+ export interface ProjectCostWithDetailedServices {
152
+ customerAccountId: string;
153
+ projectId: string;
154
+ projectName: string;
155
+ /** Total discount for all services and the whole requested date range (value in cents). Please see "depth" parameter for more details. */
156
+ services?: ProjectCostWithDetailedServicesServicesList;
157
+ /** Total charge (including discounts) for all services and the whole requested date range (value in cents) */
158
+ totalCharge: number;
159
+ /** Total discount for all services and the whole requested date range (value in cents) */
160
+ totalDiscount: number;
161
+ }
162
+ export declare const ProjectCostWithDetailedServices: S.Schema<ProjectCostWithDetailedServices>;
163
+ export type ProjectCost = SummarizedProjectCost | ProjectCostWithReports | ProjectCostWithSummarizedServices | ProjectCostWithDetailedServices;
164
+ export declare const ProjectCost: S.Schema<ProjectCost>;
165
+ export type GetCostsForProjectResponse = ProjectCost;
166
+ export declare const GetCostsForProjectResponse: S.Schema<GetCostsForProjectResponse>;
167
+ export type ListCostsForCustomerRequestDepth = "project" | "service" | "auto";
168
+ export declare const ListCostsForCustomerRequestDepth: any;
169
+ export type ListCostsForCustomerRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
170
+ export declare const ListCostsForCustomerRequestGranularity: any;
171
+ export interface ListCostsForCustomerRequest {
172
+ /** ID of a customer account */
173
+ customerAccountId: string;
174
+ /** Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included. */
175
+ from: string;
176
+ /** Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included. */
177
+ to: string;
178
+ /** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
179
+ depth?: ListCostsForCustomerRequestDepth | (string & {});
180
+ /** Define granularity of costs – Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
181
+ granularity?: ListCostsForCustomerRequestGranularity | (string & {});
182
+ /** Whether costs of 0 should be included in the response */
183
+ includeZeroCosts?: boolean;
184
+ }
185
+ export declare const ListCostsForCustomerRequest: S.Schema<ListCostsForCustomerRequest>;
186
+ export type ListCostsForCustomerResponseBodyList = Array<ProjectCost>;
187
+ export declare const ListCostsForCustomerResponseBodyList: S.Schema<ListCostsForCustomerResponseBodyList>;
188
+ export type ListCostsForCustomerResponse = ListCostsForCustomerResponseBodyList;
189
+ export declare const ListCostsForCustomerResponse: S.Schema<ListCostsForCustomerResponse>;
190
+ export type ListCostsForResellerRequestDepth = "project" | "service" | "auto";
191
+ export declare const ListCostsForResellerRequestDepth: any;
192
+ export type ListCostsForResellerRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
193
+ export declare const ListCostsForResellerRequestGranularity: any;
194
+ export interface ListCostsForResellerRequest {
195
+ /** ID of a customer account */
196
+ customerAccountId: string;
197
+ /** Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included. */
198
+ from: string;
199
+ /** Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included. */
200
+ to: string;
201
+ /** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
202
+ depth?: ListCostsForResellerRequestDepth | (string & {});
203
+ /** Define granularity of costs – Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
204
+ granularity?: ListCostsForResellerRequestGranularity | (string & {});
205
+ /** Whether costs of 0 should be included in the response */
206
+ includeZeroCosts?: boolean;
207
+ }
208
+ export declare const ListCostsForResellerRequest: S.Schema<ListCostsForResellerRequest>;
209
+ export type ListCostsForResellerResponseBodyList = Array<ProjectCost>;
210
+ export declare const ListCostsForResellerResponseBodyList: S.Schema<ListCostsForResellerResponseBodyList>;
211
+ export type ListCostsForResellerResponse = ListCostsForResellerResponseBodyList;
212
+ export declare const ListCostsForResellerResponse: S.Schema<ListCostsForResellerResponse>;
213
+ export type GetCostsForProjectError = BadRequest | Forbidden | NotFound | StackitOpError;
214
+ /** V3 Costs for a certain project Get costs for a certain project in a customer account */
215
+ export declare const getCostsForProject: API.OperationMethod<GetCostsForProjectRequest, GetCostsForProjectResponse, GetCostsForProjectError, StackitOpContext>;
216
+ export type ListCostsForCustomerError = BadRequest | Forbidden | NotFound | StackitOpError;
217
+ /** V3 Costs for all projects Get costs for all projects in a customer account */
218
+ export declare const listCostsForCustomer: API.OperationMethod<ListCostsForCustomerRequest, ListCostsForCustomerResponse, ListCostsForCustomerError, StackitOpContext>;
219
+ export type ListCostsForResellerError = BadRequest | Forbidden | NotFound | StackitOpError;
220
+ /** V3 Costs for all projects of all related sub-customers Get costs for all projects of all related sub-customer accounts */
221
+ export declare const listCostsForReseller: API.OperationMethod<ListCostsForResellerRequest, ListCostsForResellerResponse, ListCostsForResellerError, StackitOpContext>;
222
+ //# sourceMappingURL=cost.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cost.d.ts","sourceRoot":"","sources":["../../src/services/cost.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,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CAAsC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACrE,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AACD,eAAO,MAAM,2BAA2B,EAoB3B,CAAC,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAEnD,MAAM,MAAM,oCAAoC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AACtE,eAAO,MAAM,oCAAoC,EAErC,CAAC,CAAC,MAAM,CAAC,oCAAoC,CAAC,CAAC;AAE3D,MAAM,MAAM,4BAA4B,GAAG,oCAAoC,CAAC;AAChF,eAAO,MAAM,4BAA4B,EAI5B,CAAC,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAEpD,MAAM,MAAM,uBAAuB,GAC/B,UAAU,GACV,SAAS,GACT,QAAQ,GACR,cAAc,CAAC;AACnB,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,eAAe,CAClD,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,yBAAyB,GACjC,UAAU,GACV,SAAS,GACT,QAAQ,GACR,cAAc,CAAC;AACnB,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,yBAAyB,GACjC,UAAU,GACV,SAAS,GACT,QAAQ,GACR,cAAc,CAAC;AACnB,6HAA6H;AAC7H,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,gBAAgB,CAOf,CAAC"}
@@ -0,0 +1,188 @@
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 GetCostsForProjectRequestDepth = /*@__PURE__*/ S.String;
28
+ export const GetCostsForProjectRequestGranularity = /*@__PURE__*/ S.String;
29
+ export const GetCostsForProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
30
+ customerAccountId: S.String.pipe(T.Label()),
31
+ projectId: S.String.pipe(T.Label()),
32
+ from: S.String.pipe(T.Query()),
33
+ to: S.String.pipe(T.Query()),
34
+ depth: S.optional(GetCostsForProjectRequestDepth.pipe(T.Query())),
35
+ granularity: S.optional(GetCostsForProjectRequestGranularity.pipe(T.Query())),
36
+ includeZeroCosts: S.optional(S.Boolean.pipe(T.Query())),
37
+ }).pipe(T.Http({
38
+ method: "GET",
39
+ uri: "/v3/costs/{customerAccountId}/projects/{projectId}",
40
+ code: 200,
41
+ baseUrl: "https://cost.api.stackit.cloud",
42
+ }))).annotate({
43
+ identifier: "GetCostsForProjectRequest",
44
+ });
45
+ export const SummarizedProjectCost = /*@__PURE__*/ S.suspend(() => S.Struct({
46
+ customerAccountId: S.String,
47
+ projectId: S.String,
48
+ projectName: S.String,
49
+ totalCharge: S.Number,
50
+ totalDiscount: S.Number,
51
+ })).annotate({
52
+ identifier: "SummarizedProjectCost",
53
+ });
54
+ export const ReportDataTimePeriod = /*@__PURE__*/ S.suspend(() => S.Struct({
55
+ end: S.optional(S.String),
56
+ start: S.optional(S.String),
57
+ })).annotate({
58
+ identifier: "ReportDataTimePeriod",
59
+ });
60
+ export const ReportData = /*@__PURE__*/ S.suspend(() => S.Struct({
61
+ charge: S.Number,
62
+ discount: S.Number,
63
+ quantity: S.Number,
64
+ quantityDecimal: S.String,
65
+ timePeriod: ReportDataTimePeriod,
66
+ })).annotate({ identifier: "ReportData" });
67
+ export const ProjectCostWithReportsReportDataList = /*@__PURE__*/ S.Array(ReportData);
68
+ export const ProjectCostWithReports = /*@__PURE__*/ S.suspend(() => S.Struct({
69
+ customerAccountId: S.String,
70
+ projectId: S.String,
71
+ projectName: S.String,
72
+ reportData: S.optional(ProjectCostWithReportsReportDataList),
73
+ totalCharge: S.Number,
74
+ totalDiscount: S.Number,
75
+ })).annotate({
76
+ identifier: "ProjectCostWithReports",
77
+ });
78
+ export const SummarizedServiceCost = SummarizedProjectCost;
79
+ export const ProjectCostWithSummarizedServicesServicesList =
80
+ /*@__PURE__*/ S.Array(SummarizedProjectCost);
81
+ export const ProjectCostWithSummarizedServices = /*@__PURE__*/ S.suspend(() => S.Struct({
82
+ customerAccountId: S.String,
83
+ projectId: S.String,
84
+ projectName: S.String,
85
+ services: S.optional(ProjectCostWithSummarizedServicesServicesList),
86
+ totalCharge: S.Number,
87
+ totalDiscount: S.Number,
88
+ })).annotate({
89
+ identifier: "ProjectCostWithSummarizedServices",
90
+ });
91
+ export const DetailedServiceCostReportDataList = /*@__PURE__*/ S.Array(ReportData);
92
+ export const DetailedServiceCost = /*@__PURE__*/ S.suspend(() => S.Struct({
93
+ reportData: S.optional(DetailedServiceCostReportDataList),
94
+ serviceCategoryName: S.String,
95
+ serviceName: S.String,
96
+ sku: S.String,
97
+ totalCharge: S.Number,
98
+ totalDiscount: S.Number,
99
+ totalQuantity: S.Number,
100
+ totalQuantityDecimal: S.String,
101
+ unitLabel: S.String,
102
+ })).annotate({
103
+ identifier: "DetailedServiceCost",
104
+ });
105
+ export const ProjectCostWithDetailedServicesServicesList =
106
+ /*@__PURE__*/ S.Array(DetailedServiceCost);
107
+ export const ProjectCostWithDetailedServices = /*@__PURE__*/ S.suspend(() => S.Struct({
108
+ customerAccountId: S.String,
109
+ projectId: S.String,
110
+ projectName: S.String,
111
+ services: S.optional(ProjectCostWithDetailedServicesServicesList),
112
+ totalCharge: S.Number,
113
+ totalDiscount: S.Number,
114
+ })).annotate({
115
+ identifier: "ProjectCostWithDetailedServices",
116
+ });
117
+ export const ProjectCost =
118
+ /*@__PURE__*/ S.Unknown;
119
+ export const GetCostsForProjectResponse = /*@__PURE__*/ S.suspend(() => ProjectCost.pipe(T.RawResponseRoot())).annotate({
120
+ identifier: "GetCostsForProjectResponse",
121
+ });
122
+ export const ListCostsForCustomerRequestDepth = /*@__PURE__*/ S.String;
123
+ export const ListCostsForCustomerRequestGranularity = /*@__PURE__*/ S.String;
124
+ export const ListCostsForCustomerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
125
+ customerAccountId: S.String.pipe(T.Label()),
126
+ from: S.String.pipe(T.Query()),
127
+ to: S.String.pipe(T.Query()),
128
+ depth: S.optional(ListCostsForCustomerRequestDepth.pipe(T.Query())),
129
+ granularity: S.optional(ListCostsForCustomerRequestGranularity.pipe(T.Query())),
130
+ includeZeroCosts: S.optional(S.Boolean.pipe(T.Query())),
131
+ }).pipe(T.Http({
132
+ method: "GET",
133
+ uri: "/v3/costs/{customerAccountId}",
134
+ code: 200,
135
+ baseUrl: "https://cost.api.stackit.cloud",
136
+ }))).annotate({
137
+ identifier: "ListCostsForCustomerRequest",
138
+ });
139
+ export const ListCostsForCustomerResponseBodyList = /*@__PURE__*/ S.Array(ProjectCost);
140
+ export const ListCostsForCustomerResponse = /*@__PURE__*/ S.suspend(() => ListCostsForCustomerResponseBodyList.pipe(T.RawResponseRoot())).annotate({
141
+ identifier: "ListCostsForCustomerResponse",
142
+ });
143
+ export const ListCostsForResellerRequestDepth = /*@__PURE__*/ S.String;
144
+ export const ListCostsForResellerRequestGranularity = /*@__PURE__*/ S.String;
145
+ export const ListCostsForResellerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
146
+ customerAccountId: S.String.pipe(T.Label()),
147
+ from: S.String.pipe(T.Query()),
148
+ to: S.String.pipe(T.Query()),
149
+ depth: S.optional(ListCostsForResellerRequestDepth.pipe(T.Query())),
150
+ granularity: S.optional(ListCostsForResellerRequestGranularity.pipe(T.Query())),
151
+ includeZeroCosts: S.optional(S.Boolean.pipe(T.Query())),
152
+ }).pipe(T.Http({
153
+ method: "GET",
154
+ uri: "/v3/costs/{customerAccountId}/customers",
155
+ code: 200,
156
+ baseUrl: "https://cost.api.stackit.cloud",
157
+ }))).annotate({
158
+ identifier: "ListCostsForResellerRequest",
159
+ });
160
+ export const ListCostsForResellerResponseBodyList = /*@__PURE__*/ S.Array(ProjectCost);
161
+ export const ListCostsForResellerResponse = /*@__PURE__*/ S.suspend(() => ListCostsForResellerResponseBodyList.pipe(T.RawResponseRoot())).annotate({
162
+ identifier: "ListCostsForResellerResponse",
163
+ });
164
+ /** V3 Costs for a certain project Get costs for a certain project in a customer account */
165
+ export const getCostsForProject = /*@__PURE__*/ API.make(() => ({
166
+ input: GetCostsForProjectRequest,
167
+ output: GetCostsForProjectResponse,
168
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
169
+ protocol: StackitProtocol,
170
+ retry: Retry.Retry,
171
+ }));
172
+ /** V3 Costs for all projects Get costs for all projects in a customer account */
173
+ export const listCostsForCustomer = /*@__PURE__*/ API.make(() => ({
174
+ input: ListCostsForCustomerRequest,
175
+ output: ListCostsForCustomerResponse,
176
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
177
+ protocol: StackitProtocol,
178
+ retry: Retry.Retry,
179
+ }));
180
+ /** V3 Costs for all projects of all related sub-customers Get costs for all projects of all related sub-customer accounts */
181
+ export const listCostsForReseller = /*@__PURE__*/ API.make(() => ({
182
+ input: ListCostsForResellerRequest,
183
+ output: ListCostsForResellerResponse,
184
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
185
+ protocol: StackitProtocol,
186
+ retry: Retry.Retry,
187
+ }));
188
+ //# sourceMappingURL=cost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cost.js","sourceRoot":"","sources":["../../src/services/cost.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAIrC,MAAM,OAAO,UACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAc,CAAC,YAAY,EAAE;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,EAC9B,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAClB;CAAG;AAEN,MAAM,OAAO,SACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAa,CAAC,WAAW,EAAE;IACpD,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