@remnawave/backend-contract 2.0.0-alpha.8 → 2.0.0

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 (280) 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/index.d.ts +1 -0
  5. package/build/backend/api/controllers/index.d.ts.map +1 -1
  6. package/build/backend/api/controllers/index.js +1 -0
  7. package/build/backend/api/controllers/infra-billing.d.ts +16 -0
  8. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
  9. package/build/backend/api/controllers/infra-billing.js +18 -0
  10. package/build/backend/api/controllers/internal-squads.d.ts +4 -0
  11. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  12. package/build/backend/api/controllers/internal-squads.js +5 -0
  13. package/build/backend/api/controllers/subscription.d.ts +1 -0
  14. package/build/backend/api/controllers/subscription.d.ts.map +1 -1
  15. package/build/backend/api/controllers/subscription.js +1 -0
  16. package/build/backend/api/controllers/system.d.ts +1 -0
  17. package/build/backend/api/controllers/system.d.ts.map +1 -1
  18. package/build/backend/api/controllers/system.js +1 -0
  19. package/build/backend/api/routes.d.ts +22 -0
  20. package/build/backend/api/routes.d.ts.map +1 -1
  21. package/build/backend/api/routes.js +22 -0
  22. package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
  23. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  24. package/build/backend/commands/api-tokens/create.command.js +0 -1
  25. package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
  26. package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
  27. package/build/backend/commands/auth/get-status.command.d.ts +23 -0
  28. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  29. package/build/backend/commands/auth/get-status.command.js +3 -0
  30. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
  31. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
  32. package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
  33. package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
  34. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
  35. package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
  36. package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
  37. package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
  38. package/build/backend/commands/auth/oauth2/index.js +2 -0
  39. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  40. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +31 -10
  41. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  42. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +31 -10
  43. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  44. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +31 -10
  45. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  46. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +31 -10
  47. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  48. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +31 -10
  49. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  50. package/build/backend/commands/hosts/create.command.d.ts +52 -19
  51. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  52. package/build/backend/commands/hosts/create.command.js +13 -13
  53. package/build/backend/commands/hosts/get-all.command.d.ts +31 -10
  54. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  55. package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
  56. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  57. package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
  58. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  59. package/build/backend/commands/hosts/update.command.d.ts +63 -21
  60. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  61. package/build/backend/commands/hosts/update.command.js +10 -11
  62. package/build/backend/commands/index.d.ts +1 -0
  63. package/build/backend/commands/index.d.ts.map +1 -1
  64. package/build/backend/commands/index.js +1 -0
  65. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
  66. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
  67. package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
  68. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
  69. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  70. package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
  71. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
  72. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
  73. package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
  74. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
  75. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
  76. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  77. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
  78. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  79. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  80. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
  81. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
  82. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  83. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
  84. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
  85. package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
  86. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
  87. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
  88. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  89. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
  90. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
  91. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  92. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
  93. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
  94. package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
  95. package/build/backend/commands/infra-billing/index.d.ts +13 -0
  96. package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
  97. package/build/backend/commands/infra-billing/index.js +28 -0
  98. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
  99. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  100. package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
  101. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
  102. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
  103. package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
  104. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
  105. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
  106. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  107. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
  108. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
  109. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  110. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
  111. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
  112. package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
  113. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  114. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
  115. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
  116. package/build/backend/commands/internal-squads/index.d.ts +2 -1
  117. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  118. package/build/backend/commands/internal-squads/index.js +2 -1
  119. package/build/backend/commands/nodes/actions/disable.command.d.ts +166 -68
  120. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  121. package/build/backend/commands/nodes/actions/enable.command.d.ts +166 -68
  122. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  123. package/build/backend/commands/nodes/actions/reorder.command.d.ts +240 -92
  124. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  125. package/build/backend/commands/nodes/create.command.d.ts +187 -74
  126. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  127. package/build/backend/commands/nodes/create.command.js +7 -4
  128. package/build/backend/commands/nodes/get-all.command.d.ts +166 -68
  129. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  130. package/build/backend/commands/nodes/get-one.command.d.ts +166 -68
  131. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  132. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  133. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  134. package/build/backend/commands/nodes/update.command.d.ts +261 -98
  135. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  136. package/build/backend/commands/nodes/update.command.js +9 -4
  137. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +354 -0
  138. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
  139. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
  140. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
  141. package/build/backend/commands/subscription/index.d.ts +1 -0
  142. package/build/backend/commands/subscription/index.d.ts.map +1 -1
  143. package/build/backend/commands/subscription/index.js +1 -0
  144. package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
  145. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
  146. package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
  147. package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
  148. package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
  149. package/build/backend/commands/system/index.d.ts +1 -0
  150. package/build/backend/commands/system/index.d.ts.map +1 -1
  151. package/build/backend/commands/system/index.js +1 -0
  152. package/build/backend/commands/users/create-user.command.d.ts +6 -6
  153. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  154. package/build/backend/commands/users/create-user.command.js +2 -4
  155. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  156. package/build/backend/constants/errors/errors.d.ts +115 -0
  157. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  158. package/build/backend/constants/errors/errors.js +115 -0
  159. package/build/backend/constants/events/events.d.ts +11 -0
  160. package/build/backend/constants/events/events.d.ts.map +1 -1
  161. package/build/backend/constants/events/events.js +10 -0
  162. package/build/backend/constants/headers/headers.constants.d.ts +3 -0
  163. package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
  164. package/build/backend/constants/headers/headers.constants.js +5 -0
  165. package/build/backend/constants/headers/index.d.ts +2 -0
  166. package/build/backend/constants/headers/index.d.ts.map +1 -0
  167. package/build/backend/constants/headers/index.js +17 -0
  168. package/build/backend/constants/index.d.ts +3 -0
  169. package/build/backend/constants/index.d.ts.map +1 -1
  170. package/build/backend/constants/index.js +3 -0
  171. package/build/backend/constants/messaging/index.d.ts +2 -0
  172. package/build/backend/constants/messaging/index.d.ts.map +1 -0
  173. package/build/backend/constants/messaging/index.js +17 -0
  174. package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
  175. package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
  176. package/build/backend/constants/messaging/messaging.constants.js +19 -0
  177. package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
  178. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  179. package/build/backend/constants/metrics/metric-names.constant.js +17 -0
  180. package/build/backend/constants/oauth2/index.d.ts +2 -0
  181. package/build/backend/constants/oauth2/index.d.ts.map +1 -0
  182. package/build/backend/constants/oauth2/index.js +17 -0
  183. package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
  184. package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
  185. package/build/backend/constants/oauth2/providers.contants.js +9 -0
  186. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  187. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  188. package/build/backend/constants/templates/template-keys.js +1 -0
  189. package/build/backend/models/api-tokens.schema.d.ts +0 -3
  190. package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
  191. package/build/backend/models/api-tokens.schema.js +0 -1
  192. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  193. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  194. package/build/backend/models/hosts.schema.d.ts +21 -6
  195. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  196. package/build/backend/models/hosts.schema.js +5 -2
  197. package/build/backend/models/index.d.ts +5 -1
  198. package/build/backend/models/index.d.ts.map +1 -1
  199. package/build/backend/models/index.js +5 -1
  200. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  201. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  202. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  203. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  204. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  205. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  206. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  207. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  208. package/build/backend/models/infra-billing-node.schema.js +34 -0
  209. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  210. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  211. package/build/backend/models/infra-provider.schema.js +41 -0
  212. package/build/backend/models/nodes.schema.d.ts +120 -46
  213. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  214. package/build/backend/models/nodes.schema.js +8 -2
  215. package/build/frontend/api/controllers/auth.js +2 -0
  216. package/build/frontend/api/controllers/index.js +1 -0
  217. package/build/frontend/api/controllers/infra-billing.js +18 -0
  218. package/build/frontend/api/controllers/internal-squads.js +5 -0
  219. package/build/frontend/api/controllers/subscription.js +1 -0
  220. package/build/frontend/api/controllers/system.js +1 -0
  221. package/build/frontend/api/routes.js +22 -0
  222. package/build/frontend/commands/api-tokens/create.command.js +0 -1
  223. package/build/frontend/commands/auth/get-status.command.js +3 -0
  224. package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
  225. package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
  226. package/build/frontend/commands/auth/oauth2/index.js +2 -0
  227. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  228. package/build/frontend/commands/hosts/create.command.js +13 -13
  229. package/build/frontend/commands/hosts/update.command.js +10 -11
  230. package/build/frontend/commands/index.js +1 -0
  231. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  232. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  233. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  234. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  235. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  236. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  237. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  238. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  239. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  240. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  241. package/build/frontend/commands/infra-billing/index.js +28 -0
  242. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  243. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  244. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  245. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  246. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  247. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  248. package/build/frontend/commands/internal-squads/index.js +2 -1
  249. package/build/frontend/commands/nodes/create.command.js +7 -4
  250. package/build/frontend/commands/nodes/update.command.js +9 -4
  251. package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
  252. package/build/frontend/commands/subscription/index.js +1 -0
  253. package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
  254. package/build/frontend/commands/system/index.js +1 -0
  255. package/build/frontend/commands/users/create-user.command.js +2 -4
  256. package/build/frontend/constants/errors/errors.js +115 -0
  257. package/build/frontend/constants/events/events.js +10 -0
  258. package/build/frontend/constants/headers/headers.constants.js +5 -0
  259. package/build/frontend/constants/headers/index.js +17 -0
  260. package/build/frontend/constants/index.js +3 -0
  261. package/build/frontend/constants/messaging/index.js +17 -0
  262. package/build/frontend/constants/messaging/messaging.constants.js +19 -0
  263. package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
  264. package/build/frontend/constants/oauth2/index.js +17 -0
  265. package/build/frontend/constants/oauth2/providers.contants.js +9 -0
  266. package/build/frontend/constants/templates/template-keys.js +1 -0
  267. package/build/frontend/models/api-tokens.schema.js +0 -1
  268. package/build/frontend/models/hosts.schema.js +5 -2
  269. package/build/frontend/models/index.js +5 -1
  270. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  271. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  272. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  273. package/build/frontend/models/infra-provider.schema.js +41 -0
  274. package/build/frontend/models/nodes.schema.js +8 -2
  275. package/package.json +2 -2
  276. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  277. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  278. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  279. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  280. /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,39 +160,96 @@ 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;
