@remnawave/backend-contract 2.9.2 → 2.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (800) hide show
  1. package/build/backend/api/controllers/connections.d.ts +9 -0
  2. package/build/backend/api/controllers/connections.d.ts.map +1 -0
  3. package/build/backend/api/controllers/connections.js +16 -0
  4. package/build/backend/api/controllers/index.d.ts +1 -1
  5. package/build/backend/api/controllers/index.d.ts.map +1 -1
  6. package/build/backend/api/controllers/index.js +1 -1
  7. package/build/backend/api/controllers-info.d.ts +4 -4
  8. package/build/backend/api/controllers-info.js +4 -4
  9. package/build/backend/api/routes.d.ts +6 -6
  10. package/build/backend/api/routes.d.ts.map +1 -1
  11. package/build/backend/api/routes.js +6 -6
  12. package/build/backend/commands/api-tokens/create.command.d.ts +9 -54
  13. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  14. package/build/backend/commands/api-tokens/delete.command.d.ts +2 -6
  15. package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
  16. package/build/backend/commands/api-tokens/delete.command.js +1 -1
  17. package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts +9 -91
  18. package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts.map +1 -1
  19. package/build/backend/commands/api-tokens/get-scopes.command.d.ts +21 -144
  20. package/build/backend/commands/api-tokens/get-scopes.command.d.ts.map +1 -1
  21. package/build/backend/commands/auth/get-status.command.d.ts +8 -122
  22. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  23. package/build/backend/commands/auth/get-status.command.js +1 -1
  24. package/build/backend/commands/auth/login.command.d.ts +3 -21
  25. package/build/backend/commands/auth/login.command.d.ts.map +1 -1
  26. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +5 -21
  27. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -1
  28. package/build/backend/commands/auth/oauth2/authorize.command.js +2 -2
  29. package/build/backend/commands/auth/oauth2/callback.command.d.ts +4 -24
  30. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -1
  31. package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
  32. package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts +1 -5
  33. package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts.map +1 -1
  34. package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts +3 -19
  35. package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts.map +1 -1
  36. package/build/backend/commands/auth/register.command.d.ts +3 -21
  37. package/build/backend/commands/auth/register.command.d.ts.map +1 -1
  38. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts +10 -48
  39. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts.map +1 -1
  40. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
  41. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts +10 -52
  42. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map +1 -1
  43. package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
  44. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts +11 -67
  45. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts.map +1 -1
  46. package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
  47. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +13 -123
  48. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts.map +1 -1
  49. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
  50. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts +11 -67
  51. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts.map +1 -1
  52. package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
  53. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +15 -129
  54. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts.map +1 -1
  55. package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
  56. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +17 -252
  57. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -1
  58. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +13 -141
  59. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
  60. package/build/backend/commands/config-profiles/create-config-profile.command.js +1 -1
  61. package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts +2 -6
  62. package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts.map +1 -1
  63. package/build/backend/commands/config-profiles/delete-config-profile.command.js +1 -1
  64. package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +6 -83
  65. package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -1
  66. package/build/backend/commands/config-profiles/get-all-inbounds.command.js +1 -1
  67. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +13 -135
  68. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
  69. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
  70. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +13 -135
  71. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
  72. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
  73. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +12 -186
  74. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
  75. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +8 -89
  76. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
  77. package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
  78. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +14 -140
  79. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
  80. package/build/backend/commands/config-profiles/update-config-profile.command.js +2 -2
  81. package/build/backend/commands/connections/connections-by-node-result.command.d.ts +29 -0
  82. package/build/backend/commands/connections/connections-by-node-result.command.d.ts.map +1 -0
  83. package/build/backend/commands/{ip-control/fetch-users-ips-result.command.js → connections/connections-by-node-result.command.js} +11 -12
  84. package/build/backend/commands/connections/connections-by-node.command.d.ts +17 -0
  85. package/build/backend/commands/connections/connections-by-node.command.d.ts.map +1 -0
  86. package/build/backend/commands/connections/connections-by-node.command.js +20 -0
  87. package/build/backend/commands/connections/connections-by-user-result.command.d.ts +37 -0
  88. package/build/backend/commands/connections/connections-by-user-result.command.d.ts.map +1 -0
  89. package/build/{frontend/commands/ip-control/fetch-ips-result.command.js → backend/commands/connections/connections-by-user-result.command.js} +12 -13
  90. package/build/backend/commands/connections/connections-by-user.command.d.ts +17 -0
  91. package/build/backend/commands/connections/connections-by-user.command.d.ts.map +1 -0
  92. package/build/backend/commands/connections/connections-by-user.command.js +20 -0
  93. package/build/backend/commands/connections/drop-connections.command.d.ts +36 -0
  94. package/build/backend/commands/connections/drop-connections.command.d.ts.map +1 -0
  95. package/build/backend/commands/{ip-control → connections}/drop-connections.command.js +5 -5
  96. package/build/backend/commands/connections/index.d.ts +6 -0
  97. package/build/backend/commands/connections/index.d.ts.map +1 -0
  98. package/build/backend/commands/{ip-control → connections}/index.js +4 -4
  99. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +29 -482
  100. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
  101. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts +2 -6
  102. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts.map +1 -1
  103. package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
  104. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts +2 -6
  105. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts.map +1 -1
  106. package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
  107. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +24 -262
  108. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  109. package/build/backend/commands/external-squads/delete-external-squad.command.d.ts +2 -6
  110. package/build/backend/commands/external-squads/delete-external-squad.command.d.ts.map +1 -1
  111. package/build/backend/commands/external-squads/delete-external-squad.command.js +1 -1
  112. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +25 -263
  113. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  114. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
  115. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +24 -356
  116. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  117. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +41 -403
  118. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  119. package/build/backend/commands/external-squads/update-external-squad.command.js +8 -8
  120. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +2 -6
  121. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  122. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
  123. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +2 -6
  124. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  125. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
  126. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +2 -6
  127. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  128. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
  129. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +16 -93
  130. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
  131. package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
  132. package/build/backend/commands/hosts/create.command.d.ts +33 -261
  133. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  134. package/build/backend/commands/hosts/create.command.js +12 -17
  135. package/build/backend/commands/hosts/delete.command.d.ts +2 -6
  136. package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
  137. package/build/backend/commands/hosts/delete.command.js +1 -1
  138. package/build/backend/commands/hosts/get-host.command.d.ts +20 -178
  139. package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -1
  140. package/build/backend/commands/hosts/get-host.command.js +1 -1
  141. package/build/backend/commands/hosts/get-hosts.command.d.ts +18 -172
  142. package/build/backend/commands/hosts/get-hosts.command.d.ts.map +1 -1
  143. package/build/backend/commands/hosts/host.response.d.ts +18 -172
  144. package/build/backend/commands/hosts/host.response.d.ts.map +1 -1
  145. package/build/backend/commands/hosts/reorder.command.d.ts +7 -98
  146. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  147. package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts +3 -15
  148. package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts.map +1 -1
  149. package/build/backend/commands/hosts/update.command.d.ts +35 -330
  150. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  151. package/build/backend/commands/hosts/update.command.js +12 -17
  152. package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +7 -99
  153. package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
  154. package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -1
  155. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +7 -87
  156. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
  157. package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
  158. package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +7 -89
  159. package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
  160. package/build/backend/commands/hwid/delete-user-hwid-device.command.js +1 -1
  161. package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts +5 -93
  162. package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts.map +1 -1
  163. package/build/backend/commands/hwid/get-hwid-devices.command.d.ts +13 -127
  164. package/build/backend/commands/hwid/get-hwid-devices.command.d.ts.map +1 -1
  165. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +7 -59
  166. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts.map +1 -1
  167. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
  168. package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +7 -87
  169. package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
  170. package/build/backend/commands/hwid/get-user-hwid-devices.command.js +1 -1
  171. package/build/backend/commands/index.d.ts +1 -1
  172. package/build/backend/commands/index.d.ts.map +1 -1
  173. package/build/backend/commands/index.js +1 -1
  174. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +12 -107
  175. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
  176. package/build/backend/commands/infra-billing/create-bill-record.command.js +4 -7
  177. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +23 -739
  178. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  179. package/build/backend/commands/infra-billing/create-billing-node.command.js +4 -7
  180. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +12 -120
  181. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
  182. package/build/backend/commands/infra-billing/create-infra-provider.command.js +2 -2
  183. package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts +2 -6
  184. package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts.map +1 -1
  185. package/build/backend/commands/infra-billing/delete-bill-record.command.js +1 -1
  186. package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts +2 -6
  187. package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts.map +1 -1
  188. package/build/backend/commands/infra-billing/delete-billing-node.command.js +1 -1
  189. package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts +2 -6
  190. package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts.map +1 -1
  191. package/build/backend/commands/infra-billing/delete-infra-provider.command.js +1 -1
  192. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +12 -105
  193. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -1
  194. package/build/backend/commands/infra-billing/get-bill-records.command.js +2 -2
  195. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +19 -725
  196. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  197. package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts +11 -115
  198. package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts.map +1 -1
  199. package/build/backend/commands/infra-billing/get-infra-provider.command.js +1 -1
  200. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +10 -158
  201. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
  202. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +22 -734
  203. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  204. package/build/backend/commands/infra-billing/update-billing-node.command.js +3 -6
  205. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +13 -123
  206. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
  207. package/build/backend/commands/infra-billing/update-infra-provider.command.js +4 -8
  208. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +16 -233
  209. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -1
  210. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +2 -6
  211. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -1
  212. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
  213. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +2 -6
  214. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -1
  215. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
  216. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +12 -126
  217. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
  218. package/build/backend/commands/internal-squads/create-internal-squad.command.js +3 -3
  219. package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts +2 -6
  220. package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts.map +1 -1
  221. package/build/backend/commands/internal-squads/delete-internal-squad.command.js +1 -1
  222. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts +9 -71
  223. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts.map +1 -1
  224. package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
  225. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts +12 -124
  226. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts.map +1 -1
  227. package/build/backend/commands/internal-squads/get-internal-squad.command.js +1 -1
  228. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +11 -171
  229. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
  230. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +13 -129
  231. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
  232. package/build/backend/commands/internal-squads/update-internal-squad.command.js +2 -2
  233. package/build/backend/commands/keygen/get-node-secret-key.command.d.ts +2 -14
  234. package/build/backend/commands/keygen/get-node-secret-key.command.d.ts.map +1 -1
  235. package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts +5 -29
  236. package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts.map +1 -1
  237. package/build/backend/commands/metadata/node/get-node-metadata.command.js +2 -2
  238. package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts +7 -39
  239. package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts.map +1 -1
  240. package/build/backend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
  241. package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts +5 -29
  242. package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts.map +1 -1
  243. package/build/backend/commands/metadata/user/get-user-metadata.command.js +2 -2
  244. package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts +7 -39
  245. package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts.map +1 -1
  246. package/build/backend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
  247. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +4 -33
  248. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -1
  249. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
  250. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +6 -70
  251. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -1
  252. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +3 -31
  253. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -1
  254. package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts +2 -6
  255. package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts.map +1 -1
  256. package/build/backend/commands/node-plugins/delete-node-plugin.command.js +1 -1
  257. package/build/backend/commands/node-plugins/executor.command.d.ts +23 -137
  258. package/build/backend/commands/node-plugins/executor.command.d.ts.map +1 -1
  259. package/build/backend/commands/node-plugins/executor.command.js +3 -3
  260. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +4 -33
  261. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -1
  262. package/build/backend/commands/node-plugins/get-node-plugin.command.js +1 -1
  263. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts +3 -49
  264. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts.map +1 -1
  265. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +7 -123
  266. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts.map +1 -1
  267. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
  268. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +23 -725
  269. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  270. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +4 -37
  271. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -1
  272. package/build/backend/commands/node-plugins/update-node-plugin.command.js +1 -1
  273. package/build/backend/commands/nodes/actions/disable.command.d.ts +32 -532
  274. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  275. package/build/backend/commands/nodes/actions/disable.command.js +1 -1
  276. package/build/backend/commands/nodes/actions/enable.command.d.ts +32 -532
  277. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  278. package/build/backend/commands/nodes/actions/enable.command.js +1 -1
  279. package/build/backend/commands/nodes/actions/reorder.command.d.ts +35 -796
  280. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  281. package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts +2 -6
  282. package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts.map +1 -1
  283. package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -1
  284. package/build/backend/commands/nodes/actions/restart-all.command.d.ts +1 -5
  285. package/build/backend/commands/nodes/actions/restart-all.command.d.ts.map +1 -1
  286. package/build/backend/commands/nodes/actions/restart.command.d.ts +3 -11
  287. package/build/backend/commands/nodes/actions/restart.command.d.ts.map +1 -1
  288. package/build/backend/commands/nodes/actions/restart.command.js +1 -1
  289. package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts +3 -9
  290. package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts.map +1 -1
  291. package/build/backend/commands/nodes/bulk-actions/actions.command.js +2 -2
  292. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +8 -46
  293. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
  294. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
  295. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts +5 -23
  296. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts.map +1 -1
  297. package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
  298. package/build/backend/commands/nodes/create.command.d.ts +42 -584
  299. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  300. package/build/backend/commands/nodes/create.command.js +16 -36
  301. package/build/backend/commands/nodes/delete.command.d.ts +2 -6
  302. package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
  303. package/build/backend/commands/nodes/delete.command.js +1 -1
  304. package/build/backend/commands/nodes/get-node.command.d.ts +32 -532
  305. package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -1
  306. package/build/backend/commands/nodes/get-node.command.js +1 -1
  307. package/build/backend/commands/nodes/get-nodes.command.d.ts +30 -526
  308. package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -1
  309. package/build/backend/commands/nodes/node.response.d.ts +30 -526
  310. package/build/backend/commands/nodes/node.response.d.ts.map +1 -1
  311. package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts +3 -15
  312. package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts.map +1 -1
  313. package/build/backend/commands/nodes/update.command.d.ts +41 -836
  314. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  315. package/build/backend/commands/nodes/update.command.js +17 -29
  316. package/build/backend/commands/passkeys/delete-passkey.command.d.ts +1 -5
  317. package/build/backend/commands/passkeys/delete-passkey.command.d.ts.map +1 -1
  318. package/build/backend/commands/passkeys/get-passkeys.command.d.ts +5 -47
  319. package/build/backend/commands/passkeys/get-passkeys.command.d.ts.map +1 -1
  320. package/build/backend/commands/passkeys/get-passkeys.command.js +4 -10
  321. package/build/backend/commands/passkeys/get-registration-options.command.d.ts +1 -5
  322. package/build/backend/commands/passkeys/get-registration-options.command.d.ts.map +1 -1
  323. package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -54
  324. package/build/backend/commands/passkeys/update-passkey.command.d.ts.map +1 -1
  325. package/build/backend/commands/passkeys/update-passkey.command.js +6 -8
  326. package/build/backend/commands/passkeys/verify-registration.command.d.ts +3 -19
  327. package/build/backend/commands/passkeys/verify-registration.command.d.ts.map +1 -1
  328. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts +25 -457
  329. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts.map +1 -1
  330. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +49 -789
  331. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
  332. package/build/backend/commands/snippets/create-snippet.command.d.ts +5 -45
  333. package/build/backend/commands/snippets/create-snippet.command.d.ts.map +1 -1
  334. package/build/backend/commands/snippets/create-snippet.command.js +3 -3
  335. package/build/backend/commands/snippets/delete-snippet.command.d.ts +1 -5
  336. package/build/backend/commands/snippets/delete-snippet.command.d.ts.map +1 -1
  337. package/build/backend/commands/snippets/get-snippets.command.d.ts +3 -37
  338. package/build/backend/commands/snippets/get-snippets.command.d.ts.map +1 -1
  339. package/build/backend/commands/snippets/update-snippet.command.d.ts +5 -45
  340. package/build/backend/commands/snippets/update-snippet.command.d.ts.map +1 -1
  341. package/build/backend/commands/snippets/update-snippet.command.js +3 -3
  342. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts +2 -8
  343. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts.map +1 -1
  344. package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
  345. package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts +1 -5
  346. package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
  347. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +8 -124
  348. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
  349. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts +4 -33
  350. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts.map +1 -1
  351. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
  352. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +6 -70
  353. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
  354. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +3 -31
  355. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
  356. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts +2 -6
  357. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts.map +1 -1
  358. package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
  359. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +4 -33
  360. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
  361. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
  362. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +3 -49
  363. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
  364. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +4 -37
  365. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
  366. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
  367. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts +5 -57
  368. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts.map +1 -1
  369. package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
  370. package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +12 -102
  371. package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts.map +1 -1
  372. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +31 -492
  373. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
  374. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +59 -847
  375. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
  376. package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
  377. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +7 -92
  378. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -1
  379. package/build/backend/commands/subscription-template/create-template.command.d.ts +5 -43
  380. package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
  381. package/build/backend/commands/subscription-template/create-template.command.js +3 -3
  382. package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +2 -6
  383. package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -1
  384. package/build/backend/commands/subscription-template/delete-subscription-template.command.js +1 -1
  385. package/build/backend/commands/subscription-template/get-template.command.d.ts +5 -41
  386. package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
  387. package/build/backend/commands/subscription-template/get-template.command.js +1 -1
  388. package/build/backend/commands/subscription-template/get-templates.command.d.ts +4 -62
  389. package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
  390. package/build/backend/commands/subscription-template/update-template.command.d.ts +6 -48
  391. package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
  392. package/build/backend/commands/subscription-template/update-template.command.js +4 -4
  393. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts +7 -31
  394. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map +1 -1
  395. package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
  396. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +102 -1301
  397. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  398. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
  399. package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +8 -124
  400. package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts.map +1 -1
  401. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +8 -124
  402. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map +1 -1
  403. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +9 -125
  404. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +1 -1
  405. package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
  406. package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts +11 -181
  407. package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts.map +1 -1
  408. package/build/backend/commands/subscriptions/get-subscriptions.command.js +5 -8
  409. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts +5 -29
  410. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts.map +1 -1
  411. package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
  412. package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +8 -160
  413. package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
  414. package/build/backend/commands/system/get-metadata.command.d.ts +6 -118
  415. package/build/backend/commands/system/get-metadata.command.d.ts.map +1 -1
  416. package/build/backend/commands/system/get-nodes-metrics.command.d.ts +5 -129
  417. package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -1
  418. package/build/backend/commands/system/get-nodes-statistics.d.ts +4 -44
  419. package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
  420. package/build/backend/commands/system/get-recap.command.d.ts +5 -89
  421. package/build/backend/commands/system/get-recap.command.d.ts.map +1 -1
  422. package/build/backend/commands/system/get-recap.command.js +1 -3
  423. package/build/backend/commands/system/get-remnawave-health.command.d.ts +3 -99
  424. package/build/backend/commands/system/get-remnawave-health.command.d.ts.map +1 -1
  425. package/build/backend/commands/system/get-stats.command.d.ts +14 -151
  426. package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
  427. package/build/backend/commands/system/get-stats.command.js +1 -1
  428. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +35 -545
  429. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
  430. package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
  431. package/build/backend/commands/system/tools/generate-x25519.command.d.ts +3 -33
  432. package/build/backend/commands/system/tools/generate-x25519.command.d.ts.map +1 -1
  433. package/build/backend/commands/users/actions/disable-user.command.d.ts +26 -193
  434. package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
  435. package/build/backend/commands/users/actions/disable-user.command.js +1 -1
  436. package/build/backend/commands/users/actions/enable-user.command.d.ts +26 -193
  437. package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
  438. package/build/backend/commands/users/actions/enable-user.command.js +1 -1
  439. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +26 -193
  440. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
  441. package/build/backend/commands/users/actions/reset-user-traffic.command.js +1 -1
  442. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +28 -204
  443. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
  444. package/build/backend/commands/users/actions/revoke-user-subscription.command.js +3 -3
  445. package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts +3 -7
  446. package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts.map +1 -1
  447. package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +2 -6
  448. package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts.map +1 -1
  449. package/build/backend/commands/users/bulk/bulk-delete-users.command.js +1 -4
  450. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts +3 -9
  451. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts.map +1 -1
  452. package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
  453. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts +2 -6
  454. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts.map +1 -1
  455. package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
  456. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +2 -6
  457. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts.map +1 -1
  458. package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
  459. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts +3 -9
  460. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts.map +1 -1
  461. package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
  462. package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +10 -60
  463. package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
  464. package/build/backend/commands/users/bulk/bulk-update-users.command.js +11 -26
  465. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts +2 -6
  466. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts.map +1 -1
  467. package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
  468. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +7 -27
  469. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts.map +1 -1
  470. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
  471. package/build/backend/commands/users/create-user.command.d.ts +38 -241
  472. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  473. package/build/backend/commands/users/create-user.command.js +25 -63
  474. package/build/backend/commands/users/delete-user.command.d.ts +2 -6
  475. package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
  476. package/build/backend/commands/users/delete-user.command.js +1 -1
  477. package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +26 -193
  478. package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +1 -1
  479. package/build/backend/commands/users/get-by/get-user-by-id.command.js +1 -1
  480. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +25 -192
  481. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
  482. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +25 -192
  483. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
  484. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +10 -96
  485. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
  486. package/build/backend/commands/users/get-user-accessible-nodes.command.js +4 -4
  487. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +26 -193
  488. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  489. package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
  490. package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +6 -62
  491. package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts.map +1 -1
  492. package/build/backend/commands/users/get-user-subscription-request-history.command.js +2 -4
  493. package/build/backend/commands/users/get-users-stream.command.d.ts +33 -300
  494. package/build/backend/commands/users/get-users-stream.command.d.ts.map +1 -1
  495. package/build/backend/commands/users/get-users-stream.command.js +10 -11
  496. package/build/backend/commands/users/get-users.command.d.ts +33 -316
  497. package/build/backend/commands/users/get-users.command.d.ts.map +1 -1
  498. package/build/backend/commands/users/resolve-user.command.d.ts +6 -50
  499. package/build/backend/commands/users/resolve-user.command.d.ts.map +1 -1
  500. package/build/backend/commands/users/resolve-user.command.js +3 -3
  501. package/build/backend/commands/users/tags/get-users-tags.command.d.ts +3 -15
  502. package/build/backend/commands/users/tags/get-users-tags.command.d.ts.map +1 -1
  503. package/build/backend/commands/users/update-user.command.d.ts +38 -254
  504. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  505. package/build/backend/commands/users/update-user.command.js +14 -39
  506. package/build/backend/commands/users/user.response.d.ts +24 -187
  507. package/build/backend/commands/users/user.response.d.ts.map +1 -1
  508. package/build/backend/models/api-tokens.schema.d.ts +6 -20
  509. package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
  510. package/build/backend/models/api-tokens.schema.js +4 -10
  511. package/build/backend/models/auth.schema.d.ts +1 -5
  512. package/build/backend/models/auth.schema.d.ts.map +1 -1
  513. package/build/backend/models/base-internal-squad.schema.d.ts +2 -8
  514. package/build/backend/models/base-internal-squad.schema.d.ts.map +1 -1
  515. package/build/backend/models/base-internal-squad.schema.js +1 -1
  516. package/build/backend/models/base-stat.schema.d.ts +1 -9
  517. package/build/backend/models/base-stat.schema.d.ts.map +1 -1
  518. package/build/backend/models/config-profile-inbounds.schema.d.ts +3 -21
  519. package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -1
  520. package/build/backend/models/config-profile-inbounds.schema.js +2 -2
  521. package/build/backend/models/config-profile.schema.d.ts +10 -80
  522. package/build/backend/models/config-profile.schema.d.ts.map +1 -1
  523. package/build/backend/models/config-profile.schema.js +5 -9
  524. package/build/backend/models/extended-users.schema.d.ts +23 -112
  525. package/build/backend/models/extended-users.schema.d.ts.map +1 -1
  526. package/build/backend/models/external-squad.schema.d.ts +22 -166
  527. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  528. package/build/backend/models/external-squad.schema.js +7 -11
  529. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts +2 -8
  530. package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts.map +1 -1
  531. package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts +2 -22
  532. package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts.map +1 -1
  533. package/build/backend/models/hosts.schema.d.ts +17 -95
  534. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  535. package/build/backend/models/hosts.schema.js +13 -13
  536. package/build/backend/models/hwid-user-device.schema.d.ts +3 -23
  537. package/build/backend/models/hwid-user-device.schema.d.ts.map +1 -1
  538. package/build/backend/models/hwid-user-device.schema.js +2 -6
  539. package/build/backend/models/infra-billing-available-node.schema.d.ts +3 -259
  540. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  541. package/build/backend/models/infra-billing-history-record.schema.d.ts +7 -38
  542. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -1
  543. package/build/backend/models/infra-billing-history-record.schema.js +3 -5
  544. package/build/backend/models/infra-billing-node.schema.d.ts +13 -319
  545. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  546. package/build/backend/models/infra-billing-node.schema.js +6 -12
  547. package/build/backend/models/infra-provider.schema.d.ts +12 -86
  548. package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
  549. package/build/backend/models/infra-provider.schema.js +7 -15
  550. package/build/backend/models/internal-squad.schema.d.ts +9 -73
  551. package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
  552. package/build/backend/models/internal-squad.schema.js +4 -8
  553. package/build/backend/models/last-connected-node.schema.d.ts +2 -10
  554. package/build/backend/models/last-connected-node.schema.d.ts.map +1 -1
  555. package/build/backend/models/last-connected-node.schema.js +1 -3
  556. package/build/backend/models/node-plugin.schema.d.ts +1 -11
  557. package/build/backend/models/node-plugin.schema.d.ts.map +1 -1
  558. package/build/backend/models/node-system.schema.d.ts +14 -194
  559. package/build/backend/models/node-system.schema.d.ts.map +1 -1
  560. package/build/backend/models/node-system.schema.js +1 -1
  561. package/build/backend/models/nodes.schema.d.ts +29 -361
  562. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  563. package/build/backend/models/nodes.schema.js +11 -17
  564. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts +1 -7
  565. package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts.map +1 -1
  566. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts +18 -188
  567. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts.map +1 -1
  568. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts +3 -11
  569. package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts.map +1 -1
  570. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts +1 -5
  571. package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts.map +1 -1
  572. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +24 -332
  573. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
  574. package/build/backend/models/resolved-proxy-config.schema.d.ts +168 -1224
  575. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  576. package/build/backend/models/resolved-proxy-config.schema.js +18 -18
  577. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts +2 -12
  578. package/build/backend/models/response-rules/response-rule-condition.schema.d.ts.map +1 -1
  579. package/build/backend/models/response-rules/response-rule-condition.schema.js +1 -1
  580. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +14 -58
  581. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
  582. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts +1 -5
  583. package/build/backend/models/response-rules/response-rule-settings.schema.d.ts.map +1 -1
  584. package/build/backend/models/response-rules/response-rule.schema.d.ts +28 -246
  585. package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
  586. package/build/backend/models/response-rules/response-rule.schema.js +2 -2
  587. package/build/backend/models/response-rules/response-rules-config.schema.d.ts +17 -200
  588. package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
  589. package/build/backend/models/response-rules/response-rules-config.schema.js +1 -1
  590. package/build/backend/models/snippets.schema.d.ts +1 -7
  591. package/build/backend/models/snippets.schema.d.ts.map +1 -1
  592. package/build/backend/models/subscripion-page-config.schema.d.ts +1 -11
  593. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  594. package/build/backend/models/subscription-info.schema.d.ts +6 -74
  595. package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
  596. package/build/backend/models/subscription-info.schema.js +3 -5
  597. package/build/backend/models/subscription-request-history.schema.d.ts +2 -14
  598. package/build/backend/models/subscription-request-history.schema.d.ts.map +1 -1
  599. package/build/backend/models/subscription-request-history.schema.js +1 -4
  600. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +7 -21
  601. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -1
  602. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts +1 -9
  603. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts.map +1 -1
  604. package/build/backend/models/subscription-settings.schema.d.ts +30 -361
  605. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  606. package/build/backend/models/subscription-settings.schema.js +4 -13
  607. package/build/backend/models/subscription-template.schema.d.ts +2 -16
  608. package/build/backend/models/subscription-template.schema.d.ts.map +1 -1
  609. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts +1 -7
  610. package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts.map +1 -1
  611. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts +8 -46
  612. package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts.map +1 -1
  613. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts +1 -7
  614. package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts.map +1 -1
  615. package/build/backend/models/torrent-blocker-report.schema.d.ts +13 -505
  616. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  617. package/build/backend/models/torrent-blocker-report.schema.js +3 -8
  618. package/build/backend/models/user-traffic.schema.d.ts +4 -16
  619. package/build/backend/models/user-traffic.schema.d.ts.map +1 -1
  620. package/build/backend/models/user-traffic.schema.js +3 -9
  621. package/build/backend/models/users.schema.d.ts +17 -63
  622. package/build/backend/models/users.schema.d.ts.map +1 -1
  623. package/build/backend/models/users.schema.js +14 -33
  624. package/build/backend/models/webhook/webhook.schema.d.ts +437 -4841
  625. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  626. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +31 -197
  627. package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
  628. package/build/frontend/api/controllers/connections.js +16 -0
  629. package/build/frontend/api/controllers/index.js +1 -1
  630. package/build/frontend/api/controllers-info.js +4 -4
  631. package/build/frontend/api/routes.js +6 -6
  632. package/build/frontend/commands/api-tokens/delete.command.js +1 -1
  633. package/build/frontend/commands/auth/get-status.command.js +1 -1
  634. package/build/frontend/commands/auth/oauth2/authorize.command.js +2 -2
  635. package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
  636. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
  637. package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
  638. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
  639. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
  640. package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
  641. package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
  642. package/build/frontend/commands/config-profiles/create-config-profile.command.js +1 -1
  643. package/build/frontend/commands/config-profiles/delete-config-profile.command.js +1 -1
  644. package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
  645. package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
  646. package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
  647. package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
  648. package/build/frontend/commands/config-profiles/update-config-profile.command.js +2 -2
  649. package/build/frontend/commands/{ip-control/fetch-users-ips-result.command.js → connections/connections-by-node-result.command.js} +11 -12
  650. package/build/frontend/commands/connections/connections-by-node.command.js +20 -0
  651. package/build/{backend/commands/ip-control/fetch-ips-result.command.js → frontend/commands/connections/connections-by-user-result.command.js} +12 -13
  652. package/build/frontend/commands/connections/connections-by-user.command.js +20 -0
  653. package/build/frontend/commands/{ip-control → connections}/drop-connections.command.js +5 -5
  654. package/build/frontend/commands/{ip-control → connections}/index.js +4 -4
  655. package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
  656. package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
  657. package/build/frontend/commands/external-squads/delete-external-squad.command.js +1 -1
  658. package/build/frontend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
  659. package/build/frontend/commands/external-squads/update-external-squad.command.js +8 -8
  660. package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
  661. package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
  662. package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
  663. package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
  664. package/build/frontend/commands/hosts/create.command.js +12 -17
  665. package/build/frontend/commands/hosts/delete.command.js +1 -1
  666. package/build/frontend/commands/hosts/get-host.command.js +1 -1
  667. package/build/frontend/commands/hosts/update.command.js +12 -17
  668. package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
  669. package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
  670. package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
  671. package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
  672. package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
  673. package/build/frontend/commands/index.js +1 -1
  674. package/build/frontend/commands/infra-billing/create-bill-record.command.js +4 -7
  675. package/build/frontend/commands/infra-billing/create-billing-node.command.js +4 -7
  676. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +2 -2
  677. package/build/frontend/commands/infra-billing/delete-bill-record.command.js +1 -1
  678. package/build/frontend/commands/infra-billing/delete-billing-node.command.js +1 -1
  679. package/build/frontend/commands/infra-billing/delete-infra-provider.command.js +1 -1
  680. package/build/frontend/commands/infra-billing/get-bill-records.command.js +2 -2
  681. package/build/frontend/commands/infra-billing/get-infra-provider.command.js +1 -1
  682. package/build/frontend/commands/infra-billing/update-billing-node.command.js +3 -6
  683. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +4 -8
  684. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
  685. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
  686. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +3 -3
  687. package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +1 -1
  688. package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
  689. package/build/frontend/commands/internal-squads/get-internal-squad.command.js +1 -1
  690. package/build/frontend/commands/internal-squads/update-internal-squad.command.js +2 -2
  691. package/build/frontend/commands/metadata/node/get-node-metadata.command.js +2 -2
  692. package/build/frontend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
  693. package/build/frontend/commands/metadata/user/get-user-metadata.command.js +2 -2
  694. package/build/frontend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
  695. package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
  696. package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +1 -1
  697. package/build/frontend/commands/node-plugins/executor.command.js +3 -3
  698. package/build/frontend/commands/node-plugins/get-node-plugin.command.js +1 -1
  699. package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
  700. package/build/frontend/commands/node-plugins/update-node-plugin.command.js +1 -1
  701. package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
  702. package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
  703. package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
  704. package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
  705. package/build/frontend/commands/nodes/bulk-actions/actions.command.js +2 -2
  706. package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
  707. package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
  708. package/build/frontend/commands/nodes/create.command.js +16 -36
  709. package/build/frontend/commands/nodes/delete.command.js +1 -1
  710. package/build/frontend/commands/nodes/get-node.command.js +1 -1
  711. package/build/frontend/commands/nodes/update.command.js +17 -29
  712. package/build/frontend/commands/passkeys/get-passkeys.command.js +4 -10
  713. package/build/frontend/commands/passkeys/update-passkey.command.js +6 -8
  714. package/build/frontend/commands/snippets/create-snippet.command.js +3 -3
  715. package/build/frontend/commands/snippets/update-snippet.command.js +3 -3
  716. package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
  717. package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
  718. package/build/frontend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
  719. package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
  720. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
  721. package/build/frontend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
  722. package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
  723. package/build/frontend/commands/subscription-template/create-template.command.js +3 -3
  724. package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +1 -1
  725. package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
  726. package/build/frontend/commands/subscription-template/update-template.command.js +4 -4
  727. package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
  728. package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
  729. package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
  730. package/build/frontend/commands/subscriptions/get-subscriptions.command.js +5 -8
  731. package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
  732. package/build/frontend/commands/system/get-recap.command.js +1 -3
  733. package/build/frontend/commands/system/get-stats.command.js +1 -1
  734. package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
  735. package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
  736. package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
  737. package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
  738. package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +3 -3
  739. package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -4
  740. package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
  741. package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
  742. package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
  743. package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
  744. package/build/frontend/commands/users/bulk/bulk-update-users.command.js +11 -26
  745. package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
  746. package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
  747. package/build/frontend/commands/users/create-user.command.js +25 -63
  748. package/build/frontend/commands/users/delete-user.command.js +1 -1
  749. package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
  750. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +4 -4
  751. package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
  752. package/build/frontend/commands/users/get-user-subscription-request-history.command.js +2 -4
  753. package/build/frontend/commands/users/get-users-stream.command.js +10 -11
  754. package/build/frontend/commands/users/resolve-user.command.js +3 -3
  755. package/build/frontend/commands/users/update-user.command.js +14 -39
  756. package/build/frontend/models/api-tokens.schema.js +4 -10
  757. package/build/frontend/models/base-internal-squad.schema.js +1 -1
  758. package/build/frontend/models/config-profile-inbounds.schema.js +2 -2
  759. package/build/frontend/models/config-profile.schema.js +5 -9
  760. package/build/frontend/models/external-squad.schema.js +7 -11
  761. package/build/frontend/models/hosts.schema.js +13 -13
  762. package/build/frontend/models/hwid-user-device.schema.js +2 -6
  763. package/build/frontend/models/infra-billing-history-record.schema.js +3 -5
  764. package/build/frontend/models/infra-billing-node.schema.js +6 -12
  765. package/build/frontend/models/infra-provider.schema.js +7 -15
  766. package/build/frontend/models/internal-squad.schema.js +4 -8
  767. package/build/frontend/models/last-connected-node.schema.js +1 -3
  768. package/build/frontend/models/node-system.schema.js +1 -1
  769. package/build/frontend/models/nodes.schema.js +11 -17
  770. package/build/frontend/models/resolved-proxy-config.schema.js +18 -18
  771. package/build/frontend/models/response-rules/response-rule-condition.schema.js +1 -1
  772. package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
  773. package/build/frontend/models/response-rules/response-rules-config.schema.js +1 -1
  774. package/build/frontend/models/subscription-info.schema.js +3 -5
  775. package/build/frontend/models/subscription-request-history.schema.js +1 -4
  776. package/build/frontend/models/subscription-settings.schema.js +4 -13
  777. package/build/frontend/models/torrent-blocker-report.schema.js +3 -8
  778. package/build/frontend/models/user-traffic.schema.js +3 -9
  779. package/build/frontend/models/users.schema.js +14 -33
  780. package/package.json +2 -2
  781. package/build/backend/api/controllers/ip-control.d.ts +0 -9
  782. package/build/backend/api/controllers/ip-control.d.ts.map +0 -1
  783. package/build/backend/api/controllers/ip-control.js +0 -16
  784. package/build/backend/commands/ip-control/drop-connections.command.d.ts +0 -108
  785. package/build/backend/commands/ip-control/drop-connections.command.d.ts.map +0 -1
  786. package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts +0 -189
  787. package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts.map +0 -1
  788. package/build/backend/commands/ip-control/fetch-ips.command.d.ts +0 -33
  789. package/build/backend/commands/ip-control/fetch-ips.command.d.ts.map +0 -1
  790. package/build/backend/commands/ip-control/fetch-ips.command.js +0 -20
  791. package/build/backend/commands/ip-control/fetch-users-ips-result.command.d.ts +0 -131
  792. package/build/backend/commands/ip-control/fetch-users-ips-result.command.d.ts.map +0 -1
  793. package/build/backend/commands/ip-control/fetch-users-ips.command.d.ts +0 -33
  794. package/build/backend/commands/ip-control/fetch-users-ips.command.d.ts.map +0 -1
  795. package/build/backend/commands/ip-control/fetch-users-ips.command.js +0 -20
  796. package/build/backend/commands/ip-control/index.d.ts +0 -6
  797. package/build/backend/commands/ip-control/index.d.ts.map +0 -1
  798. package/build/frontend/api/controllers/ip-control.js +0 -16
  799. package/build/frontend/commands/ip-control/fetch-ips.command.js +0 -20
  800. package/build/frontend/commands/ip-control/fetch-users-ips.command.js +0 -20
