@remnawave/backend-contract 2.9.3 → 2.9.5

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 (767) 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 +5 -34
  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 +8 -72
  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 +4 -32
  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 +5 -34
  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 +4 -50
  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 +5 -38
  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 +5 -34
  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 +8 -72
  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 +4 -32
  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 +5 -34
  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 +4 -50
  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 +5 -38
  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 +9 -94
  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 +6 -44
  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 +6 -42
  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 +5 -63
  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 +7 -49
  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 +2 -12
  540. package/build/backend/models/node-plugin.schema.d.ts.map +1 -1
  541. package/build/backend/models/node-plugin.schema.js +1 -1
  542. package/build/backend/models/node-system.schema.d.ts +14 -194
  543. package/build/backend/models/node-system.schema.d.ts.map +1 -1
  544. package/build/backend/models/node-system.schema.js +1 -1
  545. package/build/backend/models/nodes.schema.d.ts +29 -361
  546. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  547. package/build/backend/models/nodes.schema.js +11 -17
  548. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts +1 -7
  549. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts.map +1 -1
  550. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts +18 -188
  551. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts.map +1 -1
  552. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts +3 -11
  553. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts.map +1 -1
  554. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts +1 -5
  555. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts.map +1 -1
  556. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +24 -332
  557. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
  558. package/build/backend/models/resolved-proxy-config.schema.d.ts +168 -1224
  559. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  560. package/build/backend/models/resolved-proxy-config.schema.js +18 -18
  561. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts +2 -12
  562. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts.map +1 -1
  563. package/build/backend/models/response-rules/response-rule-condition.schema.js +1 -1
  564. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +14 -58
  565. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
  566. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts +1 -5
  567. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts.map +1 -1
  568. package/build/backend/models/response-rules/response-rule.schema.d.ts +28 -246
  569. package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
  570. package/build/backend/models/response-rules/response-rule.schema.js +2 -2
  571. package/build/backend/models/response-rules/response-rules-config.schema.d.ts +17 -200
  572. package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
  573. package/build/backend/models/response-rules/response-rules-config.schema.js +2 -2
  574. package/build/backend/models/snippets.schema.d.ts +1 -7
  575. package/build/backend/models/snippets.schema.d.ts.map +1 -1
  576. package/build/backend/models/subscripion-page-config.schema.d.ts +2 -12
  577. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  578. package/build/backend/models/subscripion-page-config.schema.js +1 -1
  579. package/build/backend/models/subscription-info.schema.d.ts +6 -74
  580. package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
  581. package/build/backend/models/subscription-info.schema.js +3 -5
  582. package/build/backend/models/subscription-request-history.schema.d.ts +2 -14
  583. package/build/backend/models/subscription-request-history.schema.d.ts.map +1 -1
  584. package/build/backend/models/subscription-request-history.schema.js +1 -4
  585. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +7 -21
  586. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -1
  587. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts +1 -9
  588. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts.map +1 -1
  589. package/build/backend/models/subscription-settings.schema.d.ts +30 -361
  590. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  591. package/build/backend/models/subscription-settings.schema.js +4 -13
  592. package/build/backend/models/subscription-template.schema.d.ts +3 -17
  593. package/build/backend/models/subscription-template.schema.d.ts.map +1 -1
  594. package/build/backend/models/subscription-template.schema.js +2 -2
  595. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts +1 -7
  596. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts.map +1 -1
  597. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts +8 -46
  598. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts.map +1 -1
  599. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts +1 -7
  600. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts.map +1 -1
  601. package/build/backend/models/torrent-blocker-report.schema.d.ts +13 -505
  602. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  603. package/build/backend/models/torrent-blocker-report.schema.js +3 -8
  604. package/build/backend/models/user-traffic.schema.d.ts +4 -16
  605. package/build/backend/models/user-traffic.schema.d.ts.map +1 -1
  606. package/build/backend/models/user-traffic.schema.js +3 -9
  607. package/build/backend/models/users.schema.d.ts +17 -63
  608. package/build/backend/models/users.schema.d.ts.map +1 -1
  609. package/build/backend/models/users.schema.js +14 -33
  610. package/build/backend/models/webhook/webhook.schema.d.ts +441 -4845
  611. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  612. package/build/backend/models/webhook/webhook.schema.js +2 -2
  613. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +31 -197
  614. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
  615. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.js +1 -1
  616. package/build/frontend/commands/api-tokens/delete.command.js +1 -1
  617. package/build/frontend/commands/auth/get-status.command.js +1 -1
  618. package/build/frontend/commands/auth/oauth2/authorize.command.js +2 -2
  619. package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
  620. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
  621. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
  622. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
  623. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
  624. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
  625. package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
  626. package/build/frontend/commands/config-profiles/create-config-profile.command.js +1 -1
  627. package/build/frontend/commands/config-profiles/delete-config-profile.command.js +1 -1
  628. package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
  629. package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
  630. package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
  631. package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
  632. package/build/frontend/commands/config-profiles/update-config-profile.command.js +2 -2
  633. package/build/frontend/commands/connections/connections-by-node-result.command.js +2 -3
  634. package/build/frontend/commands/connections/connections-by-node.command.js +1 -1
  635. package/build/frontend/commands/connections/connections-by-user-result.command.js +3 -4
  636. package/build/frontend/commands/connections/connections-by-user.command.js +1 -1
  637. package/build/frontend/commands/connections/drop-connections.command.js +3 -3
  638. package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
  639. package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
  640. package/build/frontend/commands/external-squads/delete-external-squad.command.js +1 -1
  641. package/build/frontend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
  642. package/build/frontend/commands/external-squads/update-external-squad.command.js +8 -8
  643. package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
  644. package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
  645. package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
  646. package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
  647. package/build/frontend/commands/hosts/create.command.js +12 -17
  648. package/build/frontend/commands/hosts/delete.command.js +1 -1
  649. package/build/frontend/commands/hosts/get-host.command.js +1 -1
  650. package/build/frontend/commands/hosts/update.command.js +12 -17
  651. package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
  652. package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
  653. package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
  654. package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
  655. package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
  656. package/build/frontend/commands/infra-billing/create-bill-record.command.js +4 -7
  657. package/build/frontend/commands/infra-billing/create-billing-node.command.js +4 -7
  658. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +2 -2
  659. package/build/frontend/commands/infra-billing/delete-bill-record.command.js +1 -1
  660. package/build/frontend/commands/infra-billing/delete-billing-node.command.js +1 -1
  661. package/build/frontend/commands/infra-billing/delete-infra-provider.command.js +1 -1
  662. package/build/frontend/commands/infra-billing/get-bill-records.command.js +2 -2
  663. package/build/frontend/commands/infra-billing/get-infra-provider.command.js +1 -1
  664. package/build/frontend/commands/infra-billing/update-billing-node.command.js +3 -6
  665. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +4 -8
  666. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
  667. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
  668. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +3 -3
  669. package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +1 -1
  670. package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
  671. package/build/frontend/commands/internal-squads/get-internal-squad.command.js +1 -1
  672. package/build/frontend/commands/internal-squads/update-internal-squad.command.js +2 -2
  673. package/build/frontend/commands/metadata/node/get-node-metadata.command.js +2 -2
  674. package/build/frontend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
  675. package/build/frontend/commands/metadata/user/get-user-metadata.command.js +2 -2
  676. package/build/frontend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
  677. package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
  678. package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +1 -1
  679. package/build/frontend/commands/node-plugins/executor.command.js +3 -3
  680. package/build/frontend/commands/node-plugins/get-node-plugin.command.js +1 -1
  681. package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
  682. package/build/frontend/commands/node-plugins/update-node-plugin.command.js +1 -1
  683. package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
  684. package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
  685. package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
  686. package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
  687. package/build/frontend/commands/nodes/bulk-actions/actions.command.js +2 -2
  688. package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
  689. package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
  690. package/build/frontend/commands/nodes/create.command.js +16 -36
  691. package/build/frontend/commands/nodes/delete.command.js +1 -1
  692. package/build/frontend/commands/nodes/get-node.command.js +1 -1
  693. package/build/frontend/commands/nodes/update.command.js +17 -29
  694. package/build/frontend/commands/passkeys/get-passkeys.command.js +4 -10
  695. package/build/frontend/commands/passkeys/update-passkey.command.js +6 -8
  696. package/build/frontend/commands/snippets/create-snippet.command.js +3 -3
  697. package/build/frontend/commands/snippets/update-snippet.command.js +3 -3
  698. package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
  699. package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
  700. package/build/frontend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
  701. package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
  702. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
  703. package/build/frontend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
  704. package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
  705. package/build/frontend/commands/subscription-template/create-template.command.js +3 -3
  706. package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +1 -1
  707. package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
  708. package/build/frontend/commands/subscription-template/update-template.command.js +4 -4
  709. package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
  710. package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
  711. package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
  712. package/build/frontend/commands/subscriptions/get-subscriptions.command.js +5 -8
  713. package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
  714. package/build/frontend/commands/system/get-recap.command.js +1 -3
  715. package/build/frontend/commands/system/get-stats.command.js +1 -1
  716. package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
  717. package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
  718. package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
  719. package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
  720. package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +3 -3
  721. package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -4
  722. package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
  723. package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
  724. package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
  725. package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
  726. package/build/frontend/commands/users/bulk/bulk-update-users.command.js +11 -26
  727. package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
  728. package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
  729. package/build/frontend/commands/users/create-user.command.js +25 -63
  730. package/build/frontend/commands/users/delete-user.command.js +1 -1
  731. package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
  732. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +4 -4
  733. package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
  734. package/build/frontend/commands/users/get-user-subscription-request-history.command.js +2 -4
  735. package/build/frontend/commands/users/get-users-stream.command.js +10 -11
  736. package/build/frontend/commands/users/resolve-user.command.js +3 -3
  737. package/build/frontend/commands/users/update-user.command.js +14 -39
  738. package/build/frontend/models/api-tokens.schema.js +4 -10
  739. package/build/frontend/models/base-internal-squad.schema.js +1 -1
  740. package/build/frontend/models/config-profile-inbounds.schema.js +2 -2
  741. package/build/frontend/models/config-profile.schema.js +5 -9
  742. package/build/frontend/models/external-squad.schema.js +7 -11
  743. package/build/frontend/models/hosts.schema.js +13 -13
  744. package/build/frontend/models/hwid-user-device.schema.js +2 -6
  745. package/build/frontend/models/infra-billing-history-record.schema.js +3 -5
  746. package/build/frontend/models/infra-billing-node.schema.js +6 -12
  747. package/build/frontend/models/infra-provider.schema.js +7 -15
  748. package/build/frontend/models/internal-squad.schema.js +4 -8
  749. package/build/frontend/models/last-connected-node.schema.js +1 -3
  750. package/build/frontend/models/node-plugin.schema.js +1 -1
  751. package/build/frontend/models/node-system.schema.js +1 -1
  752. package/build/frontend/models/nodes.schema.js +11 -17
  753. package/build/frontend/models/resolved-proxy-config.schema.js +18 -18
  754. package/build/frontend/models/response-rules/response-rule-condition.schema.js +1 -1
  755. package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
  756. package/build/frontend/models/response-rules/response-rules-config.schema.js +2 -2
  757. package/build/frontend/models/subscripion-page-config.schema.js +1 -1
  758. package/build/frontend/models/subscription-info.schema.js +3 -5
  759. package/build/frontend/models/subscription-request-history.schema.js +1 -4
  760. package/build/frontend/models/subscription-settings.schema.js +4 -13
  761. package/build/frontend/models/subscription-template.schema.js +2 -2
  762. package/build/frontend/models/torrent-blocker-report.schema.js +3 -8
  763. package/build/frontend/models/user-traffic.schema.js +3 -9
  764. package/build/frontend/models/users.schema.js +14 -33
  765. package/build/frontend/models/webhook/webhook.schema.js +2 -2
  766. package/build/frontend/models/xray-json-advanced/remnawave-injector.schema.js +1 -1
  767. package/package.json +2 -2