144
244
  updatedAt: Date;
245
+ provider: {
246
+ uuid: string;
247
+ createdAt: Date;
248
+ updatedAt: Date;
249
+ name: string;
250
+ faviconLink: string | null;
251
+ loginUrl: string | null;
252
+ } | null;
145
253
  name: string;
146
254
  port: number | null;
147
255
  countryCode: string;
@@ -156,6 +264,7 @@ export declare namespace ReorderNodeCommand {
156
264
  lastStatusChange: Date | null;
157
265
  lastStatusMessage: string | null;
158
266
  xrayVersion: string | null;
267
+ nodeVersion: string | null;
159
268
  xrayUptime: string;
160
269
  isTrafficTrackingActive: boolean;
161
270
  trafficResetDay: number | null;
@@ -166,21 +275,32 @@ export declare namespace ReorderNodeCommand {
166
275
  cpuCount: number | null;
167
276
  cpuModel: string | null;
168
277
  totalRam: string | null;
169
- activeConfigProfileUuid: string | null;
170
- activeInbounds: {
171
- type: string;
172
- 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;
278
+ configProfile: {
279
+ activeConfigProfileUuid: string | null;
280
+ activeInbounds: {
281
+ type: string;
282
+ uuid: string;
283
+ profileUuid: string;
284
+ tag: string;
285
+ network: string | null;
286
+ security: string | null;
287
+ port: number | null;
288
+ rawInbound?: unknown;
289
+ }[];
290
+ };
291
+ providerUuid: string | null;
180
292
  }, {
181
293
  uuid: string;
182
294
  createdAt: string;
183
295
  updatedAt: string;
296
+ provider: {
297
+ uuid: string;
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ name: string;
301
+ faviconLink: string | null;
302
+ loginUrl: string | null;
303
+ } | null;
184
304
  name: string;
185
305
  port: number | null;
186
306
  countryCode: string;
@@ -195,6 +315,7 @@ export declare namespace ReorderNodeCommand {
195
315
  lastStatusChange: string | null;
196
316
  lastStatusMessage: string | null;
197
317
  xrayVersion: string | null;
318
+ nodeVersion: string | null;
198
319
  xrayUptime: string;
199
320
  isTrafficTrackingActive: boolean;
200
321
  trafficResetDay: number | null;
@@ -205,23 +326,34 @@ export declare namespace ReorderNodeCommand {
205
326
  cpuCount: number | null;
206
327
  cpuModel: string | null;
207
328
  totalRam: string | null;
208
- activeConfigProfileUuid: string | null;
209
- activeInbounds: {
210
- type: string;
211
- 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;
329
+ configProfile: {
330
+ activeConfigProfileUuid: string | null;
331
+ activeInbounds: {
332
+ type: string;
333
+ uuid: string;
334
+ profileUuid: string;
335
+ tag: string;
336
+ network: string | null;
337
+ security: string | null;
338
+ port: number | null;
339
+ rawInbound?: unknown;
340
+ }[];
341
+ };
342
+ providerUuid: string | null;
219
343
  }>, "many">;
220
344
  }, "strip", z.ZodTypeAny, {
221
345
  response: {
222
346
  uuid: string;
223
347
  createdAt: Date;
224
348
  updatedAt: Date;
349
+ provider: {
350
+ uuid: string;
351
+ createdAt: Date;
352
+ updatedAt: Date;
353
+ name: string;
354
+ faviconLink: string | null;
355
+ loginUrl: string | null;
356
+ } | null;
225
357
  name: string;
226
358
  port: number | null;
227
359
  countryCode: string;
@@ -236,6 +368,7 @@ export declare namespace ReorderNodeCommand {
236
368
  lastStatusChange: Date | null;
237
369
  lastStatusMessage: string | null;
238
370
  xrayVersion: string | null;
371
+ nodeVersion: string | null;
239
372
  xrayUptime: string;
240
373
  isTrafficTrackingActive: boolean;
241
374
  trafficResetDay: number | null;
@@ -246,23 +379,34 @@ export declare namespace ReorderNodeCommand {
246
379
  cpuCount: number | null;
247
380
  cpuModel: string | null;
248
381
  totalRam: string | null;
249
- activeConfigProfileUuid: string | null;
250
- activeInbounds: {
251
- type: string;
252
- 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;
382
+ configProfile: {
383
+ activeConfigProfileUuid: string | null;
384
+ activeInbounds: {
385
+ type: string;
386
+ uuid: string;
387
+ profileUuid: string;
388
+ tag: string;
389
+ network: string | null;
390
+ security: string | null;
391
+ port: number | null;
392
+ rawInbound?: unknown;
393
+ }[];
394
+ };
395
+ providerUuid: string | null;
260
396
  }[];
261
397
  }, {
262
398
  response: {
263
399
  uuid: string;
264
400
  createdAt: string;
265
401
  updatedAt: string;
402
+ provider: {
403
+ uuid: string;
404
+ createdAt: string;
405
+ updatedAt: string;
406
+ name: string;
407
+ faviconLink: string | null;
408
+ loginUrl: string | null;
409
+ } | null;
266
410
  name: string;
267
411
  port: number | null;
268
412
  countryCode: string;
@@ -277,6 +421,7 @@ export declare namespace ReorderNodeCommand {
277
421
  lastStatusChange: string | null;
278
422
  lastStatusMessage: string | null;
279
423
  xrayVersion: string | null;
424
+ nodeVersion: string | null;
280
425
  xrayUptime: string;
281
426
  isTrafficTrackingActive: boolean;
282
427
  trafficResetDay: number | null;
@@ -287,17 +432,20 @@ export declare namespace ReorderNodeCommand {
287
432
  cpuCount: number | null;
288
433
  cpuModel: string | null;
289
434
  totalRam: string | null;
290
- activeConfigProfileUuid: string | null;
291
- activeInbounds: {
292
- type: string;
293
- 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;
435
+ configProfile: {
436
+ activeConfigProfileUuid: string | null;
437
+ activeInbounds: {
438
+ type: string;
439
+ uuid: string;
440
+ profileUuid: string;
441
+ tag: string;
442
+ network: string | null;
443
+ security: string | null;
444
+ port: number | null;
445
+ rawInbound?: unknown;
446
+ }[];
447
+ };
448
+ providerUuid: string | 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"}