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