@@ -10,11 +10,11 @@ var GetUserMetadataCommand;
10
10
  GetUserMetadataCommand.TSQ_url = GetUserMetadataCommand.url(':uuid');
11
11
  GetUserMetadataCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.METADATA_ROUTES.USER.GET(':uuid'), 'get', 'Get user metadata', { scope: 'get-user', kind: 'read' });
12
12
  GetUserMetadataCommand.RequestParamsSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  GetUserMetadataCommand.ResponseSchema = zod_1.z.object({
16
16
  response: zod_1.z.object({
17
- metadata: zod_1.z.object({}).passthrough(),
17
+ metadata: zod_1.z.looseObject({}),
18
18
  }),
19
19
  });
20
20
  })(GetUserMetadataCommand || (exports.GetUserMetadataCommand = GetUserMetadataCommand = {}));
@@ -10,14 +10,14 @@ var UpsertUserMetadataCommand;
10
10
  UpsertUserMetadataCommand.TSQ_url = UpsertUserMetadataCommand.url(':uuid');
11
11
  UpsertUserMetadataCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.METADATA_ROUTES.USER.UPSERT(':uuid'), 'put', 'Update or create User Metadata', { scope: 'upsert-user', kind: 'write' });
12
12
  UpsertUserMetadataCommand.RequestParamsSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  UpsertUserMetadataCommand.RequestBodySchema = zod_1.z.object({
16
- metadata: zod_1.z.object({}).passthrough(),
16
+ metadata: zod_1.z.looseObject({}),
17
17
  });