@@ -2,234 +2,79 @@ import { z } from 'zod';
2
2
  export declare const VlessProtocolOptionsSchema: z.ZodObject<{
3
3
  encryption: z.ZodString;
4
4
  id: z.ZodString;
5
- flow: z.ZodEnum<["", "xtls-rprx-vision", "xtls-rprx-vision-udp443"]>;
6
- }, "strip", z.ZodTypeAny, {
7
- id: string;
8
- encryption: string;
9
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
10
- }, {
11
- id: string;
12
- encryption: string;
13
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
14
- }>;
5
+ flow: z.ZodEnum<{
6
+ "": "";
7
+ "xtls-rprx-vision": "xtls-rprx-vision";
8
+ "xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
9
+ }>;
10
+ }, z.core.$strip>;
15
11
  export declare const TrojanProtocolOptionsSchema: z.ZodObject<{
16
12
  password: z.ZodString;
17
- }, "strip", z.ZodTypeAny, {
18
- password: string;
19
- }, {
20
- password: string;
21
- }>;
13
+ }, z.core.$strip>;
22
14
  export declare const ShadowsocksProtocolOptionsSchema: z.ZodObject<{
23
15
  method: z.ZodString;
24
16
  password: z.ZodString;
25
17
  uot: z.ZodBoolean;
26
- uotVersion: z.ZodNumber;
27
- }, "strip", z.ZodTypeAny, {
28
- method: string;
29
- password: string;
30
- uot: boolean;
31
- uotVersion: number;
32
- }, {
33
- method: string;
34
- password: string;
35
- uot: boolean;
36
- uotVersion: number;
37
- }>;
18
+ uotVersion: z.ZodInt;
19
+ }, z.core.$strip>;
38
20
  export declare const TcpTransportOptionsSchema: z.ZodObject<{
39
- header: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
21
+ header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
40
22
  type: z.ZodLiteral<"none">;
41
- }, "strip", z.ZodTypeAny, {
42
- type: "none";
43
- }, {
44
- type: "none";
45
- }>, z.ZodObject<{
23
+ }, z.core.$strip>, z.ZodObject<{
46
24
  type: z.ZodLiteral<"http">;
47
25
  request: z.ZodOptional<z.ZodObject<{
48
26
  version: z.ZodOptional<z.ZodString>;
49
27
  method: z.ZodOptional<z.ZodString>;
50
- path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
29
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
- }, "strip", z.ZodTypeAny, {
53
- path?: string[] | undefined;
54
- method?: string | undefined;
55
- headers?: Record<string, unknown> | undefined;
56
- version?: string | undefined;
57
- }, {
58
- path?: string[] | undefined;
59
- method?: string | undefined;
60
- headers?: Record<string, unknown> | undefined;
61
- version?: string | undefined;
62
- }>>;
30
+ }, z.core.$strip>>;
63
31
  response: z.ZodOptional<z.ZodObject<{
64
32
  version: z.ZodOptional<z.ZodString>;
65
33
  status: z.ZodOptional<z.ZodString>;
66
34
  reason: z.ZodOptional<z.ZodString>;
67
35
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
68
- }, "strip", z.ZodTypeAny, {
69
- status?: string | undefined;
70
- headers?: Record<string, unknown> | undefined;
71
- version?: string | undefined;
72
- reason?: string | undefined;
73
- }, {
74
- status?: string | undefined;
75
- headers?: Record<string, unknown> | undefined;
76
- version?: string | undefined;
77
- reason?: string | undefined;
78
- }>>;
79
- }, "strip", z.ZodTypeAny, {
80
- type: "http";
81
- response?: {
82
- status?: string | undefined;
83
- headers?: Record<string, unknown> | undefined;
84
- version?: string | undefined;
85
- reason?: string | undefined;
86
- } | undefined;
87
- request?: {
88
- path?: string[] | undefined;
89
- method?: string | undefined;
90
- headers?: Record<string, unknown> | undefined;
91
- version?: string | undefined;
92
- } | undefined;
93
- }, {
94
- type: "http";
95
- response?: {
96
- status?: string | undefined;
97
- headers?: Record<string, unknown> | undefined;
98
- version?: string | undefined;
99
- reason?: string | undefined;
100
- } | undefined;
101
- request?: {
102
- path?: string[] | undefined;
103
- method?: string | undefined;
104
- headers?: Record<string, unknown> | undefined;
105
- version?: string | undefined;
106
- } | undefined;
107
- }>]>>;
108
- }, "strip", z.ZodTypeAny, {
109
- header: {
110
- type: "none";
111
- } | {
112
- type: "http";
113
- response?: {
114
- status?: string | undefined;
115
- headers?: Record<string, unknown> | undefined;
116
- version?: string | undefined;
117
- reason?: string | undefined;
118
- } | undefined;
119
- request?: {
120
- path?: string[] | undefined;
121
- method?: string | undefined;
122
- headers?: Record<string, unknown> | undefined;
123
- version?: string | undefined;
124
- } | undefined;
125
- } | null;
126
- }, {
127
- header: {
128
- type: "none";
129
- } | {
130
- type: "http";
131
- response?: {
132
- status?: string | undefined;
133
- headers?: Record<string, unknown> | undefined;
134
- version?: string | undefined;
135
- reason?: string | undefined;
136
- } | undefined;
137
- request?: {
138
- path?: string[] | undefined;
139
- method?: string | undefined;
140
- headers?: Record<string, unknown> | undefined;
141
- version?: string | undefined;
142
- } | undefined;
143
- } | null;
144
- }>;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>], "type">>;
38
+ }, z.core.$strip>;
145
39
  export declare const XhttpTransportOptionsSchema: z.ZodObject<{
146
40
  path: z.ZodNullable<z.ZodString>;
147
41
  host: z.ZodNullable<z.ZodString>;
148
- mode: z.ZodEnum<["auto", "packet-up", "stream-up", "stream-one"]>;
42
+ mode: z.ZodEnum<{
43
+ auto: "auto";
44
+ "packet-up": "packet-up";
45
+ "stream-up": "stream-up";
46
+ "stream-one": "stream-one";
47
+ }>;
149
48
  extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
150
- }, "strip", z.ZodTypeAny, {
151
- path: string | null;
152
- host: string | null;
153
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
154
- extra: Record<string, unknown> | null;
155
- }, {
156
- path: string | null;
157
- host: string | null;
158
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
159
- extra: Record<string, unknown> | null;
160
- }>;
49
+ }, z.core.$strip>;
161
50
  export declare const WsTransportOptionsSchema: z.ZodObject<{
162
51
  path: z.ZodNullable<z.ZodString>;
163
52
  host: z.ZodNullable<z.ZodString>;
164
53
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
165
54
  heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
166
- }, "strip", z.ZodTypeAny, {
167
- path: string | null;
168
- host: string | null;
169
- headers: Record<string, string> | null;
170
- heartbeatPeriod: number | null;
171
- }, {
172
- path: string | null;
173
- host: string | null;
174
- headers: Record<string, string> | null;
175
- heartbeatPeriod: number | null;
176
- }>;
55
+ }, z.core.$strip>;
177
56
  export declare const HttpUpgradeTransportOptionsSchema: z.ZodObject<{
178
57
  path: z.ZodNullable<z.ZodString>;
179
58
  host: z.ZodNullable<z.ZodString>;
180
59
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
181
- }, "strip", z.ZodTypeAny, {
182
- path: string | null;
183
- host: string | null;
184
- headers: Record<string, string> | null;
185
- }, {
186
- path: string | null;
187
- host: string | null;
188
- headers: Record<string, string> | null;
189
- }>;
60
+ }, z.core.$strip>;
190
61
  export declare const GrpcTransportOptionsSchema: z.ZodObject<{
191
62
  authority: z.ZodNullable<z.ZodString>;
192
63
  serviceName: z.ZodNullable<z.ZodString>;
193
64
  multiMode: z.ZodBoolean;
194
- }, "strip", z.ZodTypeAny, {
195
- authority: string | null;
196
- serviceName: string | null;
197
- multiMode: boolean;
198
- }, {
199
- authority: string | null;
200
- serviceName: string | null;
201
- multiMode: boolean;
202
- }>;
65
+ }, z.core.$strip>;
203
66
  export declare const KcpTransportOptionsSchema: z.ZodObject<{
204
- clientMtu: z.ZodNumber;
205
- clientTti: z.ZodNumber;
67
+ clientMtu: z.ZodInt;
68
+ clientTti: z.ZodInt;
206
69
  congestion: z.ZodBoolean;
207
- }, "strip", z.ZodTypeAny, {
208
- clientMtu: number;
209
- clientTti: number;
210
- congestion: boolean;
211
- }, {
212
- clientMtu: number;
213
- clientTti: number;
214
- congestion: boolean;
215
- }>;
70
+ }, z.core.$strip>;
216
71
  export declare const HysteriaProtocolOptionsSchema: z.ZodObject<{
217
- version: z.ZodNumber;
218
- }, "strip", z.ZodTypeAny, {
219
- version: number;
220
- }, {
221
- version: number;
222
- }>;
72
+ version: z.ZodInt;
73
+ }, z.core.$strip>;
223
74
  export declare const HysteriaTransportOptionsSchema: z.ZodObject<{
224
- version: z.ZodNumber;
75
+ version: z.ZodInt;
225
76
  auth: z.ZodString;
226
- }, "strip", z.ZodTypeAny, {
227
- auth: string;
228
- version: number;
229
- }, {
230
- auth: string;
231
- version: number;
232
- }>;
77
+ }, z.core.$strip>;
233
78
  export declare const TlsSecurityOptionsSchema: z.ZodObject<{
234
79
  pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
235
80
  verifyPeerCertByName: z.ZodNullable<z.ZodString>;
@@ -239,25 +84,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
239
84
  serverName: z.ZodNullable<z.ZodString>;
240
85
  echConfigList: z.ZodNullable<z.ZodString>;
241
86
  echForceQuery: z.ZodNullable<z.ZodString>;
242
- }, "strip", z.ZodTypeAny, {
243
- alpn: string | null;
244
- fingerprint: string | null;
245
- pinnedPeerCertSha256: string | null;
246
- verifyPeerCertByName: string | null;
247
- enableSessionResumption: boolean;
248
- serverName: string | null;
249
- echConfigList: string | null;
250
- echForceQuery: string | null;
251
- }, {
252
- alpn: string | null;
253
- fingerprint: string | null;
254
- pinnedPeerCertSha256: string | null;
255
- verifyPeerCertByName: string | null;
256
- enableSessionResumption: boolean;
257
- serverName: string | null;
258
- echConfigList: string | null;
259
- echForceQuery: string | null;
260
- }>;
87
+ }, z.core.$strip>;
261
88
  export declare const RealitySecurityOptionsSchema: z.ZodObject<{
262
89
  fingerprint: z.ZodString;
263
90
  publicKey: z.ZodString;
@@ -265,455 +92,108 @@ export declare const RealitySecurityOptionsSchema: z.ZodObject<{
265
92
  serverName: z.ZodString;
266
93
  spiderX: z.ZodNullable<z.ZodString>;
267
94
  mldsa65Verify: z.ZodNullable<z.ZodString>;
268
- }, "strip", z.ZodTypeAny, {
269
- fingerprint: string;
270
- serverName: string;
271
- publicKey: string;
272
- shortId: string | null;
273
- spiderX: string | null;
274
- mldsa65Verify: string | null;
275
- }, {
276
- fingerprint: string;
277
- serverName: string;
278
- publicKey: string;
279
- shortId: string | null;
280
- spiderX: string | null;
281
- mldsa65Verify: string | null;
282
- }>;
283
- export declare const ProtocolVariantSchema: z.ZodDiscriminatedUnion<"protocol", [z.ZodObject<{
95
+ }, z.core.$strip>;
96
+ export declare const ProtocolVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
284
97
  protocol: z.ZodLiteral<"vless">;
285
98
  protocolOptions: z.ZodObject<{
286
99
  encryption: z.ZodString;
287
100
  id: z.ZodString;
288
- flow: z.ZodEnum<["", "xtls-rprx-vision", "xtls-rprx-vision-udp443"]>;
289
- }, "strip", z.ZodTypeAny, {
290
- id: string;
291
- encryption: string;
292
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
293
- }, {
294
- id: string;
295
- encryption: string;
296
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
297
- }>;
298
- }, "strip", z.ZodTypeAny, {
299
- protocol: "vless";
300
- protocolOptions: {
301
- id: string;
302
- encryption: string;
303
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
304
- };
305
- }, {
306
- protocol: "vless";
307
- protocolOptions: {
308
- id: string;
309
- encryption: string;
310
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
311
- };
312
- }>, z.ZodObject<{
101
+ flow: z.ZodEnum<{
102
+ "": "";
103
+ "xtls-rprx-vision": "xtls-rprx-vision";
104
+ "xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
105
+ }>;
106
+ }, z.core.$strip>;
107
+ }, z.core.$strip>, z.ZodObject<{
313
108
  protocol: z.ZodLiteral<"trojan">;
314
109
  protocolOptions: z.ZodObject<{
315
110
  password: z.ZodString;
316
- }, "strip", z.ZodTypeAny, {
317
- password: string;
318
- }, {
319
- password: string;
320
- }>;
321
- }, "strip", z.ZodTypeAny, {
322
- protocol: "trojan";
323
- protocolOptions: {
324
- password: string;
325
- };
326
- }, {
327
- protocol: "trojan";
328
- protocolOptions: {
329
- password: string;
330
- };
331
- }>, z.ZodObject<{
111
+ }, z.core.$strip>;
112
+ }, z.core.$strip>, z.ZodObject<{
332
113
  protocol: z.ZodLiteral<"shadowsocks">;
333
114
  protocolOptions: z.ZodObject<{
334
115
  method: z.ZodString;
335
116
  password: z.ZodString;
336
117
  uot: z.ZodBoolean;
337
- uotVersion: z.ZodNumber;
338
- }, "strip", z.ZodTypeAny, {
339
- method: string;
340
- password: string;
341
- uot: boolean;
342
- uotVersion: number;
343
- }, {
344
- method: string;
345
- password: string;
346
- uot: boolean;
347
- uotVersion: number;
348
- }>;
349
- }, "strip", z.ZodTypeAny, {
350
- protocol: "shadowsocks";
351
- protocolOptions: {
352
- method: string;
353
- password: string;
354
- uot: boolean;
355
- uotVersion: number;
356
- };
357
- }, {
358
- protocol: "shadowsocks";
359
- protocolOptions: {
360
- method: string;
361
- password: string;
362
- uot: boolean;
363
- uotVersion: number;
364
- };
365
- }>, z.ZodObject<{
118
+ uotVersion: z.ZodInt;
119
+ }, z.core.$strip>;
120
+ }, z.core.$strip>, z.ZodObject<{
366
121
  protocol: z.ZodLiteral<"hysteria">;
367
122
  protocolOptions: z.ZodObject<{
368
- version: z.ZodNumber;
369
- }, "strip", z.ZodTypeAny, {
370
- version: number;
371
- }, {
372
- version: number;
373
- }>;
374
- }, "strip", z.ZodTypeAny, {
375
- protocol: "hysteria";
376
- protocolOptions: {
377
- version: number;
378
- };
379
- }, {
380
- protocol: "hysteria";
381
- protocolOptions: {
382
- version: number;
383
- };
384
- }>]>;
385
- export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
123
+ version: z.ZodInt;
124
+ }, z.core.$strip>;
125
+ }, z.core.$strip>], "protocol">;
126
+ export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
386
127
  transport: z.ZodLiteral<"tcp">;
