@remnawave/backend-contract 2.9.3 → 2.9.4

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 (757) hide show
  1. package/build/backend/commands/api-tokens/create.command.d.ts +9 -54
  2. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  3. package/build/backend/commands/api-tokens/delete.command.d.ts +2 -6
  4. package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
  5. package/build/backend/commands/api-tokens/delete.command.js +1 -1
  6. package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts +9 -91
  7. package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts.map +1 -1
  8. package/build/backend/commands/api-tokens/get-scopes.command.d.ts +21 -144
  9. package/build/backend/commands/api-tokens/get-scopes.command.d.ts.map +1 -1
  10. package/build/backend/commands/auth/get-status.command.d.ts +8 -122
  11. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  12. package/build/backend/commands/auth/get-status.command.js +1 -1
  13. package/build/backend/commands/auth/login.command.d.ts +3 -21
  14. package/build/backend/commands/auth/login.command.d.ts.map +1 -1
  15. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +5 -21
  16. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -1
  17. package/build/backend/commands/auth/oauth2/authorize.command.js +2 -2
  18. package/build/backend/commands/auth/oauth2/callback.command.d.ts +4 -24
  19. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -1
  20. package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
  21. package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts +1 -5
  22. package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts.map +1 -1
  23. package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts +3 -19
  24. package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts.map +1 -1
  25. package/build/backend/commands/auth/register.command.d.ts +3 -21
  26. package/build/backend/commands/auth/register.command.d.ts.map +1 -1
  27. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts +10 -48
  28. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts.map +1 -1
  29. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
  30. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts +10 -52
  31. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map +1 -1
  32. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
  33. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts +11 -67
  34. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts.map +1 -1
  35. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
  36. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +13 -123
  37. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts.map +1 -1
  38. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
  39. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts +11 -67
  40. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts.map +1 -1
  41. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
  42. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +15 -129
  43. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts.map +1 -1
  44. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
  45. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +17 -252
  46. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -1
  47. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +13 -141
  48. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
  49. package/build/backend/commands/config-profiles/create-config-profile.command.js +1 -1
  50. package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts +2 -6
  51. package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts.map +1 -1
  52. package/build/backend/commands/config-profiles/delete-config-profile.command.js +1 -1
  53. package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +6 -83
  54. package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -1
  55. package/build/backend/commands/config-profiles/get-all-inbounds.command.js +1 -1
  56. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +13 -135
  57. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
  58. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
  59. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +13 -135
  60. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
  61. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
  62. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +12 -186
  63. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
  64. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +8 -89
  65. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
  66. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
  67. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +14 -140
  68. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
  69. package/build/backend/commands/config-profiles/update-config-profile.command.js +2 -2
  70. package/build/backend/commands/connections/connections-by-node-result.command.d.ts +8 -110
  71. package/build/backend/commands/connections/connections-by-node-result.command.d.ts.map +1 -1
  72. package/build/backend/commands/connections/connections-by-node-result.command.js +2 -3
  73. package/build/backend/commands/connections/connections-by-node.command.d.ts +4 -20
  74. package/build/backend/commands/connections/connections-by-node.command.d.ts.map +1 -1
  75. package/build/backend/commands/connections/connections-by-node.command.js +1 -1
  76. package/build/backend/commands/connections/connections-by-user-result.command.d.ts +10 -162
  77. package/build/backend/commands/connections/connections-by-user-result.command.d.ts.map +1 -1
  78. package/build/backend/commands/connections/connections-by-user-result.command.js +3 -4
  79. package/build/backend/commands/connections/connections-by-user.command.d.ts +4 -20
  80. package/build/backend/commands/connections/connections-by-user.command.d.ts.map +1 -1
  81. package/build/backend/commands/connections/connections-by-user.command.js +1 -1
  82. package/build/backend/commands/connections/drop-connections.command.d.ts +19 -91
  83. package/build/backend/commands/connections/drop-connections.command.d.ts.map +1 -1
  84. package/build/backend/commands/connections/drop-connections.command.js +3 -3
  85. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +29 -482
  86. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
  87. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts +2 -6
  88. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts.map +1 -1
  89. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
  90. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts +2 -6
  91. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts.map +1 -1
  92. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
  93. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +24 -262
  94. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  95. package/build/backend/commands/external-squads/delete-external-squad.command.d.ts +2 -6
  96. package/build/backend/commands/external-squads/delete-external-squad.command.d.ts.map +1 -1
  97. package/build/backend/commands/external-squads/delete-external-squad.command.js +1 -1
  98. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +25 -263
  99. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  100. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
  101. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +24 -356
  102. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  103. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +41 -403
  104. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  105. package/build/backend/commands/external-squads/update-external-squad.command.js +8 -8
  106. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +2 -6
  107. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  108. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
  109. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +2 -6
  110. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  111. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
  112. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +2 -6
  113. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  114. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
  115. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +16 -93
  116. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
  117. package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
  118. package/build/backend/commands/hosts/create.command.d.ts +33 -261
  119. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  120. package/build/backend/commands/hosts/create.command.js +12 -17
  121. package/build/backend/commands/hosts/delete.command.d.ts +2 -6
  122. package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
  123. package/build/backend/commands/hosts/delete.command.js +1 -1
  124. package/build/backend/commands/hosts/get-host.command.d.ts +20 -178
  125. package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -1
  126. package/build/backend/commands/hosts/get-host.command.js +1 -1
  127. package/build/backend/commands/hosts/get-hosts.command.d.ts +18 -172
  128. package/build/backend/commands/hosts/get-hosts.command.d.ts.map +1 -1
  129. package/build/backend/commands/hosts/host.response.d.ts +18 -172
  130. package/build/backend/commands/hosts/host.response.d.ts.map +1 -1
  131. package/build/backend/commands/hosts/reorder.command.d.ts +7 -98
  132. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  133. package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts +3 -15
  134. package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts.map +1 -1
  135. package/build/backend/commands/hosts/update.command.d.ts +35 -330
  136. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  137. package/build/backend/commands/hosts/update.command.js +12 -17
  138. package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +7 -99
  139. package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
  140. package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -1
  141. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +7 -87
  142. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
  143. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
  144. package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +7 -89
  145. package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
  146. package/build/backend/commands/hwid/delete-user-hwid-device.command.js +1 -1
  147. package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts +5 -93
  148. package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts.map +1 -1
  149. package/build/backend/commands/hwid/get-hwid-devices.command.d.ts +13 -127
  150. package/build/backend/commands/hwid/get-hwid-devices.command.d.ts.map +1 -1
  151. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +7 -59
  152. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts.map +1 -1
  153. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
  154. package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +7 -87
  155. package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
  156. package/build/backend/commands/hwid/get-user-hwid-devices.command.js +1 -1
  157. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +12 -107
  158. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
  159. package/build/backend/commands/infra-billing/create-bill-record.command.js +4 -7
  160. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +23 -739
  161. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  162. package/build/backend/commands/infra-billing/create-billing-node.command.js +4 -7
  163. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +12 -120
  164. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
  165. package/build/backend/commands/infra-billing/create-infra-provider.command.js +2 -2
  166. package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts +2 -6
  167. package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts.map +1 -1
  168. package/build/backend/commands/infra-billing/delete-bill-record.command.js +1 -1
  169. package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts +2 -6
  170. package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts.map +1 -1
  171. package/build/backend/commands/infra-billing/delete-billing-node.command.js +1 -1
  172. package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts +2 -6
  173. package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts.map +1 -1
  174. package/build/backend/commands/infra-billing/delete-infra-provider.command.js +1 -1
  175. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +12 -105
  176. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -1
  177. package/build/backend/commands/infra-billing/get-bill-records.command.js +2 -2
  178. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +19 -725
  179. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  180. package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts +11 -115
  181. package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts.map +1 -1
  182. package/build/backend/commands/infra-billing/get-infra-provider.command.js +1 -1
  183. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +10 -158
  184. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
  185. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +22 -734
  186. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  187. package/build/backend/commands/infra-billing/update-billing-node.command.js +3 -6
  188. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +13 -123
  189. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
  190. package/build/backend/commands/infra-billing/update-infra-provider.command.js +4 -8
  191. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +16 -233
  192. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -1
  193. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +2 -6
  194. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -1
  195. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
  196. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +2 -6
  197. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -1
  198. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
  199. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +12 -126
  200. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
  201. package/build/backend/commands/internal-squads/create-internal-squad.command.js +3 -3
  202. package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts +2 -6
  203. package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts.map +1 -1
  204. package/build/backend/commands/internal-squads/delete-internal-squad.command.js +1 -1
  205. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts +9 -71
  206. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts.map +1 -1
  207. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
  208. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts +12 -124
  209. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts.map +1 -1
  210. package/build/backend/commands/internal-squads/get-internal-squad.command.js +1 -1
  211. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +11 -171
  212. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
  213. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +13 -129
  214. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
  215. package/build/backend/commands/internal-squads/update-internal-squad.command.js +2 -2
  216. package/build/backend/commands/keygen/get-node-secret-key.command.d.ts +2 -14
  217. package/build/backend/commands/keygen/get-node-secret-key.command.d.ts.map +1 -1
  218. package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts +5 -29
  219. package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts.map +1 -1
  220. package/build/backend/commands/metadata/node/get-node-metadata.command.js +2 -2
  221. package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts +7 -39
  222. package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts.map +1 -1
  223. package/build/backend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
  224. package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts +5 -29
  225. package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts.map +1 -1
  226. package/build/backend/commands/metadata/user/get-user-metadata.command.js +2 -2
  227. package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts +7 -39
  228. package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts.map +1 -1
  229. package/build/backend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
  230. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +4 -33
  231. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -1
  232. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
  233. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +6 -70
  234. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -1
  235. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +3 -31
  236. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -1
  237. package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts +2 -6
  238. package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts.map +1 -1
  239. package/build/backend/commands/node-plugins/delete-node-plugin.command.js +1 -1
  240. package/build/backend/commands/node-plugins/executor.command.d.ts +23 -137
  241. package/build/backend/commands/node-plugins/executor.command.d.ts.map +1 -1
  242. package/build/backend/commands/node-plugins/executor.command.js +3 -3
  243. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +4 -33
  244. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -1
  245. package/build/backend/commands/node-plugins/get-node-plugin.command.js +1 -1
  246. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts +3 -49
  247. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts.map +1 -1
  248. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +7 -123
  249. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts.map +1 -1
  250. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
  251. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +23 -725
  252. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  253. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +4 -37
  254. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -1
  255. package/build/backend/commands/node-plugins/update-node-plugin.command.js +1 -1
  256. package/build/backend/commands/nodes/actions/disable.command.d.ts +32 -532
  257. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  258. package/build/backend/commands/nodes/actions/disable.command.js +1 -1
  259. package/build/backend/commands/nodes/actions/enable.command.d.ts +32 -532
  260. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  261. package/build/backend/commands/nodes/actions/enable.command.js +1 -1
  262. package/build/backend/commands/nodes/actions/reorder.command.d.ts +35 -796
  263. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  264. package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts +2 -6
  265. package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts.map +1 -1
  266. package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -1
  267. package/build/backend/commands/nodes/actions/restart-all.command.d.ts +1 -5
  268. package/build/backend/commands/nodes/actions/restart-all.command.d.ts.map +1 -1
  269. package/build/backend/commands/nodes/actions/restart.command.d.ts +3 -11
  270. package/build/backend/commands/nodes/actions/restart.command.d.ts.map +1 -1
  271. package/build/backend/commands/nodes/actions/restart.command.js +1 -1
  272. package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts +3 -9
  273. package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts.map +1 -1
  274. package/build/backend/commands/nodes/bulk-actions/actions.command.js +2 -2
  275. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +8 -46
  276. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
  277. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
  278. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts +5 -23
  279. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts.map +1 -1
  280. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
  281. package/build/backend/commands/nodes/create.command.d.ts +42 -584
  282. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  283. package/build/backend/commands/nodes/create.command.js +16 -36
  284. package/build/backend/commands/nodes/delete.command.d.ts +2 -6
  285. package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
  286. package/build/backend/commands/nodes/delete.command.js +1 -1
  287. package/build/backend/commands/nodes/get-node.command.d.ts +32 -532
  288. package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -1
  289. package/build/backend/commands/nodes/get-node.command.js +1 -1
  290. package/build/backend/commands/nodes/get-nodes.command.d.ts +30 -526
  291. package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -1
  292. package/build/backend/commands/nodes/node.response.d.ts +30 -526
  293. package/build/backend/commands/nodes/node.response.d.ts.map +1 -1
  294. package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts +3 -15
  295. package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts.map +1 -1
  296. package/build/backend/commands/nodes/update.command.d.ts +41 -836
  297. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  298. package/build/backend/commands/nodes/update.command.js +17 -29
  299. package/build/backend/commands/passkeys/delete-passkey.command.d.ts +1 -5
  300. package/build/backend/commands/passkeys/delete-passkey.command.d.ts.map +1 -1
  301. package/build/backend/commands/passkeys/get-passkeys.command.d.ts +5 -47
  302. package/build/backend/commands/passkeys/get-passkeys.command.d.ts.map +1 -1
  303. package/build/backend/commands/passkeys/get-passkeys.command.js +4 -10
  304. package/build/backend/commands/passkeys/get-registration-options.command.d.ts +1 -5
  305. package/build/backend/commands/passkeys/get-registration-options.command.d.ts.map +1 -1
  306. package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -54
  307. package/build/backend/commands/passkeys/update-passkey.command.d.ts.map +1 -1
  308. package/build/backend/commands/passkeys/update-passkey.command.js +6 -8
  309. package/build/backend/commands/passkeys/verify-registration.command.d.ts +3 -19
  310. package/build/backend/commands/passkeys/verify-registration.command.d.ts.map +1 -1
  311. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts +25 -457
  312. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts.map +1 -1
  313. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +49 -789
  314. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
  315. package/build/backend/commands/snippets/create-snippet.command.d.ts +5 -45
  316. package/build/backend/commands/snippets/create-snippet.command.d.ts.map +1 -1
  317. package/build/backend/commands/snippets/create-snippet.command.js +3 -3
  318. package/build/backend/commands/snippets/delete-snippet.command.d.ts +1 -5
  319. package/build/backend/commands/snippets/delete-snippet.command.d.ts.map +1 -1
  320. package/build/backend/commands/snippets/get-snippets.command.d.ts +3 -37
  321. package/build/backend/commands/snippets/get-snippets.command.d.ts.map +1 -1
  322. package/build/backend/commands/snippets/update-snippet.command.d.ts +5 -45
  323. package/build/backend/commands/snippets/update-snippet.command.d.ts.map +1 -1
  324. package/build/backend/commands/snippets/update-snippet.command.js +3 -3
  325. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts +2 -8
  326. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts.map +1 -1
  327. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
  328. package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts +1 -5
  329. package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
  330. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +8 -124
  331. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
  332. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts +4 -33
  333. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts.map +1 -1
  334. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
  335. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +6 -70
  336. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
  337. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +3 -31
  338. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
  339. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts +2 -6
  340. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts.map +1 -1
  341. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
  342. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +4 -33
  343. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
  344. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
  345. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +3 -49
  346. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
  347. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +4 -37
  348. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
  349. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
  350. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts +5 -57
  351. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts.map +1 -1
  352. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
  353. package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +12 -102
  354. package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts.map +1 -1
  355. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +31 -492
  356. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
  357. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +59 -847
  358. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
  359. package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
  360. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +7 -92
  361. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -1
  362. package/build/backend/commands/subscription-template/create-template.command.d.ts +5 -43
  363. package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
  364. package/build/backend/commands/subscription-template/create-template.command.js +3 -3
  365. package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +2 -6
  366. package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -1
  367. package/build/backend/commands/subscription-template/delete-subscription-template.command.js +1 -1
  368. package/build/backend/commands/subscription-template/get-template.command.d.ts +5 -41
  369. package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
  370. package/build/backend/commands/subscription-template/get-template.command.js +1 -1
  371. package/build/backend/commands/subscription-template/get-templates.command.d.ts +4 -62
  372. package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
  373. package/build/backend/commands/subscription-template/update-template.command.d.ts +6 -48
  374. package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
  375. package/build/backend/commands/subscription-template/update-template.command.js +4 -4
  376. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts +7 -31
  377. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map +1 -1
  378. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
  379. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +102 -1301
  380. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  381. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
  382. package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +8 -124
  383. package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts.map +1 -1
  384. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +8 -124
  385. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map +1 -1
  386. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +9 -125
  387. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +1 -1
  388. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
  389. package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts +11 -181
  390. package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts.map +1 -1
  391. package/build/backend/commands/subscriptions/get-subscriptions.command.js +5 -8
  392. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts +5 -29
  393. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts.map +1 -1
  394. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
  395. package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +8 -160
  396. package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
  397. package/build/backend/commands/system/get-metadata.command.d.ts +6 -118
  398. package/build/backend/commands/system/get-metadata.command.d.ts.map +1 -1
  399. package/build/backend/commands/system/get-nodes-metrics.command.d.ts +5 -129
  400. package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -1
  401. package/build/backend/commands/system/get-nodes-statistics.d.ts +4 -44
  402. package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
  403. package/build/backend/commands/system/get-recap.command.d.ts +5 -89
  404. package/build/backend/commands/system/get-recap.command.d.ts.map +1 -1
  405. package/build/backend/commands/system/get-recap.command.js +1 -3
  406. package/build/backend/commands/system/get-remnawave-health.command.d.ts +3 -99
  407. package/build/backend/commands/system/get-remnawave-health.command.d.ts.map +1 -1
  408. package/build/backend/commands/system/get-stats.command.d.ts +14 -151
  409. package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
  410. package/build/backend/commands/system/get-stats.command.js +1 -1
  411. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +35 -545
  412. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
  413. package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
  414. package/build/backend/commands/system/tools/generate-x25519.command.d.ts +3 -33
  415. package/build/backend/commands/system/tools/generate-x25519.command.d.ts.map +1 -1
  416. package/build/backend/commands/users/actions/disable-user.command.d.ts +26 -193
  417. package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
  418. package/build/backend/commands/users/actions/disable-user.command.js +1 -1
  419. package/build/backend/commands/users/actions/enable-user.command.d.ts +26 -193
  420. package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
  421. package/build/backend/commands/users/actions/enable-user.command.js +1 -1
  422. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +26 -193
  423. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
  424. package/build/backend/commands/users/actions/reset-user-traffic.command.js +1 -1
  425. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +28 -204
  426. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
  427. package/build/backend/commands/users/actions/revoke-user-subscription.command.js +3 -3
  428. package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts +3 -7
  429. package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts.map +1 -1
  430. package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +2 -6
  431. package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts.map +1 -1
  432. package/build/backend/commands/users/bulk/bulk-delete-users.command.js +1 -4
  433. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts +3 -9
  434. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts.map +1 -1
  435. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
  436. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts +2 -6
  437. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts.map +1 -1
  438. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
  439. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +2 -6
  440. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts.map +1 -1
  441. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
  442. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts +3 -9
  443. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts.map +1 -1
  444. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
  445. package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +10 -60
  446. package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
  447. package/build/backend/commands/users/bulk/bulk-update-users.command.js +11 -26
  448. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts +2 -6
  449. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts.map +1 -1
  450. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
  451. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +7 -27
  452. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts.map +1 -1
  453. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
  454. package/build/backend/commands/users/create-user.command.d.ts +38 -241
  455. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  456. package/build/backend/commands/users/create-user.command.js +25 -63
  457. package/build/backend/commands/users/delete-user.command.d.ts +2 -6
  458. package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
  459. package/build/backend/commands/users/delete-user.command.js +1 -1
  460. package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +26 -193
  461. package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +1 -1
  462. package/build/backend/commands/users/get-by/get-user-by-id.command.js +1 -1
  463. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +25 -192
  464. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
  465. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +25 -192
  466. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
  467. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +10 -96
  468. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
  469. package/build/backend/commands/users/get-user-accessible-nodes.command.js +4 -4
  470. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +26 -193
  471. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  472. package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
  473. package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +6 -62
  474. package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts.map +1 -1
  475. package/build/backend/commands/users/get-user-subscription-request-history.command.js +2 -4
  476. package/build/backend/commands/users/get-users-stream.command.d.ts +33 -300
  477. package/build/backend/commands/users/get-users-stream.command.d.ts.map +1 -1
  478. package/build/backend/commands/users/get-users-stream.command.js +10 -11
  479. package/build/backend/commands/users/get-users.command.d.ts +33 -316
  480. package/build/backend/commands/users/get-users.command.d.ts.map +1 -1
  481. package/build/backend/commands/users/resolve-user.command.d.ts +6 -50
  482. package/build/backend/commands/users/resolve-user.command.d.ts.map +1 -1
  483. package/build/backend/commands/users/resolve-user.command.js +3 -3
  484. package/build/backend/commands/users/tags/get-users-tags.command.d.ts +3 -15
  485. package/build/backend/commands/users/tags/get-users-tags.command.d.ts.map +1 -1
  486. package/build/backend/commands/users/update-user.command.d.ts +38 -254
  487. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  488. package/build/backend/commands/users/update-user.command.js +14 -39
  489. package/build/backend/commands/users/user.response.d.ts +24 -187
  490. package/build/backend/commands/users/user.response.d.ts.map +1 -1
  491. package/build/backend/models/api-tokens.schema.d.ts +6 -20
  492. package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
  493. package/build/backend/models/api-tokens.schema.js +4 -10
  494. package/build/backend/models/auth.schema.d.ts +1 -5
  495. package/build/backend/models/auth.schema.d.ts.map +1 -1
  496. package/build/backend/models/base-internal-squad.schema.d.ts +2 -8
  497. package/build/backend/models/base-internal-squad.schema.d.ts.map +1 -1
  498. package/build/backend/models/base-internal-squad.schema.js +1 -1
  499. package/build/backend/models/base-stat.schema.d.ts +1 -9
  500. package/build/backend/models/base-stat.schema.d.ts.map +1 -1
  501. package/build/backend/models/config-profile-inbounds.schema.d.ts +3 -21
  502. package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -1
  503. package/build/backend/models/config-profile-inbounds.schema.js +2 -2
  504. package/build/backend/models/config-profile.schema.d.ts +10 -80
  505. package/build/backend/models/config-profile.schema.d.ts.map +1 -1
  506. package/build/backend/models/config-profile.schema.js +5 -9
  507. package/build/backend/models/extended-users.schema.d.ts +23 -112
  508. package/build/backend/models/extended-users.schema.d.ts.map +1 -1
  509. package/build/backend/models/external-squad.schema.d.ts +22 -166
  510. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  511. package/build/backend/models/external-squad.schema.js +7 -11
  512. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts +2 -8
  513. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts.map +1 -1
  514. package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts +2 -22
  515. package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts.map +1 -1
  516. package/build/backend/models/hosts.schema.d.ts +17 -95
  517. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  518. package/build/backend/models/hosts.schema.js +13 -13
  519. package/build/backend/models/hwid-user-device.schema.d.ts +3 -23
  520. package/build/backend/models/hwid-user-device.schema.d.ts.map +1 -1
  521. package/build/backend/models/hwid-user-device.schema.js +2 -6
  522. package/build/backend/models/infra-billing-available-node.schema.d.ts +3 -259
  523. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  524. package/build/backend/models/infra-billing-history-record.schema.d.ts +7 -38
  525. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -1
  526. package/build/backend/models/infra-billing-history-record.schema.js +3 -5
  527. package/build/backend/models/infra-billing-node.schema.d.ts +13 -319
  528. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  529. package/build/backend/models/infra-billing-node.schema.js +6 -12
  530. package/build/backend/models/infra-provider.schema.d.ts +12 -86
  531. package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
  532. package/build/backend/models/infra-provider.schema.js +7 -15
  533. package/build/backend/models/internal-squad.schema.d.ts +9 -73
  534. package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
  535. package/build/backend/models/internal-squad.schema.js +4 -8
  536. package/build/backend/models/last-connected-node.schema.d.ts +2 -10
  537. package/build/backend/models/last-connected-node.schema.d.ts.map +1 -1
  538. package/build/backend/models/last-connected-node.schema.js +1 -3
  539. package/build/backend/models/node-plugin.schema.d.ts +1 -11
  540. package/build/backend/models/node-plugin.schema.d.ts.map +1 -1
  541. package/build/backend/models/node-system.schema.d.ts +14 -194
  542. package/build/backend/models/node-system.schema.d.ts.map +1 -1
  543. package/build/backend/models/node-system.schema.js +1 -1
  544. package/build/backend/models/nodes.schema.d.ts +29 -361
  545. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  546. package/build/backend/models/nodes.schema.js +11 -17
  547. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts +1 -7
  548. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts.map +1 -1
  549. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts +18 -188
  550. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts.map +1 -1
  551. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts +3 -11
  552. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts.map +1 -1
  553. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts +1 -5
  554. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts.map +1 -1
  555. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +24 -332
  556. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
  557. package/build/backend/models/resolved-proxy-config.schema.d.ts +168 -1224
  558. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  559. package/build/backend/models/resolved-proxy-config.schema.js +18 -18
  560. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts +2 -12
  561. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts.map +1 -1
  562. package/build/backend/models/response-rules/response-rule-condition.schema.js +1 -1
  563. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +14 -58
  564. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
  565. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts +1 -5
  566. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts.map +1 -1
  567. package/build/backend/models/response-rules/response-rule.schema.d.ts +28 -246
  568. package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
  569. package/build/backend/models/response-rules/response-rule.schema.js +2 -2
  570. package/build/backend/models/response-rules/response-rules-config.schema.d.ts +17 -200
  571. package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
  572. package/build/backend/models/response-rules/response-rules-config.schema.js +1 -1
  573. package/build/backend/models/snippets.schema.d.ts +1 -7
  574. package/build/backend/models/snippets.schema.d.ts.map +1 -1
  575. package/build/backend/models/subscripion-page-config.schema.d.ts +1 -11
  576. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  577. package/build/backend/models/subscription-info.schema.d.ts +6 -74
  578. package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
  579. package/build/backend/models/subscription-info.schema.js +3 -5
  580. package/build/backend/models/subscription-request-history.schema.d.ts +2 -14
  581. package/build/backend/models/subscription-request-history.schema.d.ts.map +1 -1
  582. package/build/backend/models/subscription-request-history.schema.js +1 -4
  583. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +7 -21
  584. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -1
  585. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts +1 -9
  586. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts.map +1 -1
  587. package/build/backend/models/subscription-settings.schema.d.ts +30 -361
  588. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  589. package/build/backend/models/subscription-settings.schema.js +4 -13
  590. package/build/backend/models/subscription-template.schema.d.ts +2 -16
  591. package/build/backend/models/subscription-template.schema.d.ts.map +1 -1
  592. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts +1 -7
  593. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts.map +1 -1
  594. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts +8 -46
  595. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts.map +1 -1
  596. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts +1 -7
  597. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts.map +1 -1
  598. package/build/backend/models/torrent-blocker-report.schema.d.ts +13 -505
  599. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  600. package/build/backend/models/torrent-blocker-report.schema.js +3 -8
  601. package/build/backend/models/user-traffic.schema.d.ts +4 -16
  602. package/build/backend/models/user-traffic.schema.d.ts.map +1 -1
  603. package/build/backend/models/user-traffic.schema.js +3 -9
  604. package/build/backend/models/users.schema.d.ts +17 -63
  605. package/build/backend/models/users.schema.d.ts.map +1 -1
  606. package/build/backend/models/users.schema.js +14 -33
  607. package/build/backend/models/webhook/webhook.schema.d.ts +437 -4841
  608. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  609. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +31 -197
  610. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
  611. package/build/frontend/commands/api-tokens/delete.command.js +1 -1
  612. package/build/frontend/commands/auth/get-status.command.js +1 -1
  613. package/build/frontend/commands/auth/oauth2/authorize.command.js +2 -2
  614. package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
  615. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
  616. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
  617. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
  618. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
  619. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
  620. package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
  621. package/build/frontend/commands/config-profiles/create-config-profile.command.js +1 -1
  622. package/build/frontend/commands/config-profiles/delete-config-profile.command.js +1 -1
  623. package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
  624. package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
  625. package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
  626. package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
  627. package/build/frontend/commands/config-profiles/update-config-profile.command.js +2 -2
  628. package/build/frontend/commands/connections/connections-by-node-result.command.js +2 -3
  629. package/build/frontend/commands/connections/connections-by-node.command.js +1 -1
  630. package/build/frontend/commands/connections/connections-by-user-result.command.js +3 -4
  631. package/build/frontend/commands/connections/connections-by-user.command.js +1 -1
  632. package/build/frontend/commands/connections/drop-connections.command.js +3 -3
  633. package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
  634. package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
  635. package/build/frontend/commands/external-squads/delete-external-squad.command.js +1 -1
  636. package/build/frontend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
  637. package/build/frontend/commands/external-squads/update-external-squad.command.js +8 -8
  638. package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
  639. package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
  640. package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
  641. package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
  642. package/build/frontend/commands/hosts/create.command.js +12 -17
  643. package/build/frontend/commands/hosts/delete.command.js +1 -1
  644. package/build/frontend/commands/hosts/get-host.command.js +1 -1
  645. package/build/frontend/commands/hosts/update.command.js +12 -17
  646. package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
  647. package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
  648. package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
  649. package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
  650. package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
  651. package/build/frontend/commands/infra-billing/create-bill-record.command.js +4 -7
  652. package/build/frontend/commands/infra-billing/create-billing-node.command.js +4 -7
  653. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +2 -2
  654. package/build/frontend/commands/infra-billing/delete-bill-record.command.js +1 -1
  655. package/build/frontend/commands/infra-billing/delete-billing-node.command.js +1 -1
  656. package/build/frontend/commands/infra-billing/delete-infra-provider.command.js +1 -1
  657. package/build/frontend/commands/infra-billing/get-bill-records.command.js +2 -2
  658. package/build/frontend/commands/infra-billing/get-infra-provider.command.js +1 -1
  659. package/build/frontend/commands/infra-billing/update-billing-node.command.js +3 -6
  660. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +4 -8
  661. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
  662. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
  663. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +3 -3
  664. package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +1 -1
  665. package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
  666. package/build/frontend/commands/internal-squads/get-internal-squad.command.js +1 -1
  667. package/build/frontend/commands/internal-squads/update-internal-squad.command.js +2 -2
  668. package/build/frontend/commands/metadata/node/get-node-metadata.command.js +2 -2
  669. package/build/frontend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
  670. package/build/frontend/commands/metadata/user/get-user-metadata.command.js +2 -2
  671. package/build/frontend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
  672. package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
  673. package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +1 -1
  674. package/build/frontend/commands/node-plugins/executor.command.js +3 -3
  675. package/build/frontend/commands/node-plugins/get-node-plugin.command.js +1 -1
  676. package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
  677. package/build/frontend/commands/node-plugins/update-node-plugin.command.js +1 -1
  678. package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
  679. package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
  680. package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
  681. package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
  682. package/build/frontend/commands/nodes/bulk-actions/actions.command.js +2 -2
  683. package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
  684. package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
  685. package/build/frontend/commands/nodes/create.command.js +16 -36
  686. package/build/frontend/commands/nodes/delete.command.js +1 -1
  687. package/build/frontend/commands/nodes/get-node.command.js +1 -1
  688. package/build/frontend/commands/nodes/update.command.js +17 -29
  689. package/build/frontend/commands/passkeys/get-passkeys.command.js +4 -10
  690. package/build/frontend/commands/passkeys/update-passkey.command.js +6 -8
  691. package/build/frontend/commands/snippets/create-snippet.command.js +3 -3
  692. package/build/frontend/commands/snippets/update-snippet.command.js +3 -3
  693. package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
  694. package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
  695. package/build/frontend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
  696. package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
  697. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
  698. package/build/frontend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
  699. package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
  700. package/build/frontend/commands/subscription-template/create-template.command.js +3 -3
  701. package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +1 -1
  702. package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
  703. package/build/frontend/commands/subscription-template/update-template.command.js +4 -4
  704. package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
  705. package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
  706. package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
  707. package/build/frontend/commands/subscriptions/get-subscriptions.command.js +5 -8
  708. package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
  709. package/build/frontend/commands/system/get-recap.command.js +1 -3
  710. package/build/frontend/commands/system/get-stats.command.js +1 -1
  711. package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
  712. package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
  713. package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
  714. package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
  715. package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +3 -3
  716. package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -4
  717. package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
  718. package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
  719. package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
  720. package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
  721. package/build/frontend/commands/users/bulk/bulk-update-users.command.js +11 -26
  722. package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
  723. package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
  724. package/build/frontend/commands/users/create-user.command.js +25 -63
  725. package/build/frontend/commands/users/delete-user.command.js +1 -1
  726. package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
  727. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +4 -4
  728. package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
  729. package/build/frontend/commands/users/get-user-subscription-request-history.command.js +2 -4
  730. package/build/frontend/commands/users/get-users-stream.command.js +10 -11
  731. package/build/frontend/commands/users/resolve-user.command.js +3 -3
  732. package/build/frontend/commands/users/update-user.command.js +14 -39
  733. package/build/frontend/models/api-tokens.schema.js +4 -10
  734. package/build/frontend/models/base-internal-squad.schema.js +1 -1
  735. package/build/frontend/models/config-profile-inbounds.schema.js +2 -2
  736. package/build/frontend/models/config-profile.schema.js +5 -9
  737. package/build/frontend/models/external-squad.schema.js +7 -11
  738. package/build/frontend/models/hosts.schema.js +13 -13
  739. package/build/frontend/models/hwid-user-device.schema.js +2 -6
  740. package/build/frontend/models/infra-billing-history-record.schema.js +3 -5
  741. package/build/frontend/models/infra-billing-node.schema.js +6 -12
  742. package/build/frontend/models/infra-provider.schema.js +7 -15
  743. package/build/frontend/models/internal-squad.schema.js +4 -8
  744. package/build/frontend/models/last-connected-node.schema.js +1 -3
  745. package/build/frontend/models/node-system.schema.js +1 -1
  746. package/build/frontend/models/nodes.schema.js +11 -17
  747. package/build/frontend/models/resolved-proxy-config.schema.js +18 -18
  748. package/build/frontend/models/response-rules/response-rule-condition.schema.js +1 -1
  749. package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
  750. package/build/frontend/models/response-rules/response-rules-config.schema.js +1 -1
  751. package/build/frontend/models/subscription-info.schema.js +3 -5
  752. package/build/frontend/models/subscription-request-history.schema.js +1 -4
  753. package/build/frontend/models/subscription-settings.schema.js +4 -13
  754. package/build/frontend/models/torrent-blocker-report.schema.js +3 -8
  755. package/build/frontend/models/user-traffic.schema.js +3 -9
  756. package/build/frontend/models/users.schema.js +14 -33
  757. package/package.json +2 -2
