@remnawave/backend-contract 2.0.0-alpha.3 → 2.0.0-alpha.30

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 (211) hide show
  1. package/build/backend/api/controllers/index.d.ts +1 -0
  2. package/build/backend/api/controllers/index.d.ts.map +1 -1
  3. package/build/backend/api/controllers/index.js +1 -0
  4. package/build/backend/api/controllers/infra-billing.d.ts +16 -0
  5. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
  6. package/build/backend/api/controllers/infra-billing.js +18 -0
  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/users.d.ts +1 -0
  11. package/build/backend/api/controllers/users.d.ts.map +1 -1
  12. package/build/backend/api/controllers/users.js +1 -0
  13. package/build/backend/api/routes.d.ts +19 -0
  14. package/build/backend/api/routes.d.ts.map +1 -1
  15. package/build/backend/api/routes.js +19 -0
  16. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  17. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +31 -10
  18. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  19. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +31 -10
  20. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  21. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +31 -10
  22. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  23. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +31 -10
  24. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  25. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +31 -10
  26. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  27. package/build/backend/commands/hosts/create.command.d.ts +52 -19
  28. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  29. package/build/backend/commands/hosts/create.command.js +13 -13
  30. package/build/backend/commands/hosts/get-all.command.d.ts +31 -10
  31. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  32. package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
  33. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  34. package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
  35. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  36. package/build/backend/commands/hosts/update.command.d.ts +63 -21
  37. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  38. package/build/backend/commands/hosts/update.command.js +10 -11
  39. package/build/backend/commands/index.d.ts +1 -0
  40. package/build/backend/commands/index.d.ts.map +1 -1
  41. package/build/backend/commands/index.js +1 -0
  42. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
  43. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
  44. package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
  45. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
  46. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  47. package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
  48. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
  49. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
  50. package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
  51. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
  52. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
  53. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  54. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
  55. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  56. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  57. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
  58. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
  59. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  60. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
  61. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
  62. package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
  63. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
  64. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
  65. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  66. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
  67. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
  68. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  69. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
  70. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
  71. package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
  72. package/build/backend/commands/infra-billing/index.d.ts +13 -0
  73. package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
  74. package/build/backend/commands/infra-billing/index.js +28 -0
  75. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
  76. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  77. package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
  78. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
  79. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
  80. package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
  81. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
  82. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
  83. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  84. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
  85. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
  86. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  87. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
  88. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
  89. package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
  90. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  91. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
  92. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
  93. package/build/backend/commands/internal-squads/index.d.ts +2 -1
  94. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  95. package/build/backend/commands/internal-squads/index.js +2 -1
  96. package/build/backend/commands/nodes/actions/disable.command.d.ts +162 -64
  97. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  98. package/build/backend/commands/nodes/actions/enable.command.d.ts +162 -64
  99. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  100. package/build/backend/commands/nodes/actions/reorder.command.d.ts +236 -88
  101. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  102. package/build/backend/commands/nodes/create.command.d.ts +183 -70
  103. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  104. package/build/backend/commands/nodes/create.command.js +7 -4
  105. package/build/backend/commands/nodes/get-all.command.d.ts +162 -64
  106. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  107. package/build/backend/commands/nodes/get-one.command.d.ts +162 -64
  108. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  109. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  110. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  111. package/build/backend/commands/nodes/update.command.d.ts +257 -94
  112. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  113. package/build/backend/commands/nodes/update.command.js +9 -4
  114. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +114 -0
  115. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -0
  116. package/build/backend/commands/users/get-user-accessible-nodes.command.js +31 -0
  117. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  118. package/build/backend/commands/users/index.d.ts +1 -0
  119. package/build/backend/commands/users/index.d.ts.map +1 -1
  120. package/build/backend/commands/users/index.js +1 -0
  121. package/build/backend/constants/errors/errors.d.ts +95 -0
  122. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  123. package/build/backend/constants/errors/errors.js +95 -0
  124. package/build/backend/constants/events/events.d.ts +11 -0
  125. package/build/backend/constants/events/events.d.ts.map +1 -1
  126. package/build/backend/constants/events/events.js +10 -0
  127. package/build/backend/constants/headers/headers.contants.d.ts +3 -0
  128. package/build/backend/constants/headers/headers.contants.d.ts.map +1 -0
  129. package/build/backend/constants/headers/headers.contants.js +5 -0
  130. package/build/backend/constants/headers/index.d.ts +2 -0
  131. package/build/backend/constants/headers/index.d.ts.map +1 -0
  132. package/build/backend/constants/headers/index.js +17 -0
  133. package/build/backend/constants/index.d.ts +1 -0
  134. package/build/backend/constants/index.d.ts.map +1 -1
  135. package/build/backend/constants/index.js +1 -0
  136. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  137. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  138. package/build/backend/constants/templates/template-keys.js +1 -0
  139. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  140. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  141. package/build/backend/models/hosts.schema.d.ts +21 -6
  142. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  143. package/build/backend/models/hosts.schema.js +5 -2
  144. package/build/backend/models/index.d.ts +5 -1
  145. package/build/backend/models/index.d.ts.map +1 -1
  146. package/build/backend/models/index.js +5 -1
  147. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  148. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  149. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  150. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  151. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  152. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  153. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  154. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  155. package/build/backend/models/infra-billing-node.schema.js +34 -0
  156. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  157. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  158. package/build/backend/models/infra-provider.schema.js +41 -0
  159. package/build/backend/models/nodes.schema.d.ts +118 -44
  160. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  161. package/build/backend/models/nodes.schema.js +8 -2
  162. package/build/frontend/api/controllers/index.js +1 -0
  163. package/build/frontend/api/controllers/infra-billing.js +18 -0
  164. package/build/frontend/api/controllers/internal-squads.js +5 -0
  165. package/build/frontend/api/controllers/users.js +1 -0
  166. package/build/frontend/api/routes.js +19 -0
  167. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  168. package/build/frontend/commands/hosts/create.command.js +13 -13
  169. package/build/frontend/commands/hosts/update.command.js +10 -11
  170. package/build/frontend/commands/index.js +1 -0
  171. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  172. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  173. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  174. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  175. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  176. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  177. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  178. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  179. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  180. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  181. package/build/frontend/commands/infra-billing/index.js +28 -0
  182. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  183. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  184. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  185. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  186. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  187. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  188. package/build/frontend/commands/internal-squads/index.js +2 -1
  189. package/build/frontend/commands/nodes/create.command.js +7 -4
  190. package/build/frontend/commands/nodes/update.command.js +9 -4
  191. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
  192. package/build/frontend/commands/users/index.js +1 -0
  193. package/build/frontend/constants/errors/errors.js +95 -0
  194. package/build/frontend/constants/events/events.js +10 -0
  195. package/build/frontend/constants/headers/headers.contants.js +5 -0
  196. package/build/frontend/constants/headers/index.js +17 -0
  197. package/build/frontend/constants/index.js +1 -0
  198. package/build/frontend/constants/templates/template-keys.js +1 -0
  199. package/build/frontend/models/hosts.schema.js +5 -2
  200. package/build/frontend/models/index.js +5 -1
  201. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  202. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  203. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  204. package/build/frontend/models/infra-provider.schema.js +41 -0
  205. package/build/frontend/models/nodes.schema.js +8 -2
  206. package/package.json +1 -1
  207. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  208. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  209. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  210. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  211. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -17,6 +17,7 @@ export declare namespace GetAllNodesCommand {
17
17
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
18
18
  lastStatusMessage: z.ZodNullable<z.ZodString>;
19
19
  xrayVersion: z.ZodNullable<z.ZodString>;
20
+ nodeVersion: z.ZodNullable<z.ZodString>;
20
21
  xrayUptime: z.ZodString;
21
22
  isTrafficTrackingActive: z.ZodBoolean;
22
23
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
@@ -32,35 +33,84 @@ export declare namespace GetAllNodesCommand {
32
33
  totalRam: z.ZodNullable<z.ZodString>;
33
34
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
35
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
36
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
36
+ configProfile: z.ZodObject<{
37
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
38
+ activeInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ profileUuid: z.ZodString;
41
+ tag: z.ZodString;
42
+ type: z.ZodString;
43
+ network: z.ZodNullable<z.ZodString>;
44
+ security: z.ZodNullable<z.ZodString>;
45
+ port: z.ZodNullable<z.ZodNumber>;
46
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ type: string;
49
+ uuid: string;
50
+ profileUuid: string;
51
+ tag: string;
52
+ network: string | null;
53
+ security: string | null;
54
+ port: number | null;
55
+ rawInbound?: unknown;
56
+ }, {
57
+ type: string;
58
+ uuid: string;
59
+ profileUuid: string;
60
+ tag: string;
61
+ network: string | null;
62
+ security: string | null;
63
+ port: number | null;
64
+ rawInbound?: unknown;
65
+ }>, "many">;
66
+ }, "strip", z.ZodTypeAny, {
67
+ activeConfigProfileUuid: string | null;
68
+ activeInbounds: {
69
+ type: string;
70
+ uuid: string;
71
+ profileUuid: string;
72
+ tag: string;
73
+ network: string | null;
74
+ security: string | null;
75
+ port: number | null;
76
+ rawInbound?: unknown;
77
+ }[];
78
+ }, {
79
+ activeConfigProfileUuid: string | null;
80
+ activeInbounds: {
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
+ }[];
90
+ }>;
91
+ providerUuid: z.ZodNullable<z.ZodString>;
92
+ provider: z.ZodNullable<z.ZodObject<{
37
93
  uuid: z.ZodString;
38
- profileUuid: z.ZodString;
39
- tag: z.ZodString;
40
- type: z.ZodString;
41
- network: z.ZodNullable<z.ZodString>;
42
- security: z.ZodNullable<z.ZodString>;
43
- port: z.ZodNullable<z.ZodNumber>;
44
- rawInbound: z.ZodNullable<z.ZodUnknown>;
94
+ name: z.ZodString;
95
+ faviconLink: z.ZodNullable<z.ZodString>;
96
+ loginUrl: z.ZodNullable<z.ZodString>;
97
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
98
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
45
99
  }, "strip", z.ZodTypeAny, {
46
- type: string;
47
100
  uuid: string;
48
- profileUuid: string;
49
- tag: string;
50
- network: string | null;
51
- security: string | null;
52
- port: number | null;
53
- rawInbound?: unknown;
101
+ createdAt: Date;
102
+ updatedAt: Date;
103
+ name: string;
104
+ faviconLink: string | null;
105
+ loginUrl: string | null;
54
106
  }, {
55
- type: string;
56
107
  uuid: string;
57
- profileUuid: string;
58
- tag: string;
59
- network: string | null;
60
- security: string | null;
61
- port: number | null;
62
- rawInbound?: unknown;
63
- }>, "many">>;
108
+ createdAt: string;
109
+ updatedAt: string;
110
+ name: string;
111
+ faviconLink: string | null;
112
+ loginUrl: string | null;
113
+ }>>;
64
114
  }, "strip", z.ZodTypeAny, {
65
115
  uuid: string;
66
116
  createdAt: Date;
@@ -79,6 +129,7 @@ export declare namespace GetAllNodesCommand {
79
129
  lastStatusChange: Date | null;
80
130
  lastStatusMessage: string | null;
81
131
  xrayVersion: string | null;
132
+ nodeVersion: string | null;
82
133
  xrayUptime: string;
83
134
  isTrafficTrackingActive: boolean;
84
135
  trafficResetDay: number | null;
@@ -89,17 +140,28 @@ export declare namespace GetAllNodesCommand {
89
140
  cpuCount: number | null;
90
141
  cpuModel: string | null;
91
142
  totalRam: string | null;
92
- activeConfigProfileUuid: string | null;
93
- activeInbounds: {
94
- type: string;
143
+ configProfile: {
144
+ activeConfigProfileUuid: string | null;
145
+ activeInbounds: {
146
+ type: string;
147
+ uuid: string;
148
+ profileUuid: string;
149
+ tag: string;
150
+ network: string | null;
151
+ security: string | null;
152
+ port: number | null;
153
+ rawInbound?: unknown;
154
+ }[];
155
+ };
156
+ providerUuid: string | null;
157
+ provider: {
95
158
  uuid: string;
96
- profileUuid: string;
97
- tag: string;
98
- network: string | null;
99
- security: string | null;
100
- port: number | null;
101
- rawInbound?: unknown;
102
- }[] | null;
159
+ createdAt: Date;
160
+ updatedAt: Date;
161
+ name: string;
162
+ faviconLink: string | null;
163
+ loginUrl: string | null;
164
+ } | null;
103
165
  }, {
104
166
  uuid: string;
105
167
  createdAt: string;
@@ -118,6 +180,7 @@ export declare namespace GetAllNodesCommand {
118
180
  lastStatusChange: string | null;
119
181
  lastStatusMessage: string | null;
120
182
  xrayVersion: string | null;
183
+ nodeVersion: string | null;
121
184
  xrayUptime: string;
122
185
  isTrafficTrackingActive: boolean;
123
186
  trafficResetDay: number | null;
@@ -128,17 +191,28 @@ export declare namespace GetAllNodesCommand {
128
191
  cpuCount: number | null;
129
192
  cpuModel: string | null;
130
193
  totalRam: string | null;
131
- activeConfigProfileUuid: string | null;
132
- activeInbounds: {
133
- type: string;
194
+ configProfile: {
195
+ activeConfigProfileUuid: string | null;
196
+ activeInbounds: {
197
+ type: string;
198
+ uuid: string;
199
+ profileUuid: string;
200
+ tag: string;
201
+ network: string | null;
202
+ security: string | null;
203
+ port: number | null;
204
+ rawInbound?: unknown;
205
+ }[];
206
+ };
207
+ providerUuid: string | null;
208
+ provider: {
134
209
  uuid: string;
135
- profileUuid: string;
136
- tag: string;
137
- network: string | null;
138
- security: string | null;
139
- port: number | null;
140
- rawInbound?: unknown;
141
- }[] | null;
210
+ createdAt: string;
211
+ updatedAt: string;
212
+ name: string;
213
+ faviconLink: string | null;
214
+ loginUrl: string | null;
215
+ } | null;
142
216
  }>, "many">;
143
217
  }, "strip", z.ZodTypeAny, {
144
218
  response: {
@@ -159,6 +233,7 @@ export declare namespace GetAllNodesCommand {
159
233
  lastStatusChange: Date | null;
160
234
  lastStatusMessage: string | null;
161
235
  xrayVersion: string | null;
236
+ nodeVersion: string | null;
162
237
  xrayUptime: string;
163
238
  isTrafficTrackingActive: boolean;
164
239
  trafficResetDay: number | null;
@@ -169,17 +244,28 @@ export declare namespace GetAllNodesCommand {
169
244
  cpuCount: number | null;
170
245
  cpuModel: string | null;
171
246
  totalRam: string | null;
172
- activeConfigProfileUuid: string | null;
173
- activeInbounds: {
174
- type: string;
247
+ configProfile: {
248
+ activeConfigProfileUuid: string | null;
249
+ activeInbounds: {
250
+ type: string;
251
+ uuid: string;
252
+ profileUuid: string;
253
+ tag: string;
254
+ network: string | null;
255
+ security: string | null;
256
+ port: number | null;
257
+ rawInbound?: unknown;
258
+ }[];
259
+ };
260
+ providerUuid: string | null;
261
+ provider: {
175
262
  uuid: string;
176
- profileUuid: string;
177
- tag: string;
178
- network: string | null;
179
- security: string | null;
180
- port: number | null;
181
- rawInbound?: unknown;
182
- }[] | null;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ name: string;
266
+ faviconLink: string | null;
267
+ loginUrl: string | null;
268
+ } | null;
183
269
  }[];
184
270
  }, {
185
271
  response: {
@@ -200,6 +286,7 @@ export declare namespace GetAllNodesCommand {
200
286
  lastStatusChange: string | null;
201
287
  lastStatusMessage: string | null;
202
288
  xrayVersion: string | null;
289
+ nodeVersion: string | null;
203
290
  xrayUptime: string;
204
291
  isTrafficTrackingActive: boolean;
205
292
  trafficResetDay: number | null;
@@ -210,17 +297,28 @@ export declare namespace GetAllNodesCommand {
210
297
  cpuCount: number | null;
211
298
  cpuModel: string | null;
212
299
  totalRam: string | null;
213
- activeConfigProfileUuid: string | null;
214
- activeInbounds: {
215
- type: string;
300
+ configProfile: {
301
+ activeConfigProfileUuid: string | null;
302
+ activeInbounds: {
303
+ type: string;
304
+ uuid: string;
305
+ profileUuid: string;
306
+ tag: string;
307
+ network: string | null;
308
+ security: string | null;
309
+ port: number | null;
310
+ rawInbound?: unknown;
311
+ }[];
312
+ };
313
+ providerUuid: string | null;
314
+ provider: {
216
315
  uuid: string;
217
- profileUuid: string;
218
- tag: string;
219
- network: string | null;
220
- security: string | null;
221
- port: number | null;
222
- rawInbound?: unknown;
223
- }[] | null;
316
+ createdAt: string;
317
+ updatedAt: string;
318
+ name: string;
319
+ faviconLink: string | null;
320
+ loginUrl: string | null;
321
+ } | null;
224
322
  }[];
225
323
  }>;
226
324
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -25,6 +25,7 @@ export declare namespace GetOneNodeCommand {
25
25
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
26
26
  lastStatusMessage: z.ZodNullable<z.ZodString>;
27
27
  xrayVersion: z.ZodNullable<z.ZodString>;
28
+ nodeVersion: z.ZodNullable<z.ZodString>;
28
29
  xrayUptime: z.ZodString;
29
30
  isTrafficTrackingActive: z.ZodBoolean;
30
31
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
@@ -40,35 +41,84 @@ export declare namespace GetOneNodeCommand {
40
41
  totalRam: z.ZodNullable<z.ZodString>;
41
42
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
42
43
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
43
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
44
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ configProfile: z.ZodObject<{
45
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
46
+ activeInbounds: z.ZodArray<z.ZodObject<{
47
+ uuid: z.ZodString;
48
+ profileUuid: z.ZodString;
49
+ tag: z.ZodString;
50
+ type: z.ZodString;
51
+ network: z.ZodNullable<z.ZodString>;
52
+ security: z.ZodNullable<z.ZodString>;
53
+ port: z.ZodNullable<z.ZodNumber>;
54
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ type: string;
57
+ uuid: string;
58
+ profileUuid: string;
59
+ tag: string;
60
+ network: string | null;
61
+ security: string | null;
62
+ port: number | null;
63
+ rawInbound?: unknown;
64
+ }, {
65
+ type: string;
66
+ uuid: string;
67
+ profileUuid: string;
68
+ tag: string;
69
+ network: string | null;
70
+ security: string | null;
71
+ port: number | null;
72
+ rawInbound?: unknown;
73
+ }>, "many">;
74
+ }, "strip", z.ZodTypeAny, {
75
+ activeConfigProfileUuid: string | null;
76
+ activeInbounds: {
77
+ type: string;
78
+ uuid: string;
79
+ profileUuid: string;
80
+ tag: string;
81
+ network: string | null;
82
+ security: string | null;
83
+ port: number | null;
84
+ rawInbound?: unknown;
85
+ }[];
86
+ }, {
87
+ activeConfigProfileUuid: string | null;
88
+ activeInbounds: {
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
+ }[];
98
+ }>;
99
+ providerUuid: z.ZodNullable<z.ZodString>;
100
+ provider: z.ZodNullable<z.ZodObject<{
45
101
  uuid: z.ZodString;
46
- profileUuid: z.ZodString;
47
- tag: z.ZodString;
48
- type: z.ZodString;
49
- network: z.ZodNullable<z.ZodString>;
50
- security: z.ZodNullable<z.ZodString>;
51
- port: z.ZodNullable<z.ZodNumber>;
52
- rawInbound: z.ZodNullable<z.ZodUnknown>;
102
+ name: z.ZodString;
103
+ faviconLink: z.ZodNullable<z.ZodString>;
104
+ loginUrl: z.ZodNullable<z.ZodString>;
105
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
106
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
53
107
  }, "strip", z.ZodTypeAny, {
54
- type: string;
55
108
  uuid: string;
56
- profileUuid: string;
57
- tag: string;
58
- network: string | null;
59
- security: string | null;
60
- port: number | null;
61
- rawInbound?: unknown;
109
+ createdAt: Date;
110
+ updatedAt: Date;
111
+ name: string;
112
+ faviconLink: string | null;
113
+ loginUrl: string | null;
62
114
  }, {
63
- type: string;
64
115
  uuid: string;
65
- profileUuid: string;
66
- tag: string;
67
- network: string | null;
68
- security: string | null;
69
- port: number | null;
70
- rawInbound?: unknown;
71
- }>, "many">>;
116
+ createdAt: string;
117
+ updatedAt: string;
118
+ name: string;
119
+ faviconLink: string | null;
120
+ loginUrl: string | null;
121
+ }>>;
72
122
  }, "strip", z.ZodTypeAny, {
73
123
  uuid: string;
74
124
  createdAt: Date;
@@ -87,6 +137,7 @@ export declare namespace GetOneNodeCommand {
87
137
  lastStatusChange: Date | null;
88
138
  lastStatusMessage: string | null;
89
139
  xrayVersion: string | null;
140
+ nodeVersion: string | null;
90
141
  xrayUptime: string;
91
142
  isTrafficTrackingActive: boolean;
92
143
  trafficResetDay: number | null;
@@ -97,17 +148,28 @@ export declare namespace GetOneNodeCommand {
97
148
  cpuCount: number | null;
98
149
  cpuModel: string | null;
99
150
  totalRam: string | null;
100
- activeConfigProfileUuid: string | null;
101
- activeInbounds: {
102
- type: string;
151
+ configProfile: {
152
+ activeConfigProfileUuid: string | null;
153
+ activeInbounds: {
154
+ type: string;
155
+ uuid: string;
156
+ profileUuid: string;
157
+ tag: string;
158
+ network: string | null;
159
+ security: string | null;
160
+ port: number | null;
161
+ rawInbound?: unknown;
162
+ }[];
163
+ };
164
+ providerUuid: string | null;
165
+ provider: {
103
166
  uuid: string;
104
- profileUuid: string;
105
- tag: string;
106
- network: string | null;
107
- security: string | null;
108
- port: number | null;
109
- rawInbound?: unknown;
110
- }[] | null;
167
+ createdAt: Date;
168
+ updatedAt: Date;
169
+ name: string;
170
+ faviconLink: string | null;
171
+ loginUrl: string | null;
172
+ } | null;
111
173
  }, {
112
174
  uuid: string;
113
175
  createdAt: string;
@@ -126,6 +188,7 @@ export declare namespace GetOneNodeCommand {
126
188
  lastStatusChange: string | null;
127
189
  lastStatusMessage: string | null;
128
190
  xrayVersion: string | null;
191
+ nodeVersion: string | null;
129
192
  xrayUptime: string;
130
193
  isTrafficTrackingActive: boolean;
131
194
  trafficResetDay: number | null;
@@ -136,17 +199,28 @@ export declare namespace GetOneNodeCommand {
136
199
  cpuCount: number | null;
137
200
  cpuModel: string | null;
138
201
  totalRam: string | null;
139
- activeConfigProfileUuid: string | null;
140
- activeInbounds: {
141
- type: string;
202
+ configProfile: {
203
+ activeConfigProfileUuid: string | null;
204
+ activeInbounds: {
205
+ type: string;
206
+ uuid: string;
207
+ profileUuid: string;
208
+ tag: string;
209
+ network: string | null;
210
+ security: string | null;
211
+ port: number | null;
212
+ rawInbound?: unknown;
213
+ }[];
214
+ };
215
+ providerUuid: string | null;
216
+ provider: {
142
217
  uuid: string;
143
- profileUuid: string;
144
- tag: string;
145
- network: string | null;
146
- security: string | null;
147
- port: number | null;
148
- rawInbound?: unknown;
149
- }[] | null;
218
+ createdAt: string;
219
+ updatedAt: string;
220
+ name: string;
221
+ faviconLink: string | null;
222
+ loginUrl: string | null;
223
+ } | null;
150
224
  }>;
151
225
  }, "strip", z.ZodTypeAny, {
152
226
  response: {
@@ -167,6 +241,7 @@ export declare namespace GetOneNodeCommand {
167
241
  lastStatusChange: Date | null;
168
242
  lastStatusMessage: string | null;
169
243
  xrayVersion: string | null;
244
+ nodeVersion: string | null;
170
245
  xrayUptime: string;
171
246
  isTrafficTrackingActive: boolean;
172
247
  trafficResetDay: number | null;
@@ -177,17 +252,28 @@ export declare namespace GetOneNodeCommand {
177
252
  cpuCount: number | null;
178
253
  cpuModel: string | null;
179
254
  totalRam: string | null;
180
- activeConfigProfileUuid: string | null;
181
- activeInbounds: {
182
- type: string;
255
+ configProfile: {
256
+ activeConfigProfileUuid: string | null;
257
+ activeInbounds: {
258
+ type: string;
259
+ uuid: string;
260
+ profileUuid: string;
261
+ tag: string;
262
+ network: string | null;
263
+ security: string | null;
264
+ port: number | null;
265
+ rawInbound?: unknown;
266
+ }[];
267
+ };
268
+ providerUuid: string | null;
269
+ provider: {
183
270
  uuid: string;
184
- profileUuid: string;
185
- tag: string;
186
- network: string | null;
187
- security: string | null;
188
- port: number | null;
189
- rawInbound?: unknown;
190
- }[] | null;
271
+ createdAt: Date;
272
+ updatedAt: Date;
273
+ name: string;
274
+ faviconLink: string | null;
275
+ loginUrl: string | null;
276
+ } | null;
191
277
  };
192
278
  }, {
193
279
  response: {
@@ -208,6 +294,7 @@ export declare namespace GetOneNodeCommand {
208
294
  lastStatusChange: string | null;
209
295
  lastStatusMessage: string | null;
210
296
  xrayVersion: string | null;
297
+ nodeVersion: string | null;
211
298
  xrayUptime: string;
212
299
  isTrafficTrackingActive: boolean;
213
300
  trafficResetDay: number | null;
@@ -218,17 +305,28 @@ export declare namespace GetOneNodeCommand {
218
305
  cpuCount: number | null;
219
306
  cpuModel: string | null;
220
307
  totalRam: string | null;
221
- activeConfigProfileUuid: string | null;
222
- activeInbounds: {
223
- type: string;
308
+ configProfile: {
309
+ activeConfigProfileUuid: string | null;
310
+ activeInbounds: {
311
+ type: string;
312
+ uuid: string;
313
+ profileUuid: string;
314
+ tag: string;
315
+ network: string | null;
316
+ security: string | null;
317
+ port: number | null;
318
+ rawInbound?: unknown;
319
+ }[];
320
+ };
321
+ providerUuid: string | null;
322
+ provider: {
224
323
  uuid: string;
225
- profileUuid: string;
226
- tag: string;
227
- network: string | null;
228
- security: string | null;
229
- port: number | null;
230
- rawInbound?: unknown;
231
- }[] | null;
324
+ createdAt: string;
325
+ updatedAt: string;
326
+ name: string;
327
+ faviconLink: string | null;
328
+ loginUrl: string | null;
329
+ } | null;
232
330
  };
233
331
  }>;
234
332
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
33
33
  date: Date;
34
34
  username: string;
35
35
  userUuid: string;
36
- total: number;
37
36
  nodeUuid: string;
37
+ total: number;
38
38
  }, {
39
39
  date: string;
40
40
  username: string;
41
41
  userUuid: string;
42
- total: number;
43
42
  nodeUuid: string;
43
+ total: number;
44
44
  }>, "many">;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  response: {
47
47
  date: Date;
48
48
  username: string;
49
49
  userUuid: string;
50
- total: number;
51
50
  nodeUuid: string;
51
+ total: number;
52
52
  }[];
53
53
  }, {
54
54
  response: {
55
55
  date: string;
56
56
  username: string;
57
57
  userUuid: string;
58
- total: number;
59
58
  nodeUuid: string;
59
+ total: number;
60
60
  }[];
61
61
  }>;
62
62
  type Response = z.infer<typeof ResponseSchema>;