387
128
  transportOptions: z.ZodObject<{
388
- header: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
129
+ header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
389
130
  type: z.ZodLiteral<"none">;
390
- }, "strip", z.ZodTypeAny, {
391
- type: "none";
392
- }, {
393
- type: "none";
394
- }>, z.ZodObject<{
131
+ }, z.core.$strip>, z.ZodObject<{
395
132
  type: z.ZodLiteral<"http">;
396
133
  request: z.ZodOptional<z.ZodObject<{
397
134
  version: z.ZodOptional<z.ZodString>;
398
135
  method: z.ZodOptional<z.ZodString>;
399
- path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
136
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
400
137
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
401
- }, "strip", z.ZodTypeAny, {
402
- path?: string[] | undefined;
403
- method?: string | undefined;
404
- headers?: Record<string, unknown> | undefined;
405
- version?: string | undefined;
406
- }, {
407
- path?: string[] | undefined;
408
- method?: string | undefined;
409
- headers?: Record<string, unknown> | undefined;
410
- version?: string | undefined;
411
- }>>;
138
+ }, z.core.$strip>>;
412
139
  response: z.ZodOptional<z.ZodObject<{
413
140
  version: z.ZodOptional<z.ZodString>;
414
141
  status: z.ZodOptional<z.ZodString>;
415
142
  reason: z.ZodOptional<z.ZodString>;
416
143
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
417
- }, "strip", z.ZodTypeAny, {
418
- status?: string | undefined;
419
- headers?: Record<string, unknown> | undefined;
420
- version?: string | undefined;
421
- reason?: string | undefined;
422
- }, {
423
- status?: string | undefined;
424
- headers?: Record<string, unknown> | undefined;
425
- version?: string | undefined;
426
- reason?: string | undefined;
427
- }>>;
428
- }, "strip", z.ZodTypeAny, {
429
- type: "http";
430
- response?: {
431
- status?: string | undefined;
432
- headers?: Record<string, unknown> | undefined;
433
- version?: string | undefined;
434
- reason?: string | undefined;
435
- } | undefined;
436
- request?: {
437
- path?: string[] | undefined;
438
- method?: string | undefined;
439
- headers?: Record<string, unknown> | undefined;
440
- version?: string | undefined;
441
- } | undefined;
442
- }, {
443
- type: "http";
444
- response?: {
445
- status?: string | undefined;
446
- headers?: Record<string, unknown> | undefined;
447
- version?: string | undefined;
448
- reason?: string | undefined;
449
- } | undefined;
450
- request?: {
451
- path?: string[] | undefined;
452
- method?: string | undefined;
453
- headers?: Record<string, unknown> | undefined;
454
- version?: string | undefined;
455
- } | undefined;
456
- }>]>>;
457
- }, "strip", z.ZodTypeAny, {
458
- header: {
459
- type: "none";
460
- } | {
461
- type: "http";
462
- response?: {
463
- status?: string | undefined;
464
- headers?: Record<string, unknown> | undefined;
465
- version?: string | undefined;
466
- reason?: string | undefined;
467
- } | undefined;
468
- request?: {
469
- path?: string[] | undefined;
470
- method?: string | undefined;
471
- headers?: Record<string, unknown> | undefined;
472
- version?: string | undefined;
473
- } | undefined;
474
- } | null;
475
- }, {
476
- header: {
477
- type: "none";
478
- } | {
479
- type: "http";
480
- response?: {
481
- status?: string | undefined;
482
- headers?: Record<string, unknown> | undefined;
483
- version?: string | undefined;
484
- reason?: string | undefined;
485
- } | undefined;
486
- request?: {
487
- path?: string[] | undefined;
488
- method?: string | undefined;
489
- headers?: Record<string, unknown> | undefined;
490
- version?: string | undefined;
491
- } | undefined;
492
- } | null;
493
- }>;
494
- }, "strip", z.ZodTypeAny, {
495
- transport: "tcp";
496
- transportOptions: {
497
- header: {
498
- type: "none";
499
- } | {
500
- type: "http";
501
- response?: {
502
- status?: string | undefined;
503
- headers?: Record<string, unknown> | undefined;
504
- version?: string | undefined;
505
- reason?: string | undefined;
506
- } | undefined;
507
- request?: {
508
- path?: string[] | undefined;
509
- method?: string | undefined;
510
- headers?: Record<string, unknown> | undefined;
511
- version?: string | undefined;
512
- } | undefined;
513
- } | null;
514
- };
515
- }, {
516
- transport: "tcp";
517
- transportOptions: {
518
- header: {
519
- type: "none";
520
- } | {
521
- type: "http";
522
- response?: {
523
- status?: string | undefined;
524
- headers?: Record<string, unknown> | undefined;
525
- version?: string | undefined;
526
- reason?: string | undefined;
527
- } | undefined;
528
- request?: {
529
- path?: string[] | undefined;
530
- method?: string | undefined;
531
- headers?: Record<string, unknown> | undefined;
532
- version?: string | undefined;
533
- } | undefined;
534
- } | null;
535
- };
536
- }>, z.ZodObject<{
144
+ }, z.core.$strip>>;
145
+ }, z.core.$strip>], "type">>;
146
+ }, z.core.$strip>;
147
+ }, z.core.$strip>, z.ZodObject<{
537
148
  transport: z.ZodLiteral<"xhttp">;
538
149
  transportOptions: z.ZodObject<{
539
150
  path: z.ZodNullable<z.ZodString>;
540
151
  host: z.ZodNullable<z.ZodString>;
541
- mode: z.ZodEnum<["auto", "packet-up", "stream-up", "stream-one"]>;
152
+ mode: z.ZodEnum<{
153
+ auto: "auto";
154
+ "packet-up": "packet-up";
155
+ "stream-up": "stream-up";
156
+ "stream-one": "stream-one";
157
+ }>;
542
158
  extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
543
- }, "strip", z.ZodTypeAny, {
544
- path: string | null;
545
- host: string | null;
546
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
547
- extra: Record<string, unknown> | null;
548
- }, {
549
- path: string | null;
550
- host: string | null;
551
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
552
- extra: Record<string, unknown> | null;
553
- }>;
554
- }, "strip", z.ZodTypeAny, {
555
- transport: "xhttp";
556
- transportOptions: {
557
- path: string | null;
558
- host: string | null;
559
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
560
- extra: Record<string, unknown> | null;
561
- };
562
- }, {
563
- transport: "xhttp";
564
- transportOptions: {
565
- path: string | null;
566
- host: string | null;
567
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
568
- extra: Record<string, unknown> | null;
569
- };
570
- }>, z.ZodObject<{
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>, z.ZodObject<{
571
161
  transport: z.ZodLiteral<"ws">;
572
162
  transportOptions: z.ZodObject<{
573
163
  path: z.ZodNullable<z.ZodString>;
574
164
  host: z.ZodNullable<z.ZodString>;
575
165
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
576
166
  heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
577
- }, "strip", z.ZodTypeAny, {
578
- path: string | null;
579
- host: string | null;
580
- headers: Record<string, string> | null;
581
- heartbeatPeriod: number | null;
582
- }, {
583
- path: string | null;
584
- host: string | null;
585
- headers: Record<string, string> | null;
586
- heartbeatPeriod: number | null;
587
- }>;
588
- }, "strip", z.ZodTypeAny, {
589
- transport: "ws";
590
- transportOptions: {
591
- path: string | null;
592
- host: string | null;
593
- headers: Record<string, string> | null;
594
- heartbeatPeriod: number | null;
595
- };
596
- }, {
597
- transport: "ws";
598
- transportOptions: {
599
- path: string | null;
600
- host: string | null;
601
- headers: Record<string, string> | null;
602
- heartbeatPeriod: number | null;
603
- };
604
- }>, z.ZodObject<{
167
+ }, z.core.$strip>;
168
+ }, z.core.$strip>, z.ZodObject<{
605
169
  transport: z.ZodLiteral<"httpupgrade">;
606
170
  transportOptions: z.ZodObject<{
607
171
  path: z.ZodNullable<z.ZodString>;
608
172
  host: z.ZodNullable<z.ZodString>;
609
173
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
610
- }, "strip", z.ZodTypeAny, {
611
- path: string | null;
612
- host: string | null;
613
- headers: Record<string, string> | null;
614
- }, {
615
- path: string | null;
616
- host: string | null;
617
- headers: Record<string, string> | null;
618
- }>;
619
- }, "strip", z.ZodTypeAny, {
620
- transport: "httpupgrade";
621
- transportOptions: {
622
- path: string | null;
623
- host: string | null;
624
- headers: Record<string, string> | null;
625
- };
626
- }, {
627
- transport: "httpupgrade";
628
- transportOptions: {
629
- path: string | null;
630
- host: string | null;
631
- headers: Record<string, string> | null;
632
- };
633
- }>, z.ZodObject<{
174
+ }, z.core.$strip>;
175
+ }, z.core.$strip>, z.ZodObject<{
634
176
  transport: z.ZodLiteral<"grpc">;
635
177
  transportOptions: z.ZodObject<{
636
178
  authority: z.ZodNullable<z.ZodString>;
637
179
  serviceName: z.ZodNullable<z.ZodString>;
638
180
  multiMode: z.ZodBoolean;
639
- }, "strip", z.ZodTypeAny, {
640
- authority: string | null;
641
- serviceName: string | null;
642
- multiMode: boolean;
643
- }, {
644
- authority: string | null;
645
- serviceName: string | null;
646
- multiMode: boolean;
647
- }>;
648
- }, "strip", z.ZodTypeAny, {
649
- transport: "grpc";
650
- transportOptions: {
651
- authority: string | null;
652
- serviceName: string | null;
653
- multiMode: boolean;
654
- };
655
- }, {
656
- transport: "grpc";
657
- transportOptions: {
658
- authority: string | null;
659
- serviceName: string | null;
660
- multiMode: boolean;
661
- };
662
- }>, z.ZodObject<{
181
+ }, z.core.$strip>;
182
+ }, z.core.$strip>, z.ZodObject<{
663
183
  transport: z.ZodLiteral<"kcp">;
664
184
  transportOptions: z.ZodObject<{
665
- clientMtu: z.ZodNumber;
666
- clientTti: z.ZodNumber;
185
+ clientMtu: z.ZodInt;
186
+ clientTti: z.ZodInt;
667
187
  congestion: z.ZodBoolean;
668
- }, "strip", z.ZodTypeAny, {
669
- clientMtu: number;
670
- clientTti: number;
671
- congestion: boolean;
672
- }, {
673
- clientMtu: number;
674
- clientTti: number;
675
- congestion: boolean;
676
- }>;
677
- }, "strip", z.ZodTypeAny, {
678
- transport: "kcp";
679
- transportOptions: {
680
- clientMtu: number;
681
- clientTti: number;
682
- congestion: boolean;
683
- };
684
- }, {
685
- transport: "kcp";
686
- transportOptions: {
687
- clientMtu: number;
688
- clientTti: number;
689
- congestion: boolean;
690
- };
691
- }>, z.ZodObject<{
188
+ }, z.core.$strip>;
189
+ }, z.core.$strip>, z.ZodObject<{
692
190
  transport: z.ZodLiteral<"hysteria">;
693
191
  transportOptions: z.ZodObject<{
694
- version: z.ZodNumber;
192
+ version: z.ZodInt;
695
193
  auth: z.ZodString;
696
- }, "strip", z.ZodTypeAny, {
697
- auth: string;
698
- version: number;
699
- }, {
700
- auth: string;
701
- version: number;
702
- }>;
703
- }, "strip", z.ZodTypeAny, {
704
- transport: "hysteria";
705
- transportOptions: {
706
- auth: string;
707
- version: number;
708
- };
709
- }, {
710
- transport: "hysteria";
711
- transportOptions: {
712
- auth: string;
713
- version: number;
714
- };
715
- }>]>;
716
- export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security", [z.ZodObject<{
194
+ }, z.core.$strip>;
195
+ }, z.core.$strip>], "transport">;
196
+ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
717
197
  security: z.ZodLiteral<"tls">;