18
18
  UpsertUserMetadataCommand.ResponseSchema = zod_1.z.object({
19
19
  response: zod_1.z.object({
20
- metadata: zod_1.z.object({}).passthrough(),
20
+ metadata: zod_1.z.looseObject({}),
21
21
  }),
22
22
  });
23
23
  })(UpsertUserMetadataCommand || (exports.UpsertUserMetadataCommand = UpsertUserMetadataCommand = {}));
@@ -11,7 +11,7 @@ var CloneNodePluginCommand;
11
11
  CloneNodePluginCommand.TSQ_url = CloneNodePluginCommand.url;
12
12
  CloneNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.ACTIONS.CLONE, 'post', 'Clone Node Plugin', { scope: 'clone', kind: 'write' });
13
13
  CloneNodePluginCommand.RequestBodySchema = zod_1.z.object({
14
- cloneFromUuid: zod_1.z.string().uuid(),
14
+ cloneFromUuid: zod_1.z.uuid(),
15
15
  });
16
16
  CloneNodePluginCommand.ResponseSchema = zod_1.z.object({
17
17
  response: models_1.NodePluginSchema.extend({
@@ -10,6 +10,6 @@ var DeleteNodePluginCommand;
10
10
  DeleteNodePluginCommand.TSQ_url = DeleteNodePluginCommand.url(':uuid');
11
11
  DeleteNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.DELETE(':uuid'), 'delete', 'Delete Node Plugin', { scope: 'delete', kind: 'write' });
12
12
  DeleteNodePluginCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  })(DeleteNodePluginCommand || (exports.DeleteNodePluginCommand = DeleteNodePluginCommand = {}));
@@ -15,7 +15,7 @@ var PluginExecutorCommand;
15
15
  command: zod_1.z.literal('blockIps'),
16
16
  ips: zod_1.z
17
17
  .array(zod_1.z.object({
18
- ip: zod_1.z.string().ip(),
18
+ ip: zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6()]),
19
19
  timeout: zod_1.z.number(),
20
20
  }))
21
21
  .min(1),
@@ -24,7 +24,7 @@ var PluginExecutorCommand;
24
24
  zod_1.z
25
25
  .object({
26
26
  command: zod_1.z.literal('unblockIps'),
27
- ips: zod_1.z.array(zod_1.z.string().ip()).min(1),
27
+ ips: zod_1.z.array(zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6()])).min(1),
28
28
  })
29
29
  .describe('Unblock IPs'),
30
30
  zod_1.z
@@ -42,7 +42,7 @@ var PluginExecutorCommand;
42
42
  zod_1.z
43
43
  .object({
44
44
  target: zod_1.z.literal('specificNodes'),
45
- nodeUuids: zod_1.z.array(zod_1.z.string().uuid()).min(1),
45
+ nodeUuids: zod_1.z.array(zod_1.z.uuid()).min(1),
46
46
  })
47
47
  .describe('Target specific nodes'),
48
48
  ]);
@@ -11,7 +11,7 @@ var GetNodePluginCommand;
11
11
  GetNodePluginCommand.TSQ_url = GetNodePluginCommand.url(':uuid');
12
12
  GetNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.GET(':uuid'), 'get', 'Get Node Plugin by uuid', { scope: 'get', kind: 'read' });
