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

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 (223) 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 +105 -0
  122. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  123. package/build/backend/constants/errors/errors.js +105 -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 +2 -0
  134. package/build/backend/constants/index.d.ts.map +1 -1
  135. package/build/backend/constants/index.js +2 -0
  136. package/build/backend/constants/messaging/index.d.ts +2 -0
  137. package/build/backend/constants/messaging/index.d.ts.map +1 -0
  138. package/build/backend/constants/messaging/index.js +17 -0
  139. package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
  140. package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
  141. package/build/backend/constants/messaging/messaging.constants.js +19 -0
  142. package/build/backend/constants/metrics/metric-names.constant.d.ts +16 -0
  143. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  144. package/build/backend/constants/metrics/metric-names.constant.js +16 -0
  145. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  146. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  147. package/build/backend/constants/templates/template-keys.js +1 -0
  148. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  149. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  150. package/build/backend/models/hosts.schema.d.ts +21 -6
  151. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  152. package/build/backend/models/hosts.schema.js +5 -2
  153. package/build/backend/models/index.d.ts +5 -1
  154. package/build/backend/models/index.d.ts.map +1 -1
  155. package/build/backend/models/index.js +5 -1
  156. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  157. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  158. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  159. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  160. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  161. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  162. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  163. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  164. package/build/backend/models/infra-billing-node.schema.js +34 -0
  165. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  166. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  167. package/build/backend/models/infra-provider.schema.js +41 -0
  168. package/build/backend/models/nodes.schema.d.ts +118 -44
  169. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  170. package/build/backend/models/nodes.schema.js +8 -2
  171. package/build/frontend/api/controllers/index.js +1 -0
  172. package/build/frontend/api/controllers/infra-billing.js +18 -0
  173. package/build/frontend/api/controllers/internal-squads.js +5 -0
  174. package/build/frontend/api/controllers/users.js +1 -0
  175. package/build/frontend/api/routes.js +19 -0
  176. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  177. package/build/frontend/commands/hosts/create.command.js +13 -13
  178. package/build/frontend/commands/hosts/update.command.js +10 -11
  179. package/build/frontend/commands/index.js +1 -0
  180. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  181. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  182. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  183. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  184. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  185. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  186. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  187. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  188. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  189. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  190. package/build/frontend/commands/infra-billing/index.js +28 -0
  191. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  192. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  193. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  194. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  195. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  196. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  197. package/build/frontend/commands/internal-squads/index.js +2 -1
  198. package/build/frontend/commands/nodes/create.command.js +7 -4
  199. package/build/frontend/commands/nodes/update.command.js +9 -4
  200. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
  201. package/build/frontend/commands/users/index.js +1 -0
  202. package/build/frontend/constants/errors/errors.js +105 -0
  203. package/build/frontend/constants/events/events.js +10 -0
  204. package/build/frontend/constants/headers/headers.contants.js +5 -0
  205. package/build/frontend/constants/headers/index.js +17 -0
  206. package/build/frontend/constants/index.js +2 -0
  207. package/build/frontend/constants/messaging/index.js +17 -0
  208. package/build/frontend/constants/messaging/messaging.constants.js +19 -0
  209. package/build/frontend/constants/metrics/metric-names.constant.js +16 -0
  210. package/build/frontend/constants/templates/template-keys.js +1 -0
  211. package/build/frontend/models/hosts.schema.js +5 -2
  212. package/build/frontend/models/index.js +5 -1
  213. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  214. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  215. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  216. package/build/frontend/models/infra-provider.schema.js +41 -0
  217. package/build/frontend/models/nodes.schema.js +8 -2
  218. package/package.json +2 -2
  219. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  220. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  221. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  222. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  223. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -17,6 +17,7 @@ export declare namespace ReorderNodeCommand {
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 ReorderNodeCommand {
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
  }, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
65
115
  uuid: string;
66
116
  viewPosition: number;
@@ -94,6 +144,7 @@ export declare namespace ReorderNodeCommand {
94
144
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
95
145
  lastStatusMessage: z.ZodNullable<z.ZodString>;
96
146
  xrayVersion: z.ZodNullable<z.ZodString>;
147
+ nodeVersion: z.ZodNullable<z.ZodString>;
97
148
  xrayUptime: z.ZodString;
98
149
  isTrafficTrackingActive: z.ZodBoolean;
99
150
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
@@ -109,35 +160,84 @@ export declare namespace ReorderNodeCommand {
109
160
  totalRam: z.ZodNullable<z.ZodString>;
110
161
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
111
162
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
112
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
113
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
163
+ configProfile: z.ZodObject<{
164
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
165
+ activeInbounds: z.ZodArray<z.ZodObject<{
166
+ uuid: z.ZodString;
167
+ profileUuid: z.ZodString;
168
+ tag: z.ZodString;
169
+ type: z.ZodString;
170
+ network: z.ZodNullable<z.ZodString>;
171
+ security: z.ZodNullable<z.ZodString>;
172
+ port: z.ZodNullable<z.ZodNumber>;
173
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ type: string;
176
+ uuid: string;
177
+ profileUuid: string;
178
+ tag: string;
179
+ network: string | null;
180
+ security: string | null;
181
+ port: number | null;
182
+ rawInbound?: unknown;
183
+ }, {
184
+ type: string;
185
+ uuid: string;
186
+ profileUuid: string;
187
+ tag: string;
188
+ network: string | null;
189
+ security: string | null;
190
+ port: number | null;
191
+ rawInbound?: unknown;
192
+ }>, "many">;
193
+ }, "strip", z.ZodTypeAny, {
194
+ activeConfigProfileUuid: string | null;
195
+ activeInbounds: {
196
+ type: string;
197
+ uuid: string;
198
+ profileUuid: string;
199
+ tag: string;
200
+ network: string | null;
201
+ security: string | null;
202
+ port: number | null;
203
+ rawInbound?: unknown;
204
+ }[];
205
+ }, {
206
+ activeConfigProfileUuid: string | null;
207
+ activeInbounds: {
208
+ type: string;
209
+ uuid: string;
210
+ profileUuid: string;
211
+ tag: string;
212
+ network: string | null;
213
+ security: string | null;
214
+ port: number | null;
215
+ rawInbound?: unknown;
216
+ }[];
217
+ }>;
218
+ providerUuid: z.ZodNullable<z.ZodString>;
219
+ provider: z.ZodNullable<z.ZodObject<{
114
220
  uuid: z.ZodString;
115
- profileUuid: z.ZodString;
116
- tag: z.ZodString;
117
- type: z.ZodString;
118
- network: z.ZodNullable<z.ZodString>;
119
- security: z.ZodNullable<z.ZodString>;
120
- port: z.ZodNullable<z.ZodNumber>;
121
- rawInbound: z.ZodNullable<z.ZodUnknown>;
221
+ name: z.ZodString;
222
+ faviconLink: z.ZodNullable<z.ZodString>;
223
+ loginUrl: z.ZodNullable<z.ZodString>;
224
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
225
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
122
226
  }, "strip", z.ZodTypeAny, {
123
- type: string;
124
227
  uuid: string;
125
- profileUuid: string;
126
- tag: string;
127
- network: string | null;
128
- security: string | null;
129
- port: number | null;
130
- rawInbound?: unknown;
228
+ createdAt: Date;
229
+ updatedAt: Date;
230
+ name: string;
231
+ faviconLink: string | null;
232
+ loginUrl: string | null;
131
233
  }, {
132
- type: string;
133
234
  uuid: string;
134
- profileUuid: string;
135
- tag: string;
136
- network: string | null;
137
- security: string | null;
138
- port: number | null;
139
- rawInbound?: unknown;
140
- }>, "many">>;
235
+ createdAt: string;
236
+ updatedAt: string;
237
+ name: string;
238
+ faviconLink: string | null;
239
+ loginUrl: string | null;
240
+ }>>;
141
241
  }, "strip", z.ZodTypeAny, {
142
242
  uuid: string;
143
243
  createdAt: Date;
@@ -156,6 +256,7 @@ export declare namespace ReorderNodeCommand {
156
256
  lastStatusChange: Date | null;
157
257
  lastStatusMessage: string | null;
158
258
  xrayVersion: string | null;
259
+ nodeVersion: string | null;
159
260
  xrayUptime: string;
160
261
  isTrafficTrackingActive: boolean;
161
262
  trafficResetDay: number | null;
@@ -166,17 +267,28 @@ export declare namespace ReorderNodeCommand {
166
267
  cpuCount: number | null;
167
268
  cpuModel: string | null;
168
269
  totalRam: string | null;
169
- activeConfigProfileUuid: string | null;
170
- activeInbounds: {
171
- type: string;
270
+ configProfile: {
271
+ activeConfigProfileUuid: string | null;
272
+ activeInbounds: {
273
+ type: string;
274
+ uuid: string;
275
+ profileUuid: string;
276
+ tag: string;
277
+ network: string | null;
278
+ security: string | null;
279
+ port: number | null;
280
+ rawInbound?: unknown;
281
+ }[];
282
+ };
283
+ providerUuid: string | null;
284
+ provider: {
172
285
  uuid: string;
173
- profileUuid: string;
174
- tag: string;
175
- network: string | null;
176
- security: string | null;
177
- port: number | null;
178
- rawInbound?: unknown;
179
- }[] | null;
286
+ createdAt: Date;
287
+ updatedAt: Date;
288
+ name: string;
289
+ faviconLink: string | null;
290
+ loginUrl: string | null;
291
+ } | null;
180
292
  }, {
181
293
  uuid: string;
182
294
  createdAt: string;
@@ -195,6 +307,7 @@ export declare namespace ReorderNodeCommand {
195
307
  lastStatusChange: string | null;
196
308
  lastStatusMessage: string | null;
197
309
  xrayVersion: string | null;
310
+ nodeVersion: string | null;
198
311
  xrayUptime: string;
199
312
  isTrafficTrackingActive: boolean;
200
313
  trafficResetDay: number | null;
@@ -205,17 +318,28 @@ export declare namespace ReorderNodeCommand {
205
318
  cpuCount: number | null;
206
319
  cpuModel: string | null;
207
320
  totalRam: string | null;
208
- activeConfigProfileUuid: string | null;
209
- activeInbounds: {
210
- type: string;
321
+ configProfile: {
322
+ activeConfigProfileUuid: string | null;
323
+ activeInbounds: {
324
+ type: string;
325
+ uuid: string;
326
+ profileUuid: string;
327
+ tag: string;
328
+ network: string | null;
329
+ security: string | null;
330
+ port: number | null;
331
+ rawInbound?: unknown;
332
+ }[];
333
+ };
334
+ providerUuid: string | null;
335
+ provider: {
211
336
  uuid: string;
212
- profileUuid: string;
213
- tag: string;
214
- network: string | null;
215
- security: string | null;
216
- port: number | null;
217
- rawInbound?: unknown;
218
- }[] | null;
337
+ createdAt: string;
338
+ updatedAt: string;
339
+ name: string;
340
+ faviconLink: string | null;
341
+ loginUrl: string | null;
342
+ } | null;
219
343
  }>, "many">;
220
344
  }, "strip", z.ZodTypeAny, {
221
345
  response: {
@@ -236,6 +360,7 @@ export declare namespace ReorderNodeCommand {
236
360
  lastStatusChange: Date | null;
237
361
  lastStatusMessage: string | null;
238
362
  xrayVersion: string | null;
363
+ nodeVersion: string | null;
239
364
  xrayUptime: string;
240
365
  isTrafficTrackingActive: boolean;
241
366
  trafficResetDay: number | null;
@@ -246,17 +371,28 @@ export declare namespace ReorderNodeCommand {
246
371
  cpuCount: number | null;
247
372
  cpuModel: string | null;
248
373
  totalRam: string | null;
249
- activeConfigProfileUuid: string | null;
250
- activeInbounds: {
251
- type: string;
374
+ configProfile: {
375
+ activeConfigProfileUuid: string | null;
376
+ activeInbounds: {
377
+ type: string;
378
+ uuid: string;
379
+ profileUuid: string;
380
+ tag: string;
381
+ network: string | null;
382
+ security: string | null;
383
+ port: number | null;
384
+ rawInbound?: unknown;
385
+ }[];
386
+ };
387
+ providerUuid: string | null;
388
+ provider: {
252
389
  uuid: string;
253
- profileUuid: string;
254
- tag: string;
255
- network: string | null;
256
- security: string | null;
257
- port: number | null;
258
- rawInbound?: unknown;
259
- }[] | null;
390
+ createdAt: Date;
391
+ updatedAt: Date;
392
+ name: string;
393
+ faviconLink: string | null;
394
+ loginUrl: string | null;
395
+ } | null;
260
396
  }[];
261
397
  }, {
262
398
  response: {
@@ -277,6 +413,7 @@ export declare namespace ReorderNodeCommand {
277
413
  lastStatusChange: string | null;
278
414
  lastStatusMessage: string | null;
279
415
  xrayVersion: string | null;
416
+ nodeVersion: string | null;
280
417
  xrayUptime: string;
281
418
  isTrafficTrackingActive: boolean;
282
419
  trafficResetDay: number | null;
@@ -287,17 +424,28 @@ export declare namespace ReorderNodeCommand {
287
424
  cpuCount: number | null;
288
425
  cpuModel: string | null;
289
426
  totalRam: string | null;
290
- activeConfigProfileUuid: string | null;
291
- activeInbounds: {
292
- type: string;
427
+ configProfile: {
428
+ activeConfigProfileUuid: string | null;
429
+ activeInbounds: {
430
+ type: string;
431
+ uuid: string;
432
+ profileUuid: string;
433
+ tag: string;
434
+ network: string | null;
435
+ security: string | null;
436
+ port: number | null;
437
+ rawInbound?: unknown;
438
+ }[];
439
+ };
440
+ providerUuid: string | null;
441
+ provider: {
293
442
  uuid: string;
294
- profileUuid: string;
295
- tag: string;
296
- network: string | null;
297
- security: string | null;
298
- port: number | null;
299
- rawInbound?: unknown;
300
- }[] | null;
443
+ createdAt: string;
444
+ updatedAt: string;
445
+ name: string;
446
+ faviconLink: string | null;
447
+ loginUrl: string | null;
448
+ } | null;
301
449
  }[];
302
450
  }>;
303
451
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,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":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,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"}