@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
|
@@ -10,7 +10,7 @@ var DeleteUserHwidDeviceCommand;
|
|
|
10
10
|
DeleteUserHwidDeviceCommand.url = api_1.REST_API.HWID.DELETE_USER_HWID_DEVICE;
|
|
11
11
|
DeleteUserHwidDeviceCommand.TSQ_url = DeleteUserHwidDeviceCommand.url;
|
|
12
12
|
DeleteUserHwidDeviceCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.DELETE_USER_HWID_DEVICE, 'post', 'Delete a user HWID device', { scope: 'delete', kind: 'write' });
|
|
13
|
-
DeleteUserHwidDeviceCommand.
|
|
13
|
+
DeleteUserHwidDeviceCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
userUuid: zod_1.z.string().uuid(),
|
|
15
15
|
hwid: zod_1.z.string(),
|
|
16
16
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetHwidDevicesCommand = 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 GetHwidDevicesCommand;
|
|
9
|
+
(function (GetHwidDevicesCommand) {
|
|
10
|
+
GetHwidDevicesCommand.url = api_1.REST_API.HWID.GET_ALL_HWID_DEVICES;
|
|
11
|
+
GetHwidDevicesCommand.TSQ_url = GetHwidDevicesCommand.url;
|
|
12
|
+
GetHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.GET_ALL_HWID_DEVICES, 'get', 'Get HWID devices', { scope: 'list', kind: 'read' }, 'Please note that the filters here are primarily intended for use by the frontend and rely on expensive operators such as LIKE under the hood. Misusing these filters may negatively impact the performance of your database.');
|
|
13
|
+
GetHwidDevicesCommand.RequestQuerySchema = models_1.TanstackQueryRequestQuerySchema;
|
|
14
|
+
GetHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
response: zod_1.z.object({
|
|
16
|
+
devices: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
|
17
|
+
total: zod_1.z.number(),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
})(GetHwidDevicesCommand || (exports.GetHwidDevicesCommand = GetHwidDevicesCommand = {}));
|
|
@@ -10,7 +10,7 @@ var GetUserHwidDevicesCommand;
|
|
|
10
10
|
GetUserHwidDevicesCommand.url = api_1.REST_API.HWID.GET_USER_HWID_DEVICES;
|
|
11
11
|
GetUserHwidDevicesCommand.TSQ_url = GetUserHwidDevicesCommand.url(':userUuid');
|
|
12
12
|
GetUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.GET_USER_HWID_DEVICES(':userUuid'), 'get', 'Get user HWID devices', { scope: 'list-by-user', kind: 'read' });
|
|
13
|
-
GetUserHwidDevicesCommand.
|
|
13
|
+
GetUserHwidDevicesCommand.RequestParamSchema = zod_1.z.object({
|
|
14
14
|
userUuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
GetUserHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./create-user-hwid-device.command"), exports);
|
|
18
18
|
__exportStar(require("./delete-all-user-hwid-devices.command"), exports);
|
|
19
19
|
__exportStar(require("./delete-user-hwid-device.command"), exports);
|
|
20
|
-
__exportStar(require("./get-
|
|
20
|
+
__exportStar(require("./get-hwid-devices.command"), exports);
|
|
21
21
|
__exportStar(require("./get-hwid-devices-stats.command"), exports);
|
|
22
22
|
__exportStar(require("./get-top-users-by-hwid-devices.command"), exports);
|
|
23
23
|
__exportStar(require("./get-user-hwid-devices.command"), exports);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateInfraBillingRecordCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
|
-
var
|
|
9
|
-
(function (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
var CreateInfraBillingRecordCommand;
|
|
9
|
+
(function (CreateInfraBillingRecordCommand) {
|
|
10
|
+
CreateInfraBillingRecordCommand.url = api_1.REST_API.INFRA_BILLING.CREATE_BILLING_HISTORY;
|
|
11
|
+
CreateInfraBillingRecordCommand.TSQ_url = CreateInfraBillingRecordCommand.url;
|
|
12
|
+
CreateInfraBillingRecordCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.CREATE_BILLING_HISTORY, 'post', 'Create infra billing history', { scope: 'create-bill-record', kind: 'write' });
|
|
13
|
+
CreateInfraBillingRecordCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
providerUuid: zod_1.z.string().uuid(),
|
|
15
15
|
amount: zod_1.z.number().min(0, 'Amount must be greater than 0'),
|
|
16
16
|
billedAt: zod_1.z
|
|
@@ -21,10 +21,10 @@ var CreateInfraBillingHistoryRecordCommand;
|
|
|
21
21
|
.transform((str) => new Date(str))
|
|
22
22
|
.describe('Billing date. Format: 2025-01-17T15:38:45.065Z'),
|
|
23
23
|
});
|
|
24
|
-
|
|
24
|
+
CreateInfraBillingRecordCommand.ResponseSchema = zod_1.z.object({
|
|
25
25
|
response: zod_1.z.object({
|
|
26
26
|
records: zod_1.z.array(models_1.InfraBillingHistoryRecordSchema),
|
|
27
27
|
total: zod_1.z.number(),
|
|
28
28
|
}),
|
|
29
29
|
});
|
|
30
|
-
})(
|
|
30
|
+
})(CreateInfraBillingRecordCommand || (exports.CreateInfraBillingRecordCommand = CreateInfraBillingRecordCommand = {}));
|
|
@@ -10,7 +10,7 @@ var CreateInfraBillingNodeCommand;
|
|
|
10
10
|
CreateInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.CREATE_BILLING_NODE;
|
|
11
11
|
CreateInfraBillingNodeCommand.TSQ_url = CreateInfraBillingNodeCommand.url;
|
|
12
12
|
CreateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.CREATE_BILLING_NODE, 'post', 'Create infra billing node', { scope: 'create-billing-node', kind: 'write' });
|
|
13
|
-
CreateInfraBillingNodeCommand.
|
|
13
|
+
CreateInfraBillingNodeCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
providerUuid: zod_1.z.string().uuid(),
|
|
15
15
|
nodeUuid: zod_1.z.string().uuid().nullable(),
|
|
16
16
|
name: zod_1.z.string().min(1).max(255).nullable(),
|
|
@@ -10,7 +10,7 @@ var CreateInfraProviderCommand;
|
|
|
10
10
|
CreateInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.CREATE_PROVIDER;
|
|
11
11
|
CreateInfraProviderCommand.TSQ_url = CreateInfraProviderCommand.url;
|
|
12
12
|
CreateInfraProviderCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.CREATE_PROVIDER, 'post', 'Create infra provider', { scope: 'create-provider', kind: 'write' });
|
|
13
|
-
CreateInfraProviderCommand.
|
|
13
|
+
CreateInfraProviderCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
name: zod_1.z
|
|
15
15
|
.string()
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteInfraBillingRecordCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteInfraBillingRecordCommand;
|
|
8
|
+
(function (DeleteInfraBillingRecordCommand) {
|
|
9
|
+
DeleteInfraBillingRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY;
|
|
10
|
+
DeleteInfraBillingRecordCommand.TSQ_url = DeleteInfraBillingRecordCommand.url(':uuid');
|
|
11
|
+
DeleteInfraBillingRecordCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(':uuid'), 'delete', 'Delete infra billing history', { scope: 'delete-bill-record', kind: 'write' });
|
|
12
|
+
DeleteInfraBillingRecordCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
});
|
|
15
|
+
})(DeleteInfraBillingRecordCommand || (exports.DeleteInfraBillingRecordCommand = DeleteInfraBillingRecordCommand = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteInfraBillingNodeCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteInfraBillingNodeCommand;
|
|
8
|
+
(function (DeleteInfraBillingNodeCommand) {
|
|
9
|
+
DeleteInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE;
|
|
10
|
+
DeleteInfraBillingNodeCommand.TSQ_url = DeleteInfraBillingNodeCommand.url(':uuid');
|
|
11
|
+
DeleteInfraBillingNodeCommand.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' });
|
|
12
|
+
DeleteInfraBillingNodeCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
});
|
|
15
|
+
})(DeleteInfraBillingNodeCommand || (exports.DeleteInfraBillingNodeCommand = DeleteInfraBillingNodeCommand = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteInfraProviderCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteInfraProviderCommand;
|
|
8
|
+
(function (DeleteInfraProviderCommand) {
|
|
9
|
+
DeleteInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER;
|
|
10
|
+
DeleteInfraProviderCommand.TSQ_url = DeleteInfraProviderCommand.url(':uuid');
|
|
11
|
+
DeleteInfraProviderCommand.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
|
+
DeleteInfraProviderCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
});
|
|
15
|
+
})(DeleteInfraProviderCommand || (exports.DeleteInfraProviderCommand = DeleteInfraProviderCommand = {}));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetInfraBillingRecordsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
|
-
var
|
|
9
|
-
(function (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
var GetInfraBillingRecordsCommand;
|
|
9
|
+
(function (GetInfraBillingRecordsCommand) {
|
|
10
|
+
GetInfraBillingRecordsCommand.url = api_1.REST_API.INFRA_BILLING.GET_BILLING_HISTORY;
|
|
11
|
+
GetInfraBillingRecordsCommand.TSQ_url = GetInfraBillingRecordsCommand.url;
|
|
12
|
+
GetInfraBillingRecordsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_BILLING_HISTORY, 'get', 'Get infra billing history', { scope: 'list-bill-records', kind: 'read' });
|
|
13
|
+
GetInfraBillingRecordsCommand.RequestQuerySchema = zod_1.z.object({
|
|
14
14
|
start: zod_1.z.coerce
|
|
15
15
|
.number()
|
|
16
16
|
.default(0)
|
|
@@ -22,10 +22,10 @@ var GetInfraBillingHistoryRecordsCommand;
|
|
|
22
22
|
.describe('Number of billing records to return, no more than 500')
|
|
23
23
|
.default(50),
|
|
24
24
|
});
|
|
25
|
-
|
|
25
|
+
GetInfraBillingRecordsCommand.ResponseSchema = zod_1.z.object({
|
|
26
26
|
response: zod_1.z.object({
|
|
27
27
|
records: zod_1.z.array(models_1.InfraBillingHistoryRecordSchema),
|
|
28
28
|
total: zod_1.z.number(),
|
|
29
29
|
}),
|
|
30
30
|
});
|
|
31
|
-
})(
|
|
31
|
+
})(GetInfraBillingRecordsCommand || (exports.GetInfraBillingRecordsCommand = GetInfraBillingRecordsCommand = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInfraProviderCommand = 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 GetInfraProviderCommand;
|
|
9
|
+
(function (GetInfraProviderCommand) {
|
|
10
|
+
GetInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID;
|
|
11
|
+
GetInfraProviderCommand.TSQ_url = GetInfraProviderCommand.url(':uuid');
|
|
12
|
+
GetInfraProviderCommand.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
|
+
GetInfraProviderCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
});
|
|
16
|
+
GetInfraProviderCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: models_1.InfraProviderSchema,
|
|
18
|
+
});
|
|
19
|
+
})(GetInfraProviderCommand || (exports.GetInfraProviderCommand = GetInfraProviderCommand = {}));
|
|
@@ -17,12 +17,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./create-bill-record.command"), exports);
|
|
18
18
|
__exportStar(require("./create-billing-node.command"), exports);
|
|
19
19
|
__exportStar(require("./create-infra-provider.command"), exports);
|
|
20
|
-
__exportStar(require("./delete-bill-record
|
|
21
|
-
__exportStar(require("./delete-billing-node
|
|
22
|
-
__exportStar(require("./delete-infra-provider
|
|
20
|
+
__exportStar(require("./delete-bill-record.command"), exports);
|
|
21
|
+
__exportStar(require("./delete-billing-node.command"), exports);
|
|
22
|
+
__exportStar(require("./delete-infra-provider.command"), exports);
|
|
23
23
|
__exportStar(require("./get-bill-records.command"), exports);
|
|
24
24
|
__exportStar(require("./get-billing-nodes.command"), exports);
|
|
25
|
-
__exportStar(require("./get-infra-provider
|
|
25
|
+
__exportStar(require("./get-infra-provider.command"), exports);
|
|
26
26
|
__exportStar(require("./get-infra-providers.command"), exports);
|
|
27
27
|
__exportStar(require("./update-billing-node.command"), exports);
|
|
28
28
|
__exportStar(require("./update-infra-provider.command"), exports);
|
|
@@ -10,7 +10,7 @@ var UpdateInfraBillingNodeCommand;
|
|
|
10
10
|
UpdateInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_BILLING_NODE;
|
|
11
11
|
UpdateInfraBillingNodeCommand.TSQ_url = UpdateInfraBillingNodeCommand.url;
|
|
12
12
|
UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE, 'patch', 'Update infra billing nodes', { scope: 'update-billing-node', kind: 'write' });
|
|
13
|
-
UpdateInfraBillingNodeCommand.
|
|
13
|
+
UpdateInfraBillingNodeCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
uuids: zod_1.z.array(zod_1.z.string().uuid()),
|
|
15
15
|
nextBillingAt: zod_1.z
|
|
16
16
|
.string({
|
|
@@ -10,7 +10,7 @@ var UpdateInfraProviderCommand;
|
|
|
10
10
|
UpdateInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_PROVIDER;
|
|
11
11
|
UpdateInfraProviderCommand.TSQ_url = UpdateInfraProviderCommand.url;
|
|
12
12
|
UpdateInfraProviderCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_PROVIDER, 'patch', 'Update infra provider', { scope: 'update-provider', kind: 'write' });
|
|
13
|
-
UpdateInfraProviderCommand.
|
|
13
|
+
UpdateInfraProviderCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
name: zod_1.z
|
|
16
16
|
.string()
|
|
@@ -10,7 +10,7 @@ var ReorderInternalSquadCommand;
|
|
|
10
10
|
ReorderInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.ACTIONS.REORDER;
|
|
11
11
|
ReorderInternalSquadCommand.TSQ_url = ReorderInternalSquadCommand.url;
|
|
12
12
|
ReorderInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.ACTIONS.REORDER, 'post', 'Reorder internal squads', { scope: 'reorder', kind: 'write' });
|
|
13
|
-
ReorderInternalSquadCommand.
|
|
13
|
+
ReorderInternalSquadCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
items: zod_1.z.array(models_1.InternalSquadSchema.pick({
|
|
15
15
|
viewPosition: true,
|
|
16
16
|
uuid: true,
|
package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js
CHANGED
|
@@ -9,12 +9,7 @@ var AddUsersToInternalSquadCommand;
|
|
|
9
9
|
AddUsersToInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.BULK_ACTIONS.ADD_USERS;
|
|
10
10
|
AddUsersToInternalSquadCommand.TSQ_url = AddUsersToInternalSquadCommand.url(':uuid');
|
|
11
11
|
AddUsersToInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.ADD_USERS(':uuid'), 'post', 'Add all users to internal squad', { scope: 'add-users', kind: 'write' });
|
|
12
|
-
AddUsersToInternalSquadCommand.
|
|
12
|
+
AddUsersToInternalSquadCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
uuid: zod_1.z.string().uuid(),
|
|
14
14
|
});
|
|
15
|
-
AddUsersToInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
eventSent: zod_1.z.boolean(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
15
|
})(AddUsersToInternalSquadCommand || (exports.AddUsersToInternalSquadCommand = AddUsersToInternalSquadCommand = {}));
|
|
@@ -9,12 +9,7 @@ var DeleteUsersFromInternalSquadCommand;
|
|
|
9
9
|
DeleteUsersFromInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.BULK_ACTIONS.REMOVE_USERS;
|
|
10
10
|
DeleteUsersFromInternalSquadCommand.TSQ_url = DeleteUsersFromInternalSquadCommand.url(':uuid');
|
|
11
11
|
DeleteUsersFromInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.REMOVE_USERS(':uuid'), 'delete', 'Delete users from internal squad', { scope: 'remove-users', kind: 'write' });
|
|
12
|
-
DeleteUsersFromInternalSquadCommand.
|
|
12
|
+
DeleteUsersFromInternalSquadCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
uuid: zod_1.z.string().uuid(),
|
|
14
14
|
});
|
|
15
|
-
DeleteUsersFromInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
eventSent: zod_1.z.boolean(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
15
|
})(DeleteUsersFromInternalSquadCommand || (exports.DeleteUsersFromInternalSquadCommand = DeleteUsersFromInternalSquadCommand = {}));
|
|
@@ -10,7 +10,7 @@ var CreateInternalSquadCommand;
|
|
|
10
10
|
CreateInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.CREATE;
|
|
11
11
|
CreateInternalSquadCommand.TSQ_url = CreateInternalSquadCommand.url;
|
|
12
12
|
CreateInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.CREATE, 'post', 'Create internal squad', { scope: 'create', kind: 'write' });
|
|
13
|
-
CreateInternalSquadCommand.
|
|
13
|
+
CreateInternalSquadCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
name: zod_1.z
|
|
15
15
|
.string()
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -9,12 +9,7 @@ var DeleteInternalSquadCommand;
|
|
|
9
9
|
DeleteInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.DELETE;
|
|
10
10
|
DeleteInternalSquadCommand.TSQ_url = DeleteInternalSquadCommand.url(':uuid');
|
|
11
11
|
DeleteInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.DELETE(':uuid'), 'delete', 'Delete internal squad', { scope: 'delete', kind: 'write' });
|
|
12
|
-
DeleteInternalSquadCommand.
|
|
12
|
+
DeleteInternalSquadCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
uuid: zod_1.z.string().uuid(),
|
|
14
14
|
});
|
|
15
|
-
DeleteInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
isDeleted: zod_1.z.boolean(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
15
|
})(DeleteInternalSquadCommand || (exports.DeleteInternalSquadCommand = DeleteInternalSquadCommand = {}));
|
package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js
CHANGED
|
@@ -9,7 +9,7 @@ var GetInternalSquadAccessibleNodesCommand;
|
|
|
9
9
|
GetInternalSquadAccessibleNodesCommand.url = api_1.REST_API.INTERNAL_SQUADS.ACCESSIBLE_NODES;
|
|
10
10
|
GetInternalSquadAccessibleNodesCommand.TSQ_url = GetInternalSquadAccessibleNodesCommand.url(':uuid');
|
|
11
11
|
GetInternalSquadAccessibleNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.ACCESSIBLE_NODES(':uuid'), 'get', 'Get internal squad accessible nodes', { scope: 'accessible-nodes', kind: 'read' });
|
|
12
|
-
GetInternalSquadAccessibleNodesCommand.
|
|
12
|
+
GetInternalSquadAccessibleNodesCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
uuid: zod_1.z.string().uuid(),
|
|
14
14
|
});
|
|
15
15
|
GetInternalSquadAccessibleNodesCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInternalSquadCommand = 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 GetInternalSquadCommand;
|
|
9
|
+
(function (GetInternalSquadCommand) {
|
|
10
|
+
GetInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.GET_BY_UUID;
|
|
11
|
+
GetInternalSquadCommand.TSQ_url = GetInternalSquadCommand.url(':uuid');
|
|
12
|
+
GetInternalSquadCommand.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
|
+
GetInternalSquadCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
});
|
|
16
|
+
GetInternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: models_1.InternalSquadSchema,
|
|
18
|
+
});
|
|
19
|
+
})(GetInternalSquadCommand || (exports.GetInternalSquadCommand = GetInternalSquadCommand = {}));
|
|
@@ -19,6 +19,6 @@ __exportStar(require("./bulk-actions"), exports);
|
|
|
19
19
|
__exportStar(require("./create-internal-squad.command"), exports);
|
|
20
20
|
__exportStar(require("./delete-internal-squad.command"), exports);
|
|
21
21
|
__exportStar(require("./get-internal-squad-accessible-nodes.command"), exports);
|
|
22
|
-
__exportStar(require("./get-internal-squad
|
|
22
|
+
__exportStar(require("./get-internal-squad.command"), exports);
|
|
23
23
|
__exportStar(require("./get-internal-squads.command"), exports);
|
|
24
24
|
__exportStar(require("./update-internal-squad.command"), exports);
|
|
@@ -10,7 +10,7 @@ var UpdateInternalSquadCommand;
|
|
|
10
10
|
UpdateInternalSquadCommand.url = api_1.REST_API.INTERNAL_SQUADS.UPDATE;
|
|
11
11
|
UpdateInternalSquadCommand.TSQ_url = UpdateInternalSquadCommand.url;
|
|
12
12
|
UpdateInternalSquadCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.UPDATE, 'patch', 'Update internal squad', { scope: 'update', kind: 'write' });
|
|
13
|
-
UpdateInternalSquadCommand.
|
|
13
|
+
UpdateInternalSquadCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
name: zod_1.z
|
|
16
16
|
.string()
|
|
@@ -36,13 +36,8 @@ var DropConnectionsCommand;
|
|
|
36
36
|
})
|
|
37
37
|
.describe('Target specific nodes'),
|
|
38
38
|
]);
|
|
39
|
-
DropConnectionsCommand.
|
|
39
|
+
DropConnectionsCommand.RequestBodySchema = zod_1.z.object({
|
|
40
40
|
dropBy: DropConnectionsCommand.DropBySchema,
|
|
41
41
|
targetNodes: DropConnectionsCommand.TargetNodesSchema,
|
|
42
42
|
});
|
|
43
|
-
DropConnectionsCommand.ResponseSchema = zod_1.z.object({
|
|
44
|
-
response: zod_1.z.object({
|
|
45
|
-
eventSent: zod_1.z.boolean(),
|
|
46
|
-
}),
|
|
47
|
-
});
|
|
48
43
|
})(DropConnectionsCommand || (exports.DropConnectionsCommand = DropConnectionsCommand = {}));
|
|
@@ -9,7 +9,7 @@ var FetchIpsResultCommand;
|
|
|
9
9
|
FetchIpsResultCommand.url = api_1.REST_API.IP_CONTROL.GET_FETCH_IPS_RESULT;
|
|
10
10
|
FetchIpsResultCommand.TSQ_url = FetchIpsResultCommand.url(':jobId');
|
|
11
11
|
FetchIpsResultCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.IP_CONTROL_ROUTES.GET_FETCH_IPS_RESULT(':jobId'), 'get', 'Get IP List Result by Job ID', { scope: 'fetch-ips-result', kind: 'read' });
|
|
12
|
-
FetchIpsResultCommand.
|
|
12
|
+
FetchIpsResultCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
jobId: zod_1.z.string(),
|
|
14
14
|
});
|
|
15
15
|
FetchIpsResultCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -9,8 +9,8 @@ var FetchIpsCommand;
|
|
|
9
9
|
FetchIpsCommand.url = api_1.REST_API.IP_CONTROL.FETCH_IPS;
|
|
10
10
|
FetchIpsCommand.TSQ_url = FetchIpsCommand.url(':uuid');
|
|
11
11
|
FetchIpsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.IP_CONTROL_ROUTES.FETCH_IPS(':uuid'), 'post', 'Request IP List for User', { scope: 'fetch-ips', kind: 'read' });
|
|
12
|
-
FetchIpsCommand.
|
|
13
|
-
uuid: zod_1.z.string().uuid(),
|
|
12
|
+
FetchIpsCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid().describe('User UUID'),
|
|
14
14
|
});
|
|
15
15
|
FetchIpsCommand.ResponseSchema = zod_1.z.object({
|
|
16
16
|
response: zod_1.z.object({
|
|
@@ -9,7 +9,7 @@ var FetchUsersIpsResultCommand;
|
|
|
9
9
|
FetchUsersIpsResultCommand.url = api_1.REST_API.IP_CONTROL.GET_FETCH_USERS_IPS_RESULT;
|
|
10
10
|
FetchUsersIpsResultCommand.TSQ_url = FetchUsersIpsResultCommand.url(':jobId');
|
|
11
11
|
FetchUsersIpsResultCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.IP_CONTROL_ROUTES.GET_FETCH_USERS_IPS_RESULT(':jobId'), 'get', 'Get Users IPs List Result by Job ID', { scope: 'fetch-users-ips-result', kind: 'read' });
|
|
12
|
-
FetchUsersIpsResultCommand.
|
|
12
|
+
FetchUsersIpsResultCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
jobId: zod_1.z.string(),
|
|
14
14
|
});
|
|
15
15
|
FetchUsersIpsResultCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -9,8 +9,8 @@ var FetchUsersIpsCommand;
|
|
|
9
9
|
FetchUsersIpsCommand.url = api_1.REST_API.IP_CONTROL.FETCH_USERS_IPS;
|
|
10
10
|
FetchUsersIpsCommand.TSQ_url = FetchUsersIpsCommand.url(':nodeUuid');
|
|
11
11
|
FetchUsersIpsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.IP_CONTROL_ROUTES.FETCH_USERS_IPS(':nodeUuid'), 'post', 'Request Users IPs List for Node', { scope: 'fetch-users-ips', kind: 'read' });
|
|
12
|
-
FetchUsersIpsCommand.
|
|
13
|
-
nodeUuid: zod_1.z.string().uuid(),
|
|
12
|
+
FetchUsersIpsCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
nodeUuid: zod_1.z.string().uuid().describe('Node UUID'),
|
|
14
14
|
});
|
|
15
15
|
FetchUsersIpsCommand.ResponseSchema = zod_1.z.object({
|
|
16
16
|
response: zod_1.z.object({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNodeSecretKeyCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var GetNodeSecretKeyCommand;
|
|
8
|
+
(function (GetNodeSecretKeyCommand) {
|
|
9
|
+
GetNodeSecretKeyCommand.url = api_1.REST_API.KEYGEN.GET;
|
|
10
|
+
GetNodeSecretKeyCommand.TSQ_url = GetNodeSecretKeyCommand.url;
|
|
11
|
+
GetNodeSecretKeyCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.KEYGEN_ROUTES.GET, 'get', 'Get SECRET_KEY for Remnawave Node', { scope: 'get', kind: 'read' });
|
|
12
|
+
GetNodeSecretKeyCommand.ResponseSchema = zod_1.z.object({
|
|
13
|
+
response: zod_1.z.object({
|
|
14
|
+
secretKey: zod_1.z.string(),
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
17
|
+
})(GetNodeSecretKeyCommand || (exports.GetNodeSecretKeyCommand = GetNodeSecretKeyCommand = {}));
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-
|
|
17
|
+
__exportStar(require("./get-node-secret-key.command"), exports);
|
|
@@ -10,7 +10,7 @@ var CloneNodePluginCommand;
|
|
|
10
10
|
CloneNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.ACTIONS.CLONE;
|
|
11
11
|
CloneNodePluginCommand.TSQ_url = CloneNodePluginCommand.url;
|
|
12
12
|
CloneNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.ACTIONS.CLONE, 'post', 'Clone Node Plugin', { scope: 'clone', kind: 'write' });
|
|
13
|
-
CloneNodePluginCommand.
|
|
13
|
+
CloneNodePluginCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
cloneFromUuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
CloneNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -10,7 +10,7 @@ var ReorderNodePluginCommand;
|
|
|
10
10
|
ReorderNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.ACTIONS.REORDER;
|
|
11
11
|
ReorderNodePluginCommand.TSQ_url = ReorderNodePluginCommand.url;
|
|
12
12
|
ReorderNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.ACTIONS.REORDER, 'post', 'Reorder Node Plugins', { scope: 'reorder', kind: 'write' });
|
|
13
|
-
ReorderNodePluginCommand.
|
|
13
|
+
ReorderNodePluginCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
items: zod_1.z.array(models_1.NodePluginSchema.pick({
|
|
15
15
|
viewPosition: true,
|
|
16
16
|
uuid: true,
|
|
@@ -10,7 +10,7 @@ var CreateNodePluginCommand;
|
|
|
10
10
|
CreateNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.CREATE;
|
|
11
11
|
CreateNodePluginCommand.TSQ_url = CreateNodePluginCommand.url;
|
|
12
12
|
CreateNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.CREATE, 'post', 'Create Node Plugin', { scope: 'create', kind: 'write' });
|
|
13
|
-
CreateNodePluginCommand.
|
|
13
|
+
CreateNodePluginCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
name: zod_1.z
|
|
15
15
|
.string()
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -9,12 +9,7 @@ var DeleteNodePluginCommand;
|
|
|
9
9
|
DeleteNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.DELETE;
|
|
10
10
|
DeleteNodePluginCommand.TSQ_url = DeleteNodePluginCommand.url(':uuid');
|
|
11
11
|
DeleteNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.DELETE(':uuid'), 'delete', 'Delete Node Plugin', { scope: 'delete', kind: 'write' });
|
|
12
|
-
DeleteNodePluginCommand.
|
|
12
|
+
DeleteNodePluginCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
uuid: zod_1.z.string().uuid(),
|
|
14
14
|
});
|
|
15
|
-
DeleteNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
isDeleted: zod_1.z.boolean(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
15
|
})(DeleteNodePluginCommand || (exports.DeleteNodePluginCommand = DeleteNodePluginCommand = {}));
|
|
@@ -46,13 +46,8 @@ var PluginExecutorCommand;
|
|
|
46
46
|
})
|
|
47
47
|
.describe('Target specific nodes'),
|
|
48
48
|
]);
|
|
49
|
-
PluginExecutorCommand.
|
|
49
|
+
PluginExecutorCommand.RequestBodySchema = zod_1.z.object({
|
|
50
50
|
command: PluginExecutorCommand.CommandSchema,
|
|
51
51
|
targetNodes: PluginExecutorCommand.TargetNodesSchema,
|
|
52
52
|
});
|
|
53
|
-
PluginExecutorCommand.ResponseSchema = zod_1.z.object({
|
|
54
|
-
response: zod_1.z.object({
|
|
55
|
-
eventSent: zod_1.z.boolean(),
|
|
56
|
-
}),
|
|
57
|
-
});
|
|
58
53
|
})(PluginExecutorCommand || (exports.PluginExecutorCommand = PluginExecutorCommand = {}));
|
|
@@ -10,7 +10,7 @@ var GetNodePluginCommand;
|
|
|
10
10
|
GetNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.GET;
|
|
11
11
|
GetNodePluginCommand.TSQ_url = GetNodePluginCommand.url(':uuid');
|
|
12
12
|
GetNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.GET(':uuid'), 'get', 'Get Node Plugin by uuid', { scope: 'get', kind: 'read' });
|
|
13
|
-
GetNodePluginCommand.
|
|
13
|
+
GetNodePluginCommand.RequestParamSchema = zod_1.z.object({
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
GetNodePluginCommand.ResponseSchema = zod_1.z.object({
|
package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js
CHANGED
|
@@ -9,7 +9,7 @@ var GetTorrentBlockerReportsCommand;
|
|
|
9
9
|
(function (GetTorrentBlockerReportsCommand) {
|
|
10
10
|
GetTorrentBlockerReportsCommand.url = api_1.REST_API.NODE_PLUGINS.TORRENT_BLOCKER.GET_REPORTS;
|
|
11
11
|
GetTorrentBlockerReportsCommand.TSQ_url = GetTorrentBlockerReportsCommand.url;
|
|
12
|
-
GetTorrentBlockerReportsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS, 'get', 'Get Torrent Blocker Reports', { scope: 'torrent-blocker-reports', kind: 'read' });
|
|
12
|
+
GetTorrentBlockerReportsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS, 'get', 'Get Torrent Blocker Reports', { scope: 'torrent-blocker-reports', kind: 'read' }, 'Please note that the filters here are primarily intended for use by the frontend and rely on expensive operators such as LIKE under the hood. Misusing these filters may negatively impact the performance of your database.');
|
|
13
13
|
GetTorrentBlockerReportsCommand.RequestQuerySchema = models_1.TanstackQueryRequestQuerySchema;
|
|
14
14
|
GetTorrentBlockerReportsCommand.ResponseSchema = zod_1.z.object({
|
|
15
15
|
response: zod_1.z.object({
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TruncateTorrentBlockerReportsCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
4
|
const api_1 = require("../../../api");
|
|
6
5
|
const constants_1 = require("../../../constants");
|
|
7
|
-
const models_1 = require("../../../models");
|
|
8
6
|
var TruncateTorrentBlockerReportsCommand;
|
|
9
7
|
(function (TruncateTorrentBlockerReportsCommand) {
|
|
10
8
|
TruncateTorrentBlockerReportsCommand.url = api_1.REST_API.NODE_PLUGINS.TORRENT_BLOCKER.TRUNCATE_REPORTS;
|
|
11
9
|
TruncateTorrentBlockerReportsCommand.TSQ_url = TruncateTorrentBlockerReportsCommand.url;
|
|
12
10
|
TruncateTorrentBlockerReportsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.TRUNCATE_REPORTS, 'delete', 'Truncate Torrent Blocker Reports', { scope: 'truncate', kind: 'write' });
|
|
13
|
-
TruncateTorrentBlockerReportsCommand.ResponseSchema = zod_1.z.object({
|
|
14
|
-
response: zod_1.z.object({
|
|
15
|
-
records: zod_1.z.array(models_1.TorrentBlockerReportSchema),
|
|
16
|
-
total: zod_1.z.number(),
|
|
17
|
-
}),
|
|
18
|
-
});
|
|
19
11
|
})(TruncateTorrentBlockerReportsCommand || (exports.TruncateTorrentBlockerReportsCommand = TruncateTorrentBlockerReportsCommand = {}));
|
|
@@ -10,7 +10,7 @@ var UpdateNodePluginCommand;
|
|
|
10
10
|
UpdateNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.UPDATE;
|
|
11
11
|
UpdateNodePluginCommand.TSQ_url = UpdateNodePluginCommand.url;
|
|
12
12
|
UpdateNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.UPDATE, 'patch', 'Update Node Plugin', { scope: 'update', kind: 'write' });
|
|
13
|
-
UpdateNodePluginCommand.
|
|
13
|
+
UpdateNodePluginCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
name: zod_1.z
|
|
16
16
|
.string()
|
|
@@ -4,16 +4,14 @@ exports.DisableNodeCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
7
|
-
const
|
|
7
|
+
const node_response_1 = require("../node.response");
|
|
8
8
|
var DisableNodeCommand;
|
|
9
9
|
(function (DisableNodeCommand) {
|
|
10
10
|
DisableNodeCommand.url = api_1.REST_API.NODES.ACTIONS.DISABLE;
|
|
11
11
|
DisableNodeCommand.TSQ_url = DisableNodeCommand.url(':uuid');
|
|
12
12
|
DisableNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.ACTIONS.DISABLE(':uuid'), 'post', 'Disable a node', { scope: 'disable', kind: 'write' });
|
|
13
|
-
DisableNodeCommand.
|
|
13
|
+
DisableNodeCommand.RequestParamSchema = zod_1.z.object({
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
|
-
DisableNodeCommand.ResponseSchema =
|
|
17
|
-
response: models_1.NodesSchema,
|
|
18
|
-
});
|
|
16
|
+
DisableNodeCommand.ResponseSchema = node_response_1.NodeResponseSchema;
|
|
19
17
|
})(DisableNodeCommand || (exports.DisableNodeCommand = DisableNodeCommand = {}));
|