718
198
  securityOptions: z.ZodObject<{
719
199
  pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
@@ -724,50 +204,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
724
204
  serverName: z.ZodNullable<z.ZodString>;
725
205
  echConfigList: z.ZodNullable<z.ZodString>;
726
206
  echForceQuery: z.ZodNullable<z.ZodString>;
727
- }, "strip", z.ZodTypeAny, {
728
- alpn: string | null;
729
- fingerprint: string | null;
730
- pinnedPeerCertSha256: string | null;
731
- verifyPeerCertByName: string | null;
732
- enableSessionResumption: boolean;
733
- serverName: string | null;
734
- echConfigList: string | null;
735
- echForceQuery: string | null;
736
- }, {
737
- alpn: string | null;
738
- fingerprint: string | null;
739
- pinnedPeerCertSha256: string | null;
740
- verifyPeerCertByName: string | null;
741
- enableSessionResumption: boolean;
742
- serverName: string | null;
743
- echConfigList: string | null;
744
- echForceQuery: string | null;
745
- }>;
746
- }, "strip", z.ZodTypeAny, {
747
- security: "tls";
748
- securityOptions: {
749
- alpn: string | null;
750
- fingerprint: string | null;
751
- pinnedPeerCertSha256: string | null;
752
- verifyPeerCertByName: string | null;
753
- enableSessionResumption: boolean;
754
- serverName: string | null;
755
- echConfigList: string | null;
756
- echForceQuery: string | null;
757
- };
758
- }, {
759
- security: "tls";
760
- securityOptions: {
761
- alpn: string | null;
762
- fingerprint: string | null;
763
- pinnedPeerCertSha256: string | null;
764
- verifyPeerCertByName: string | null;
765
- enableSessionResumption: boolean;
766
- serverName: string | null;
767
- echConfigList: string | null;
768
- echForceQuery: string | null;
769
- };
770
- }>, z.ZodObject<{
207
+ }, z.core.$strip>;
208
+ }, z.core.$strip>, z.ZodObject<{
771
209
  security: z.ZodLiteral<"reality">;
772
210
  securityOptions: z.ZodObject<{
773
211
  fingerprint: z.ZodString;
@@ -776,325 +214,123 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
776
214
  serverName: z.ZodString;
777
215
  spiderX: z.ZodNullable<z.ZodString>;
778
216
  mldsa65Verify: z.ZodNullable<z.ZodString>;
779
- }, "strip", z.ZodTypeAny, {
780
- fingerprint: string;
781
- serverName: string;
782
- publicKey: string;
783
- shortId: string | null;
784
- spiderX: string | null;
785
- mldsa65Verify: string | null;
786
- }, {
787
- fingerprint: string;
788
- serverName: string;
789
- publicKey: string;
790
- shortId: string | null;
791
- spiderX: string | null;
792
- mldsa65Verify: string | null;
793
- }>;
794
- }, "strip", z.ZodTypeAny, {
795
- security: "reality";
796
- securityOptions: {
797
- fingerprint: string;
798
- serverName: string;
799
- publicKey: string;
800
- shortId: string | null;
801
- spiderX: string | null;
802
- mldsa65Verify: string | null;
803
- };
804
- }, {
805
- security: "reality";
806
- securityOptions: {
807
- fingerprint: string;
808
- serverName: string;
809
- publicKey: string;
810
- shortId: string | null;
811
- spiderX: string | null;
812
- mldsa65Verify: string | null;
813
- };
814
- }>, z.ZodObject<{
217
+ }, z.core.$strip>;
218
+ }, z.core.$strip>, z.ZodObject<{
815
219
  security: z.ZodLiteral<"none">;
816
- }, "strip", z.ZodTypeAny, {
817
- security: "none";
818
- }, {
819
- security: "none";
820
- }>]>;
220
+ }, z.core.$strip>], "security">;
821
221
  export declare const ProxyEntryMetadataSchema: z.ZodObject<{
822
- uuid: z.ZodString;
823
- tags: z.ZodArray<z.ZodString, "many">;
824
- excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
222
+ uuid: z.ZodUUID;
223
+ tags: z.ZodArray<z.ZodString>;
224
+ excludeFromSubscriptionTypes: z.ZodArray<z.ZodEnum<{
825
225
  readonly XRAY_JSON: "XRAY_JSON";
826
226
  readonly XRAY_BASE64: "XRAY_BASE64";
827
227
  readonly MIHOMO: "MIHOMO";
828
228
  readonly STASH: "STASH";
829
229
  readonly CLASH: "CLASH";
830
230
  readonly SINGBOX: "SINGBOX";
831
- }>, "many">;
231
+ }>>;
832
232
  inboundTag: z.ZodString;