13
13
  GetNodePluginCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  GetNodePluginCommand.ResponseSchema = zod_1.z.object({
17
17
  response: models_1.NodePluginSchema.extend({
@@ -18,13 +18,13 @@ var GetTorrentBlockerReportsStatsCommand;
18
18
  reportsLast24Hours: zod_1.z.number(),
19
19
  }),
20
20
  topUsers: zod_1.z.array(zod_1.z.object({
21
- uuid: zod_1.z.string().uuid(),
21
+ uuid: zod_1.z.uuid(),
22
22
  color: zod_1.z.string(),
23
23
  username: zod_1.z.string(),
24
24
  total: zod_1.z.number(),
25
25
  })),
26
26
  topNodes: zod_1.z.array(zod_1.z.object({
27
- uuid: zod_1.z.string().uuid(),
27
+ uuid: zod_1.z.uuid(),
28
28
  countryCode: zod_1.z.string(),
29
29
  color: zod_1.z.string(),
30
30
  name: zod_1.z.string(),
@@ -11,7 +11,7 @@ var UpdateNodePluginCommand;
11
11
  UpdateNodePluginCommand.TSQ_url = UpdateNodePluginCommand.url;
12
12
  UpdateNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.UPDATE, 'patch', 'Update Node Plugin', { scope: 'update', kind: 'write' });
13
13
  UpdateNodePluginCommand.RequestBodySchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  name: zod_1.z
16
16
  .string()
17
17
  .min(2, 'Name must be at least 2 characters')
@@ -11,7 +11,7 @@ var DisableNodeCommand;
11
11
  DisableNodeCommand.TSQ_url = DisableNodeCommand.url(':uuid');
12
12
  DisableNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.ACTIONS.DISABLE(':uuid'), 'post', 'Disable a node', { scope: 'disable', kind: 'write' });
13
13
  DisableNodeCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  DisableNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
17
17
  })(DisableNodeCommand || (exports.DisableNodeCommand = DisableNodeCommand = {}));
@@ -11,7 +11,7 @@ var EnableNodeCommand;
11
11
  EnableNodeCommand.TSQ_url = EnableNodeCommand.url(':uuid');
12
12
  EnableNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.ACTIONS.ENABLE(':uuid'), 'post', 'Enable a node', { scope: 'enable', kind: 'write' });
13
13
  EnableNodeCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  EnableNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
17
17
  })(EnableNodeCommand || (exports.EnableNodeCommand = EnableNodeCommand = {}));
@@ -10,6 +10,6 @@ var ResetNodeTrafficCommand;
10
10
  ResetNodeTrafficCommand.TSQ_url = ResetNodeTrafficCommand.url(':uuid');
11
11
  ResetNodeTrafficCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.ACTIONS.RESET_TRAFFIC(':uuid'), 'post', 'Reset Node Traffic', { scope: 'reset-traffic', kind: 'write' });
12
12
  ResetNodeTrafficCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  })(ResetNodeTrafficCommand || (exports.ResetNodeTrafficCommand = ResetNodeTrafficCommand = {}));
@@ -10,7 +10,7 @@ var RestartNodeCommand;
10
10
  RestartNodeCommand.TSQ_url = RestartNodeCommand.url(':uuid');
11
11
  RestartNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.ACTIONS.RESTART(':uuid'), 'post', 'Restart node', { scope: 'restart', kind: 'write' });
12
12
  RestartNodeCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  RestartNodeCommand.RequestBodySchema = zod_1.z.object({
16
16
  forceRestart: zod_1.z.boolean(),
@@ -10,7 +10,7 @@ var BulkNodesActionsCommand;
10
10
  BulkNodesActionsCommand.TSQ_url = BulkNodesActionsCommand.url;
11
11
  BulkNodesActionsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.BULK_ACTIONS.ACTIONS, 'post', 'Perform actions for many nodes', { scope: 'bulk-actions', kind: 'write' });
12
12
  BulkNodesActionsCommand.RequestBodySchema = zod_1.z.object({
13
- uuids: zod_1.z.array(zod_1.z.string().uuid()).min(1, 'Must be at least 1 Node UUID'),
14
- action: zod_1.z.nativeEnum(constants_1.NODES_BULK_ACTIONS),
13
+ uuids: zod_1.z.array(zod_1.z.uuid()).min(1),
14
+ action: zod_1.z.enum(constants_1.NODES_BULK_ACTIONS),
15
15
  });
16
16
  })(BulkNodesActionsCommand || (exports.BulkNodesActionsCommand = BulkNodesActionsCommand = {}));
@@ -10,28 +10,28 @@ var BulkNodesUpdateCommand;
10
10
  BulkNodesUpdateCommand.TSQ_url = BulkNodesUpdateCommand.url;
11
11
  BulkNodesUpdateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.BULK_ACTIONS.UPDATE, 'post', 'Update many nodes', { scope: 'bulk-update', kind: 'write' });
12
12
  BulkNodesUpdateCommand.RequestBodySchema = zod_1.z.object({
13
- uuids: zod_1.z.array(zod_1.z.string().uuid()).min(1, 'Must be at least 1 Node UUID'),
13
+ uuids: zod_1.z.array(zod_1.z.uuid()).min(1),
14
14
  fields: zod_1.z.object({
15
- countryCode: zod_1.z.optional(zod_1.z.string().max(2, 'Country code must be 2 characters').toUpperCase()),
15
+ countryCode: zod_1.z.optional(zod_1.z.string().max(2).toUpperCase()),
16
16
  consumptionMultiplier: zod_1.z.optional(zod_1.z
17
17
  .number()
18
- .min(0.0, 'Consumption multiplier must be greater than 0.0')
19
- .max(100.0, 'Consumption multiplier must be less than 100.0')
18
+ .min(0.0)
19
+ .max(100.0)
20
20
  .transform((n) => Number(n.toFixed(1)))),
21
21
  nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
22
22
  .number()
23
- .min(0.0, 'Node consumption multiplier must be greater than 0.0')
24
- .max(100.0, 'Node consumption multiplier must be less than 100.0')
23
+ .min(0.0)
24
+ .max(100.0)
25
25
  .transform((n) => Number(n.toFixed(1)))),
26
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
26
+ providerUuid: zod_1.z.uuid().nullish(),
27
27
  tags: zod_1.z.optional(zod_1.z
28
28
  .array(zod_1.z
29
29
  .string()
30
30
  .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
31
31
  .max(36, 'Each tag must be less than 36 characters'))
32
32
  .max(10, 'Maximum 10 tags')),
33
- activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
34
- note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters').nullable()),
33
+ activePluginUuid: zod_1.z.uuid().nullish(),
34
+ note: zod_1.z.optional(zod_1.z.string().max(255).nullable()),
35
35
  }),
36
36
  });