@@ -25,13 +25,13 @@ exports.ResponseRuleSchemaBase = zod_1.z.object({
25
25
  enabled: zod_1.z.boolean().describe(JSON.stringify({
26
26
  markdownDescription: 'Control whether the response rule is enabled or disabled. \n\n - `true` the rule will be applied. \n\n - `false` the rule will be always ignored.',
27
27
  })),
28
- operator: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_OPERATORS).describe(JSON.stringify({
28
+ operator: zod_1.z.enum(constants_1.RESPONSE_RULES_OPERATORS).describe(JSON.stringify({
29
29
  markdownDescription: 'Operator to use for combining conditions in the rule.',
30
30
  })),
31
31
  conditions: zod_1.z.array(response_rule_condition_schema_1.ResponseRuleConditionSchema).describe(JSON.stringify({
32
32
  markdownDescription: 'Array of conditions to check against the request headers. Conditions are applied with **operator**. If conditions are empty, the rule will be matched.',
33
33
  })),
34
- responseType: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_RESPONSE_TYPES).describe(JSON.stringify({
34
+ responseType: zod_1.z.enum(constants_1.RESPONSE_RULES_RESPONSE_TYPES).describe(JSON.stringify({
35
35
  errorMessage: 'Invalid response type. Please select a valid response type.',
36
36
  markdownDescription: `Type of the response. Determines the type of **response** to be returned when the rule is matched.`,
37
37
  markdownEnumDescriptions: Object.entries(constants_1.RESPONSE_RULES_RESPONSE_TYPES_DESCRIPTION).map(([_key, description]) => description),
@@ -7,7 +7,7 @@ const response_rule_settings_schema_1 = require("./response-rule-settings.schema
7
7
  const response_rule_schema_1 = require("./response-rule.schema");
8
8
  const response_rules_examples_1 = require("./response-rules-examples");
9
9
  exports.ResponseRulesConfigSchema = zod_1.z.object({
10
- version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION).describe(JSON.stringify({
10
+ version: zod_1.z.enum(constants_1.RESPONSE_RULES_CONFIG_VERSION).describe(JSON.stringify({
11
11
  title: 'Response Rules Config Version',
12
12
  markdownDescription: 'Version of the **response rules** config. Currently supported version is **1**.',
13
13
  })),
@@ -15,13 +15,11 @@ exports.SubscriptionInfoSchema = zod_1.z.object({
15
15
  trafficLimitBytes: zod_1.z.string(),
16
16
  lifetimeTrafficUsedBytes: zod_1.z.string(),
17
17
  username: zod_1.z.string(),
18
- expiresAt: zod_1.z
19
- .string()
20
- .datetime()
18
+ expiresAt: zod_1.z.iso.datetime()
21
19
  .transform((str) => new Date(str)),
22
20
  isActive: zod_1.z.boolean(),
23
- userStatus: zod_1.z.nativeEnum(constants_1.USERS_STATUS),
24
- trafficLimitStrategy: zod_1.z.nativeEnum(constants_1.RESET_PERIODS),
21
+ userStatus: zod_1.z.enum(constants_1.USERS_STATUS),
22
+ trafficLimitStrategy: zod_1.z.enum(constants_1.RESET_PERIODS),
25
23
  }),
26
24
  links: zod_1.z.array(zod_1.z.string()),
27
25
  ssConfLinks: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
@@ -7,8 +7,5 @@ exports.SubscriptionRequestHistorySchema = zod_1.z.object({
7
7
  userId: zod_1.z.number(),
8
8
  requestIp: zod_1.z.nullable(zod_1.z.string()),
9
9
  userAgent: zod_1.z.nullable(zod_1.z.string()),
10
- requestAt: zod_1.z
11
- .string()
12
- .datetime()
13
- .transform((str) => new Date(str)),
10
+ requestAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
14
11
  });
@@ -6,13 +6,10 @@ const response_rules_1 = require("./response-rules");
6
6
  const custom_remarks_schema_1 = require("./subscription-settings/custom-remarks.schema");
7
7
  const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
8
8
  exports.SubscriptionSettingsSchema = zod_1.z.object({
9
- uuid: zod_1.z.string().uuid(),
9
+ uuid: zod_1.z.uuid(),
10
10
  profileTitle: zod_1.z.string(),
11
11
  supportLink: zod_1.z.string(),
12
- profileUpdateInterval: zod_1.z
13
- .number()
14
- .int()
15
- .min(1, 'Profile update interval must be greater than 0'),
12
+ profileUpdateInterval: zod_1.z.int().min(1),
16
13
  isProfileWebpageUrlEnabled: zod_1.z.boolean(),
17
14
  serveJsonAtBaseSubscription: zod_1.z.boolean(),
18
15
  isShowCustomRemarks: zod_1.z.boolean(),
@@ -23,12 +20,6 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
23
20
  randomizeHosts: zod_1.z.boolean(),
24
21
  responseRules: zod_1.z.nullable(response_rules_1.ResponseRulesConfigSchema),
25
22
  hwidSettings: zod_1.z.nullable(hwid_settings_schema_1.HwidSettingsSchema),
26
- createdAt: zod_1.z
27
- .string()
28
- .datetime()
29
- .transform((str) => new Date(str)),
30
- updatedAt: zod_1.z
31
- .string()
32
- .datetime()
33
- .transform((str) => new Date(str)),
23
+ createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
24
+ updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
34
25
  });
@@ -22,13 +22,11 @@ exports.TorrentBlockerReportSchema = zod_1.z.object({
22
22
  blocked: zod_1.z.boolean(),
23
23
  ip: zod_1.z.string(),
24
24
  blockDuration: zod_1.z.number(),
25
- willUnblockAt: zod_1.z
26
- .string()
25
+ willUnblockAt: zod_1.z.iso
27
26
  .datetime({ offset: true, local: true })
28
27
  .transform((str) => new Date(str)),
29
28
  userId: zod_1.z.string(),
30
- processedAt: zod_1.z
31
- .string()
29
+ processedAt: zod_1.z.iso
32
30
  .datetime({ offset: true, local: true })
33
31
  .transform((str) => new Date(str)),
34
32
  }),
@@ -48,8 +46,5 @@ exports.TorrentBlockerReportSchema = zod_1.z.object({
48
46
  ts: zod_1.z.number(),
49
47
  }),
50
48
  }),
51
- createdAt: zod_1.z
52
- .string()
53
- .datetime()
54
- .transform((str) => new Date(str)),
49
+ createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
55
50
  });
@@ -5,13 +5,7 @@ const zod_1 = require("zod");
5
5
  exports.UserTrafficSchema = zod_1.z.object({
6
6
  usedTrafficBytes: zod_1.z.number(),
7
7
  lifetimeUsedTrafficBytes: zod_1.z.number(),
8
- onlineAt: zod_1.z.nullable(zod_1.z
9
- .string()
10
- .datetime()
11
- .transform((str) => new Date(str))),
12
- firstConnectedAt: zod_1.z.nullable(zod_1.z
13
- .string()
14
- .datetime()
15
- .transform((str) => new Date(str))),
16
- lastConnectedNodeUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
8
+ onlineAt: zod_1.z.nullable(zod_1.z.iso.datetime().transform((str) => new Date(str))),
9
+ firstConnectedAt: zod_1.z.nullable(zod_1.z.iso.datetime().transform((str) => new Date(str))),
10
+ lastConnectedNodeUuid: zod_1.z.nullable(zod_1.z.uuid()),
17
11
  });
@@ -4,45 +4,26 @@ exports.UsersSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const constants_1 = require("../constants");
6
6
  exports.UsersSchema = zod_1.z.object({
7
- uuid: zod_1.z.string().uuid(),
7
+ uuid: zod_1.z.uuid(),
8
8
  id: zod_1.z.number(),
9
9
  shortUuid: zod_1.z.string(),
10
10
  username: zod_1.z.string(),
11
- status: zod_1.z.nativeEnum(constants_1.USERS_STATUS).default(constants_1.USERS_STATUS.ACTIVE),
12
- trafficLimitBytes: zod_1.z.number().default(0),
13
- trafficLimitStrategy: zod_1.z
14
- .nativeEnum(constants_1.RESET_PERIODS, {
15
- description: 'Available reset periods',
16
- })
17
- .default(constants_1.RESET_PERIODS.NO_RESET),
18
- expireAt: zod_1.z
19
- .string()
20
- .datetime()
21
- .transform((str) => new Date(str)),
11
+ status: zod_1.z.enum(constants_1.USERS_STATUS),
12
+ trafficLimitBytes: zod_1.z.number(),
13
+ trafficLimitStrategy: zod_1.z.enum(constants_1.RESET_PERIODS).describe('Available reset periods'),
14
+ expireAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
22
15
  telegramId: zod_1.z.nullable(zod_1.z.number()),
23
- email: zod_1.z.nullable(zod_1.z.string().email()),
16
+ email: zod_1.z.nullable(zod_1.z.email()),
24
17
  description: zod_1.z.nullable(zod_1.z.string()),
25
18
  tag: zod_1.z.nullable(zod_1.z.string()),
26
- hwidDeviceLimit: zod_1.z.nullable(zod_1.z.number().int()),
27
- externalSquadUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
19
+ hwidDeviceLimit: zod_1.z.nullable(zod_1.z.int()),
20
+ externalSquadUuid: zod_1.z.nullable(zod_1.z.uuid()),
28
21
  trojanPassword: zod_1.z.string(),
29
- vlessUuid: zod_1.z.string().uuid(),
22
+ vlessUuid: zod_1.z.uuid(),
30
23
  ssPassword: zod_1.z.string(),
31
- lastTriggeredThreshold: zod_1.z.number().int().default(0),
32
- subRevokedAt: zod_1.z.nullable(zod_1.z
33
- .string()
34
- .datetime()
35
- .transform((str) => new Date(str))),
36
- lastTrafficResetAt: zod_1.z.nullable(zod_1.z
37
- .string()
38
- .datetime()
39
- .transform((str) => new Date(str))),
40
- createdAt: zod_1.z
41
- .string()
42
- .datetime()
43
- .transform((str) => new Date(str)),
44
- updatedAt: zod_1.z
45
- .string()
46
- .datetime()
47
- .transform((str) => new Date(str)),
24
+ lastTriggeredThreshold: zod_1.z.int(),
25
+ subRevokedAt: zod_1.z.nullable(zod_1.z.iso.datetime().transform((str) => new Date(str))),
26
+ lastTrafficResetAt: zod_1.z.nullable(zod_1.z.iso.datetime().transform((str) => new Date(str))),
27
+ createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
28
+ updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
48
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/remnawave",
@@ -27,7 +27,7 @@
27
27
  "prepublish": "npm run build"
28
28
  },
29
29
  "dependencies": {
30
- "zod": "3.25.76"
30
+ "zod": "4.4.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "5.9.3"