833
- configProfileUuid: z.ZodNullable<z.ZodString>;
834
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
233
+ configProfileUuid: z.ZodNullable<z.ZodUUID>;
234
+ configProfileInboundUuid: z.ZodNullable<z.ZodUUID>;
835
235
  isDisabled: z.ZodBoolean;
836
236
  isHidden: z.ZodBoolean;
837
- viewPosition: z.ZodNumber;
237
+ viewPosition: z.ZodInt;
838
238
  remark: z.ZodString;
839
- vlessRouteId: z.ZodNullable<z.ZodNumber>;
239
+ vlessRouteId: z.ZodNullable<z.ZodInt>;
840
240
  rawInbound: z.ZodNullable<z.ZodUnknown>;
841
- }, "strip", z.ZodTypeAny, {
842
- tags: string[];
843
- uuid: string;
844
- viewPosition: number;
845
- remark: string;
846
- isDisabled: boolean;
847
- configProfileUuid: string | null;
848
- configProfileInboundUuid: string | null;
849
- isHidden: boolean;
850
- vlessRouteId: number | null;
851
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
852
- inboundTag: string;
853
- rawInbound?: unknown;
854
- }, {
855
- tags: string[];
856
- uuid: string;
857
- viewPosition: number;
858
- remark: string;
859
- isDisabled: boolean;
860
- configProfileUuid: string | null;
861
- configProfileInboundUuid: string | null;
862
- isHidden: boolean;
863
- vlessRouteId: number | null;
864
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
865
- inboundTag: string;
866
- rawInbound?: unknown;
867
- }>;
241
+ }, z.core.$strip>;
868
242
  export declare const ResolvedProxyConfigSchema: z.ZodObject<{
869
243
  finalRemark: z.ZodString;
870
244
  address: z.ZodString;
871
- port: z.ZodNumber;
872
- protocol: z.ZodEnum<["vless", "trojan", "shadowsocks", "hysteria"]>;
873
- protocolOptions: z.ZodUnion<[z.ZodObject<{
245
+ port: z.ZodInt;
246
+ protocol: z.ZodEnum<{
247
+ vless: "vless";
248
+ trojan: "trojan";
249
+ shadowsocks: "shadowsocks";
250
+ hysteria: "hysteria";
251
+ }>;
252
+ protocolOptions: z.ZodUnion<readonly [z.ZodObject<{
874
253
  encryption: z.ZodString;
875
254
  id: z.ZodString;
876
- flow: z.ZodEnum<["", "xtls-rprx-vision", "xtls-rprx-vision-udp443"]>;
877
- }, "strip", z.ZodTypeAny, {
878
- id: string;
879
- encryption: string;
880
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
881
- }, {
882
- id: string;
883
- encryption: string;
884
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
885
- }>, z.ZodObject<{
255
+ flow: z.ZodEnum<{
256
+ "": "";
257
+ "xtls-rprx-vision": "xtls-rprx-vision";
258
+ "xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
259
+ }>;
260
+ }, z.core.$strip>, z.ZodObject<{
886
261
  password: z.ZodString;
887
- }, "strip", z.ZodTypeAny, {
888
- password: string;
889
- }, {
890
- password: string;
891
- }>, z.ZodObject<{
262
+ }, z.core.$strip>, z.ZodObject<{
892
263
  method: z.ZodString;
893
264
  password: z.ZodString;
894
265
  uot: z.ZodBoolean;
895
- uotVersion: z.ZodNumber;
896
- }, "strip", z.ZodTypeAny, {
897
- method: string;
898
- password: string;
899
- uot: boolean;
900
- uotVersion: number;
901
- }, {
902
- method: string;
903
- password: string;
904
- uot: boolean;
905
- uotVersion: number;
906
- }>, z.ZodObject<{
907
- version: z.ZodNumber;
908
- }, "strip", z.ZodTypeAny, {
909
- version: number;
910
- }, {
911
- version: number;
912
- }>]>;
913
- transport: z.ZodEnum<["tcp", "xhttp", "ws", "httpupgrade", "grpc", "kcp", "hysteria"]>;
914
- transportOptions: z.ZodUnion<[z.ZodObject<{
915
- header: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
266
+ uotVersion: z.ZodInt;
267
+ }, z.core.$strip>, z.ZodObject<{
268
+ version: z.ZodInt;
269
+ }, z.core.$strip>]>;
270
+ transport: z.ZodEnum<{
271
+ hysteria: "hysteria";
272
+ tcp: "tcp";
273
+ xhttp: "xhttp";
274
+ ws: "ws";
275
+ httpupgrade: "httpupgrade";
276
+ grpc: "grpc";
277
+ kcp: "kcp";
278
+ }>;
279
+ transportOptions: z.ZodUnion<readonly [z.ZodObject<{
280
+ header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
916
281
  type: z.ZodLiteral<"none">;
917
- }, "strip", z.ZodTypeAny, {
918
- type: "none";
919
- }, {
920
- type: "none";
921
- }>, z.ZodObject<{
282
+ }, z.core.$strip>, z.ZodObject<{
922
283
  type: z.ZodLiteral<"http">;
923
284
  request: z.ZodOptional<z.ZodObject<{
924
285
  version: z.ZodOptional<z.ZodString>;
925
286
  method: z.ZodOptional<z.ZodString>;
926
- path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
287
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
927
288
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
928
- }, "strip", z.ZodTypeAny, {
929
- path?: string[] | undefined;
930
- method?: string | undefined;
931
- headers?: Record<string, unknown> | undefined;
932
- version?: string | undefined;
933
- }, {
934
- path?: string[] | undefined;
935
- method?: string | undefined;
936
- headers?: Record<string, unknown> | undefined;
937
- version?: string | undefined;
938
- }>>;
289
+ }, z.core.$strip>>;
939
290
  response: z.ZodOptional<z.ZodObject<{
940
291
  version: z.ZodOptional<z.ZodString>;
941
292
  status: z.ZodOptional<z.ZodString>;
942
293
  reason: z.ZodOptional<z.ZodString>;
943
294
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
944
- }, "strip", z.ZodTypeAny, {
945
- status?: string | undefined;
946
- headers?: Record<string, unknown> | undefined;
947
- version?: string | undefined;
948
- reason?: string | undefined;
949
- }, {
950
- status?: string | undefined;
951
- headers?: Record<string, unknown> | undefined;
952
- version?: string | undefined;
953
- reason?: string | undefined;
954
- }>>;
955
- }, "strip", z.ZodTypeAny, {
956
- type: "http";
957
- response?: {
958
- status?: string | undefined;
959
- headers?: Record<string, unknown> | undefined;
960
- version?: string | undefined;
961
- reason?: string | undefined;
962
- } | undefined;
963
- request?: {
964
- path?: string[] | undefined;
965
- method?: string | undefined;
966
- headers?: Record<string, unknown> | undefined;
967
- version?: string | undefined;
968
- } | undefined;
969
- }, {
970
- type: "http";
971
- response?: {
972
- status?: string | undefined;
973
- headers?: Record<string, unknown> | undefined;
974
- version?: string | undefined;
975
- reason?: string | undefined;
976
- } | undefined;
977
- request?: {
978
- path?: string[] | undefined;
979
- method?: string | undefined;
980
- headers?: Record<string, unknown> | undefined;
981
- version?: string | undefined;
982
- } | undefined;
983
- }>]>>;
984
- }, "strip", z.ZodTypeAny, {
985
- header: {
986
- type: "none";
987
- } | {
988
- type: "http";
989
- response?: {
990
- status?: string | undefined;
991
- headers?: Record<string, unknown> | undefined;
992
- version?: string | undefined;
993
- reason?: string | undefined;
994
- } | undefined;
995
- request?: {
996
- path?: string[] | undefined;
997
- method?: string | undefined;
998
- headers?: Record<string, unknown> | undefined;
999
- version?: string | undefined;
1000
- } | undefined;
1001
- } | null;
1002
- }, {
1003
- header: {
1004
- type: "none";
1005
- } | {
1006
- type: "http";
1007
- response?: {
1008
- status?: string | undefined;
1009
- headers?: Record<string, unknown> | undefined;
1010
- version?: string | undefined;
1011
- reason?: string | undefined;
1012
- } | undefined;
1013
- request?: {
1014
- path?: string[] | undefined;
1015
- method?: string | undefined;
1016
- headers?: Record<string, unknown> | undefined;
1017
- version?: string | undefined;
1018
- } | undefined;
1019
- } | null;
1020
- }>, z.ZodObject<{
295
+ }, z.core.$strip>>;
296
+ }, z.core.$strip>], "type">>;
297
+ }, z.core.$strip>, z.ZodObject<{
1021
298
  path: z.ZodNullable<z.ZodString>;
1022
299
  host: z.ZodNullable<z.ZodString>;
1023
- mode: z.ZodEnum<["auto", "packet-up", "stream-up", "stream-one"]>;
300
+ mode: z.ZodEnum<{
301
+ auto: "auto";
302
+ "packet-up": "packet-up";
303
+ "stream-up": "stream-up";
304
+ "stream-one": "stream-one";
305
+ }>;
1024
306
  extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1025
- }, "strip", z.ZodTypeAny, {
1026
- path: string | null;
1027
- host: string | null;
1028
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1029
- extra: Record<string, unknown> | null;
1030
- }, {
1031
- path: string | null;
1032
- host: string | null;
1033
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1034
- extra: Record<string, unknown> | null;
1035
- }>, z.ZodObject<{
307
+ }, z.core.$strip>, z.ZodObject<{
1036
308
  path: z.ZodNullable<z.ZodString>;
1037
309
  host: z.ZodNullable<z.ZodString>;
1038
310
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1039
311
  heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
1040
- }, "strip", z.ZodTypeAny, {
1041
- path: string | null;
1042
- host: string | null;
1043
- headers: Record<string, string> | null;
1044
- heartbeatPeriod: number | null;
1045
- }, {
1046
- path: string | null;
1047
- host: string | null;
1048
- headers: Record<string, string> | null;
1049
- heartbeatPeriod: number | null;
1050
- }>, z.ZodObject<{
312
+ }, z.core.$strip>, z.ZodObject<{
1051
313
  path: z.ZodNullable<z.ZodString>;
1052
314
  host: z.ZodNullable<z.ZodString>;
1053
315
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1054
- }, "strip", z.ZodTypeAny, {
1055
- path: string | null;
1056
- host: string | null;
1057
- headers: Record<string, string> | null;
1058
- }, {
1059
- path: string | null;
1060
- host: string | null;
1061
- headers: Record<string, string> | null;
1062
- }>, z.ZodObject<{
316
+ }, z.core.$strip>, z.ZodObject<{
1063
317
  authority: z.ZodNullable<z.ZodString>;
1064
318
  serviceName: z.ZodNullable<z.ZodString>;
1065
319
  multiMode: z.ZodBoolean;
1066
- }, "strip", z.ZodTypeAny, {
1067
- authority: string | null;
1068
- serviceName: string | null;
1069
- multiMode: boolean;
1070
- }, {
1071
- authority: string | null;
1072
- serviceName: string | null;
1073
- multiMode: boolean;
1074
- }>, z.ZodObject<{
1075
- clientMtu: z.ZodNumber;
1076
- clientTti: z.ZodNumber;
320
+ }, z.core.$strip>, z.ZodObject<{
321
+ clientMtu: z.ZodInt;
322
+ clientTti: z.ZodInt;
1077
323
  congestion: z.ZodBoolean;
1078
- }, "strip", z.ZodTypeAny, {
1079
- clientMtu: number;
1080
- clientTti: number;
1081
- congestion: boolean;
1082
- }, {
1083
- clientMtu: number;
1084
- clientTti: number;
1085
- congestion: boolean;
1086
- }>, z.ZodObject<{
1087
- version: z.ZodNumber;
324
+ }, z.core.$strip>, z.ZodObject<{
325
+ version: z.ZodInt;
1088
326
  auth: z.ZodString;
1089
- }, "strip", z.ZodTypeAny, {
1090
- auth: string;
1091
- version: number;
1092
- }, {
1093
- auth: string;
1094
- version: number;
1095
- }>]>;
1096
- security: z.ZodEnum<["tls", "reality", "none"]>;
1097
- securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
327
+ }, z.core.$strip>]>;
328
+ security: z.ZodEnum<{
329
+ none: "none";
330
+ tls: "tls";
331
+ reality: "reality";
332
+ }>;
333
+ securityOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1098
334
  pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