37
37
  })(BulkNodesUpdateCommand || (exports.BulkNodesUpdateCommand = BulkNodesUpdateCommand = {}));
@@ -10,14 +10,10 @@ var BulkNodesProfileModificationCommand;
10
10
  BulkNodesProfileModificationCommand.TSQ_url = BulkNodesProfileModificationCommand.url;
11
11
  BulkNodesProfileModificationCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.BULK_ACTIONS.PROFILE_MODIFICATION, 'post', 'Modify Inbounds & Profile for many nodes', { scope: 'bulk-profile-modification', kind: 'write' });
12
12
  BulkNodesProfileModificationCommand.RequestBodySchema = zod_1.z.object({
13
- uuids: zod_1.z.array(zod_1.z.string().uuid()).min(1, 'Must be at least 1 Node UUID'),
13
+ uuids: zod_1.z.array(zod_1.z.uuid()).min(1),
14
14
  configProfile: zod_1.z.object({
15
- activeConfigProfileUuid: zod_1.z.string().uuid(),
16
- activeInbounds: zod_1.z
17
- .array(zod_1.z.string().uuid(), {
18
- invalid_type_error: 'Must be an array of UUIDs',
19
- })
20
- .min(1, 'Must be at least 1 inbound UUID'),
15
+ activeConfigProfileUuid: zod_1.z.uuid(),
16
+ activeInbounds: zod_1.z.array(zod_1.z.uuid()).min(1),
21
17
  }),
22
18
  });
23
19
  })(BulkNodesProfileModificationCommand || (exports.BulkNodesProfileModificationCommand = BulkNodesProfileModificationCommand = {}));
@@ -11,60 +11,40 @@ var CreateNodeCommand;
11
11
  CreateNodeCommand.TSQ_url = CreateNodeCommand.url;
12
12
  CreateNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.CREATE, 'post', 'Create a new node', { scope: 'create', kind: 'write' });
13
13
  CreateNodeCommand.RequestBodySchema = zod_1.z.object({
14
- name: zod_1.z.string().min(3, 'Minimum 3 characters!').max(30, 'Maximum 30 characters!'),
15
- address: zod_1.z.string().min(2, 'Minimum 2 characters!'),
16
- port: zod_1.z
17
- .number()
18
- .int()
19
- .min(1, 'Port is required')
20
- .max(65535, 'Port must be less than 65535')
21
- .optional(),
14
+ name: zod_1.z.string().min(3).max(30),
15
+ address: zod_1.z.string().min(2),
16
+ port: zod_1.z.int().min(1).max(65535).optional(),
22
17
  proxyUrl: zod_1.z
23
18
  .string()
24
19
  .regex(/^socks5:\/\/(?:[^:@/\s]+(?::[^@/\s]*)?@)?[^:@/\s]+:\d{1,5}$/, 'Expected socks5://[user:pass@]host:port')
25
- .nullable()
26
- .optional(),
20
+ .nullish(),
27
21
  isTrafficTrackingActive: zod_1.z.boolean().optional().default(false),
28
- trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0, 'Traffic limit must be greater than 0')),
29
- notifyPercent: zod_1.z.optional(zod_1.z
30
- .number()
31
- .int()
32
- .min(0, 'Notify percent must be greater than 0')
33
- .max(100, 'Notify percent must be less than 100')),
34
- trafficResetDay: zod_1.z.optional(zod_1.z
35
- .number()
36
- .int()
37
- .min(1, 'Traffic reset day must be greater than 0')
38
- .max(31, 'Traffic reset day must be less than 31')),
39
- countryCode: zod_1.z
40
- .string()
41
- .max(2, 'Country code must be 2 characters')
42
- .toUpperCase()
43
- .default('XX'),
22
+ trafficLimitBytes: zod_1.z.number().min(0).optional(),
23
+ notifyPercent: zod_1.z.int().min(0).max(100).optional(),
24
+ trafficResetDay: zod_1.z.int().min(1).max(31).optional(),
25
+ countryCode: zod_1.z.string().max(2).toUpperCase().default('XX'),
44
26
  consumptionMultiplier: zod_1.z.optional(zod_1.z
45
27
  .number()
46
- .min(0.0, 'Consumption multiplier must be greater than 0.0')
47
- .max(100.0, 'Consumption multiplier must be less than 100.0')
28
+ .min(0.0)
29
+ .max(100.0)
48
30
  .transform((n) => Number(n.toFixed(1)))),
49
31
  nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
50
32
  .number()
51
- .min(0.0, 'Node consumption multiplier must be greater than 0.0')
52
- .max(100.0, 'Node consumption multiplier must be less than 100.0')
33
+ .min(0.0)
34
+ .max(100.0)
53
35
  .transform((n) => Number(n.toFixed(1)))),
