@remnawave/backend-contract 2.0.0-alpha.9 → 2.0.1

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 (260) hide show
  1. package/build/backend/api/controllers/auth.d.ts +2 -0
  2. package/build/backend/api/controllers/auth.d.ts.map +1 -1
  3. package/build/backend/api/controllers/auth.js +2 -0
  4. package/build/backend/api/controllers/infra-billing.d.ts +1 -1
  5. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -1
  6. package/build/backend/api/controllers/infra-billing.js +1 -5
  7. package/build/backend/api/controllers/internal-squads.d.ts +4 -0
  8. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  9. package/build/backend/api/controllers/internal-squads.js +5 -0
  10. package/build/backend/api/controllers/subscription.d.ts +1 -0
  11. package/build/backend/api/controllers/subscription.d.ts.map +1 -1
  12. package/build/backend/api/controllers/subscription.js +1 -0
  13. package/build/backend/api/controllers/system.d.ts +1 -0
  14. package/build/backend/api/controllers/system.d.ts.map +1 -1
  15. package/build/backend/api/controllers/system.js +1 -0
  16. package/build/backend/api/routes.d.ts +9 -1
  17. package/build/backend/api/routes.d.ts.map +1 -1
  18. package/build/backend/api/routes.js +9 -1
  19. package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
  20. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  21. package/build/backend/commands/api-tokens/create.command.js +0 -1
  22. package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
  23. package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
  24. package/build/backend/commands/auth/get-status.command.d.ts +23 -0
  25. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  26. package/build/backend/commands/auth/get-status.command.js +3 -0
  27. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
  28. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
  29. package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
  30. package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
  31. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
  32. package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
  33. package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
  34. package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
  35. package/build/backend/commands/auth/oauth2/index.js +2 -0
  36. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +36 -10
  37. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  38. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +36 -10
  39. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  40. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +36 -10
  41. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  42. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +36 -10
  43. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  44. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +36 -10
  45. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  46. package/build/backend/commands/hosts/create.command.d.ts +60 -19
  47. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  48. package/build/backend/commands/hosts/create.command.js +14 -13
  49. package/build/backend/commands/hosts/get-all.command.d.ts +36 -10
  50. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  51. package/build/backend/commands/hosts/get-one.command.d.ts +36 -10
  52. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  53. package/build/backend/commands/hosts/reorder.command.d.ts +12 -2
  54. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  55. package/build/backend/commands/hosts/update.command.d.ts +72 -21
  56. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  57. package/build/backend/commands/hosts/update.command.js +11 -11
  58. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
  59. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
  60. package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
  61. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
  62. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  63. package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
  64. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +59 -0
  65. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
  66. package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
  67. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
  68. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
  69. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  70. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
  71. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  72. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  73. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
  74. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
  75. package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
  76. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
  77. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
  78. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  79. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +59 -0
  80. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -1
  81. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +77 -0
  82. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
  83. package/build/backend/commands/infra-billing/index.d.ts +7 -0
  84. package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
  85. package/build/backend/commands/infra-billing/index.js +7 -0
  86. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
  87. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  88. package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
  89. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +59 -0
  90. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
  91. package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
  92. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
  93. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
  94. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  95. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
  96. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
  97. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  98. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
  99. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
  100. package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
  101. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
  102. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
  103. package/build/backend/commands/internal-squads/index.d.ts +2 -1
  104. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  105. package/build/backend/commands/internal-squads/index.js +2 -1
  106. package/build/backend/commands/nodes/actions/disable.command.d.ts +140 -101
  107. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  108. package/build/backend/commands/nodes/actions/enable.command.d.ts +140 -101
  109. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  110. package/build/backend/commands/nodes/actions/reorder.command.d.ts +194 -128
  111. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  112. package/build/backend/commands/nodes/create.command.d.ts +158 -107
  113. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  114. package/build/backend/commands/nodes/create.command.js +6 -4
  115. package/build/backend/commands/nodes/get-all.command.d.ts +140 -101
  116. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  117. package/build/backend/commands/nodes/get-one.command.d.ts +140 -101
  118. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  119. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  120. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  121. package/build/backend/commands/nodes/update.command.d.ts +212 -134
  122. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  123. package/build/backend/commands/nodes/update.command.js +8 -4
  124. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +361 -0
  125. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
  126. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
  127. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
  128. package/build/backend/commands/subscription/index.d.ts +1 -0
  129. package/build/backend/commands/subscription/index.d.ts.map +1 -1
  130. package/build/backend/commands/subscription/index.js +1 -0
  131. package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
  132. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
  133. package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
  134. package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
  135. package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
  136. package/build/backend/commands/system/index.d.ts +1 -0
  137. package/build/backend/commands/system/index.d.ts.map +1 -1
  138. package/build/backend/commands/system/index.js +1 -0
  139. package/build/backend/commands/users/create-user.command.d.ts +6 -6
  140. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  141. package/build/backend/commands/users/create-user.command.js +2 -4
  142. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  143. package/build/backend/constants/errors/errors.d.ts +85 -0
  144. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  145. package/build/backend/constants/errors/errors.js +85 -0
  146. package/build/backend/constants/events/events.d.ts +11 -0
  147. package/build/backend/constants/events/events.d.ts.map +1 -1
  148. package/build/backend/constants/events/events.js +10 -0
  149. package/build/backend/constants/headers/headers.constants.d.ts +3 -0
  150. package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
  151. package/build/backend/constants/headers/headers.constants.js +5 -0
  152. package/build/backend/constants/headers/index.d.ts +2 -0
  153. package/build/backend/constants/headers/index.d.ts.map +1 -0
  154. package/build/backend/constants/headers/index.js +17 -0
  155. package/build/backend/constants/index.d.ts +3 -0
  156. package/build/backend/constants/index.d.ts.map +1 -1
  157. package/build/backend/constants/index.js +3 -0
  158. package/build/backend/constants/messaging/index.d.ts +2 -0
  159. package/build/backend/constants/messaging/index.d.ts.map +1 -0
  160. package/build/backend/constants/messaging/index.js +17 -0
  161. package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
  162. package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
  163. package/build/backend/constants/messaging/messaging.constants.js +19 -0
  164. package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
  165. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  166. package/build/backend/constants/metrics/metric-names.constant.js +17 -0
  167. package/build/backend/constants/oauth2/index.d.ts +2 -0
  168. package/build/backend/constants/oauth2/index.d.ts.map +1 -0
  169. package/build/backend/constants/oauth2/index.js +17 -0
  170. package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
  171. package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
  172. package/build/backend/constants/oauth2/providers.contants.js +9 -0
  173. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  174. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  175. package/build/backend/constants/templates/template-keys.js +1 -0
  176. package/build/backend/models/api-tokens.schema.d.ts +0 -3
  177. package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
  178. package/build/backend/models/api-tokens.schema.js +0 -1
  179. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  180. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  181. package/build/backend/models/hosts.schema.d.ts +24 -6
  182. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  183. package/build/backend/models/hosts.schema.js +6 -2
  184. package/build/backend/models/index.d.ts +4 -1
  185. package/build/backend/models/index.d.ts.map +1 -1
  186. package/build/backend/models/index.js +4 -1
  187. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  188. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  189. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  190. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  191. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  192. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  193. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  194. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  195. package/build/backend/models/infra-billing-node.schema.js +34 -0
  196. package/build/backend/models/infra-provider.schema.d.ts +63 -0
  197. package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
  198. package/build/backend/models/infra-provider.schema.js +24 -1
  199. package/build/backend/models/nodes.schema.d.ts +96 -63
  200. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  201. package/build/backend/models/nodes.schema.js +6 -3
  202. package/build/frontend/api/controllers/auth.js +2 -0
  203. package/build/frontend/api/controllers/infra-billing.js +1 -5
  204. package/build/frontend/api/controllers/internal-squads.js +5 -0
  205. package/build/frontend/api/controllers/subscription.js +1 -0
  206. package/build/frontend/api/controllers/system.js +1 -0
  207. package/build/frontend/api/routes.js +9 -1
  208. package/build/frontend/commands/api-tokens/create.command.js +0 -1
  209. package/build/frontend/commands/auth/get-status.command.js +3 -0
  210. package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
  211. package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
  212. package/build/frontend/commands/auth/oauth2/index.js +2 -0
  213. package/build/frontend/commands/hosts/create.command.js +14 -13
  214. package/build/frontend/commands/hosts/update.command.js +11 -11
  215. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  216. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  217. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +1 -1
  218. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  219. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  220. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  221. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  222. package/build/frontend/commands/infra-billing/index.js +7 -0
  223. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  224. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +1 -1
  225. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  226. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  227. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  228. package/build/frontend/commands/internal-squads/index.js +2 -1
  229. package/build/frontend/commands/nodes/create.command.js +6 -4
  230. package/build/frontend/commands/nodes/update.command.js +8 -4
  231. package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
  232. package/build/frontend/commands/subscription/index.js +1 -0
  233. package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
  234. package/build/frontend/commands/system/index.js +1 -0
  235. package/build/frontend/commands/users/create-user.command.js +2 -4
  236. package/build/frontend/constants/errors/errors.js +85 -0
  237. package/build/frontend/constants/events/events.js +10 -0
  238. package/build/frontend/constants/headers/headers.constants.js +5 -0
  239. package/build/frontend/constants/headers/index.js +17 -0
  240. package/build/frontend/constants/index.js +3 -0
  241. package/build/frontend/constants/messaging/index.js +17 -0
  242. package/build/frontend/constants/messaging/messaging.constants.js +19 -0
  243. package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
  244. package/build/frontend/constants/oauth2/index.js +17 -0
  245. package/build/frontend/constants/oauth2/providers.contants.js +9 -0
  246. package/build/frontend/constants/templates/template-keys.js +1 -0
  247. package/build/frontend/models/api-tokens.schema.js +0 -1
  248. package/build/frontend/models/hosts.schema.js +6 -2
  249. package/build/frontend/models/index.js +4 -1
  250. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  251. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  252. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  253. package/build/frontend/models/infra-provider.schema.js +24 -1
  254. package/build/frontend/models/nodes.schema.js +6 -3
  255. package/package.json +2 -2
  256. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  257. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  258. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  259. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  260. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -0,0 +1,122 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetInfraBillingHistoryRecordsCommand {
3
+ const url: "/api/infra-billing/history";
4
+ const TSQ_url: "/api/infra-billing/history";
5
+ const endpointDetails: import("../../constants").EndpointDetails;
6
+ const RequestQuerySchema: z.ZodObject<{
7
+ start: z.ZodDefault<z.ZodNumber>;
8
+ size: z.ZodDefault<z.ZodNumber>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ start: number;
11
+ size: number;
12
+ }, {
13
+ start?: number | undefined;
14
+ size?: number | undefined;
15
+ }>;
16
+ type RequestQuery = z.infer<typeof RequestQuerySchema>;
17
+ const ResponseSchema: z.ZodObject<{
18
+ response: z.ZodObject<{
19
+ records: z.ZodArray<z.ZodObject<{
20
+ uuid: z.ZodString;
21
+ providerUuid: z.ZodString;
22
+ amount: z.ZodNumber;
23
+ billedAt: z.ZodEffects<z.ZodString, Date, string>;
24
+ provider: z.ZodObject<Omit<{
25
+ uuid: z.ZodString;
26
+ name: z.ZodString;
27
+ faviconLink: z.ZodNullable<z.ZodString>;
28
+ loginUrl: z.ZodNullable<z.ZodString>;
29
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
30
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
31
+ }, "createdAt" | "updatedAt" | "loginUrl">, "strip", z.ZodTypeAny, {
32
+ uuid: string;
33
+ name: string;
34
+ faviconLink: string | null;
35
+ }, {
36
+ uuid: string;
37
+ name: string;
38
+ faviconLink: string | null;
39
+ }>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ uuid: string;
42
+ provider: {
43
+ uuid: string;
44
+ name: string;
45
+ faviconLink: string | null;
46
+ };
47
+ providerUuid: string;
48
+ amount: number;
49
+ billedAt: Date;
50
+ }, {
51
+ uuid: string;
52
+ provider: {
53
+ uuid: string;
54
+ name: string;
55
+ faviconLink: string | null;
56
+ };
57
+ providerUuid: string;
58
+ amount: number;
59
+ billedAt: string;
60
+ }>, "many">;
61
+ total: z.ZodNumber;
62
+ }, "strip", z.ZodTypeAny, {
63
+ total: number;
64
+ records: {
65
+ uuid: string;
66
+ provider: {
67
+ uuid: string;
68
+ name: string;
69
+ faviconLink: string | null;
70
+ };
71
+ providerUuid: string;
72
+ amount: number;
73
+ billedAt: Date;
74
+ }[];
75
+ }, {
76
+ total: number;
77
+ records: {
78
+ uuid: string;
79
+ provider: {
80
+ uuid: string;
81
+ name: string;
82
+ faviconLink: string | null;
83
+ };
84
+ providerUuid: string;
85
+ amount: number;
86
+ billedAt: string;
87
+ }[];
88
+ }>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ response: {
91
+ total: number;
92
+ records: {
93
+ uuid: string;
94
+ provider: {
95
+ uuid: string;
96
+ name: string;
97
+ faviconLink: string | null;
98
+ };
99
+ providerUuid: string;
100
+ amount: number;
101
+ billedAt: Date;
102
+ }[];
103
+ };
104
+ }, {
105
+ response: {
106
+ total: number;
107
+ records: {
108
+ uuid: string;
109
+ provider: {
110
+ uuid: string;
111
+ name: string;
112
+ faviconLink: string | null;
113
+ };
114
+ providerUuid: string;
115
+ amount: number;
116
+ billedAt: string;
117
+ }[];
118
+ };
119
+ }>;
120
+ type Response = z.infer<typeof ResponseSchema>;
121
+ }
122
+ //# sourceMappingURL=get-bill-records.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-bill-records.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-bill-records.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,8BAA6C,CAAC;IACvD,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAa7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInfraBillingHistoryRecordsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
+ const constants_1 = require("../../constants");
8
+ var GetInfraBillingHistoryRecordsCommand;
9
+ (function (GetInfraBillingHistoryRecordsCommand) {
10
+ GetInfraBillingHistoryRecordsCommand.url = api_1.REST_API.INFRA_BILLING.GET_BILLING_HISTORY;
11
+ GetInfraBillingHistoryRecordsCommand.TSQ_url = GetInfraBillingHistoryRecordsCommand.url;
12
+ GetInfraBillingHistoryRecordsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_BILLING_HISTORY, 'get', 'Get infra billing history');
13
+ GetInfraBillingHistoryRecordsCommand.RequestQuerySchema = zod_1.z.object({
14
+ start: zod_1.z.coerce
15
+ .number()
16
+ .default(0)
17
+ .describe('Start index (offset) of the billing history records to return, default is 0'),
18
+ size: zod_1.z.coerce
19
+ .number()
20
+ .min(1, 'Size (limit) must be greater than 0')
21
+ .max(500, 'Size (limit) must be less than 500')
22
+ .describe('Number of billing records to return, no more than 500')
23
+ .default(50),
24
+ });
25
+ GetInfraBillingHistoryRecordsCommand.ResponseSchema = zod_1.z.object({
26
+ response: zod_1.z.object({
27
+ records: zod_1.z.array(models_1.InfraBillingHistoryRecordSchema),
28
+ total: zod_1.z.number(),
29
+ }),
30
+ });
31
+ })(GetInfraBillingHistoryRecordsCommand || (exports.GetInfraBillingHistoryRecordsCommand = GetInfraBillingHistoryRecordsCommand = {}));
@@ -0,0 +1,453 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetInfraBillingNodesCommand {
3
+ const url: "/api/infra-billing/nodes";
4
+ const TSQ_url: "/api/infra-billing/nodes";
5
+ const endpointDetails: import("../../constants").EndpointDetails;
6
+ const ResponseSchema: z.ZodObject<{
7
+ response: z.ZodObject<{
8
+ totalBillingNodes: z.ZodNumber;
9
+ billingNodes: z.ZodArray<z.ZodObject<{
10
+ uuid: z.ZodString;
11
+ nodeUuid: z.ZodString;
12
+ providerUuid: z.ZodString;
13
+ provider: z.ZodObject<Pick<{
14
+ uuid: z.ZodString;
15
+ name: z.ZodString;
16
+ faviconLink: z.ZodNullable<z.ZodString>;
17
+ loginUrl: z.ZodNullable<z.ZodString>;
18
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
19
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
20
+ }, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
21
+ uuid: string;
22
+ name: string;
23
+ faviconLink: string | null;
24
+ loginUrl: string | null;
25
+ }, {
26
+ uuid: string;
27
+ name: string;
28
+ faviconLink: string | null;
29
+ loginUrl: string | null;
30
+ }>;
31
+ node: z.ZodObject<Pick<{
32
+ uuid: z.ZodString;
33
+ name: z.ZodString;
34
+ address: z.ZodString;
35
+ port: z.ZodNullable<z.ZodNumber>;
36
+ isConnected: z.ZodBoolean;
37
+ isDisabled: z.ZodBoolean;
38
+ isConnecting: z.ZodBoolean;
39
+ isNodeOnline: z.ZodBoolean;
40
+ isXrayRunning: z.ZodBoolean;
41
+ lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
42
+ lastStatusMessage: z.ZodNullable<z.ZodString>;
43
+ xrayVersion: z.ZodNullable<z.ZodString>;
44
+ nodeVersion: z.ZodNullable<z.ZodString>;
45
+ xrayUptime: z.ZodString;
46
+ isTrafficTrackingActive: z.ZodBoolean;
47
+ trafficResetDay: z.ZodNullable<z.ZodNumber>;
48
+ trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
49
+ trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
50
+ notifyPercent: z.ZodNullable<z.ZodNumber>;
51
+ usersOnline: z.ZodNullable<z.ZodNumber>;
52
+ viewPosition: z.ZodNumber;
53
+ countryCode: z.ZodString;
54
+ consumptionMultiplier: z.ZodNumber;
55
+ cpuCount: z.ZodNullable<z.ZodNumber>;
56
+ cpuModel: z.ZodNullable<z.ZodString>;
57
+ totalRam: z.ZodNullable<z.ZodString>;
58
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
59
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
60
+ configProfile: z.ZodObject<{
61
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
62
+ activeInbounds: z.ZodArray<z.ZodObject<{
63
+ uuid: z.ZodString;
64
+ profileUuid: z.ZodString;
65
+ tag: z.ZodString;
66
+ type: z.ZodString;
67
+ network: z.ZodNullable<z.ZodString>;
68
+ security: z.ZodNullable<z.ZodString>;
69
+ port: z.ZodNullable<z.ZodNumber>;
70
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ type: string;
73
+ uuid: string;
74
+ profileUuid: string;
75
+ tag: string;
76
+ network: string | null;
77
+ security: string | null;
78
+ port: number | null;
79
+ rawInbound?: unknown;
80
+ }, {
81
+ type: string;
82
+ uuid: string;
83
+ profileUuid: string;
84
+ tag: string;
85
+ network: string | null;
86
+ security: string | null;
87
+ port: number | null;
88
+ rawInbound?: unknown;
89
+ }>, "many">;
90
+ }, "strip", z.ZodTypeAny, {
91
+ activeConfigProfileUuid: string | null;
92
+ activeInbounds: {
93
+ type: string;
94
+ uuid: string;
95
+ profileUuid: string;
96
+ tag: string;
97
+ network: string | null;
98
+ security: string | null;
99
+ port: number | null;
100
+ rawInbound?: unknown;
101
+ }[];
102
+ }, {
103
+ activeConfigProfileUuid: string | null;
104
+ activeInbounds: {
105
+ type: string;
106
+ uuid: string;
107
+ profileUuid: string;
108
+ tag: string;
109
+ network: string | null;
110
+ security: string | null;
111
+ port: number | null;
112
+ rawInbound?: unknown;
113
+ }[];
114
+ }>;
115
+ providerUuid: z.ZodNullable<z.ZodString>;
116
+ provider: z.ZodNullable<z.ZodObject<{
117
+ uuid: z.ZodString;
118
+ name: z.ZodString;
119
+ faviconLink: z.ZodNullable<z.ZodString>;
120
+ loginUrl: z.ZodNullable<z.ZodString>;
121
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
122
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ uuid: string;
125
+ createdAt: Date;
126
+ updatedAt: Date;
127
+ name: string;
128
+ faviconLink: string | null;
129
+ loginUrl: string | null;
130
+ }, {
131
+ uuid: string;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ name: string;
135
+ faviconLink: string | null;
136
+ loginUrl: string | null;
137
+ }>>;
138
+ }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
139
+ uuid: string;
140
+ name: string;
141
+ countryCode: string;
142
+ }, {
143
+ uuid: string;
144
+ name: string;
145
+ countryCode: string;
146
+ }>;
147
+ nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
148
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
149
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ uuid: string;
152
+ createdAt: Date;
153
+ updatedAt: Date;
154
+ provider: {
155
+ uuid: string;
156
+ name: string;
157
+ faviconLink: string | null;
158
+ loginUrl: string | null;
159
+ };
160
+ nodeUuid: string;
161
+ providerUuid: string;
162
+ node: {
163
+ uuid: string;
164
+ name: string;
165
+ countryCode: string;
166
+ };
167
+ nextBillingAt: Date;
168
+ }, {
169
+ uuid: string;
170
+ createdAt: string;
171
+ updatedAt: string;
172
+ provider: {
173
+ uuid: string;
174
+ name: string;
175
+ faviconLink: string | null;
176
+ loginUrl: string | null;
177
+ };
178
+ nodeUuid: string;
179
+ providerUuid: string;
180
+ node: {
181
+ uuid: string;
182
+ name: string;
183
+ countryCode: string;
184
+ };
185
+ nextBillingAt: string;
186
+ }>, "many">;
187
+ availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
188
+ uuid: z.ZodString;
189
+ name: z.ZodString;
190
+ address: z.ZodString;
191
+ port: z.ZodNullable<z.ZodNumber>;
192
+ isConnected: z.ZodBoolean;
193
+ isDisabled: z.ZodBoolean;
194
+ isConnecting: z.ZodBoolean;
195
+ isNodeOnline: z.ZodBoolean;
196
+ isXrayRunning: z.ZodBoolean;
197
+ lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
198
+ lastStatusMessage: z.ZodNullable<z.ZodString>;
199
+ xrayVersion: z.ZodNullable<z.ZodString>;
200
+ nodeVersion: z.ZodNullable<z.ZodString>;
201
+ xrayUptime: z.ZodString;
202
+ isTrafficTrackingActive: z.ZodBoolean;
203
+ trafficResetDay: z.ZodNullable<z.ZodNumber>;
204
+ trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
205
+ trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
206
+ notifyPercent: z.ZodNullable<z.ZodNumber>;
207
+ usersOnline: z.ZodNullable<z.ZodNumber>;
208
+ viewPosition: z.ZodNumber;
209
+ countryCode: z.ZodString;
210
+ consumptionMultiplier: z.ZodNumber;
211
+ cpuCount: z.ZodNullable<z.ZodNumber>;
212
+ cpuModel: z.ZodNullable<z.ZodString>;
213
+ totalRam: z.ZodNullable<z.ZodString>;
214
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
215
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
216
+ configProfile: z.ZodObject<{
217
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
218
+ activeInbounds: z.ZodArray<z.ZodObject<{
219
+ uuid: z.ZodString;
220
+ profileUuid: z.ZodString;
221
+ tag: z.ZodString;
222
+ type: z.ZodString;
223
+ network: z.ZodNullable<z.ZodString>;
224
+ security: z.ZodNullable<z.ZodString>;
225
+ port: z.ZodNullable<z.ZodNumber>;
226
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: string;
229
+ uuid: string;
230
+ profileUuid: string;
231
+ tag: string;
232
+ network: string | null;
233
+ security: string | null;
234
+ port: number | null;
235
+ rawInbound?: unknown;
236
+ }, {
237
+ type: string;
238
+ uuid: string;
239
+ profileUuid: string;
240
+ tag: string;
241
+ network: string | null;
242
+ security: string | null;
243
+ port: number | null;
244
+ rawInbound?: unknown;
245
+ }>, "many">;
246
+ }, "strip", z.ZodTypeAny, {
247
+ activeConfigProfileUuid: string | null;
248
+ activeInbounds: {
249
+ type: string;
250
+ uuid: string;
251
+ profileUuid: string;
252
+ tag: string;
253
+ network: string | null;
254
+ security: string | null;
255
+ port: number | null;
256
+ rawInbound?: unknown;
257
+ }[];
258
+ }, {
259
+ activeConfigProfileUuid: string | null;
260
+ activeInbounds: {
261
+ type: string;
262
+ uuid: string;
263
+ profileUuid: string;
264
+ tag: string;
265
+ network: string | null;
266
+ security: string | null;
267
+ port: number | null;
268
+ rawInbound?: unknown;
269
+ }[];
270
+ }>;
271
+ providerUuid: z.ZodNullable<z.ZodString>;
272
+ provider: z.ZodNullable<z.ZodObject<{
273
+ uuid: z.ZodString;
274
+ name: z.ZodString;
275
+ faviconLink: z.ZodNullable<z.ZodString>;
276
+ loginUrl: z.ZodNullable<z.ZodString>;
277
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
278
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ uuid: string;
281
+ createdAt: Date;
282
+ updatedAt: Date;
283
+ name: string;
284
+ faviconLink: string | null;
285
+ loginUrl: string | null;
286
+ }, {
287
+ uuid: string;
288
+ createdAt: string;
289
+ updatedAt: string;
290
+ name: string;
291
+ faviconLink: string | null;
292
+ loginUrl: string | null;
293
+ }>>;
294
+ }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
295
+ uuid: string;
296
+ name: string;
297
+ countryCode: string;
298
+ }, {
299
+ uuid: string;
300
+ name: string;
301
+ countryCode: string;
302
+ }>, "many">;
303
+ totalAvailableBillingNodes: z.ZodNumber;
304
+ stats: z.ZodObject<{
305
+ upcomingNodesCount: z.ZodNumber;
306
+ currentMonthPayments: z.ZodNumber;
307
+ totalSpent: z.ZodNumber;
308
+ }, "strip", z.ZodTypeAny, {
309
+ upcomingNodesCount: number;
310
+ currentMonthPayments: number;
311
+ totalSpent: number;
312
+ }, {
313
+ upcomingNodesCount: number;
314
+ currentMonthPayments: number;
315
+ totalSpent: number;
316
+ }>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ stats: {
319
+ upcomingNodesCount: number;
320
+ currentMonthPayments: number;
321
+ totalSpent: number;
322
+ };
323
+ billingNodes: {
324
+ uuid: string;
325
+ createdAt: Date;
326
+ updatedAt: Date;
327
+ provider: {
328
+ uuid: string;
329
+ name: string;
330
+ faviconLink: string | null;
331
+ loginUrl: string | null;
332
+ };
333
+ nodeUuid: string;
334
+ providerUuid: string;
335
+ node: {
336
+ uuid: string;
337
+ name: string;
338
+ countryCode: string;
339
+ };
340
+ nextBillingAt: Date;
341
+ }[];
342
+ totalBillingNodes: number;
343
+ availableBillingNodes: {
344
+ uuid: string;
345
+ name: string;
346
+ countryCode: string;
347
+ }[];
348
+ totalAvailableBillingNodes: number;
349
+ }, {
350
+ stats: {
351
+ upcomingNodesCount: number;
352
+ currentMonthPayments: number;
353
+ totalSpent: number;
354
+ };
355
+ billingNodes: {
356
+ uuid: string;
357
+ createdAt: string;
358
+ updatedAt: string;
359
+ provider: {
360
+ uuid: string;
361
+ name: string;
362
+ faviconLink: string | null;
363
+ loginUrl: string | null;
364
+ };
365
+ nodeUuid: string;
366
+ providerUuid: string;
367
+ node: {
368
+ uuid: string;
369
+ name: string;
370
+ countryCode: string;
371
+ };
372
+ nextBillingAt: string;
373
+ }[];
374
+ totalBillingNodes: number;
375
+ availableBillingNodes: {
376
+ uuid: string;
377
+ name: string;
378
+ countryCode: string;
379
+ }[];
380
+ totalAvailableBillingNodes: number;
381
+ }>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ response: {
384
+ stats: {
385
+ upcomingNodesCount: number;
386
+ currentMonthPayments: number;
387
+ totalSpent: number;
388
+ };
389
+ billingNodes: {
390
+ uuid: string;
391
+ createdAt: Date;
392
+ updatedAt: Date;
393
+ provider: {
394
+ uuid: string;
395
+ name: string;
396
+ faviconLink: string | null;
397
+ loginUrl: string | null;
398
+ };
399
+ nodeUuid: string;
400
+ providerUuid: string;
401
+ node: {
402
+ uuid: string;
403
+ name: string;
404
+ countryCode: string;
405
+ };
406
+ nextBillingAt: Date;
407
+ }[];
408
+ totalBillingNodes: number;
409
+ availableBillingNodes: {
410
+ uuid: string;
411
+ name: string;
412
+ countryCode: string;
413
+ }[];
414
+ totalAvailableBillingNodes: number;
415
+ };
416
+ }, {
417
+ response: {
418
+ stats: {
419
+ upcomingNodesCount: number;
420
+ currentMonthPayments: number;
421
+ totalSpent: number;
422
+ };
423
+ billingNodes: {
424
+ uuid: string;
425
+ createdAt: string;
426
+ updatedAt: string;
427
+ provider: {
428
+ uuid: string;
429
+ name: string;
430
+ faviconLink: string | null;
431
+ loginUrl: string | null;
432
+ };
433
+ nodeUuid: string;
434
+ providerUuid: string;
435
+ node: {
436
+ uuid: string;
437
+ name: string;
438
+ countryCode: string;
439
+ };
440
+ nextBillingAt: string;
441
+ }[];
442
+ totalBillingNodes: number;
443
+ availableBillingNodes: {
444
+ uuid: string;
445
+ name: string;
446
+ countryCode: string;
447
+ }[];
448
+ totalAvailableBillingNodes: number;
449
+ };
450
+ }>;
451
+ type Response = z.infer<typeof ResponseSchema>;
452
+ }
453
+ //# sourceMappingURL=get-billing-nodes.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInfraBillingNodesCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
+ const constants_1 = require("../../constants");
8
+ var GetInfraBillingNodesCommand;
9
+ (function (GetInfraBillingNodesCommand) {
10
+ GetInfraBillingNodesCommand.url = api_1.REST_API.INFRA_BILLING.GET_BILLING_NODES;
11
+ GetInfraBillingNodesCommand.TSQ_url = GetInfraBillingNodesCommand.url;
12
+ GetInfraBillingNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_BILLING_NODES, 'get', 'Get infra billing nodes');
13
+ GetInfraBillingNodesCommand.ResponseSchema = zod_1.z.object({
14
+ response: zod_1.z.object({
15
+ totalBillingNodes: zod_1.z.number(),
16
+ billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
17
+ availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
18
+ totalAvailableBillingNodes: zod_1.z.number(),
19
+ stats: zod_1.z.object({
20
+ upcomingNodesCount: zod_1.z.number(),
21
+ currentMonthPayments: zod_1.z.number(),
22
+ totalSpent: zod_1.z.number(),
23
+ }),
24
+ }),
25
+ });
26
+ })(GetInfraBillingNodesCommand || (exports.GetInfraBillingNodesCommand = GetInfraBillingNodesCommand = {}));