1099
335
  verifyPeerCertByName: z.ZodNullable<z.ZodString>;
1100
336
  alpn: z.ZodNullable<z.ZodString>;
@@ -1103,61 +339,23 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1103
339
  serverName: z.ZodNullable<z.ZodString>;
1104
340
  echConfigList: z.ZodNullable<z.ZodString>;
1105
341
  echForceQuery: z.ZodNullable<z.ZodString>;
1106
- }, "strip", z.ZodTypeAny, {
1107
- alpn: string | null;
1108
- fingerprint: string | null;
1109
- pinnedPeerCertSha256: string | null;
1110
- verifyPeerCertByName: string | null;
1111
- enableSessionResumption: boolean;
1112
- serverName: string | null;
1113
- echConfigList: string | null;
1114
- echForceQuery: string | null;
1115
- }, {
1116
- alpn: string | null;
1117
- fingerprint: string | null;
1118
- pinnedPeerCertSha256: string | null;
1119
- verifyPeerCertByName: string | null;
1120
- enableSessionResumption: boolean;
1121
- serverName: string | null;
1122
- echConfigList: string | null;
1123
- echForceQuery: string | null;
1124
- }>, z.ZodObject<{
342
+ }, z.core.$strip>, z.ZodObject<{
1125
343
  fingerprint: z.ZodString;
1126
344
  publicKey: z.ZodString;
1127
345
  shortId: z.ZodNullable<z.ZodString>;
1128
346
  serverName: z.ZodString;
1129
347
  spiderX: z.ZodNullable<z.ZodString>;
1130
348
  mldsa65Verify: z.ZodNullable<z.ZodString>;
1131
- }, "strip", z.ZodTypeAny, {
1132
- fingerprint: string;
1133
- serverName: string;
1134
- publicKey: string;
1135
- shortId: string | null;
1136
- spiderX: string | null;
1137
- mldsa65Verify: string | null;
1138
- }, {
1139
- fingerprint: string;
1140
- serverName: string;
1141
- publicKey: string;
1142
- shortId: string | null;
1143
- spiderX: string | null;
1144
- mldsa65Verify: string | null;
1145
- }>]>>;
349
+ }, z.core.$strip>]>>;
1146
350
  streamOverrides: z.ZodObject<{
1147
351
  finalMask: z.ZodNullable<z.ZodUnknown>;
1148
352
  sockopt: z.ZodNullable<z.ZodUnknown>;
1149
- }, "strip", z.ZodTypeAny, {
1150
- finalMask?: unknown;
1151
- sockopt?: unknown;
1152
- }, {
1153
- finalMask?: unknown;
1154
- sockopt?: unknown;
1155
- }>;
353
+ }, z.core.$strip>;
1156
354
  mux: z.ZodNullable<z.ZodUnknown>;