54
36
  configProfile: zod_1.z.object({
55
- activeConfigProfileUuid: zod_1.z.string().uuid(),
56
- activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
57
- invalid_type_error: 'Config profile inbound UUID must be an array of UUIDs',
58
- }),
37
+ activeConfigProfileUuid: zod_1.z.uuid(),
38
+ activeInbounds: zod_1.z.array(zod_1.z.uuid()),
59
39
  }),
60
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
40
+ providerUuid: zod_1.z.uuid().nullish(),
61
41
  tags: zod_1.z.optional(zod_1.z
62
42
  .array(zod_1.z
63
43
  .string()
64
44
  .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
65
45
  .max(36, 'Each tag must be less than 36 characters'))
66
46
  .max(10, 'Maximum 10 tags')),
67
- activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
47
+ activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.uuid())),
68
48
  note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters')),
69
49
  });
70
50
  CreateNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
@@ -10,6 +10,6 @@ var DeleteNodeCommand;
10
10
  DeleteNodeCommand.TSQ_url = DeleteNodeCommand.url(':uuid');
11
11
  DeleteNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.DELETE(':uuid'), 'delete', 'Delete a node', { scope: 'delete', kind: 'write' });
12
12
  DeleteNodeCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  })(DeleteNodeCommand || (exports.DeleteNodeCommand = DeleteNodeCommand = {}));
@@ -11,7 +11,7 @@ var GetNodeCommand;
11
11
  GetNodeCommand.TSQ_url = GetNodeCommand.url(':uuid');
12
12
  GetNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.GET_BY_UUID(':uuid'), 'get', 'Get node by UUID', { scope: 'get', kind: 'read' });
13
13
  GetNodeCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  GetNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
17
17
  })(GetNodeCommand || (exports.GetNodeCommand = GetNodeCommand = {}));
@@ -17,55 +17,43 @@ var UpdateNodeCommand;
17
17
  UpdateNodeCommand.RequestBodySchema = models_1.NodesSchema.pick({
18
18
  uuid: true,
19
19
  }).extend({
20
- name: zod_1.z.optional(zod_1.z.string().min(3, 'Min. 3 characters').max(30, 'Max. 30 characters')),
21
- address: zod_1.z.optional(zod_1.z.string().min(2, 'Min. 2 characters')),
22
- port: zod_1.z.optional(zod_1.z
23
- .number()
24
- .min(1, 'Port must be greater than 0')
25
- .max(65535, 'Port must be less than 65535')),
20
+ name: zod_1.z.optional(zod_1.z.string().min(3).max(30)),
21
+ address: zod_1.z.optional(zod_1.z.string().min(2)),
22
+ port: zod_1.z.optional(zod_1.z.number().min(1).max(65535)),
26
23
  proxyUrl: zod_1.z
27
24
  .string()
28
25
  .regex(/^socks5:\/\/(?:[^:@/\s]+(?::[^@/\s]*)?@)?[^:@/\s]+:\d{1,5}$/, 'Expected socks5://[user:pass@]host:port')
29
- .nullable()
30
- .optional(),
26
+ .nullish(),
31
27
  isTrafficTrackingActive: zod_1.z.optional(zod_1.z.boolean()),
32
- trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0, 'Traffic limit must be greater than 0')),
33
- notifyPercent: zod_1.z.optional(zod_1.z
34
- .number()
35
- .min(0, 'Notify percent must be greater than 0')
36
- .max(100, 'Notify percent must be less than 100')),
37
- trafficResetDay: zod_1.z.optional(zod_1.z
38
- .number()
39
- .min(1, 'Traffic reset day must be greater than 0')
40
- .max(31, 'Traffic reset day must be less than 31')),
41
- countryCode: zod_1.z.optional(zod_1.z.string().max(2, 'Country code must be 2 characters').toUpperCase()),
28
+ trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0)),
29
+ notifyPercent: zod_1.z.optional(zod_1.z.number().min(0).max(100)),
30
+ trafficResetDay: zod_1.z.optional(zod_1.z.number().min(1).max(31)),
31
+ countryCode: zod_1.z.optional(zod_1.z.string().max(2).toUpperCase()),
42
32
  consumptionMultiplier: zod_1.z.optional(zod_1.z
43
33
  .number()
44
- .min(0.0, 'Consumption multiplier must be greater than 0.0')
45
- .max(100.0, 'Consumption multiplier must be less than 100.0')
34
+ .min(0.0)
35
+ .max(100.0)
46
36
  .transform((n) => Number(n.toFixed(1)))),
47
37
  nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
48
38
  .number()
49
- .min(0.0, 'Node consumption multiplier must be greater than 0.0')
50
- .max(100.0, 'Node consumption multiplier must be less than 100.0')
39
+ .min(0.0)
40
+ .max(100.0)
51
41
  .transform((n) => Number(n.toFixed(1)))),
52
42
  configProfile: zod_1.z
53
43
  .object({
54
- activeConfigProfileUuid: zod_1.z.string().uuid(),
55
- activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
56
- invalid_type_error: 'Must be an array of UUIDs',
57
- }),
44
+ activeConfigProfileUuid: zod_1.z.uuid(),
45
+ activeInbounds: zod_1.z.array(zod_1.z.uuid()),
58
46
  })
59
47
  .optional(),
60
- providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
48
+ providerUuid: zod_1.z.uuid().nullish(),
61
49
  tags: zod_1.z.optional(zod_1.z
62
50
  .array(zod_1.z
63
51
  .string()
64
52
  .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
65
53
  .max(36, 'Each tag must be less than 36 characters'))
66
54
  .max(10, 'Maximum 10 tags')),
67
- activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
68
- note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters').nullable()),
55
+ activePluginUuid: zod_1.z.uuid().nullish(),
56
+ note: zod_1.z.optional(zod_1.z.string().max(255).nullable()),
69
57
  });
