@remnawave/backend-contract 2.8.35 → 2.9.1
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/routes.d.ts +0 -4
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +0 -4
- package/build/backend/commands/api-tokens/create.command.d.ts +2 -2
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +4 -4
- package/build/backend/commands/api-tokens/delete.command.d.ts +2 -10
- package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/delete.command.js +3 -6
- package/build/backend/commands/api-tokens/{find.command.d.ts → get-api-tokens.command.d.ts} +2 -2
- package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts.map +1 -0
- package/build/backend/commands/api-tokens/get-api-tokens.command.js +23 -0
- package/build/backend/commands/api-tokens/index.d.ts +1 -1
- package/build/backend/commands/api-tokens/index.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/index.js +1 -1
- package/build/backend/commands/auth/login.command.d.ts +2 -2
- package/build/backend/commands/auth/login.command.d.ts.map +1 -1
- package/build/backend/commands/auth/login.command.js +3 -3
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts +2 -1
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/authorize.command.js +1 -1
- package/build/backend/commands/auth/oauth2/callback.command.d.ts +2 -2
- package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts +2 -2
- package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts.map +1 -1
- package/build/backend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/backend/commands/auth/register.command.d.ts +2 -2
- package/build/backend/commands/auth/register.command.d.ts.map +1 -1
- package/build/backend/commands/auth/register.command.js +2 -2
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts +3 -3
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +4 -4
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts +3 -3
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +3 -3
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts +9 -9
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +5 -5
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +7 -3
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts +9 -9
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +5 -5
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +3 -3
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +4 -4
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/actions/reorder.command.js +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.js +1 -1
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts +2 -20
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/delete-config-profile.command.js +2 -7
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +2 -2
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.js +1 -1
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +2 -2
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/actions/reorder.command.js +1 -1
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts +2 -20
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +2 -7
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts +2 -20
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +2 -7
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +2 -2
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/create-external-squad.command.js +1 -1
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts +2 -20
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/delete-external-squad.command.js +2 -7
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.js +2 -2
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +2 -2
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.js +6 -4
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +2 -2
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +2 -2
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +1 -1
- package/build/backend/commands/hosts/delete.command.d.ts +2 -20
- package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/delete.command.js +1 -6
- package/build/backend/commands/hosts/{get-one.command.d.ts → get-host.command.d.ts} +4 -4
- package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/get-host.command.js +19 -0
- package/build/backend/commands/hosts/{get-all.command.d.ts → get-hosts.command.d.ts} +2 -2
- package/build/backend/commands/hosts/get-hosts.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/get-hosts.command.js +19 -0
- package/build/backend/commands/hosts/index.d.ts +2 -2
- package/build/backend/commands/hosts/index.d.ts.map +1 -1
- package/build/backend/commands/hosts/index.js +2 -2
- package/build/backend/commands/hosts/reorder.command.d.ts +3 -3
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.js +9 -9
- package/build/backend/commands/hosts/tags/{get-all-host-tags.command.d.ts → get-hosts-tags.command.d.ts} +2 -2
- package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/tags/get-hosts-tags.command.js +17 -0
- package/build/backend/commands/hosts/tags/index.d.ts +1 -1
- package/build/backend/commands/hosts/tags/index.d.ts.map +1 -1
- package/build/backend/commands/hosts/tags/index.js +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +2 -2
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +2 -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 +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +2 -2
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/hwid/{get-all-hwid-devices.command.d.ts → get-hwid-devices.command.d.ts} +3 -3
- package/build/backend/commands/hwid/get-hwid-devices.command.d.ts.map +1 -0
- package/build/backend/commands/hwid/get-hwid-devices.command.js +20 -0
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/hwid/index.d.ts +1 -1
- package/build/backend/commands/hwid/index.d.ts.map +1 -1
- package/build/backend/commands/hwid/index.js +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +3 -3
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +9 -9
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +2 -2
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +2 -2
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts +15 -0
- package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record.command.js +15 -0
- package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts +15 -0
- package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node.command.js +15 -0
- package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts +15 -0
- package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider.command.js +15 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +2 -2
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +9 -9
- package/build/backend/commands/infra-billing/{get-infra-provider-by-uuid.command.d.ts → get-infra-provider.command.d.ts} +4 -4
- package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +4 -4
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +4 -4
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +2 -2
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.js +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +2 -2
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +2 -2
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/actions/reorder.command.js +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +2 -20
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -6
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +2 -20
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -6
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +2 -2
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +1 -1
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts +2 -20
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/delete-internal-squad.command.js +1 -6
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts +2 -2
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +1 -1
- package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.d.ts → get-internal-squad.command.d.ts} +4 -4
- package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/get-internal-squad.command.js +19 -0
- package/build/backend/commands/internal-squads/index.d.ts +1 -1
- package/build/backend/commands/internal-squads/index.js +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +2 -2
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.js +1 -1
- package/build/backend/commands/ip-control/drop-connections.command.d.ts +2 -20
- package/build/backend/commands/ip-control/drop-connections.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/drop-connections.command.js +1 -6
- package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts +2 -2
- package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/fetch-ips-result.command.js +1 -1
- package/build/backend/commands/ip-control/fetch-ips.command.d.ts +2 -2
- package/build/backend/commands/ip-control/fetch-ips.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/fetch-ips.command.js +2 -2
- package/build/backend/commands/ip-control/fetch-users-ips-result.command.d.ts +2 -2
- package/build/backend/commands/ip-control/fetch-users-ips-result.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/fetch-users-ips-result.command.js +1 -1
- package/build/backend/commands/ip-control/fetch-users-ips.command.d.ts +2 -2
- package/build/backend/commands/ip-control/fetch-users-ips.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/fetch-users-ips.command.js +2 -2
- package/build/backend/commands/keygen/{get-pubkey.command.d.ts → get-node-secret-key.command.d.ts} +7 -7
- package/build/backend/commands/keygen/get-node-secret-key.command.d.ts.map +1 -0
- package/build/backend/commands/keygen/get-node-secret-key.command.js +17 -0
- package/build/backend/commands/keygen/index.d.ts +1 -1
- package/build/backend/commands/keygen/index.d.ts.map +1 -1
- package/build/backend/commands/keygen/index.js +1 -1
- package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts +1 -1
- package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts +2 -2
- package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts +1 -1
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts +2 -2
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +2 -2
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +2 -2
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/reorder.command.js +1 -1
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +2 -2
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/create-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts +2 -20
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/delete-node-plugin.command.js +1 -6
- package/build/backend/commands/node-plugins/executor.command.d.ts +2 -20
- package/build/backend/commands/node-plugins/executor.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/executor.command.js +1 -6
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +2 -2
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/get-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +0 -711
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +0 -8
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +2 -2
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/update-node-plugin.command.js +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +2 -2
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.js +3 -5
- package/build/backend/commands/nodes/actions/enable.command.d.ts +2 -2
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.js +3 -5
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +3 -3
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.js +9 -9
- package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts +2 -20
- package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -6
- package/build/backend/commands/nodes/actions/restart-all.command.d.ts +0 -18
- package/build/backend/commands/nodes/actions/restart-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/restart-all.command.js +0 -5
- package/build/backend/commands/nodes/actions/restart.command.d.ts +2 -20
- package/build/backend/commands/nodes/actions/restart.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/restart.command.js +1 -6
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts +2 -20
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/actions.command.js +1 -6
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +2 -20
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +1 -6
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts +2 -20
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +1 -6
- package/build/backend/commands/nodes/create.command.d.ts +2 -2
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +3 -5
- package/build/backend/commands/nodes/delete.command.d.ts +2 -20
- package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/delete.command.js +1 -6
- package/build/backend/commands/nodes/{get-one.command.d.ts → get-node.command.d.ts} +4 -4
- package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/get-node.command.js +17 -0
- package/build/backend/commands/nodes/{get-all.command.d.ts → get-nodes.command.d.ts} +2 -2
- package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/get-nodes.command.js +19 -0
- package/build/backend/commands/nodes/index.d.ts +2 -2
- package/build/backend/commands/nodes/index.d.ts.map +1 -1
- package/build/backend/commands/nodes/index.js +2 -2
- package/build/backend/commands/nodes/node.response.d.ts +581 -0
- package/build/backend/commands/nodes/{get-all.command.d.ts.map → node.response.d.ts.map} +1 -1
- package/build/backend/commands/nodes/node.response.js +8 -0
- package/build/backend/commands/nodes/tags/{get-all-nodes-tags.command.d.ts → get-nodes-tags.command.d.ts} +2 -2
- package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/tags/get-nodes-tags.command.js +17 -0
- package/build/backend/commands/nodes/tags/index.d.ts +1 -1
- package/build/backend/commands/nodes/tags/index.d.ts.map +1 -1
- package/build/backend/commands/nodes/tags/index.js +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +2 -2
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +3 -4
- package/build/backend/commands/passkeys/delete-passkey.command.d.ts +15 -0
- package/build/backend/commands/passkeys/delete-passkey.command.d.ts.map +1 -0
- package/build/backend/commands/passkeys/delete-passkey.command.js +15 -0
- package/build/backend/commands/passkeys/{get-active-passkeys.command.d.ts → get-passkeys.command.d.ts} +2 -2
- package/build/backend/commands/passkeys/get-passkeys.command.d.ts.map +1 -0
- package/build/backend/commands/passkeys/{get-active-passkeys.command.js → get-passkeys.command.js} +8 -8
- package/build/backend/commands/passkeys/index.d.ts +2 -2
- package/build/backend/commands/passkeys/index.d.ts.map +1 -1
- package/build/backend/commands/passkeys/index.js +2 -2
- package/build/backend/commands/passkeys/update-passkey.command.d.ts +2 -2
- package/build/backend/commands/passkeys/update-passkey.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/update-passkey.command.js +1 -1
- package/build/backend/commands/passkeys/verify-registration.command.d.ts +2 -2
- package/build/backend/commands/passkeys/verify-registration.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/verify-registration.command.js +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +2 -2
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -1
- package/build/backend/commands/snippets/create-snippet.command.d.ts +2 -2
- package/build/backend/commands/snippets/create-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/create-snippet.command.js +1 -1
- package/build/backend/commands/snippets/delete-snippet.command.d.ts +2 -46
- package/build/backend/commands/snippets/delete-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/delete-snippet.command.js +1 -8
- package/build/backend/commands/snippets/index.d.ts +1 -1
- package/build/backend/commands/snippets/index.d.ts.map +1 -1
- package/build/backend/commands/snippets/index.js +1 -1
- package/build/backend/commands/snippets/{update-snippets.command.d.ts → update-snippet.command.d.ts} +3 -3
- package/build/backend/commands/snippets/update-snippet.command.d.ts.map +1 -0
- package/build/backend/commands/snippets/{update-snippets.command.js → update-snippet.command.js} +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts +2 -2
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts +2 -2
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +2 -2
- 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 +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts +3 -3
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +9 -9
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +3 -3
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.js +9 -9
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +3 -3
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.js +9 -9
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts +3 -21
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.js +8 -13
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +3 -3
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +9 -9
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.js +8 -8
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +3 -3
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +9 -9
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +2 -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 +1 -1
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +2 -2
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/actions/reorder.command.js +1 -1
- package/build/backend/commands/subscription-template/create-template.command.d.ts +2 -2
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +1 -1
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +2 -20
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/delete-subscription-template.command.js +1 -6
- package/build/backend/commands/subscription-template/get-template.command.d.ts +2 -2
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +1 -1
- package/build/backend/commands/subscription-template/update-template.command.d.ts +2 -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 +1 -1
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +2 -2
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +3 -3
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +2 -2
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +2 -2
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.js +2 -2
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +2 -2
- package/build/backend/commands/subscriptions/{get-all-subscriptions.command.d.ts → get-subscriptions.command.d.ts} +3 -3
- package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts.map +1 -0
- package/build/backend/commands/subscriptions/{get-all-subscriptions.command.js → get-subscriptions.command.js} +9 -9
- package/build/backend/commands/subscriptions/index.d.ts +1 -1
- package/build/backend/commands/subscriptions/index.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/index.js +1 -1
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts +2 -2
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-nodes-statistics.d.ts +1 -1
- package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.d.ts +1 -1
- package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +2 -2
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +2 -2
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.js +3 -5
- package/build/backend/commands/users/actions/enable-user.command.d.ts +2 -2
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.js +3 -5
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +2 -2
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.js +3 -5
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +3 -3
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +3 -5
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts +2 -20
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -6
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts +2 -20
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +1 -6
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts +2 -20
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -6
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.d.ts +0 -19
- 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 +0 -6
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -20
- 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 +1 -6
- package/build/backend/commands/users/create-user.command.d.ts +2 -2
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +3 -4
- package/build/backend/commands/users/delete-user.command.d.ts +2 -20
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/delete-user.command.js +1 -6
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +2 -2
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-id.command.js +3 -5
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +2 -2
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.js +3 -5
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +2 -2
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.js +3 -5
- package/build/backend/commands/users/get-by/index.d.ts +0 -3
- package/build/backend/commands/users/get-by/index.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/index.js +0 -3
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +2 -2
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +2 -2
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.js +3 -5
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +2 -2
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/backend/commands/users/get-users-stream.command.d.ts +34 -5
- package/build/backend/commands/users/get-users-stream.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-users-stream.command.js +18 -4
- package/build/backend/commands/users/{get-all-users.command.d.ts → get-users.command.d.ts} +3 -3
- package/build/backend/commands/users/get-users.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-users.command.js +23 -0
- package/build/backend/commands/users/index.d.ts +1 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -1
- package/build/backend/commands/users/resolve-user.command.d.ts +2 -2
- package/build/backend/commands/users/resolve-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/resolve-user.command.js +1 -1
- package/build/backend/commands/users/tags/{get-all-tags.command.d.ts → get-users-tags.command.d.ts} +2 -2
- package/build/backend/commands/users/tags/get-users-tags.command.d.ts.map +1 -0
- package/build/backend/commands/users/tags/get-users-tags.command.js +17 -0
- package/build/backend/commands/users/tags/index.d.ts +1 -1
- package/build/backend/commands/users/tags/index.d.ts.map +1 -1
- package/build/backend/commands/users/tags/index.js +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +2 -2
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +3 -4
- package/build/backend/commands/users/user.response.d.ts +214 -0
- package/build/backend/commands/users/user.response.d.ts.map +1 -0
- package/build/backend/commands/users/user.response.js +11 -0
- package/build/backend/models/users.schema.js +1 -1
- package/build/frontend/api/routes.js +0 -4
- package/build/frontend/commands/api-tokens/create.command.js +4 -4
- package/build/frontend/commands/api-tokens/delete.command.js +3 -6
- package/build/frontend/commands/api-tokens/get-api-tokens.command.js +23 -0
- package/build/frontend/commands/api-tokens/index.js +1 -1
- package/build/frontend/commands/auth/login.command.js +3 -3
- package/build/frontend/commands/auth/oauth2/authorize.command.js +1 -1
- package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/frontend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/frontend/commands/auth/register.command.js +2 -2
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +4 -4
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +3 -3
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +5 -5
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +7 -3
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +5 -5
- package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +4 -4
- package/build/frontend/commands/config-profiles/actions/reorder.command.js +1 -1
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +1 -1
- package/build/frontend/commands/config-profiles/delete-config-profile.command.js +2 -7
- package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
- package/build/frontend/commands/config-profiles/update-config-profile.command.js +1 -1
- package/build/frontend/commands/external-squads/actions/reorder.command.js +1 -1
- package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +2 -7
- package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +2 -7
- package/build/frontend/commands/external-squads/create-external-squad.command.js +1 -1
- package/build/frontend/commands/external-squads/delete-external-squad.command.js +2 -7
- package/build/frontend/commands/external-squads/get-external-squad-by-uuid.command.js +2 -2
- package/build/frontend/commands/external-squads/update-external-squad.command.js +6 -4
- package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +1 -1
- package/build/frontend/commands/hosts/delete.command.js +1 -6
- package/build/frontend/commands/hosts/get-host.command.js +19 -0
- package/build/frontend/commands/hosts/get-hosts.command.js +19 -0
- package/build/frontend/commands/hosts/index.js +2 -2
- package/build/frontend/commands/hosts/reorder.command.js +9 -9
- package/build/frontend/commands/hosts/tags/get-hosts-tags.command.js +17 -0
- package/build/frontend/commands/hosts/tags/index.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +1 -1
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/get-hwid-devices.command.js +20 -0
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/index.js +1 -1
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +9 -9
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-bill-record.command.js +15 -0
- package/build/frontend/commands/infra-billing/delete-billing-node.command.js +15 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider.command.js +15 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +9 -9
- package/build/frontend/commands/infra-billing/get-infra-provider.command.js +19 -0
- package/build/frontend/commands/infra-billing/index.js +4 -4
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +1 -1
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/frontend/commands/internal-squads/actions/reorder.command.js +1 -1
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -6
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -6
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +1 -1
- package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +1 -6
- package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +1 -1
- package/build/frontend/commands/internal-squads/get-internal-squad.command.js +19 -0
- package/build/frontend/commands/internal-squads/index.js +1 -1
- package/build/frontend/commands/internal-squads/update-internal-squad.command.js +1 -1
- package/build/frontend/commands/ip-control/drop-connections.command.js +1 -6
- package/build/frontend/commands/ip-control/fetch-ips-result.command.js +1 -1
- package/build/frontend/commands/ip-control/fetch-ips.command.js +2 -2
- package/build/frontend/commands/ip-control/fetch-users-ips-result.command.js +1 -1
- package/build/frontend/commands/ip-control/fetch-users-ips.command.js +2 -2
- package/build/frontend/commands/keygen/get-node-secret-key.command.js +17 -0
- package/build/frontend/commands/keygen/index.js +1 -1
- package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/actions/reorder.command.js +1 -1
- package/build/frontend/commands/node-plugins/create-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +1 -6
- package/build/frontend/commands/node-plugins/executor.command.js +1 -6
- package/build/frontend/commands/node-plugins/get-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +1 -1
- package/build/frontend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +0 -8
- package/build/frontend/commands/node-plugins/update-node-plugin.command.js +1 -1
- package/build/frontend/commands/nodes/actions/disable.command.js +3 -5
- package/build/frontend/commands/nodes/actions/enable.command.js +3 -5
- package/build/frontend/commands/nodes/actions/reorder.command.js +9 -9
- package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -6
- package/build/frontend/commands/nodes/actions/restart-all.command.js +0 -5
- package/build/frontend/commands/nodes/actions/restart.command.js +1 -6
- package/build/frontend/commands/nodes/bulk-actions/actions.command.js +1 -6
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -6
- package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +1 -6
- package/build/frontend/commands/nodes/create.command.js +3 -5
- package/build/frontend/commands/nodes/delete.command.js +1 -6
- package/build/frontend/commands/nodes/get-node.command.js +17 -0
- package/build/frontend/commands/nodes/get-nodes.command.js +19 -0
- package/build/frontend/commands/nodes/index.js +2 -2
- package/build/frontend/commands/nodes/node.response.js +8 -0
- package/build/frontend/commands/nodes/tags/get-nodes-tags.command.js +17 -0
- package/build/frontend/commands/nodes/tags/index.js +1 -1
- package/build/frontend/commands/nodes/update.command.js +3 -4
- package/build/frontend/commands/passkeys/delete-passkey.command.js +15 -0
- package/build/frontend/commands/passkeys/{get-active-passkeys.command.js → get-passkeys.command.js} +8 -8
- package/build/frontend/commands/passkeys/index.js +2 -2
- package/build/frontend/commands/passkeys/update-passkey.command.js +1 -1
- package/build/frontend/commands/passkeys/verify-registration.command.js +1 -1
- package/build/frontend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -1
- package/build/frontend/commands/snippets/create-snippet.command.js +1 -1
- package/build/frontend/commands/snippets/delete-snippet.command.js +1 -8
- package/build/frontend/commands/snippets/index.js +1 -1
- package/build/frontend/commands/snippets/{update-snippets.command.js → update-snippet.command.js} +1 -1
- package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +1 -1
- package/build/frontend/commands/subscription/get-subscription-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +9 -9
- package/build/frontend/commands/subscription-page-configs/actions/reorder.command.js +9 -9
- package/build/frontend/commands/subscription-page-configs/create-subpage-config.command.js +9 -9
- package/build/frontend/commands/subscription-page-configs/delete-subpage-config.command.js +8 -13
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +9 -9
- package/build/frontend/commands/subscription-page-configs/get-subpage-configs.command.js +8 -8
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +9 -9
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/frontend/commands/subscription-template/actions/reorder.command.js +1 -1
- package/build/frontend/commands/subscription-template/create-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +1 -6
- package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/update-template.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +2 -2
- package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-username.command.js +2 -2
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +2 -2
- package/build/frontend/commands/subscriptions/{get-all-subscriptions.command.js → get-subscriptions.command.js} +9 -9
- package/build/frontend/commands/subscriptions/index.js +1 -1
- package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
- package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/frontend/commands/users/actions/disable-user.command.js +3 -5
- package/build/frontend/commands/users/actions/enable-user.command.js +3 -5
- package/build/frontend/commands/users/actions/reset-user-traffic.command.js +3 -5
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +3 -5
- package/build/frontend/commands/users/bulk/bulk-delete-users-by-status.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +1 -6
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +1 -6
- package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -6
- package/build/frontend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +0 -6
- package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +1 -6
- package/build/frontend/commands/users/create-user.command.js +3 -4
- package/build/frontend/commands/users/delete-user.command.js +1 -6
- package/build/frontend/commands/users/get-by/get-user-by-id.command.js +3 -5
- package/build/frontend/commands/users/get-by/get-user-by-short-uuid.command.js +3 -5
- package/build/frontend/commands/users/get-by/get-user-by-username.command.js +3 -5
- package/build/frontend/commands/users/get-by/index.js +0 -3
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-uuid.command.js +3 -5
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/users/get-users-stream.command.js +18 -4
- package/build/frontend/commands/users/get-users.command.js +23 -0
- package/build/frontend/commands/users/index.js +1 -1
- package/build/frontend/commands/users/resolve-user.command.js +1 -1
- package/build/frontend/commands/users/tags/get-users-tags.command.js +17 -0
- package/build/frontend/commands/users/tags/index.js +1 -1
- package/build/frontend/commands/users/update-user.command.js +3 -4
- package/build/frontend/commands/users/user.response.js +11 -0
- package/build/frontend/models/users.schema.js +1 -1
- package/package.json +1 -1
- package/build/backend/commands/api-tokens/find.command.d.ts.map +0 -1
- package/build/backend/commands/api-tokens/find.command.js +0 -23
- package/build/backend/commands/hosts/get-all.command.d.ts.map +0 -1
- package/build/backend/commands/hosts/get-all.command.js +0 -19
- package/build/backend/commands/hosts/get-one.command.d.ts.map +0 -1
- package/build/backend/commands/hosts/get-one.command.js +0 -19
- package/build/backend/commands/hosts/tags/get-all-host-tags.command.d.ts.map +0 -1
- package/build/backend/commands/hosts/tags/get-all-host-tags.command.js +0 -17
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts.map +0 -1
- package/build/backend/commands/hwid/get-all-hwid-devices.command.js +0 -20
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -758
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.js +0 -19
- package/build/backend/commands/keygen/get-pubkey.command.d.ts.map +0 -1
- package/build/backend/commands/keygen/get-pubkey.command.js +0 -17
- package/build/backend/commands/nodes/get-all.command.js +0 -19
- package/build/backend/commands/nodes/get-one.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/get-one.command.js +0 -19
- package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.d.ts.map +0 -1
- package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.js +0 -17
- package/build/backend/commands/passkeys/delete-passkeys.command.d.ts +0 -68
- package/build/backend/commands/passkeys/delete-passkeys.command.d.ts.map +0 -1
- package/build/backend/commands/passkeys/delete-passkeys.command.js +0 -37
- package/build/backend/commands/passkeys/get-active-passkeys.command.d.ts.map +0 -1
- package/build/backend/commands/snippets/update-snippets.command.d.ts.map +0 -1
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-all-users.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-all-users.command.js +0 -23
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +0 -228
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-by/get-user-by-email.command.js +0 -19
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +0 -228
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-by/get-user-by-tag.command.js +0 -22
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +0 -228
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.js +0 -19
- package/build/backend/commands/users/tags/get-all-tags.command.d.ts.map +0 -1
- package/build/backend/commands/users/tags/get-all-tags.command.js +0 -17
- package/build/frontend/commands/api-tokens/find.command.js +0 -23
- package/build/frontend/commands/hosts/get-all.command.js +0 -19
- package/build/frontend/commands/hosts/get-one.command.js +0 -19
- package/build/frontend/commands/hosts/tags/get-all-host-tags.command.js +0 -17
- package/build/frontend/commands/hwid/get-all-hwid-devices.command.js +0 -20
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/frontend/commands/internal-squads/get-internal-squad-by-uuid.js +0 -19
- package/build/frontend/commands/keygen/get-pubkey.command.js +0 -17
- package/build/frontend/commands/nodes/get-all.command.js +0 -19
- package/build/frontend/commands/nodes/get-one.command.js +0 -19
- package/build/frontend/commands/nodes/tags/get-all-nodes-tags.command.js +0 -17
- package/build/frontend/commands/passkeys/delete-passkeys.command.js +0 -37
- package/build/frontend/commands/users/get-all-users.command.js +0 -23
- package/build/frontend/commands/users/get-by/get-user-by-email.command.js +0 -19
- package/build/frontend/commands/users/get-by/get-user-by-tag.command.js +0 -22
- package/build/frontend/commands/users/get-by/get-user-by-telegram-id.command.js +0 -19
- package/build/frontend/commands/users/tags/get-all-tags.command.js +0 -17
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteInfraBillingNodeByUuidCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var DeleteInfraBillingNodeByUuidCommand;
|
|
9
|
-
(function (DeleteInfraBillingNodeByUuidCommand) {
|
|
10
|
-
DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE;
|
|
11
|
-
DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url(':uuid');
|
|
12
|
-
DeleteInfraBillingNodeByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(':uuid'), 'delete', 'Delete infra billing node', { scope: 'delete-billing-node', kind: 'write' });
|
|
13
|
-
DeleteInfraBillingNodeByUuidCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
uuid: zod_1.z.string().uuid(),
|
|
15
|
-
});
|
|
16
|
-
DeleteInfraBillingNodeByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: zod_1.z.object({
|
|
18
|
-
totalBillingNodes: zod_1.z.number(),
|
|
19
|
-
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
|
20
|
-
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
|
21
|
-
totalAvailableBillingNodes: zod_1.z.number(),
|
|
22
|
-
stats: zod_1.z.object({
|
|
23
|
-
upcomingNodesCount: zod_1.z.number(),
|
|
24
|
-
currentMonthPayments: zod_1.z.number(),
|
|
25
|
-
totalSpent: zod_1.z.number(),
|
|
26
|
-
}),
|
|
27
|
-
}),
|
|
28
|
-
});
|
|
29
|
-
})(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteInfraProviderByUuidCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
var DeleteInfraProviderByUuidCommand;
|
|
8
|
-
(function (DeleteInfraProviderByUuidCommand) {
|
|
9
|
-
DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER;
|
|
10
|
-
DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url(':uuid');
|
|
11
|
-
DeleteInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_PROVIDER(':uuid'), 'delete', 'Delete infra provider by uuid', { scope: 'delete-provider', kind: 'write' });
|
|
12
|
-
DeleteInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
|
|
13
|
-
uuid: zod_1.z.string().uuid(),
|
|
14
|
-
});
|
|
15
|
-
DeleteInfraProviderByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
isDeleted: zod_1.z.boolean(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
|
-
})(DeleteInfraProviderByUuidCommand || (exports.DeleteInfraProviderByUuidCommand = DeleteInfraProviderByUuidCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetInfraProviderByUuidCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var GetInfraProviderByUuidCommand;
|
|
9
|
-
(function (GetInfraProviderByUuidCommand) {
|
|
10
|
-
GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID;
|
|
11
|
-
GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url(':uuid');
|
|
12
|
-
GetInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(':uuid'), 'get', 'Get infra provider by uuid', { scope: 'get-provider', kind: 'read' });
|
|
13
|
-
GetInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
uuid: zod_1.z.string().uuid(),
|
|
15
|
-
});
|
|
16
|
-
GetInfraProviderByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: models_1.InfraProviderSchema,
|
|
18
|
-
});
|
|
19
|
-
})(GetInfraProviderByUuidCommand || (exports.GetInfraProviderByUuidCommand = GetInfraProviderByUuidCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetInternalSquadByUuidCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var GetInternalSquadByUuidCommand;
|
|
9
|
-
(function (GetInternalSquadByUuidCommand) {
|
|
10
|
-
GetInternalSquadByUuidCommand.url = api_1.REST_API.INTERNAL_SQUADS.GET_BY_UUID;
|
|
11
|
-
GetInternalSquadByUuidCommand.TSQ_url = GetInternalSquadByUuidCommand.url(':uuid');
|
|
12
|
-
GetInternalSquadByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.GET_BY_UUID(':uuid'), 'get', 'Get internal squad by uuid', { scope: 'get', kind: 'read' });
|
|
13
|
-
GetInternalSquadByUuidCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
uuid: zod_1.z.string().uuid(),
|
|
15
|
-
});
|
|
16
|
-
GetInternalSquadByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: models_1.InternalSquadSchema,
|
|
18
|
-
});
|
|
19
|
-
})(GetInternalSquadByUuidCommand || (exports.GetInternalSquadByUuidCommand = GetInternalSquadByUuidCommand = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPubKeyCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
var GetPubKeyCommand;
|
|
8
|
-
(function (GetPubKeyCommand) {
|
|
9
|
-
GetPubKeyCommand.url = api_1.REST_API.KEYGEN.GET;
|
|
10
|
-
GetPubKeyCommand.TSQ_url = GetPubKeyCommand.url;
|
|
11
|
-
GetPubKeyCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.KEYGEN_ROUTES.GET, 'get', 'Get SECRET_KEY for Remnawave Node', { scope: 'get', kind: 'read' });
|
|
12
|
-
GetPubKeyCommand.ResponseSchema = zod_1.z.object({
|
|
13
|
-
response: zod_1.z.object({
|
|
14
|
-
pubKey: zod_1.z.string(),
|
|
15
|
-
}),
|
|
16
|
-
});
|
|
17
|
-
})(GetPubKeyCommand || (exports.GetPubKeyCommand = GetPubKeyCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAllNodesCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var GetAllNodesCommand;
|
|
9
|
-
(function (GetAllNodesCommand) {
|
|
10
|
-
GetAllNodesCommand.url = api_1.REST_API.NODES.GET;
|
|
11
|
-
GetAllNodesCommand.TSQ_url = GetAllNodesCommand.url;
|
|
12
|
-
GetAllNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.GET, 'get', 'Get all nodes', {
|
|
13
|
-
scope: 'list',
|
|
14
|
-
kind: 'read',
|
|
15
|
-
});
|
|
16
|
-
GetAllNodesCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: zod_1.z.array(models_1.NodesSchema),
|
|
18
|
-
});
|
|
19
|
-
})(GetAllNodesCommand || (exports.GetAllNodesCommand = GetAllNodesCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetOneNodeCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var GetOneNodeCommand;
|
|
9
|
-
(function (GetOneNodeCommand) {
|
|
10
|
-
GetOneNodeCommand.url = api_1.REST_API.NODES.GET_BY_UUID;
|
|
11
|
-
GetOneNodeCommand.TSQ_url = GetOneNodeCommand.url(':uuid');
|
|
12
|
-
GetOneNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.GET_BY_UUID(':uuid'), 'get', 'Get node by UUID', { scope: 'get', kind: 'read' });
|
|
13
|
-
GetOneNodeCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
uuid: zod_1.z.string().uuid(),
|
|
15
|
-
});
|
|
16
|
-
GetOneNodeCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: models_1.NodesSchema,
|
|
18
|
-
});
|
|
19
|
-
})(GetOneNodeCommand || (exports.GetOneNodeCommand = GetOneNodeCommand = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAllNodesTagsCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var GetAllNodesTagsCommand;
|
|
8
|
-
(function (GetAllNodesTagsCommand) {
|
|
9
|
-
GetAllNodesTagsCommand.url = api_1.REST_API.NODES.TAGS.GET;
|
|
10
|
-
GetAllNodesTagsCommand.TSQ_url = GetAllNodesTagsCommand.url;
|
|
11
|
-
GetAllNodesTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.TAGS.GET, 'get', 'Get all existing nodes tags', { scope: 'list-tags', kind: 'read' });
|
|
12
|
-
GetAllNodesTagsCommand.ResponseSchema = zod_1.z.object({
|
|
13
|
-
response: zod_1.z.object({
|
|
14
|
-
tags: zod_1.z.array(zod_1.z.string()),
|
|
15
|
-
}),
|
|
16
|
-
});
|
|
17
|
-
})(GetAllNodesTagsCommand || (exports.GetAllNodesTagsCommand = GetAllNodesTagsCommand = {}));
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeletePasskeyCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
var DeletePasskeyCommand;
|
|
8
|
-
(function (DeletePasskeyCommand) {
|
|
9
|
-
DeletePasskeyCommand.url = api_1.REST_API.PASSKEYS.DELETE_PASSKEY;
|
|
10
|
-
DeletePasskeyCommand.TSQ_url = DeletePasskeyCommand.url;
|
|
11
|
-
DeletePasskeyCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.PASSKEYS_ROUTES.DELETE_PASSKEY, 'delete', 'Delete a passkey by ID', { scope: 'delete', kind: 'write' });
|
|
12
|
-
DeletePasskeyCommand.RequestSchema = zod_1.z.object({
|
|
13
|
-
id: zod_1.z.string(),
|
|
14
|
-
});
|
|
15
|
-
DeletePasskeyCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
passkeys: zod_1.z.array(zod_1.z.object({
|
|
18
|
-
id: zod_1.z.string(),
|
|
19
|
-
name: zod_1.z.string(),
|
|
20
|
-
createdAt: zod_1.z
|
|
21
|
-
.string({
|
|
22
|
-
invalid_type_error: 'Invalid date format',
|
|
23
|
-
})
|
|
24
|
-
.datetime({ message: 'Invalid date format', offset: true, local: true })
|
|
25
|
-
.transform((str) => new Date(str))
|
|
26
|
-
.describe('Created date. Format: 2025-01-17T15:38:45.065Z'),
|
|
27
|
-
lastUsedAt: zod_1.z
|
|
28
|
-
.string({
|
|
29
|
-
invalid_type_error: 'Invalid date format',
|
|
30
|
-
})
|
|
31
|
-
.datetime({ message: 'Invalid date format', offset: true, local: true })
|
|
32
|
-
.transform((str) => new Date(str))
|
|
33
|
-
.describe('Last used date. Format: 2025-01-17T15:38:45.065Z'),
|
|
34
|
-
})),
|
|
35
|
-
}),
|
|
36
|
-
});
|
|
37
|
-
})(DeletePasskeyCommand || (exports.DeletePasskeyCommand = DeletePasskeyCommand = {}));
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAllUsersCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
|
-
const models_1 = require("../../models");
|
|
8
|
-
var GetAllUsersCommand;
|
|
9
|
-
(function (GetAllUsersCommand) {
|
|
10
|
-
GetAllUsersCommand.url = api_1.REST_API.USERS.GET;
|
|
11
|
-
GetAllUsersCommand.TSQ_url = GetAllUsersCommand.url;
|
|
12
|
-
GetAllUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.GET, 'get', 'Get all users using offset-based pagination', {
|
|
13
|
-
scope: 'list',
|
|
14
|
-
kind: 'read',
|
|
15
|
-
});
|
|
16
|
-
GetAllUsersCommand.RequestQuerySchema = models_1.TanstackQueryRequestQuerySchema;
|
|
17
|
-
GetAllUsersCommand.ResponseSchema = zod_1.z.object({
|
|
18
|
-
response: zod_1.z.object({
|
|
19
|
-
users: zod_1.z.array(models_1.ExtendedUsersSchema),
|
|
20
|
-
total: zod_1.z.number(),
|
|
21
|
-
}),
|
|
22
|
-
});
|
|
23
|
-
})(GetAllUsersCommand || (exports.GetAllUsersCommand = GetAllUsersCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUserByEmailCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
const models_1 = require("../../../models");
|
|
8
|
-
var GetUserByEmailCommand;
|
|
9
|
-
(function (GetUserByEmailCommand) {
|
|
10
|
-
GetUserByEmailCommand.url = api_1.REST_API.USERS.GET_BY.EMAIL;
|
|
11
|
-
GetUserByEmailCommand.TSQ_url = GetUserByEmailCommand.url(':email');
|
|
12
|
-
GetUserByEmailCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.GET_BY.EMAIL(':email'), 'get', 'Get users by email', { scope: 'by-email', kind: 'read' });
|
|
13
|
-
GetUserByEmailCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
email: zod_1.z.string().email(),
|
|
15
|
-
});
|
|
16
|
-
GetUserByEmailCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: zod_1.z.array(models_1.ExtendedUsersSchema),
|
|
18
|
-
});
|
|
19
|
-
})(GetUserByEmailCommand || (exports.GetUserByEmailCommand = GetUserByEmailCommand = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUserByTagCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
const models_1 = require("../../../models");
|
|
8
|
-
var GetUserByTagCommand;
|
|
9
|
-
(function (GetUserByTagCommand) {
|
|
10
|
-
GetUserByTagCommand.url = api_1.REST_API.USERS.GET_BY.TAG;
|
|
11
|
-
GetUserByTagCommand.TSQ_url = GetUserByTagCommand.url(':tag');
|
|
12
|
-
GetUserByTagCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.GET_BY.TAG(':tag'), 'get', 'Get users by tag', { scope: 'by-tag', kind: 'read' });
|
|
13
|
-
GetUserByTagCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
tag: zod_1.z
|
|
15
|
-
.string()
|
|
16
|
-
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
|
17
|
-
.max(16, 'Tag must be less than 16 characters'),
|
|
18
|
-
});
|
|
19
|
-
GetUserByTagCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
-
response: zod_1.z.array(models_1.ExtendedUsersSchema),
|
|
21
|
-
});
|
|
22
|
-
})(GetUserByTagCommand || (exports.GetUserByTagCommand = GetUserByTagCommand = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUserByTelegramIdCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
const models_1 = require("../../../models");
|
|
8
|
-
var GetUserByTelegramIdCommand;
|
|
9
|
-
(function (GetUserByTelegramIdCommand) {
|
|
10
|
-
GetUserByTelegramIdCommand.url = api_1.REST_API.USERS.GET_BY.TELEGRAM_ID;
|
|
11
|
-
GetUserByTelegramIdCommand.TSQ_url = GetUserByTelegramIdCommand.url(':telegramId');
|
|
12
|
-
GetUserByTelegramIdCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.GET_BY.TELEGRAM_ID(':telegramId'), 'get', 'Get users by telegram ID', { scope: 'by-telegram-id', kind: 'read' });
|
|
13
|
-
GetUserByTelegramIdCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
telegramId: zod_1.z.string(),
|
|
15
|
-
});
|
|
16
|
-
GetUserByTelegramIdCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: zod_1.z.array(models_1.ExtendedUsersSchema),
|
|
18
|
-
});
|
|
19
|
-
})(GetUserByTelegramIdCommand || (exports.GetUserByTelegramIdCommand = GetUserByTelegramIdCommand = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAllTagsCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var GetAllTagsCommand;
|
|
8
|
-
(function (GetAllTagsCommand) {
|
|
9
|
-
GetAllTagsCommand.url = api_1.REST_API.USERS.TAGS.GET;
|
|
10
|
-
GetAllTagsCommand.TSQ_url = GetAllTagsCommand.url;
|
|
11
|
-
GetAllTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.TAGS.GET, 'get', 'Get all existing user tags', { scope: 'list-tags', kind: 'read' });
|
|
12
|
-
GetAllTagsCommand.ResponseSchema = zod_1.z.object({
|
|
13
|
-
response: zod_1.z.object({
|
|
14
|
-
tags: zod_1.z.array(zod_1.z.string()),
|
|
15
|
-
}),
|
|
16
|
-
});
|
|
17
|
-
})(GetAllTagsCommand || (exports.GetAllTagsCommand = GetAllTagsCommand = {}));
|