1157
355
  clientOverrides: z.ZodObject<{
1158
356
  shuffleHost: z.ZodBoolean;
1159
357
  mihomoX25519: z.ZodBoolean;
1160
- mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
358
+ mihomoIpVersion: z.ZodNullable<z.ZodEnum<{
1161
359
  readonly DUAL: "dual";
1162
360
  readonly IPV4: "ipv4";
1163
361
  readonly IPV6: "ipv6";
@@ -1166,281 +364,27 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1166
364
  }>>;
1167
365
  serverDescription: z.ZodNullable<z.ZodString>;
1168
366
  xrayJsonTemplate: z.ZodNullable<z.ZodUnknown>;
1169
- }, "strip", z.ZodTypeAny, {
1170
- serverDescription: string | null;
1171
- shuffleHost: boolean;
1172
- mihomoX25519: boolean;
1173
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
1174
- xrayJsonTemplate?: unknown;
1175
- }, {
1176
- serverDescription: string | null;
1177
- shuffleHost: boolean;
1178
- mihomoX25519: boolean;
1179
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
1180
- xrayJsonTemplate?: unknown;
1181
- }>;
367
+ }, z.core.$strip>;
1182
368
  metadata: z.ZodObject<{
1183
- uuid: z.ZodString;
1184
- tags: z.ZodArray<z.ZodString, "many">;
1185
- excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
369
+ uuid: z.ZodUUID;
370
+ tags: z.ZodArray<z.ZodString>;
371
+ excludeFromSubscriptionTypes: z.ZodArray<z.ZodEnum<{
1186
372
  readonly XRAY_JSON: "XRAY_JSON";
1187
373
  readonly XRAY_BASE64: "XRAY_BASE64";
1188
374
  readonly MIHOMO: "MIHOMO";
1189
375
  readonly STASH: "STASH";
1190
376
  readonly CLASH: "CLASH";
1191
377
  readonly SINGBOX: "SINGBOX";
1192
- }>, "many">;
378
+ }>>;
1193
379
  inboundTag: z.ZodString;