70
58
  UpdateNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
71
59
  })(UpdateNodeCommand || (exports.UpdateNodeCommand = UpdateNodeCommand = {}));
@@ -14,18 +14,12 @@ var GetPasskeysCommand;
14
14
  passkeys: zod_1.z.array(zod_1.z.object({
15
15
  id: zod_1.z.string(),
16
16
  name: zod_1.z.string(),
17
- createdAt: zod_1.z
18
- .string({
19
- invalid_type_error: 'Invalid date format',
20
- })
21
- .datetime({ message: 'Invalid date format', offset: true, local: true })
17
+ createdAt: zod_1.z.iso
18
+ .datetime({ offset: true, local: true })
22
19
  .transform((str) => new Date(str))
23
20
  .describe('Created date. Format: 2025-01-17T15:38:45.065Z'),
24
- lastUsedAt: zod_1.z
25
- .string({
26
- invalid_type_error: 'Invalid date format',
27
- })
28
- .datetime({ message: 'Invalid date format', offset: true, local: true })
21
+ lastUsedAt: zod_1.z.iso
22
+ .datetime({ offset: true, local: true })
29
23
  .transform((str) => new Date(str))
30
24
  .describe('Last used date. Format: 2025-01-17T15:38:45.065Z'),
31
25
  })),
@@ -13,8 +13,8 @@ var UpdatePasskeyCommand;
13
13
  id: zod_1.z.string(),
14
14
  name: zod_1.z
15
15
  .string()
16
- .min(2, 'Name must be at least 2 characters')
17
- .max(30, 'Name must be less than 30 characters')
16
+ .min(2)
17
+ .max(30)
18
18
  .regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
19
19
  });
