@remnawave/backend-contract 2.8.28 → 2.8.30
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/commands/api-tokens/create.command.d.ts +22 -13
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +6 -3
- package/build/backend/commands/api-tokens/find.command.d.ts +26 -26
- package/build/backend/commands/api-tokens/find.command.js +3 -3
- package/build/backend/commands/auth/get-status.command.js +1 -1
- package/build/backend/commands/auth/login.command.js +1 -1
- package/build/backend/commands/auth/oauth2/authorize.command.js +1 -1
- package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/backend/commands/auth/passkey/get-authentication-options.command.js +1 -1
- package/build/backend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/backend/commands/auth/register.command.js +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +12 -12
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +12 -12
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +16 -16
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +14 -14
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +10 -10
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +6 -6
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +4 -4
- package/build/backend/commands/external-squads/update-external-squad.command.js +2 -2
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +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.js +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +2 -2
- package/build/backend/commands/hosts/create.command.js +1 -1
- package/build/backend/commands/hosts/delete.command.js +1 -1
- package/build/backend/commands/hosts/get-all.command.js +1 -1
- package/build/backend/commands/hosts/get-one.command.js +1 -1
- package/build/backend/commands/hosts/reorder.command.js +1 -1
- package/build/backend/commands/hosts/tags/get-all-host-tags.command.js +1 -1
- package/build/backend/commands/hosts/update.command.js +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.js +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.js +2 -2
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.js +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +46 -46
- 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 +4 -4
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +44 -44
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +44 -44
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +1 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +6 -6
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +44 -44
- 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 +4 -4
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/keygen/get-pubkey.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +6 -6
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +17 -17
- 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 +17 -17
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/disable.command.js +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/enable.command.js +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +12 -12
- package/build/backend/commands/nodes/actions/reorder.command.js +1 -1
- package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/backend/commands/nodes/actions/restart-all.command.js +1 -1
- package/build/backend/commands/nodes/actions/restart.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/actions.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +11 -11
- package/build/backend/commands/nodes/create.command.js +1 -1
- package/build/backend/commands/nodes/delete.command.js +1 -1
- package/build/backend/commands/nodes/get-all.command.d.ts +10 -10
- package/build/backend/commands/nodes/get-all.command.js +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +10 -10
- package/build/backend/commands/nodes/get-one.command.js +1 -1
- package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.js +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +14 -14
- package/build/backend/commands/nodes/update.command.js +1 -1
- package/build/backend/commands/passkeys/delete-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/get-active-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -6
- package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.js +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.js +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-info-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +8 -8
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.js +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +14 -14
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/backend/commands/subscription-template/actions/reorder.command.js +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-templates.command.js +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +1 -1
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +6 -6
- 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.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.js +2 -2
- package/build/backend/commands/system/get-metadata.command.js +1 -1
- package/build/backend/commands/system/get-nodes-metrics.command.js +1 -1
- package/build/backend/commands/system/get-nodes-statistics.js +1 -1
- package/build/backend/commands/system/get-recap.command.js +1 -1
- package/build/backend/commands/system/get-remnawave-health.command.js +1 -1
- package/build/backend/commands/system/get-stats.command.js +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +12 -12
- package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.js +1 -1
- package/build/backend/commands/system/tools/generate-x25519.command.js +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/disable-user.command.js +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/enable-user.command.js +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +4 -4
- package/build/backend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +4 -4
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +4 -4
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -2
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +1 -1
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/create-user.command.js +1 -1
- package/build/backend/commands/users/delete-user.command.js +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +6 -6
- package/build/backend/commands/users/get-all-users.command.js +2 -2
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-email.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-tag.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-username.command.js +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 +4 -4
- package/build/backend/commands/users/get-user-by-uuid.command.js +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 +6 -6
- package/build/backend/commands/users/get-users-stream.command.js +1 -1
- package/build/backend/commands/users/resolve-user.command.js +1 -1
- package/build/backend/commands/users/tags/get-all-tags.command.js +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +8 -8
- package/build/backend/commands/users/update-user.command.js +1 -1
- package/build/backend/constants/events/events.d.ts +2 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +2 -0
- package/build/backend/models/api-tokens.schema.d.ts +6 -6
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +5 -2
- package/build/backend/models/config-profile.schema.d.ts +6 -6
- package/build/backend/models/extended-users.schema.d.ts +2 -2
- package/build/backend/models/external-squad.schema.d.ts +2 -2
- package/build/backend/models/external-squad.schema.js +1 -1
- package/build/backend/models/hosts.schema.js +1 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +5 -5
- package/build/backend/models/infra-billing-node.schema.d.ts +15 -15
- package/build/backend/models/infra-provider.schema.d.ts +4 -4
- package/build/backend/models/internal-squad.schema.d.ts +2 -2
- package/build/backend/models/nodes.schema.d.ts +6 -6
- package/build/backend/models/remnawave-settings/passkey-settings.schema.js +1 -1
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.js +2 -2
- package/build/backend/models/response-rules/response-rule.schema.d.ts +4 -4
- package/build/backend/models/response-rules/response-rule.schema.js +2 -2
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +4 -4
- package/build/backend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/backend/models/subscription-settings.schema.d.ts +6 -6
- package/build/backend/models/subscription-settings.schema.js +1 -1
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.js +1 -1
- package/build/backend/models/torrent-blocker-report.schema.d.ts +9 -9
- package/build/backend/models/users.schema.d.ts +2 -2
- package/build/backend/models/webhook/webhook.schema.d.ts +86 -86
- package/build/backend/models/webhook/webhook.schema.js +1 -1
- package/build/frontend/commands/api-tokens/create.command.js +6 -3
- package/build/frontend/commands/api-tokens/find.command.js +3 -3
- package/build/frontend/commands/auth/get-status.command.js +1 -1
- package/build/frontend/commands/auth/login.command.js +1 -1
- 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/get-authentication-options.command.js +1 -1
- package/build/frontend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/frontend/commands/auth/register.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +1 -1
- package/build/frontend/commands/external-squads/update-external-squad.command.js +2 -2
- 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 +2 -2
- package/build/frontend/commands/hosts/create.command.js +1 -1
- package/build/frontend/commands/hosts/delete.command.js +1 -1
- package/build/frontend/commands/hosts/get-all.command.js +1 -1
- package/build/frontend/commands/hosts/get-one.command.js +1 -1
- package/build/frontend/commands/hosts/reorder.command.js +1 -1
- package/build/frontend/commands/hosts/tags/get-all-host-tags.command.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-all-hwid-devices.command.js +2 -2
- package/build/frontend/commands/hwid/get-hwid-devices-stats.command.js +1 -1
- package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +1 -1
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +1 -1
- package/build/frontend/commands/keygen/get-pubkey.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 +1 -1
- package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/reorder.command.js +1 -1
- package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/frontend/commands/nodes/actions/restart-all.command.js +1 -1
- package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/actions.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +1 -1
- package/build/frontend/commands/nodes/create.command.js +1 -1
- package/build/frontend/commands/nodes/delete.command.js +1 -1
- package/build/frontend/commands/nodes/get-all.command.js +1 -1
- package/build/frontend/commands/nodes/get-one.command.js +1 -1
- package/build/frontend/commands/nodes/tags/get-all-nodes-tags.command.js +1 -1
- package/build/frontend/commands/nodes/update.command.js +1 -1
- package/build/frontend/commands/remnawave-settings/get-remnawave-settings.command.js +1 -1
- package/build/frontend/commands/remnawave-settings/update-remnawave-settings.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-info-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/actions/reorder.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/create-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-configs.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/subscription-settings/get-subscription-settings.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/get-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/get-templates.command.js +1 -1
- package/build/frontend/commands/subscription-template/update-template.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-all-subscriptions.command.js +1 -1
- 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 +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/frontend/commands/system/get-bandwidth-stats.command.js +2 -2
- package/build/frontend/commands/system/get-metadata.command.js +1 -1
- package/build/frontend/commands/system/get-nodes-metrics.command.js +1 -1
- package/build/frontend/commands/system/get-nodes-statistics.js +1 -1
- package/build/frontend/commands/system/get-recap.command.js +1 -1
- package/build/frontend/commands/system/get-remnawave-health.command.js +1 -1
- package/build/frontend/commands/system/get-stats.command.js +1 -1
- package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/frontend/commands/system/tools/encrypt-happ-cryptolink.command.js +1 -1
- package/build/frontend/commands/system/tools/generate-x25519.command.js +1 -1
- package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-delete-users-by-status.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +1 -1
- package/build/frontend/commands/users/create-user.command.js +1 -1
- package/build/frontend/commands/users/delete-user.command.js +1 -1
- package/build/frontend/commands/users/get-all-users.command.js +2 -2
- package/build/frontend/commands/users/get-by/get-user-by-email.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-tag.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-telegram-id.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-username.command.js +1 -1
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/users/get-users-stream.command.js +1 -1
- package/build/frontend/commands/users/resolve-user.command.js +1 -1
- package/build/frontend/commands/users/tags/get-all-tags.command.js +1 -1
- package/build/frontend/commands/users/update-user.command.js +1 -1
- package/build/frontend/constants/events/events.js +2 -0
- package/build/frontend/models/api-tokens.schema.js +5 -2
- package/build/frontend/models/external-squad.schema.js +1 -1
- package/build/frontend/models/hosts.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/passkey-settings.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/remnawave-settings.schema.js +2 -2
- package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
- package/build/frontend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/frontend/models/subscription-settings.schema.js +1 -1
- package/build/frontend/models/tanstack-query/tanstask-query-request-query.schema.js +1 -1
- package/build/frontend/models/webhook/webhook.schema.js +1 -1
- package/package.json +13 -13
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -155,8 +155,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
155
155
|
} | undefined;
|
|
156
156
|
}>>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
enabled: boolean;
|
|
159
158
|
name: string;
|
|
159
|
+
enabled: boolean;
|
|
160
160
|
operator: "AND" | "OR";
|
|
161
161
|
conditions: {
|
|
162
162
|
value: string;
|
|
@@ -183,8 +183,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
183
183
|
} | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
enabled: boolean;
|
|
187
186
|
name: string;
|
|
187
|
+
enabled: boolean;
|
|
188
188
|
operator: "AND" | "OR";
|
|
189
189
|
conditions: {
|
|
190
190
|
value: string;
|
|
@@ -214,8 +214,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
version: "1";
|
|
216
216
|
rules: {
|
|
217
|
-
enabled: boolean;
|
|
218
217
|
name: string;
|
|
218
|
+
enabled: boolean;
|
|
219
219
|
operator: "AND" | "OR";
|
|
220
220
|
conditions: {
|
|
221
221
|
value: string;
|
|
@@ -248,8 +248,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
248
248
|
}, {
|
|
249
249
|
version: "1";
|
|
250
250
|
rules: {
|
|
251
|
-
enabled: boolean;
|
|
252
251
|
name: string;
|
|
252
|
+
enabled: boolean;
|
|
253
253
|
operator: "AND" | "OR";
|
|
254
254
|
conditions: {
|
|
255
255
|
value: string;
|
|
@@ -316,8 +316,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
316
316
|
responseRules?: {
|
|
317
317
|
version: "1";
|
|
318
318
|
rules: {
|
|
319
|
-
enabled: boolean;
|
|
320
319
|
name: string;
|
|
320
|
+
enabled: boolean;
|
|
321
321
|
operator: "AND" | "OR";
|
|
322
322
|
conditions: {
|
|
323
323
|
value: string;
|
|
@@ -376,8 +376,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
376
376
|
responseRules?: {
|
|
377
377
|
version: "1";
|
|
378
378
|
rules: {
|
|
379
|
-
enabled: boolean;
|
|
380
379
|
name: string;
|
|
380
|
+
enabled: boolean;
|
|
381
381
|
operator: "AND" | "OR";
|
|
382
382
|
conditions: {
|
|
383
383
|
value: string;
|
|
@@ -568,8 +568,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
568
568
|
} | undefined;
|
|
569
569
|
}>>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
enabled: boolean;
|
|
572
571
|
name: string;
|
|
572
|
+
enabled: boolean;
|
|
573
573
|
operator: "AND" | "OR";
|
|
574
574
|
conditions: {
|
|
575
575
|
value: string;
|
|
@@ -596,8 +596,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
596
596
|
} | undefined;
|
|
597
597
|
} | undefined;
|
|
598
598
|
}, {
|
|
599
|
-
enabled: boolean;
|
|
600
599
|
name: string;
|
|
600
|
+
enabled: boolean;
|
|
601
601
|
operator: "AND" | "OR";
|
|
602
602
|
conditions: {
|
|
603
603
|
value: string;
|
|
@@ -627,8 +627,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
628
628
|
version: "1";
|
|
629
629
|
rules: {
|
|
630
|
-
enabled: boolean;
|
|
631
630
|
name: string;
|
|
631
|
+
enabled: boolean;
|
|
632
632
|
operator: "AND" | "OR";
|
|
633
633
|
conditions: {
|
|
634
634
|
value: string;
|
|
@@ -661,8 +661,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
661
661
|
}, {
|
|
662
662
|
version: "1";
|
|
663
663
|
rules: {
|
|
664
|
-
enabled: boolean;
|
|
665
664
|
name: string;
|
|
665
|
+
enabled: boolean;
|
|
666
666
|
operator: "AND" | "OR";
|
|
667
667
|
conditions: {
|
|
668
668
|
value: string;
|
|
@@ -733,8 +733,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
733
733
|
responseRules: {
|
|
734
734
|
version: "1";
|
|
735
735
|
rules: {
|
|
736
|
-
enabled: boolean;
|
|
737
736
|
name: string;
|
|
737
|
+
enabled: boolean;
|
|
738
738
|
operator: "AND" | "OR";
|
|
739
739
|
conditions: {
|
|
740
740
|
value: string;
|
|
@@ -795,8 +795,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
795
795
|
responseRules: {
|
|
796
796
|
version: "1";
|
|
797
797
|
rules: {
|
|
798
|
-
enabled: boolean;
|
|
799
798
|
name: string;
|
|
799
|
+
enabled: boolean;
|
|
800
800
|
operator: "AND" | "OR";
|
|
801
801
|
conditions: {
|
|
802
802
|
value: string;
|
|
@@ -859,8 +859,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
859
859
|
responseRules: {
|
|
860
860
|
version: "1";
|
|
861
861
|
rules: {
|
|
862
|
-
enabled: boolean;
|
|
863
862
|
name: string;
|
|
863
|
+
enabled: boolean;
|
|
864
864
|
operator: "AND" | "OR";
|
|
865
865
|
conditions: {
|
|
866
866
|
value: string;
|
|
@@ -923,8 +923,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
923
923
|
responseRules: {
|
|
924
924
|
version: "1";
|
|
925
925
|
rules: {
|
|
926
|
-
enabled: boolean;
|
|
927
926
|
name: string;
|
|
927
|
+
enabled: boolean;
|
|
928
928
|
operator: "AND" | "OR";
|
|
929
929
|
conditions: {
|
|
930
930
|
value: string;
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateSubscriptionSettingsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../models");
|
|
6
5
|
const api_1 = require("../../api");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var UpdateSubscriptionSettingsCommand;
|
|
9
9
|
(function (UpdateSubscriptionSettingsCommand) {
|
|
10
10
|
UpdateSubscriptionSettingsCommand.url = api_1.REST_API.SUBSCRIPTION_SETTINGS.UPDATE;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ReorderSubscriptionTemplateCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
8
|
var ReorderSubscriptionTemplateCommand;
|
|
9
9
|
(function (ReorderSubscriptionTemplateCommand) {
|
|
10
10
|
ReorderSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.ACTIONS.REORDER;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateSubscriptionTemplateCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
8
|
var CreateSubscriptionTemplateCommand;
|
|
9
9
|
(function (CreateSubscriptionTemplateCommand) {
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSubscriptionTemplateCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
|
-
const models_1 = require("../../models");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var GetSubscriptionTemplateCommand;
|
|
9
9
|
(function (GetSubscriptionTemplateCommand) {
|
|
10
10
|
GetSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.GET;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSubscriptionTemplatesCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
|
-
const models_1 = require("../../models");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var GetSubscriptionTemplatesCommand;
|
|
9
9
|
(function (GetSubscriptionTemplatesCommand) {
|
|
10
10
|
GetSubscriptionTemplatesCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.GET_ALL;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateSubscriptionTemplateCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
|
-
const models_1 = require("../../models");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var UpdateSubscriptionTemplateCommand;
|
|
9
9
|
(function (UpdateSubscriptionTemplateCommand) {
|
|
10
10
|
UpdateSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.UPDATE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAllSubscriptionsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetAllSubscriptionsCommand;
|
|
8
8
|
(function (GetAllSubscriptionsCommand) {
|
|
9
9
|
GetAllSubscriptionsCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET;
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
91
91
|
uuid: string;
|
|
92
|
+
expireAt: Date;
|
|
92
93
|
createdAt: Date;
|
|
93
94
|
updatedAt: Date;
|
|
94
95
|
description: string | null;
|
|
@@ -98,7 +99,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
98
99
|
shortUuid: string;
|
|
99
100
|
trafficLimitBytes: number;
|
|
100
101
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
101
|
-
expireAt: Date;
|
|
102
102
|
telegramId: number | null;
|
|
103
103
|
email: string | null;
|
|
104
104
|
hwidDeviceLimit: number | null;
|
|
@@ -123,6 +123,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
123
123
|
};
|
|
124
124
|
}, {
|
|
125
125
|
uuid: string;
|
|
126
|
+
expireAt: string;
|
|
126
127
|
createdAt: string;
|
|
127
128
|
updatedAt: string;
|
|
128
129
|
description: string | null;
|
|
@@ -130,7 +131,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
130
131
|
tag: string | null;
|
|
131
132
|
id: number;
|
|
132
133
|
shortUuid: string;
|
|
133
|
-
expireAt: string;
|
|
134
134
|
telegramId: number | null;
|
|
135
135
|
email: string | null;
|
|
136
136
|
hwidDeviceLimit: number | null;
|
|
@@ -784,6 +784,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
784
784
|
user: {
|
|
785
785
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
786
786
|
uuid: string;
|
|
787
|
+
expireAt: Date;
|
|
787
788
|
createdAt: Date;
|
|
788
789
|
updatedAt: Date;
|
|
789
790
|
description: string | null;
|
|
@@ -793,7 +794,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
793
794
|
shortUuid: string;
|
|
794
795
|
trafficLimitBytes: number;
|
|
795
796
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
796
|
-
expireAt: Date;
|
|
797
797
|
telegramId: number | null;
|
|
798
798
|
email: string | null;
|
|
799
799
|
hwidDeviceLimit: number | null;
|
|
@@ -942,6 +942,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
942
942
|
}, {
|
|
943
943
|
user: {
|
|
944
944
|
uuid: string;
|
|
945
|
+
expireAt: string;
|
|
945
946
|
createdAt: string;
|
|
946
947
|
updatedAt: string;
|
|
947
948
|
description: string | null;
|
|
@@ -949,7 +950,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
949
950
|
tag: string | null;
|
|
950
951
|
id: number;
|
|
951
952
|
shortUuid: string;
|
|
952
|
-
expireAt: string;
|
|
953
953
|
telegramId: number | null;
|
|
954
954
|
email: string | null;
|
|
955
955
|
hwidDeviceLimit: number | null;
|
|
@@ -1104,6 +1104,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1104
1104
|
user: {
|
|
1105
1105
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
1106
1106
|
uuid: string;
|
|
1107
|
+
expireAt: Date;
|
|
1107
1108
|
createdAt: Date;
|
|
1108
1109
|
updatedAt: Date;
|
|
1109
1110
|
description: string | null;
|
|
@@ -1113,7 +1114,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1113
1114
|
shortUuid: string;
|
|
1114
1115
|
trafficLimitBytes: number;
|
|
1115
1116
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
1116
|
-
expireAt: Date;
|
|
1117
1117
|
telegramId: number | null;
|
|
1118
1118
|
email: string | null;
|
|
1119
1119
|
hwidDeviceLimit: number | null;
|
|
@@ -1264,6 +1264,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1264
1264
|
response: {
|
|
1265
1265
|
user: {
|
|
1266
1266
|
uuid: string;
|
|
1267
|
+
expireAt: string;
|
|
1267
1268
|
createdAt: string;
|
|
1268
1269
|
updatedAt: string;
|
|
1269
1270
|
description: string | null;
|
|
@@ -1271,7 +1272,6 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1271
1272
|
tag: string | null;
|
|
1272
1273
|
id: number;
|
|
1273
1274
|
shortUuid: string;
|
|
1274
|
-
expireAt: string;
|
|
1275
1275
|
telegramId: number | null;
|
|
1276
1276
|
email: string | null;
|
|
1277
1277
|
hwidDeviceLimit: number | null;
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetRawSubscriptionByShortUuidCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
5
|
const api_1 = require("../../../api");
|
|
7
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
8
|
var GetRawSubscriptionByShortUuidCommand;
|
|
9
9
|
(function (GetRawSubscriptionByShortUuidCommand) {
|
|
10
10
|
GetRawSubscriptionByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_BY.SHORT_UUID_RAW;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSubscriptionByShortUuidProtectedCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
8
|
var GetSubscriptionByShortUuidProtectedCommand;
|
|
9
9
|
(function (GetSubscriptionByShortUuidProtectedCommand) {
|
|
10
10
|
GetSubscriptionByShortUuidProtectedCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_BY.SHORT_UUID;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSubscriptionByUsernameCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
8
|
var GetSubscriptionByUsernameCommand;
|
|
9
9
|
(function (GetSubscriptionByUsernameCommand) {
|
|
10
10
|
GetSubscriptionByUsernameCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_BY.USERNAME;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSubscriptionByUuidCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
8
|
var GetSubscriptionByUuidCommand;
|
|
9
9
|
(function (GetSubscriptionByUuidCommand) {
|
|
10
10
|
GetSubscriptionByUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_BY.UUID;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBandwidthStatsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const base_stat_schema_1 = require("../../models/base-stat.schema");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const base_stat_schema_1 = require("../../models/base-stat.schema");
|
|
8
8
|
var GetBandwidthStatsCommand;
|
|
9
9
|
(function (GetBandwidthStatsCommand) {
|
|
10
10
|
GetBandwidthStatsCommand.url = api_1.REST_API.SYSTEM.STATS.BANDWIDTH_STATS;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetMetadataCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetMetadataCommand;
|
|
8
8
|
(function (GetMetadataCommand) {
|
|
9
9
|
GetMetadataCommand.url = api_1.REST_API.SYSTEM.METADATA;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetNodesMetricsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetNodesMetricsCommand;
|
|
8
8
|
(function (GetNodesMetricsCommand) {
|
|
9
9
|
GetNodesMetricsCommand.url = api_1.REST_API.SYSTEM.STATS.NODES_METRICS;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetNodesStatisticsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetNodesStatisticsCommand;
|
|
8
8
|
(function (GetNodesStatisticsCommand) {
|
|
9
9
|
GetNodesStatisticsCommand.url = api_1.REST_API.SYSTEM.STATS.NODES_STATS;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetRecapCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetRecapCommand;
|
|
8
8
|
(function (GetRecapCommand) {
|
|
9
9
|
GetRecapCommand.url = api_1.REST_API.SYSTEM.STATS.RECAP;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetRemnawaveHealthCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetRemnawaveHealthCommand;
|
|
8
8
|
(function (GetRemnawaveHealthCommand) {
|
|
9
9
|
GetRemnawaveHealthCommand.url = api_1.REST_API.SYSTEM.HEALTH;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetStatsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
const constants_2 = require("../../constants");
|
|
8
8
|
var GetStatsCommand;
|
|
9
9
|
(function (GetStatsCommand) {
|
|
@@ -122,8 +122,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
}>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
enabled: boolean;
|
|
126
125
|
name: string;
|
|
126
|
+
enabled: boolean;
|
|
127
127
|
operator: "AND" | "OR";
|
|
128
128
|
conditions: {
|
|
129
129
|
value: string;
|
|
@@ -150,8 +150,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
150
150
|
} | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
enabled: boolean;
|
|
154
153
|
name: string;
|
|
154
|
+
enabled: boolean;
|
|
155
155
|
operator: "AND" | "OR";
|
|
156
156
|
conditions: {
|
|
157
157
|
value: string;
|
|
@@ -181,8 +181,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
182
|
version: "1";
|
|
183
183
|
rules: {
|
|
184
|
-
enabled: boolean;
|
|
185
184
|
name: string;
|
|
185
|
+
enabled: boolean;
|
|
186
186
|
operator: "AND" | "OR";
|
|
187
187
|
conditions: {
|
|
188
188
|
value: string;
|
|
@@ -215,8 +215,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
215
215
|
}, {
|
|
216
216
|
version: "1";
|
|
217
217
|
rules: {
|
|
218
|
-
enabled: boolean;
|
|
219
218
|
name: string;
|
|
219
|
+
enabled: boolean;
|
|
220
220
|
operator: "AND" | "OR";
|
|
221
221
|
conditions: {
|
|
222
222
|
value: string;
|
|
@@ -251,8 +251,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
251
251
|
responseRules: {
|
|
252
252
|
version: "1";
|
|
253
253
|
rules: {
|
|
254
|
-
enabled: boolean;
|
|
255
254
|
name: string;
|
|
255
|
+
enabled: boolean;
|
|
256
256
|
operator: "AND" | "OR";
|
|
257
257
|
conditions: {
|
|
258
258
|
value: string;
|
|
@@ -287,8 +287,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
287
287
|
responseRules: {
|
|
288
288
|
version: "1";
|
|
289
289
|
rules: {
|
|
290
|
-
enabled: boolean;
|
|
291
290
|
name: string;
|
|
291
|
+
enabled: boolean;
|
|
292
292
|
operator: "AND" | "OR";
|
|
293
293
|
conditions: {
|
|
294
294
|
value: string;
|
|
@@ -444,8 +444,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
444
444
|
} | undefined;
|
|
445
445
|
}>>;
|
|
446
446
|
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
enabled: boolean;
|
|
448
447
|
name: string;
|
|
448
|
+
enabled: boolean;
|
|
449
449
|
operator: "AND" | "OR";
|
|
450
450
|
conditions: {
|
|
451
451
|
value: string;
|
|
@@ -472,8 +472,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
472
472
|
} | undefined;
|
|
473
473
|
} | undefined;
|
|
474
474
|
}, {
|
|
475
|
-
enabled: boolean;
|
|
476
475
|
name: string;
|
|
476
|
+
enabled: boolean;
|
|
477
477
|
operator: "AND" | "OR";
|
|
478
478
|
conditions: {
|
|
479
479
|
value: string;
|
|
@@ -506,8 +506,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
506
506
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
507
507
|
matched: boolean;
|
|
508
508
|
matchedRule: {
|
|
509
|
-
enabled: boolean;
|
|
510
509
|
name: string;
|
|
510
|
+
enabled: boolean;
|
|
511
511
|
operator: "AND" | "OR";
|
|
512
512
|
conditions: {
|
|
513
513
|
value: string;
|
|
@@ -540,8 +540,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
540
540
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
541
541
|
matched: boolean;
|
|
542
542
|
matchedRule: {
|
|
543
|
-
enabled: boolean;
|
|
544
543
|
name: string;
|
|
544
|
+
enabled: boolean;
|
|
545
545
|
operator: "AND" | "OR";
|
|
546
546
|
conditions: {
|
|
547
547
|
value: string;
|
|
@@ -576,8 +576,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
576
576
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
577
577
|
matched: boolean;
|
|
578
578
|
matchedRule: {
|
|
579
|
-
enabled: boolean;
|
|
580
579
|
name: string;
|
|
580
|
+
enabled: boolean;
|
|
581
581
|
operator: "AND" | "OR";
|
|
582
582
|
conditions: {
|
|
583
583
|
value: string;
|
|
@@ -612,8 +612,8 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
612
612
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
613
613
|
matched: boolean;
|
|
614
614
|
matchedRule: {
|
|
615
|
-
enabled: boolean;
|
|
616
615
|
name: string;
|
|
616
|
+
enabled: boolean;
|
|
617
617
|
operator: "AND" | "OR";
|
|
618
618
|
conditions: {
|
|
619
619
|
value: string;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TestSrrMatcherCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var TestSrrMatcherCommand;
|
|
9
9
|
(function (TestSrrMatcherCommand) {
|
|
10
10
|
TestSrrMatcherCommand.url = api_1.REST_API.SYSTEM.TESTERS.SRR_MATCHER;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EncryptHappCryptoLinkCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
5
|
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
7
|
var EncryptHappCryptoLinkCommand;
|
|
8
8
|
(function (EncryptHappCryptoLinkCommand) {
|
|
9
9
|
EncryptHappCryptoLinkCommand.url = api_1.REST_API.SYSTEM.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GenerateX25519Command = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
5
|
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
7
|
var GenerateX25519Command;
|
|
8
8
|
(function (GenerateX25519Command) {
|
|
9
9
|
GenerateX25519Command.url = api_1.REST_API.SYSTEM.TOOLS.GENERATE_X25519;
|
|
@@ -80,6 +80,7 @@ export declare namespace DisableUserCommand {
|
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
82
82
|
uuid: string;
|
|
83
|
+
expireAt: Date;
|
|
83
84
|
createdAt: Date;
|
|
84
85
|
updatedAt: Date;
|
|
85
86
|
description: string | null;
|
|
@@ -89,7 +90,6 @@ export declare namespace DisableUserCommand {
|
|
|
89
90
|
shortUuid: string;
|
|
90
91
|
trafficLimitBytes: number;
|
|
91
92
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
92
|
-
expireAt: Date;
|
|
93
93
|
telegramId: number | null;
|
|
94
94
|
email: string | null;
|
|
95
95
|
hwidDeviceLimit: number | null;
|
|
@@ -114,6 +114,7 @@ export declare namespace DisableUserCommand {
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
uuid: string;
|
|
117
|
+
expireAt: string;
|
|
117
118
|
createdAt: string;
|
|
118
119
|
updatedAt: string;
|
|
119
120
|
description: string | null;
|
|
@@ -121,7 +122,6 @@ export declare namespace DisableUserCommand {
|
|
|
121
122
|
tag: string | null;
|
|
122
123
|
id: number;
|
|
123
124
|
shortUuid: string;
|
|
124
|
-
expireAt: string;
|
|
125
125
|
telegramId: number | null;
|
|
126
126
|
email: string | null;
|
|
127
127
|
hwidDeviceLimit: number | null;
|
|
@@ -152,6 +152,7 @@ export declare namespace DisableUserCommand {
|
|
|
152
152
|
response: {
|
|
153
153
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
154
154
|
uuid: string;
|
|
155
|
+
expireAt: Date;
|
|
155
156
|
createdAt: Date;
|
|
156
157
|
updatedAt: Date;
|
|
157
158
|
description: string | null;
|
|
@@ -161,7 +162,6 @@ export declare namespace DisableUserCommand {
|
|
|
161
162
|
shortUuid: string;
|
|
162
163
|
trafficLimitBytes: number;
|
|
163
164
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
164
|
-
expireAt: Date;
|
|
165
165
|
telegramId: number | null;
|
|
166
166
|
email: string | null;
|
|
167
167
|
hwidDeviceLimit: number | null;
|
|
@@ -188,6 +188,7 @@ export declare namespace DisableUserCommand {
|
|
|
188
188
|
}, {
|
|
189
189
|
response: {
|
|
190
190
|
uuid: string;
|
|
191
|
+
expireAt: string;
|
|
191
192
|
createdAt: string;
|
|
192
193
|
updatedAt: string;
|
|
193
194
|
description: string | null;
|
|
@@ -195,7 +196,6 @@ export declare namespace DisableUserCommand {
|
|
|
195
196
|
tag: string | null;
|
|
196
197
|
id: number;
|
|
197
198
|
shortUuid: string;
|
|
198
|
-
expireAt: string;
|
|
199
199
|
telegramId: number | null;
|
|
200
200
|
email: string | null;
|
|
201
201
|
hwidDeviceLimit: number | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DisableUserCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var DisableUserCommand;
|
|
9
9
|
(function (DisableUserCommand) {
|
|
10
10
|
DisableUserCommand.url = api_1.REST_API.USERS.ACTIONS.DISABLE;
|