1194
- configProfileUuid: z.ZodNullable<z.ZodString>;
1195
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
380
+ configProfileUuid: z.ZodNullable<z.ZodUUID>;
381
+ configProfileInboundUuid: z.ZodNullable<z.ZodUUID>;
1196
382
  isDisabled: z.ZodBoolean;
1197
383
  isHidden: z.ZodBoolean;
1198
- viewPosition: z.ZodNumber;
384
+ viewPosition: z.ZodInt;
1199
385
  remark: z.ZodString;
1200
- vlessRouteId: z.ZodNullable<z.ZodNumber>;
386
+ vlessRouteId: z.ZodNullable<z.ZodInt>;
1201
387
  rawInbound: z.ZodNullable<z.ZodUnknown>;
1202
- }, "strip", z.ZodTypeAny, {
1203
- tags: string[];
1204
- uuid: string;
1205
- viewPosition: number;
1206
- remark: string;
1207
- isDisabled: boolean;
1208
- configProfileUuid: string | null;
1209
- configProfileInboundUuid: string | null;
1210
- isHidden: boolean;
1211
- vlessRouteId: number | null;
1212
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
1213
- inboundTag: string;
1214
- rawInbound?: unknown;
1215
- }, {
1216
- tags: string[];
1217
- uuid: string;
1218
- viewPosition: number;
1219
- remark: string;
1220
- isDisabled: boolean;
1221
- configProfileUuid: string | null;
1222
- configProfileInboundUuid: string | null;
1223
- isHidden: boolean;
1224
- vlessRouteId: number | null;
1225
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
1226
- inboundTag: string;
1227
- rawInbound?: unknown;
1228
- }>;
1229
- }, "strip", z.ZodTypeAny, {
1230
- metadata: {
1231
- tags: string[];
1232
- uuid: string;
1233
- viewPosition: number;
1234
- remark: string;
1235
- isDisabled: boolean;
1236
- configProfileUuid: string | null;
1237
- configProfileInboundUuid: string | null;
1238
- isHidden: boolean;
1239
- vlessRouteId: number | null;
1240
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
1241
- inboundTag: string;
1242
- rawInbound?: unknown;
1243
- };
1244
- security: "none" | "tls" | "reality";
1245
- port: number;
1246
- address: string;
1247
- protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
1248
- protocolOptions: {
1249
- id: string;
1250
- encryption: string;
1251
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
1252
- } | {
1253
- password: string;
1254
- } | {
1255
- method: string;
1256
- password: string;
1257
- uot: boolean;
1258
- uotVersion: number;
1259
- } | {
1260
- version: number;
1261
- };
1262
- transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
1263
- transportOptions: {
1264
- header: {
1265
- type: "none";
1266
- } | {
1267
- type: "http";
1268
- response?: {
1269
- status?: string | undefined;
1270
- headers?: Record<string, unknown> | undefined;
1271
- version?: string | undefined;
1272
- reason?: string | undefined;
1273
- } | undefined;
1274
- request?: {
1275
- path?: string[] | undefined;
1276
- method?: string | undefined;
1277
- headers?: Record<string, unknown> | undefined;
1278
- version?: string | undefined;
1279
- } | undefined;
1280
- } | null;
1281
- } | {
1282
- path: string | null;
1283
- host: string | null;
1284
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1285
- extra: Record<string, unknown> | null;
1286
- } | {
1287
- path: string | null;
1288
- host: string | null;
1289
- headers: Record<string, string> | null;
1290
- heartbeatPeriod: number | null;
1291
- } | {
1292
- path: string | null;
1293
- host: string | null;
1294
- headers: Record<string, string> | null;
1295
- } | {
1296
- authority: string | null;
1297
- serviceName: string | null;
1298
- multiMode: boolean;
1299
- } | {
1300
- clientMtu: number;
1301
- clientTti: number;
1302
- congestion: boolean;
1303
- } | {
1304
- auth: string;
1305
- version: number;
1306
- };
1307
- finalRemark: string;
1308
- streamOverrides: {
1309
- finalMask?: unknown;
1310
- sockopt?: unknown;
1311
- };
1312
- clientOverrides: {
1313
- serverDescription: string | null;
1314
- shuffleHost: boolean;
1315
- mihomoX25519: boolean;
1316
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
1317
- xrayJsonTemplate?: unknown;
1318
- };
1319
- securityOptions?: {
1320
- alpn: string | null;
1321
- fingerprint: string | null;
1322
- pinnedPeerCertSha256: string | null;
1323
- verifyPeerCertByName: string | null;
1324
- enableSessionResumption: boolean;
1325
- serverName: string | null;
1326
- echConfigList: string | null;
1327
- echForceQuery: string | null;
1328
- } | {
1329
- fingerprint: string;
1330
- serverName: string;
1331
- publicKey: string;
1332
- shortId: string | null;
1333
- spiderX: string | null;
1334
- mldsa65Verify: string | null;
1335
- } | undefined;
1336
- mux?: unknown;
1337
- }, {
1338
- metadata: {
1339
- tags: string[];
1340
- uuid: string;
1341
- viewPosition: number;
1342
- remark: string;
1343
- isDisabled: boolean;
1344
- configProfileUuid: string | null;
1345
- configProfileInboundUuid: string | null;
1346
- isHidden: boolean;
1347
- vlessRouteId: number | null;
1348
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
1349
- inboundTag: string;
1350
- rawInbound?: unknown;
1351
- };
1352
- security: "none" | "tls" | "reality";
1353
- port: number;
1354
- address: string;
1355
- protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
1356
- protocolOptions: {
1357
- id: string;
1358
- encryption: string;
1359
- flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
1360
- } | {
1361
- password: string;
1362
- } | {
1363
- method: string;
1364
- password: string;
1365
- uot: boolean;
1366
- uotVersion: number;
1367
- } | {
1368
- version: number;
1369
- };
1370
- transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
1371
- transportOptions: {
1372
- header: {
1373
- type: "none";
1374
- } | {
1375
- type: "http";
1376
- response?: {
1377
- status?: string | undefined;
1378
- headers?: Record<string, unknown> | undefined;
1379
- version?: string | undefined;
1380
- reason?: string | undefined;
1381
- } | undefined;
1382
- request?: {
1383
- path?: string[] | undefined;
1384
- method?: string | undefined;
1385
- headers?: Record<string, unknown> | undefined;
1386
- version?: string | undefined;
1387
- } | undefined;
1388
- } | null;
1389
- } | {
1390
- path: string | null;
1391
- host: string | null;
1392
- mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1393
- extra: Record<string, unknown> | null;
1394
- } | {
1395
- path: string | null;
1396
- host: string | null;
1397
- headers: Record<string, string> | null;
1398
- heartbeatPeriod: number | null;
1399
- } | {
1400
- path: string | null;
1401
- host: string | null;
1402
- headers: Record<string, string> | null;
1403
- } | {
1404
- authority: string | null;
1405
- serviceName: string | null;
1406
- multiMode: boolean;
1407
- } | {
1408
- clientMtu: number;
1409
- clientTti: number;
1410
- congestion: boolean;
1411
- } | {
1412
- auth: string;
1413
- version: number;
1414
- };
1415
- finalRemark: string;
1416
- streamOverrides: {
1417
- finalMask?: unknown;
1418
- sockopt?: unknown;
1419
- };
1420
- clientOverrides: {
1421
- serverDescription: string | null;
1422
- shuffleHost: boolean;
1423
- mihomoX25519: boolean;
1424
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
1425
- xrayJsonTemplate?: unknown;
1426
- };
1427
- securityOptions?: {
1428
- alpn: string | null;
1429
- fingerprint: string | null;
1430
- pinnedPeerCertSha256: string | null;
1431
- verifyPeerCertByName: string | null;
1432
- enableSessionResumption: boolean;
1433
- serverName: string | null;
1434
- echConfigList: string | null;
1435
- echForceQuery: string | null;
1436
- } | {
1437
- fingerprint: string;
1438
- serverName: string;
1439
- publicKey: string;
1440
- shortId: string | null;
1441
- spiderX: string | null;
1442
- mldsa65Verify: string | null;
1443
- } | undefined;
1444
- mux?: unknown;
1445
- }>;
388
+ }, z.core.$strip>;
389
+ }, z.core.$strip>;
1446
390
  //# sourceMappingURL=resolved-proxy-config.schema.d.ts.map