20
20
  UpdatePasskeyCommand.ResponseSchema = zod_1.z.object({
@@ -22,14 +22,12 @@ var UpdatePasskeyCommand;
22
22
  passkeys: zod_1.z.array(zod_1.z.object({
23
23
  id: zod_1.z.string(),
24
24
  name: zod_1.z.string(),
25
- createdAt: zod_1.z
26
- .string()
27
- .datetime({ message: 'Invalid date format', offset: true, local: true })
25
+ createdAt: zod_1.z.iso
26
+ .datetime({ offset: true, local: true })
28
27
  .transform((str) => new Date(str))
29
28
  .describe('Created date. Format: 2025-01-17T15:38:45.065Z'),
30
- lastUsedAt: zod_1.z
31
- .string()
32
- .datetime({ message: 'Invalid date format', offset: true, local: true })
29
+ lastUsedAt: zod_1.z.iso
30
+ .datetime({ offset: true, local: true })
33
31
  .transform((str) => new Date(str))
34
32
  .describe('Last used date. Format: 2025-01-17T15:38:45.065Z'),
35
33
  })),
@@ -13,10 +13,10 @@ var CreateSnippetCommand;
13
13
  CreateSnippetCommand.RequestBodySchema = zod_1.z.object({
14
14
  name: zod_1.z
15
15
  .string()
16
- .min(2, 'Name must be at least 2 characters')
17
- .max(255, 'Name must be less than 255 characters')
16
+ .min(2)
17
+ .max(255)
18
18
  .regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
19
- snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
19
+ snippet: zod_1.z.array(zod_1.z.looseObject({})),
20
20
  });
21
21
  CreateSnippetCommand.ResponseSchema = zod_1.z.object({
22
22
  response: zod_1.z.object({
@@ -13,10 +13,10 @@ var UpdateSnippetCommand;
13
13
  UpdateSnippetCommand.RequestBodySchema = zod_1.z.object({
14
14
  name: zod_1.z
15
15
  .string()
16
- .min(2, 'Name must be at least 2 characters')
17
- .max(255, 'Name must be less than 255 characters')
16
+ .min(2)
17
+ .max(255)
18
18
  .regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
19
- snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
19
+ snippet: zod_1.z.array(zod_1.z.looseObject({})),
20
20
  });
21
21
  UpdateSnippetCommand.ResponseSchema = zod_1.z.object({
22
22
  response: zod_1.z.object({
@@ -10,8 +10,8 @@ var GetSubscriptionByShortUuidByClientTypeCommand;
10
10
  GetSubscriptionByShortUuidByClientTypeCommand.TSQ_url = GetSubscriptionByShortUuidByClientTypeCommand.url(':shortUuid');
11
11
  GetSubscriptionByShortUuidByClientTypeCommand.RequestParamSchema = zod_1.z.object({
12
12
  shortUuid: zod_1.z.string(),
13
- clientType: zod_1.z.nativeEnum(constants_1.REQUEST_TEMPLATE_TYPE, {
14
- message: 'Invalid client type.',
13
+ clientType: zod_1.z.enum(constants_1.REQUEST_TEMPLATE_TYPE, {
14
+ error: 'Invalid client type.'
15
15
  }),
16
16
  });
17
17
  })(GetSubscriptionByShortUuidByClientTypeCommand || (exports.GetSubscriptionByShortUuidByClientTypeCommand = GetSubscriptionByShortUuidByClientTypeCommand = {}));
@@ -11,7 +11,7 @@ var CloneSubpageConfigCommand;
11
11
  CloneSubpageConfigCommand.TSQ_url = CloneSubpageConfigCommand.url;
12
12
  CloneSubpageConfigCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.ACTIONS.CLONE, 'post', 'Clone subscription page config', { scope: 'clone', kind: 'write' });
13
13
  CloneSubpageConfigCommand.RequestBodySchema = zod_1.z.object({
14
- cloneFromUuid: zod_1.z.string().uuid(),
14
+ cloneFromUuid: zod_1.z.uuid(),
15
15
  });
16
16
  CloneSubpageConfigCommand.ResponseSchema = zod_1.z.object({
17
17
  response: models_1.SubscriptionPageConfigSchema.extend({
@@ -10,6 +10,6 @@ var DeleteSubpageConfigCommand;
10
10
  DeleteSubpageConfigCommand.TSQ_url = DeleteSubpageConfigCommand.url(':uuid');
11
11
  DeleteSubpageConfigCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.DELETE(':uuid'), 'delete', 'Delete subscription page config', { scope: 'delete', kind: 'write' });
12
12
  DeleteSubpageConfigCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  })(DeleteSubpageConfigCommand || (exports.DeleteSubpageConfigCommand = DeleteSubpageConfigCommand = {}));
@@ -11,7 +11,7 @@ var GetSubpageConfigCommand;
11
11
  GetSubpageConfigCommand.TSQ_url = GetSubpageConfigCommand.url(':uuid');
12
12
  GetSubpageConfigCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.GET(':uuid'), 'get', 'Get subscription page config by uuid', { scope: 'get', kind: 'read' });
13
13
  GetSubpageConfigCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  GetSubpageConfigCommand.ResponseSchema = zod_1.z.object({
17
17
  response: models_1.SubscriptionPageConfigSchema.extend({
@@ -11,7 +11,7 @@ var UpdateSubpageConfigCommand;
11
11
  UpdateSubpageConfigCommand.TSQ_url = UpdateSubpageConfigCommand.url;
12
12
  UpdateSubpageConfigCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.UPDATE, 'patch', 'Update subscription page config', { scope: 'update', kind: 'write' });
13
13
  UpdateSubpageConfigCommand.RequestBodySchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  name: zod_1.z
16
16
  .string()
17
17
  .min(2, 'Name must be at least 2 characters')
@@ -16,9 +16,7 @@ var GetSubscriptionRequestHistoryStatsCommand;
16
16
  count: zod_1.z.number(),
17
17
  })),
18
18
  hourlyRequestStats: zod_1.z.array(zod_1.z.object({
19
- dateTime: zod_1.z
20
- .string()
21
- .datetime()
19
+ dateTime: zod_1.z.iso.datetime()
22
20
  .transform((str) => new Date(str)),
23
21
  requestCount: zod_1.z.number(),
24
22
  })),
@@ -11,16 +11,13 @@ var UpdateSubscriptionSettingsCommand;
11
11
  UpdateSubscriptionSettingsCommand.TSQ_url = UpdateSubscriptionSettingsCommand.url;
12
12
  UpdateSubscriptionSettingsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_SETTINGS_ROUTES.UPDATE, 'patch', 'Update subscription settings', { scope: 'update', kind: 'write' });
13
13
  UpdateSubscriptionSettingsCommand.RequestBodySchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  profileTitle: zod_1.z.optional(zod_1.z.string()),
16
16
  supportLink: zod_1.z.optional(zod_1.z.string()),
17
- profileUpdateInterval: zod_1.z.optional(zod_1.z.number().int()),
17
+ profileUpdateInterval: zod_1.z.optional(zod_1.z.int()),
18
18
  isProfileWebpageUrlEnabled: zod_1.z.optional(zod_1.z.boolean()),
19
19
  serveJsonAtBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
20
- happAnnounce: zod_1.z.optional(zod_1.z
21
- .string()
22
- .max(200, { message: 'Announce must be less than 200 characters' })
23
- .nullable()),
20
+ happAnnounce: zod_1.z.optional(zod_1.z.string().max(200).nullable()),
24
21
  happRouting: zod_1.z.optional(zod_1.z.string().nullable()),
25
22
  isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
26
23
  customRemarks: zod_1.z.optional(models_1.CustomRemarksSchema),
@@ -13,10 +13,10 @@ var CreateSubscriptionTemplateCommand;
13
13
  CreateSubscriptionTemplateCommand.RequestBodySchema = zod_1.z.object({
14
14
  name: zod_1.z
15
15
  .string()
16
- .min(2, 'Name must be at least 2 characters')
17
- .max(255, 'Name must be less than 255 characters')
16
+ .min(2)
17
+ .max(255)
18
18
  .regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
19
- templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
19
+ templateType: zod_1.z.enum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
20
20
  });
21
21
  CreateSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
22
22
  response: models_1.SubscriptionTemplateSchema,
@@ -10,6 +10,6 @@ var DeleteSubscriptionTemplateCommand;
10
10
  DeleteSubscriptionTemplateCommand.TSQ_url = DeleteSubscriptionTemplateCommand.url(':uuid');
11
11
  DeleteSubscriptionTemplateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.DELETE(':uuid'), 'delete', 'Delete subscription template', { scope: 'delete', kind: 'write' });
12
12
  DeleteSubscriptionTemplateCommand.RequestParamSchema = zod_1.z.object({
13
- uuid: zod_1.z.string().uuid(),
13
+ uuid: zod_1.z.uuid(),
14
14
  });
15
15
  })(DeleteSubscriptionTemplateCommand || (exports.DeleteSubscriptionTemplateCommand = DeleteSubscriptionTemplateCommand = {}));
@@ -11,7 +11,7 @@ var GetSubscriptionTemplateCommand;
11
11
  GetSubscriptionTemplateCommand.TSQ_url = GetSubscriptionTemplateCommand.url(':uuid');
12
12
  GetSubscriptionTemplateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.GET(':uuid'), 'get', 'Get subscription template by uuid', { scope: 'get', kind: 'read' });
13
13
  GetSubscriptionTemplateCommand.RequestParamSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
14
+ uuid: zod_1.z.uuid(),
15
15
  });
16
16
  GetSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
17
17
  response: models_1.SubscriptionTemplateSchema,