@remnawave/backend-contract 0.5.0 → 0.5.2
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.
- package/build/backend/api/controllers/api-tokens.d.ts +3 -3
- package/build/backend/api/controllers/api-tokens.d.ts.map +1 -1
- package/build/backend/api/controllers/api-tokens.js +3 -3
- package/build/backend/api/controllers/hosts.d.ts +9 -7
- package/build/backend/api/controllers/hosts.d.ts.map +1 -1
- package/build/backend/api/controllers/hosts.js +10 -8
- package/build/backend/api/controllers/hwid.d.ts +2 -2
- package/build/backend/api/controllers/hwid.d.ts.map +1 -1
- package/build/backend/api/controllers/hwid.js +2 -2
- package/build/backend/api/controllers/inbounds.d.ts +0 -1
- package/build/backend/api/controllers/inbounds.d.ts.map +1 -1
- package/build/backend/api/controllers/inbounds.js +0 -1
- package/build/backend/api/controllers/keygen.d.ts +1 -1
- package/build/backend/api/controllers/keygen.js +1 -1
- package/build/backend/api/controllers/nodes.d.ts +15 -12
- package/build/backend/api/controllers/nodes.d.ts.map +1 -1
- package/build/backend/api/controllers/nodes.js +16 -13
- package/build/backend/api/controllers/subscription-settings.d.ts +2 -2
- package/build/backend/api/controllers/subscription-settings.js +2 -2
- package/build/backend/api/controllers/subscription-template.d.ts +2 -2
- package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-template.js +2 -2
- package/build/backend/api/controllers/subscription.d.ts +1 -1
- package/build/backend/api/controllers/subscription.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription.js +1 -1
- package/build/backend/api/controllers/system.d.ts +4 -4
- package/build/backend/api/controllers/system.js +4 -4
- package/build/backend/api/controllers/users.d.ts +1 -1
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -1
- package/build/backend/api/controllers/xray.d.ts +2 -2
- package/build/backend/api/controllers/xray.js +2 -2
- package/build/backend/api/routes.d.ts +34 -30
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +32 -28
- package/build/backend/commands/api-tokens/create.command.d.ts +3 -2
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +2 -0
- package/build/backend/commands/api-tokens/delete.command.d.ts +1 -0
- package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/delete.command.js +2 -0
- package/build/backend/commands/api-tokens/find.command.d.ts +1 -0
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/find.command.js +3 -1
- package/build/backend/commands/auth/get-status.command.d.ts +1 -0
- package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.js +2 -0
- package/build/backend/commands/auth/login.command.d.ts +1 -0
- package/build/backend/commands/auth/login.command.d.ts.map +1 -1
- package/build/backend/commands/auth/login.command.js +2 -0
- package/build/backend/commands/auth/register.command.d.ts +1 -0
- package/build/backend/commands/auth/register.command.d.ts.map +1 -1
- package/build/backend/commands/auth/register.command.js +2 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +1 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +3 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +1 -0
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +3 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +1 -0
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +3 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +1 -0
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.js +3 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +1 -0
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.js +3 -1
- package/build/backend/commands/hosts/create.command.d.ts +3 -2
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +6 -5
- package/build/backend/commands/hosts/delete.command.d.ts +1 -0
- package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/delete.command.js +2 -0
- package/build/backend/commands/hosts/get-all.command.d.ts +3 -2
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-all.command.js +4 -2
- package/build/backend/commands/hosts/get-one.command.d.ts +1 -0
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.js +4 -2
- package/build/backend/commands/hosts/reorder.command.d.ts +3 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.js +4 -2
- package/build/backend/commands/hosts/update.command.d.ts +3 -2
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +6 -5
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +3 -2
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +2 -0
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +1 -0
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.js +2 -0
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +1 -0
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.js +2 -0
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts +1 -0
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +2 -0
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts +1 -0
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.js +2 -0
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts +1 -0
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +2 -0
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts +1 -0
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.js +2 -0
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts +1 -0
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/get-full-inbounds.command.js +2 -0
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts +1 -0
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/get-inbounds.command.js +2 -0
- package/build/backend/commands/keygen/get-pubkey.command.d.ts +3 -2
- package/build/backend/commands/keygen/get-pubkey.command.d.ts.map +1 -1
- package/build/backend/commands/keygen/get-pubkey.command.js +2 -0
- package/build/backend/commands/nodes/{disable.command.d.ts → actions/disable.command.d.ts} +1 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/{disable.command.js → actions/disable.command.js} +5 -3
- package/build/backend/commands/nodes/{enable.command.d.ts → actions/enable.command.d.ts} +1 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/{enable.command.js → actions/enable.command.js} +5 -3
- package/build/backend/commands/nodes/actions/index.d.ts +6 -0
- package/build/backend/commands/nodes/actions/index.d.ts.map +1 -0
- package/build/backend/commands/nodes/actions/index.js +21 -0
- package/build/backend/commands/nodes/{reorder.command.d.ts → actions/reorder.command.d.ts} +3 -2
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -0
- package/build/{frontend/commands/nodes → backend/commands/nodes/actions}/reorder.command.js +5 -3
- package/build/backend/commands/nodes/{restart-all.command.d.ts → actions/restart-all.command.d.ts} +3 -2
- package/build/backend/commands/nodes/actions/restart-all.command.d.ts.map +1 -0
- package/build/{frontend/commands/nodes → backend/commands/nodes/actions}/restart-all.command.js +4 -2
- package/build/backend/commands/nodes/{restart.command.d.ts → actions/restart.command.d.ts} +1 -0
- package/build/backend/commands/nodes/actions/restart.command.d.ts.map +1 -0
- package/build/{frontend/commands/nodes → backend/commands/nodes/actions}/restart.command.js +4 -2
- package/build/backend/commands/nodes/create.command.d.ts +3 -2
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +3 -1
- package/build/backend/commands/nodes/delete.command.d.ts +1 -0
- package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/delete.command.js +2 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +3 -2
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-all.command.js +4 -2
- package/build/backend/commands/nodes/get-one.command.d.ts +1 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.js +4 -2
- package/build/backend/commands/nodes/index.d.ts +2 -8
- package/build/backend/commands/nodes/index.d.ts.map +1 -1
- package/build/backend/commands/nodes/index.js +2 -8
- package/build/backend/commands/nodes/{get-node-user-usage-by-range.command.d.ts → stats/get-node-user-usage-by-range.command.d.ts} +1 -0
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/{get-node-user-usage-by-range.command.js → stats/get-node-user-usage-by-range.command.js} +3 -1
- package/build/backend/commands/nodes/{get-nodes-usage-by-range.command.d.ts → stats/get-nodes-usage-by-range.command.d.ts} +3 -2
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/{get-nodes-usage-by-range.command.js → stats/get-nodes-usage-by-range.command.js} +3 -1
- package/build/backend/commands/nodes/{get-realtime-usage.command.d.ts → stats/get-realtime-usage.command.d.ts} +1 -0
- package/build/backend/commands/nodes/stats/get-realtime-usage.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/{get-realtime-usage.command.js → stats/get-realtime-usage.command.js} +3 -1
- package/build/backend/commands/nodes/stats/index.d.ts +4 -0
- package/build/backend/commands/nodes/stats/index.d.ts.map +1 -0
- package/build/backend/commands/nodes/stats/index.js +19 -0
- package/build/backend/commands/nodes/update.command.d.ts +3 -2
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +3 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +1 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.js +2 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +3 -2
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.js +4 -2
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +3 -2
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +4 -2
- package/build/backend/commands/subscription-template/get-template.command.d.ts +1 -0
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +4 -2
- package/build/backend/commands/subscription-template/update-template.command.d.ts +3 -2
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +4 -2
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +3 -2
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.js +3 -1
- package/build/backend/commands/system/get-nodes-statistics.d.ts +3 -2
- package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
- package/build/backend/commands/system/get-nodes-statistics.js +3 -1
- package/build/backend/commands/system/get-stats.command.d.ts +1 -0
- package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.js +4 -2
- package/build/backend/commands/users/{activate-all-inbounds.command.d.ts → actions/activate-all-inbounds.command.d.ts} +1 -1
- package/build/backend/commands/users/actions/activate-all-inbounds.command.d.ts.map +1 -0
- package/build/{frontend/commands/users → backend/commands/users/actions}/activate-all-inbounds.command.js +3 -3
- package/build/backend/commands/users/{disable-user.command.d.ts → actions/disable-user.command.d.ts} +1 -1
- package/build/backend/commands/users/{get-user-by-email.command.d.ts.map → actions/disable-user.command.d.ts.map} +1 -1
- package/build/backend/commands/users/{disable-user.command.js → actions/disable-user.command.js} +3 -3
- package/build/backend/commands/users/{enable-user.command.d.ts → actions/enable-user.command.d.ts} +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -0
- package/build/{frontend/commands/users → backend/commands/users/actions}/enable-user.command.js +3 -3
- package/build/backend/commands/users/actions/index.d.ts +6 -0
- package/build/backend/commands/users/actions/index.d.ts.map +1 -0
- package/build/backend/commands/users/actions/index.js +21 -0
- package/build/backend/commands/users/{reset-user-traffic.command.d.ts → actions/reset-user-traffic.command.d.ts} +1 -1
- package/build/backend/commands/users/{get-user-by-telegram-id.command.d.ts.map → actions/reset-user-traffic.command.d.ts.map} +1 -1
- package/build/{frontend/commands/users → backend/commands/users/actions}/reset-user-traffic.command.js +3 -3
- package/build/backend/commands/users/{revoke-user-subscription.command.d.ts → actions/revoke-user-subscription.command.d.ts} +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -0
- package/build/backend/commands/users/{revoke-user-subscription.command.js → actions/revoke-user-subscription.command.js} +3 -3
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.js +3 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.js +2 -0
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +2 -0
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +2 -0
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.js +2 -0
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +1 -0
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +4 -2
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.d.ts +1 -0
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +2 -0
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +1 -0
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +4 -2
- package/build/backend/commands/users/{get-user-by-email.command.d.ts → get-by/get-user-by-email.command.d.ts} +1 -1
- package/build/backend/commands/users/{get-user-by-short-uuid.command.d.ts.map → get-by/get-user-by-email.command.d.ts.map} +1 -1
- package/build/backend/commands/users/{get-user-by-email.command.js → get-by/get-user-by-email.command.js} +3 -3
- package/build/backend/commands/users/{get-user-by-short-uuid.command.d.ts → get-by/get-user-by-short-uuid.command.d.ts} +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -0
- package/build/{frontend/commands/users → backend/commands/users/get-by}/get-user-by-short-uuid.command.js +3 -3
- package/build/backend/commands/users/{get-user-by-subscription-uuid.command.d.ts → get-by/get-user-by-subscription-uuid.command.d.ts} +1 -1
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/users/{get-user-by-subscription-uuid.command.js → get-by/get-user-by-subscription-uuid.command.js} +3 -3
- package/build/backend/commands/users/{get-user-by-telegram-id.command.d.ts → get-by/get-user-by-telegram-id.command.d.ts} +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +1 -0
- package/build/{frontend/commands/users → backend/commands/users/get-by}/get-user-by-telegram-id.command.js +3 -3
- package/build/backend/commands/users/{get-user-by-username.command.d.ts → get-by/get-user-by-username.command.d.ts} +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -0
- package/build/backend/commands/users/{get-user-by-username.command.js → get-by/get-user-by-username.command.js} +3 -3
- package/build/backend/commands/users/get-by/index.d.ts +6 -0
- package/build/backend/commands/users/get-by/index.d.ts.map +1 -0
- package/build/backend/commands/users/get-by/index.js +21 -0
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +1 -0
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-usage-by-range.command.js +2 -0
- package/build/backend/commands/users/index.d.ts +2 -10
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +2 -10
- package/build/backend/commands/xray/get-config.command.d.ts +3 -2
- package/build/backend/commands/xray/get-config.command.d.ts.map +1 -1
- package/build/backend/commands/xray/get-config.command.js +3 -1
- package/build/backend/commands/xray/update-config.command.d.ts +3 -2
- package/build/backend/commands/xray/update-config.command.d.ts.map +1 -1
- package/build/backend/commands/xray/update-config.command.js +3 -1
- package/build/backend/constants/base-api/base-api-endpoint.d.ts +2 -1
- package/build/backend/constants/base-api/base-api-endpoint.d.ts.map +1 -1
- package/build/backend/constants/base-api/base-api-endpoint.js +2 -1
- package/build/frontend/api/controllers/api-tokens.js +3 -3
- package/build/frontend/api/controllers/hosts.js +10 -8
- package/build/frontend/api/controllers/hwid.js +2 -2
- package/build/frontend/api/controllers/inbounds.js +0 -1
- package/build/frontend/api/controllers/keygen.js +1 -1
- package/build/frontend/api/controllers/nodes.js +16 -13
- package/build/frontend/api/controllers/subscription-settings.js +2 -2
- package/build/frontend/api/controllers/subscription-template.js +2 -2
- package/build/frontend/api/controllers/subscription.js +1 -1
- package/build/frontend/api/controllers/system.js +4 -4
- package/build/frontend/api/controllers/users.js +1 -1
- package/build/frontend/api/controllers/xray.js +2 -2
- package/build/frontend/api/routes.js +32 -28
- package/build/frontend/commands/api-tokens/create.command.js +2 -0
- package/build/frontend/commands/api-tokens/delete.command.js +2 -0
- package/build/frontend/commands/api-tokens/find.command.js +3 -1
- package/build/frontend/commands/auth/get-status.command.js +2 -0
- package/build/frontend/commands/auth/login.command.js +2 -0
- package/build/frontend/commands/auth/register.command.js +2 -0
- package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +3 -1
- package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +3 -1
- package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +3 -1
- package/build/frontend/commands/hosts/bulk/set-inbound-to-many-hosts.command.js +3 -1
- package/build/frontend/commands/hosts/bulk/set-port-to-many-hosts.command.js +3 -1
- package/build/frontend/commands/hosts/create.command.js +6 -5
- package/build/frontend/commands/hosts/delete.command.js +2 -0
- package/build/frontend/commands/hosts/get-all.command.js +4 -2
- package/build/frontend/commands/hosts/get-one.command.js +4 -2
- package/build/frontend/commands/hosts/reorder.command.js +4 -2
- package/build/frontend/commands/hosts/update.command.js +6 -5
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +2 -0
- package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +2 -0
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +2 -0
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +2 -0
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-users.command.js +2 -0
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +2 -0
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-users.command.js +2 -0
- package/build/frontend/commands/inbounds/get-full-inbounds.command.js +2 -0
- package/build/frontend/commands/inbounds/get-inbounds.command.js +2 -0
- package/build/frontend/commands/keygen/get-pubkey.command.js +2 -0
- package/build/frontend/commands/nodes/{disable.command.js → actions/disable.command.js} +5 -3
- package/build/frontend/commands/nodes/{enable.command.js → actions/enable.command.js} +5 -3
- package/build/frontend/commands/nodes/actions/index.js +21 -0
- package/build/{backend/commands/nodes → frontend/commands/nodes/actions}/reorder.command.js +5 -3
- package/build/{backend/commands/nodes → frontend/commands/nodes/actions}/restart-all.command.js +4 -2
- package/build/{backend/commands/nodes → frontend/commands/nodes/actions}/restart.command.js +4 -2
- package/build/frontend/commands/nodes/create.command.js +3 -1
- package/build/frontend/commands/nodes/delete.command.js +2 -0
- package/build/frontend/commands/nodes/get-all.command.js +4 -2
- package/build/frontend/commands/nodes/get-one.command.js +4 -2
- package/build/frontend/commands/nodes/index.js +2 -8
- package/build/frontend/commands/nodes/{get-node-user-usage-by-range.command.js → stats/get-node-user-usage-by-range.command.js} +3 -1
- package/build/frontend/commands/nodes/{get-nodes-usage-by-range.command.js → stats/get-nodes-usage-by-range.command.js} +3 -1
- package/build/frontend/commands/nodes/{get-realtime-usage.command.js → stats/get-realtime-usage.command.js} +3 -1
- package/build/frontend/commands/nodes/stats/index.js +19 -0
- package/build/frontend/commands/nodes/update.command.js +3 -1
- package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +2 -0
- package/build/frontend/commands/subscription-settings/get-subscription-settings.command.js +4 -2
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +4 -2
- package/build/frontend/commands/subscription-template/get-template.command.js +4 -2
- package/build/frontend/commands/subscription-template/update-template.command.js +4 -2
- package/build/frontend/commands/system/get-bandwidth-stats.command.js +3 -1
- package/build/frontend/commands/system/get-nodes-statistics.js +3 -1
- package/build/frontend/commands/system/get-stats.command.js +4 -2
- package/build/{backend/commands/users → frontend/commands/users/actions}/activate-all-inbounds.command.js +3 -3
- package/build/frontend/commands/users/{disable-user.command.js → actions/disable-user.command.js} +3 -3
- package/build/{backend/commands/users → frontend/commands/users/actions}/enable-user.command.js +3 -3
- package/build/frontend/commands/users/actions/index.js +21 -0
- package/build/{backend/commands/users → frontend/commands/users/actions}/reset-user-traffic.command.js +3 -3
- package/build/frontend/commands/users/{revoke-user-subscription.command.js → actions/revoke-user-subscription.command.js} +3 -3
- package/build/frontend/commands/users/bulk/bulk-delete-users-by-status.command.js +3 -1
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +2 -0
- package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +2 -0
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +2 -0
- package/build/frontend/commands/users/bulk/bulk-update-users-inbounds.command.js +2 -0
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +4 -2
- package/build/frontend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +2 -0
- package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +4 -2
- package/build/frontend/commands/users/{get-user-by-email.command.js → get-by/get-user-by-email.command.js} +3 -3
- package/build/{backend/commands/users → frontend/commands/users/get-by}/get-user-by-short-uuid.command.js +3 -3
- package/build/frontend/commands/users/{get-user-by-subscription-uuid.command.js → get-by/get-user-by-subscription-uuid.command.js} +3 -3
- package/build/{backend/commands/users → frontend/commands/users/get-by}/get-user-by-telegram-id.command.js +3 -3
- package/build/frontend/commands/users/{get-user-by-username.command.js → get-by/get-user-by-username.command.js} +3 -3
- package/build/frontend/commands/users/get-by/index.js +21 -0
- package/build/frontend/commands/users/get-user-usage-by-range.command.js +2 -0
- package/build/frontend/commands/users/index.js +2 -10
- package/build/frontend/commands/xray/get-config.command.js +3 -1
- package/build/frontend/commands/xray/update-config.command.js +3 -1
- package/build/frontend/constants/base-api/base-api-endpoint.js +2 -1
- package/package.json +1 -1
- package/build/backend/commands/nodes/disable.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/enable.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/get-node-user-usage-by-range.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/get-nodes-usage-by-range.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/get-realtime-usage.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/reorder.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/restart-all.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/restart.command.d.ts.map +0 -1
- package/build/backend/commands/users/activate-all-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/users/disable-user.command.d.ts.map +0 -1
- package/build/backend/commands/users/enable-user.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-by-username.command.d.ts.map +0 -1
- package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +0 -1
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const API_TOKENS_CONTROLLER: "tokens";
|
2
2
|
export declare const API_TOKENS_ROUTES: {
|
3
|
-
readonly CREATE: "
|
4
|
-
readonly DELETE:
|
5
|
-
readonly
|
3
|
+
readonly CREATE: "";
|
4
|
+
readonly DELETE: (uuid: string) => string;
|
5
|
+
readonly GET: "";
|
6
6
|
};
|
7
7
|
//# sourceMappingURL=api-tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api-tokens.d.ts","sourceRoot":"","sources":["../../../../api/controllers/api-tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,EAAG,QAAiB,CAAC;AAEvD,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"api-tokens.d.ts","sourceRoot":"","sources":["../../../../api/controllers/api-tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,EAAG,QAAiB,CAAC;AAEvD,eAAO,MAAM,iBAAiB;;4BAEX,MAAM;;CAEf,CAAC"}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.API_TOKENS_ROUTES = exports.API_TOKENS_CONTROLLER = void 0;
|
4
4
|
exports.API_TOKENS_CONTROLLER = 'tokens';
|
5
5
|
exports.API_TOKENS_ROUTES = {
|
6
|
-
CREATE: '
|
7
|
-
DELETE:
|
8
|
-
|
6
|
+
CREATE: '',
|
7
|
+
DELETE: (uuid) => `${uuid}`,
|
8
|
+
GET: '',
|
9
9
|
};
|
@@ -1,12 +1,14 @@
|
|
1
1
|
export declare const HOSTS_CONTROLLER: "hosts";
|
2
|
+
export declare const HOST_ACTIONS_ROUTE: "actions";
|
2
3
|
export declare const HOSTS_ROUTES: {
|
3
|
-
readonly CREATE: "
|
4
|
-
readonly
|
5
|
-
readonly
|
6
|
-
readonly
|
7
|
-
readonly
|
8
|
-
readonly
|
9
|
-
|
4
|
+
readonly CREATE: "";
|
5
|
+
readonly UPDATE: "";
|
6
|
+
readonly GET: "";
|
7
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
8
|
+
readonly DELETE: (uuid: string) => string;
|
9
|
+
readonly ACTIONS: {
|
10
|
+
readonly REORDER: "actions/reorder";
|
11
|
+
};
|
10
12
|
readonly BULK: {
|
11
13
|
readonly ENABLE_HOSTS: "bulk/enable";
|
12
14
|
readonly DISABLE_HOSTS: "bulk/disable";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hosts.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hosts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"hosts.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hosts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD,eAAO,MAAM,YAAY;;;;iCAID,MAAM;4BACX,MAAM;;;;;;;;;;;CAaf,CAAC"}
|
@@ -1,15 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.HOSTS_ROUTES = exports.HOSTS_CONTROLLER = void 0;
|
3
|
+
exports.HOSTS_ROUTES = exports.HOST_ACTIONS_ROUTE = exports.HOSTS_CONTROLLER = void 0;
|
4
4
|
exports.HOSTS_CONTROLLER = 'hosts';
|
5
|
+
exports.HOST_ACTIONS_ROUTE = 'actions';
|
5
6
|
exports.HOSTS_ROUTES = {
|
6
|
-
CREATE: '
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
CREATE: '', // create
|
8
|
+
UPDATE: '', // update host
|
9
|
+
GET: '', // get all hosts
|
10
|
+
GET_BY_UUID: (uuid) => `${uuid}`, // get by UUID
|
11
|
+
DELETE: (uuid) => `${uuid}`, // delete by UUID
|
12
|
+
ACTIONS: {
|
13
|
+
REORDER: `${exports.HOST_ACTIONS_ROUTE}/reorder`,
|
14
|
+
},
|
13
15
|
BULK: {
|
14
16
|
ENABLE_HOSTS: 'bulk/enable',
|
15
17
|
DISABLE_HOSTS: 'bulk/disable',
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const HWID_CONTROLLER: "hwid";
|
2
2
|
export declare const HWID_ROUTES: {
|
3
|
-
readonly CREATE_USER_HWID_DEVICE: "devices
|
4
|
-
readonly GET_USER_HWID_DEVICES:
|
3
|
+
readonly CREATE_USER_HWID_DEVICE: "devices";
|
4
|
+
readonly GET_USER_HWID_DEVICES: (userUuid: string) => string;
|
5
5
|
readonly DELETE_USER_HWID_DEVICE: "devices/delete";
|
6
6
|
};
|
7
7
|
//# sourceMappingURL=hwid.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hwid.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hwid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"hwid.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hwid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;+CAEc,MAAM;;CAElC,CAAC"}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HWID_ROUTES = exports.HWID_CONTROLLER = void 0;
|
4
4
|
exports.HWID_CONTROLLER = 'hwid';
|
5
5
|
exports.HWID_ROUTES = {
|
6
|
-
CREATE_USER_HWID_DEVICE: 'devices
|
7
|
-
GET_USER_HWID_DEVICES:
|
6
|
+
CREATE_USER_HWID_DEVICE: 'devices',
|
7
|
+
GET_USER_HWID_DEVICES: (userUuid) => `devices/${userUuid}`,
|
8
8
|
DELETE_USER_HWID_DEVICE: 'devices/delete',
|
9
9
|
};
|
@@ -2,7 +2,6 @@ export declare const INBOUNDS_CONTROLLER: "inbounds";
|
|
2
2
|
export declare const INBOUNDS_ROUTES: {
|
3
3
|
readonly GET_INBOUNDS: "";
|
4
4
|
readonly GET_FULL_INBOUNDS: "full";
|
5
|
-
readonly GET_FULL_INBOUND_BY_UUID: "full/uuid";
|
6
5
|
readonly BULK: {
|
7
6
|
readonly ADD_INBOUND_TO_USERS: "bulk/add-to-users";
|
8
7
|
readonly REMOVE_INBOUND_FROM_USERS: "bulk/remove-from-users";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inbounds.d.ts","sourceRoot":"","sources":["../../../../api/controllers/inbounds.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAAG,UAAmB,CAAC;AAEvD,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"inbounds.d.ts","sourceRoot":"","sources":["../../../../api/controllers/inbounds.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAAG,UAAmB,CAAC;AAEvD,eAAO,MAAM,eAAe;;;;;;;;;CAUlB,CAAC"}
|
@@ -5,7 +5,6 @@ exports.INBOUNDS_CONTROLLER = 'inbounds';
|
|
5
5
|
exports.INBOUNDS_ROUTES = {
|
6
6
|
GET_INBOUNDS: '',
|
7
7
|
GET_FULL_INBOUNDS: 'full',
|
8
|
-
GET_FULL_INBOUND_BY_UUID: 'full/uuid',
|
9
8
|
BULK: {
|
10
9
|
ADD_INBOUND_TO_USERS: 'bulk/add-to-users',
|
11
10
|
REMOVE_INBOUND_FROM_USERS: 'bulk/remove-from-users',
|
@@ -1,19 +1,22 @@
|
|
1
1
|
export declare const NODES_CONTROLLER: "nodes";
|
2
|
+
export declare const NODE_ACTIONS_ROUTE: "actions";
|
2
3
|
export declare const NODES_ROUTES: {
|
3
|
-
readonly CREATE: "
|
4
|
-
readonly
|
5
|
-
readonly
|
6
|
-
readonly
|
7
|
-
readonly DELETE:
|
8
|
-
readonly
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
readonly CREATE: "";
|
5
|
+
readonly GET: "";
|
6
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
7
|
+
readonly UPDATE: "";
|
8
|
+
readonly DELETE: (uuid: string) => string;
|
9
|
+
readonly ACTIONS: {
|
10
|
+
readonly ENABLE: (uuid: string) => string;
|
11
|
+
readonly DISABLE: (uuid: string) => string;
|
12
|
+
readonly RESTART: (uuid: string) => string;
|
13
|
+
readonly RESTART_ALL: "actions/restart-all";
|
14
|
+
readonly REORDER: "actions/reorder";
|
15
|
+
};
|
12
16
|
readonly STATS: {
|
13
|
-
readonly
|
14
|
-
readonly
|
17
|
+
readonly USAGE_BY_RANGE_USER: (uuid: string) => string;
|
18
|
+
readonly USAGE_BY_RANGE: "usage";
|
15
19
|
readonly USAGE_REALTIME: "usage/realtime";
|
16
20
|
};
|
17
|
-
readonly REORDER: "reorder";
|
18
21
|
};
|
19
22
|
//# sourceMappingURL=nodes.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD,eAAO,MAAM,YAAY;;;iCAGD,MAAM;;4BAEX,MAAM;;gCAGF,MAAM;iCACL,MAAM;iCACN,MAAM;;;;;6CAOM,MAAM;;;;CAIhC,CAAC"}
|
@@ -1,21 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NODES_ROUTES = exports.NODES_CONTROLLER = void 0;
|
3
|
+
exports.NODES_ROUTES = exports.NODE_ACTIONS_ROUTE = exports.NODES_CONTROLLER = void 0;
|
4
4
|
exports.NODES_CONTROLLER = 'nodes';
|
5
|
+
exports.NODE_ACTIONS_ROUTE = 'actions';
|
5
6
|
exports.NODES_ROUTES = {
|
6
|
-
CREATE: '
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
DELETE:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
CREATE: '', // create
|
8
|
+
GET: '', // get all nodes
|
9
|
+
GET_BY_UUID: (uuid) => `${uuid}`, // get by UUID
|
10
|
+
UPDATE: '', // update, patch
|
11
|
+
DELETE: (uuid) => `${uuid}`, // delete by UUID
|
12
|
+
ACTIONS: {
|
13
|
+
ENABLE: (uuid) => `${uuid}/${exports.NODE_ACTIONS_ROUTE}/enable`,
|
14
|
+
DISABLE: (uuid) => `${uuid}/${exports.NODE_ACTIONS_ROUTE}/disable`,
|
15
|
+
RESTART: (uuid) => `${uuid}/${exports.NODE_ACTIONS_ROUTE}/restart`,
|
16
|
+
RESTART_ALL: `${exports.NODE_ACTIONS_ROUTE}/restart-all`,
|
17
|
+
REORDER: `${exports.NODE_ACTIONS_ROUTE}/reorder`,
|
18
|
+
},
|
15
19
|
STATS: {
|
16
|
-
|
17
|
-
|
20
|
+
USAGE_BY_RANGE_USER: (uuid) => `usage/${uuid}/users`,
|
21
|
+
USAGE_BY_RANGE: 'usage',
|
18
22
|
USAGE_REALTIME: 'usage/realtime',
|
19
23
|
},
|
20
|
-
REORDER: 'reorder',
|
21
24
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const SUBSCRIPTION_SETTINGS_CONTROLLER: "subscription-settings";
|
2
2
|
export declare const SUBSCRIPTION_SETTINGS_ROUTES: {
|
3
|
-
readonly
|
4
|
-
readonly
|
3
|
+
readonly GET: "";
|
4
|
+
readonly UPDATE: "";
|
5
5
|
};
|
6
6
|
//# sourceMappingURL=subscription-settings.d.ts.map
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SUBSCRIPTION_SETTINGS_ROUTES = exports.SUBSCRIPTION_SETTINGS_CONTROLLER = void 0;
|
4
4
|
exports.SUBSCRIPTION_SETTINGS_CONTROLLER = 'subscription-settings';
|
5
5
|
exports.SUBSCRIPTION_SETTINGS_ROUTES = {
|
6
|
-
|
7
|
-
|
6
|
+
GET: '',
|
7
|
+
UPDATE: '',
|
8
8
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const SUBSCRIPTION_TEMPLATE_CONTROLLER: "subscription-templates";
|
2
2
|
export declare const SUBSCRIPTION_TEMPLATE_ROUTES: {
|
3
|
-
readonly
|
4
|
-
readonly
|
3
|
+
readonly GET: (templateType: string) => string;
|
4
|
+
readonly UPDATE: "";
|
5
5
|
};
|
6
6
|
//# sourceMappingURL=subscription-template.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscription-template.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,wBAAiC,CAAC;AAElF,eAAO,MAAM,4BAA4B
|
1
|
+
{"version":3,"file":"subscription-template.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription-template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,wBAAiC,CAAC;AAElF,eAAO,MAAM,4BAA4B;iCACjB,MAAM;;CAEpB,CAAC"}
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SUBSCRIPTION_TEMPLATE_ROUTES = exports.SUBSCRIPTION_TEMPLATE_CONTROLLER = void 0;
|
4
4
|
exports.SUBSCRIPTION_TEMPLATE_CONTROLLER = 'subscription-templates';
|
5
5
|
exports.SUBSCRIPTION_TEMPLATE_ROUTES = {
|
6
|
-
|
7
|
-
|
6
|
+
GET: (templateType) => `${templateType}`,
|
7
|
+
UPDATE: '',
|
8
8
|
};
|
@@ -2,6 +2,6 @@ export declare const SUBSCRIPTION_CONTROLLER: "sub";
|
|
2
2
|
export declare const SUBSCRIPTION_ROUTES: {
|
3
3
|
readonly GET: "";
|
4
4
|
readonly GET_OUTLINE: "/outline";
|
5
|
-
readonly GET_INFO:
|
5
|
+
readonly GET_INFO: (shortUuid: string) => string;
|
6
6
|
};
|
7
7
|
//# sourceMappingURL=subscription.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;mCAGN,MAAM;CACtB,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const SYSTEM_CONTROLLER: "system";
|
2
2
|
export declare const SYSTEM_ROUTES: {
|
3
|
-
readonly STATS:
|
4
|
-
|
5
|
-
|
6
|
-
readonly
|
3
|
+
readonly STATS: {
|
4
|
+
readonly SYSTEM_STATS: "stats";
|
5
|
+
readonly BANDWIDTH_STATS: "stats/bandwidth";
|
6
|
+
readonly NODES_STATS: "stats/nodes";
|
7
7
|
};
|
8
8
|
};
|
9
9
|
//# sourceMappingURL=system.d.ts.map
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SYSTEM_ROUTES = exports.SYSTEM_CONTROLLER = void 0;
|
4
4
|
exports.SYSTEM_CONTROLLER = 'system';
|
5
5
|
exports.SYSTEM_ROUTES = {
|
6
|
-
STATS:
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
STATS: {
|
7
|
+
SYSTEM_STATS: 'stats',
|
8
|
+
BANDWIDTH_STATS: 'stats/bandwidth',
|
9
|
+
NODES_STATS: 'stats/nodes',
|
10
10
|
},
|
11
11
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;;gCAEP,MAAM;iCACL,MAAM;uCACA,MAAM;+CACE,MAAM;6CAER,MAAM;;;yCAGV,MAAM;sCACT,MAAM;uDACW,MAAM;2CAElB,MAAM;gCACjB,MAAM
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;;gCAEP,MAAM;iCACL,MAAM;uCACA,MAAM;+CACE,MAAM;6CAER,MAAM;;;yCAGV,MAAM;sCACT,MAAM;uDACW,MAAM;2CAElB,MAAM;gCACjB,MAAM;;;;;;;;;;;;;;;4CAiBM,MAAM;;CAE/B,CAAC"}
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.XRAY_ROUTES = exports.XRAY_CONTROLLER = void 0;
|
4
4
|
exports.XRAY_CONTROLLER = 'xray';
|
5
5
|
exports.XRAY_ROUTES = {
|
6
|
-
|
7
|
-
|
6
|
+
GET: '',
|
7
|
+
UPDATE: '',
|
8
8
|
};
|
@@ -8,38 +8,39 @@ export declare const REST_API: {
|
|
8
8
|
readonly GET_STATUS: "/api/auth/status";
|
9
9
|
};
|
10
10
|
readonly API_TOKENS: {
|
11
|
-
readonly CREATE: "/api/tokens/
|
11
|
+
readonly CREATE: "/api/tokens/";
|
12
12
|
readonly DELETE: (uuid: string) => string;
|
13
|
-
readonly
|
13
|
+
readonly GET: "/api/tokens/";
|
14
14
|
};
|
15
15
|
readonly KEYGEN: {
|
16
|
-
readonly GET: "/api/keygen/
|
16
|
+
readonly GET: "/api/keygen/";
|
17
17
|
};
|
18
18
|
readonly NODES: {
|
19
|
-
readonly CREATE: "/api/nodes/
|
19
|
+
readonly CREATE: "/api/nodes/";
|
20
|
+
readonly GET: "/api/nodes/";
|
21
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
22
|
+
readonly UPDATE: "/api/nodes/";
|
20
23
|
readonly DELETE: (uuid: string) => string;
|
21
|
-
readonly
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
readonly ACTIONS: {
|
25
|
+
readonly ENABLE: (uuid: string) => string;
|
26
|
+
readonly DISABLE: (uuid: string) => string;
|
27
|
+
readonly RESTART: (uuid: string) => string;
|
28
|
+
readonly RESTART_ALL: "/api/nodes/actions/restart-all";
|
29
|
+
readonly REORDER: "/api/nodes/actions/reorder";
|
30
|
+
};
|
28
31
|
readonly STATS: {
|
29
|
-
readonly USAGE_BY_RANGE: "/api/nodes/usage
|
32
|
+
readonly USAGE_BY_RANGE: "/api/nodes/usage";
|
30
33
|
readonly USAGE_BY_RANGE_USER: (uuid: string) => string;
|
31
34
|
readonly USAGE_REALTIME: "/api/nodes/usage/realtime";
|
32
35
|
};
|
33
|
-
readonly REORDER: "/api/nodes/reorder";
|
34
36
|
};
|
35
37
|
readonly XRAY: {
|
36
|
-
readonly
|
37
|
-
readonly
|
38
|
+
readonly GET: "/api/xray/";
|
39
|
+
readonly UPDATE: "/api/xray/";
|
38
40
|
};
|
39
41
|
readonly INBOUNDS: {
|
40
42
|
readonly GET_INBOUNDS: "/api/inbounds/";
|
41
43
|
readonly GET_FULL_INBOUNDS: "/api/inbounds/full";
|
42
|
-
readonly GET_FULL_INBOUND_BY_UUID: (uuid: string) => string;
|
43
44
|
readonly BULK: {
|
44
45
|
readonly ADD_INBOUND_TO_USERS: "/api/inbounds/bulk/add-to-users";
|
45
46
|
readonly REMOVE_INBOUND_FROM_USERS: "/api/inbounds/bulk/remove-from-users";
|
@@ -89,13 +90,14 @@ export declare const REST_API: {
|
|
89
90
|
readonly GET_INFO: (shortUuid: string) => string;
|
90
91
|
};
|
91
92
|
readonly HOSTS: {
|
92
|
-
readonly CREATE: "/api/hosts/
|
93
|
-
readonly
|
94
|
-
readonly
|
95
|
-
readonly
|
96
|
-
readonly REORDER: "/api/hosts/reorder";
|
93
|
+
readonly CREATE: "/api/hosts/";
|
94
|
+
readonly UPDATE: "/api/hosts/";
|
95
|
+
readonly GET: "/api/hosts/";
|
96
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
97
97
|
readonly DELETE: (uuid: string) => string;
|
98
|
-
readonly
|
98
|
+
readonly ACTIONS: {
|
99
|
+
readonly REORDER: "/api/hosts/actions/reorder";
|
100
|
+
};
|
99
101
|
readonly BULK: {
|
100
102
|
readonly ENABLE_HOSTS: "/api/hosts/bulk/enable";
|
101
103
|
readonly DISABLE_HOSTS: "/api/hosts/bulk/disable";
|
@@ -105,20 +107,22 @@ export declare const REST_API: {
|
|
105
107
|
};
|
106
108
|
};
|
107
109
|
readonly SYSTEM: {
|
108
|
-
readonly STATS:
|
109
|
-
|
110
|
-
|
110
|
+
readonly STATS: {
|
111
|
+
readonly SYSTEM_STATS: "/api/system/stats";
|
112
|
+
readonly BANDWIDTH_STATS: "/api/system/stats/bandwidth";
|
113
|
+
readonly NODES_STATS: "/api/system/stats/nodes";
|
114
|
+
};
|
111
115
|
};
|
112
116
|
readonly SUBSCRIPTION_TEMPLATE: {
|
113
|
-
readonly
|
114
|
-
readonly
|
117
|
+
readonly GET: (templateType: string) => string;
|
118
|
+
readonly UPDATE: "/api/subscription-templates/";
|
115
119
|
};
|
116
120
|
readonly SUBSCRIPTION_SETTINGS: {
|
117
|
-
readonly
|
118
|
-
readonly
|
121
|
+
readonly GET: "/api/subscription-settings/";
|
122
|
+
readonly UPDATE: "/api/subscription-settings/";
|
119
123
|
};
|
120
124
|
readonly HWID: {
|
121
|
-
readonly CREATE_USER_HWID_DEVICE: "/api/hwid/devices
|
125
|
+
readonly CREATE_USER_HWID_DEVICE: "/api/hwid/devices";
|
122
126
|
readonly GET_USER_HWID_DEVICES: (userUuid: string) => string;
|
123
127
|
readonly DELETE_USER_HWID_DEVICE: "/api/hwid/devices/delete";
|
124
128
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;gCAQE,MAAM
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;gCAQE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;;;;;;;;;;;;;;;gCA0BvB,MAAM;qCAGD,MAAM;;qCAIN,MAAM;oCAIP,MAAM;2CAIC,MAAM;mDAIE,MAAM;iDAIR,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;;;;;;;;;;;;;;;gDAmBM,MAAM;;;;kCAOpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCAOR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;qCAsBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;CAMtC,CAAC"}
|
@@ -46,37 +46,38 @@ exports.REST_API = {
|
|
46
46
|
},
|
47
47
|
API_TOKENS: {
|
48
48
|
CREATE: `${exports.ROOT}/${CONTROLLERS.API_TOKENS_CONTROLLER}/${CONTROLLERS.API_TOKENS_ROUTES.CREATE}`,
|
49
|
-
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.API_TOKENS_CONTROLLER}/${CONTROLLERS.API_TOKENS_ROUTES.DELETE
|
50
|
-
|
49
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.API_TOKENS_CONTROLLER}/${CONTROLLERS.API_TOKENS_ROUTES.DELETE(uuid)}`,
|
50
|
+
GET: `${exports.ROOT}/${CONTROLLERS.API_TOKENS_CONTROLLER}/${CONTROLLERS.API_TOKENS_ROUTES.GET}`,
|
51
51
|
},
|
52
52
|
KEYGEN: {
|
53
53
|
GET: `${exports.ROOT}/${CONTROLLERS.KEYGEN_CONTROLLER}/${CONTROLLERS.KEYGEN_ROUTES.GET}`,
|
54
54
|
},
|
55
55
|
NODES: {
|
56
56
|
CREATE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.CREATE}`,
|
57
|
-
|
57
|
+
GET: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.GET}`,
|
58
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.GET_BY_UUID(uuid)}`,
|
58
59
|
UPDATE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.UPDATE}`,
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
60
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.DELETE(uuid)}`,
|
61
|
+
ACTIONS: {
|
62
|
+
ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.ENABLE(uuid)}`,
|
63
|
+
DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.DISABLE(uuid)}`,
|
64
|
+
RESTART: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.RESTART(uuid)}`,
|
65
|
+
RESTART_ALL: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.RESTART_ALL}`,
|
66
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ACTIONS.REORDER}`,
|
67
|
+
},
|
65
68
|
STATS: {
|
66
69
|
USAGE_BY_RANGE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_BY_RANGE}`,
|
67
|
-
USAGE_BY_RANGE_USER: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_BY_RANGE_USER
|
70
|
+
USAGE_BY_RANGE_USER: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_BY_RANGE_USER(uuid)}`,
|
68
71
|
USAGE_REALTIME: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_REALTIME}`,
|
69
72
|
},
|
70
|
-
REORDER: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.REORDER}`,
|
71
73
|
},
|
72
74
|
XRAY: {
|
73
|
-
|
74
|
-
|
75
|
+
GET: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.GET}`,
|
76
|
+
UPDATE: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.UPDATE}`,
|
75
77
|
},
|
76
78
|
INBOUNDS: {
|
77
79
|
GET_INBOUNDS: `${exports.ROOT}/${CONTROLLERS.INBOUNDS_CONTROLLER}/${CONTROLLERS.INBOUNDS_ROUTES.GET_INBOUNDS}`,
|
78
80
|
GET_FULL_INBOUNDS: `${exports.ROOT}/${CONTROLLERS.INBOUNDS_CONTROLLER}/${CONTROLLERS.INBOUNDS_ROUTES.GET_FULL_INBOUNDS}`,
|
79
|
-
GET_FULL_INBOUND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INBOUNDS_CONTROLLER}/${CONTROLLERS.INBOUNDS_ROUTES.GET_FULL_INBOUND_BY_UUID}/${uuid}`,
|
80
81
|
BULK: {
|
81
82
|
ADD_INBOUND_TO_USERS: `${exports.ROOT}/${CONTROLLERS.INBOUNDS_CONTROLLER}/${CONTROLLERS.INBOUNDS_ROUTES.BULK.ADD_INBOUND_TO_USERS}`,
|
82
83
|
REMOVE_INBOUND_FROM_USERS: `${exports.ROOT}/${CONTROLLERS.INBOUNDS_CONTROLLER}/${CONTROLLERS.INBOUNDS_ROUTES.BULK.REMOVE_INBOUND_FROM_USERS}`,
|
@@ -117,7 +118,7 @@ exports.REST_API = {
|
|
117
118
|
},
|
118
119
|
},
|
119
120
|
STATS: {
|
120
|
-
GET_USAGE_BY_RANGE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.STATS.GET_USAGE_BY_RANGE
|
121
|
+
GET_USAGE_BY_RANGE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.STATS.GET_USAGE_BY_RANGE(uuid)}`,
|
121
122
|
},
|
122
123
|
},
|
123
124
|
SUBSCRIPTION: {
|
@@ -127,12 +128,13 @@ exports.REST_API = {
|
|
127
128
|
},
|
128
129
|
HOSTS: {
|
129
130
|
CREATE: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.CREATE}`,
|
130
|
-
GET_ALL: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.GET_ALL}`,
|
131
131
|
UPDATE: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.UPDATE}`,
|
132
|
-
|
133
|
-
|
134
|
-
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.DELETE
|
135
|
-
|
132
|
+
GET: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.GET}`,
|
133
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.GET_BY_UUID(uuid)}`,
|
134
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.DELETE(uuid)}`,
|
135
|
+
ACTIONS: {
|
136
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.ACTIONS.REORDER}`,
|
137
|
+
},
|
136
138
|
BULK: {
|
137
139
|
ENABLE_HOSTS: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.BULK.ENABLE_HOSTS}`,
|
138
140
|
DISABLE_HOSTS: `${exports.ROOT}/${CONTROLLERS.HOSTS_CONTROLLER}/${CONTROLLERS.HOSTS_ROUTES.BULK.DISABLE_HOSTS}`,
|
@@ -142,21 +144,23 @@ exports.REST_API = {
|
|
142
144
|
},
|
143
145
|
},
|
144
146
|
SYSTEM: {
|
145
|
-
STATS:
|
146
|
-
|
147
|
-
|
147
|
+
STATS: {
|
148
|
+
SYSTEM_STATS: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.STATS.SYSTEM_STATS}`,
|
149
|
+
BANDWIDTH_STATS: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.STATS.BANDWIDTH_STATS}`,
|
150
|
+
NODES_STATS: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.STATS.NODES_STATS}`,
|
151
|
+
},
|
148
152
|
},
|
149
153
|
SUBSCRIPTION_TEMPLATE: {
|
150
|
-
|
151
|
-
|
154
|
+
GET: (templateType) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.GET(templateType)}`,
|
155
|
+
UPDATE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.UPDATE}`,
|
152
156
|
},
|
153
157
|
SUBSCRIPTION_SETTINGS: {
|
154
|
-
|
155
|
-
|
158
|
+
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.GET}`,
|
159
|
+
UPDATE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.UPDATE}`,
|
156
160
|
},
|
157
161
|
HWID: {
|
158
162
|
CREATE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.CREATE_USER_HWID_DEVICE}`,
|
159
|
-
GET_USER_HWID_DEVICES: (userUuid) => `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.GET_USER_HWID_DEVICES
|
163
|
+
GET_USER_HWID_DEVICES: (userUuid) => `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.GET_USER_HWID_DEVICES(userUuid)}`,
|
160
164
|
DELETE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.DELETE_USER_HWID_DEVICE}`,
|
161
165
|
},
|
162
166
|
};
|