@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
|
@@ -80,6 +80,7 @@ export declare namespace EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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 EnableUserCommand {
|
|
|
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.EnableUserCommand = 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 EnableUserCommand;
|
|
9
9
|
(function (EnableUserCommand) {
|
|
10
10
|
EnableUserCommand.url = api_1.REST_API.USERS.ACTIONS.ENABLE;
|
|
@@ -80,6 +80,7 @@ export declare namespace ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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 ResetUserTrafficCommand {
|
|
|
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.ResetUserTrafficCommand = 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 ResetUserTrafficCommand;
|
|
9
9
|
(function (ResetUserTrafficCommand) {
|
|
10
10
|
ResetUserTrafficCommand.url = api_1.REST_API.USERS.ACTIONS.RESET_TRAFFIC;
|
|
@@ -94,6 +94,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
96
96
|
uuid: string;
|
|
97
|
+
expireAt: Date;
|
|
97
98
|
createdAt: Date;
|
|
98
99
|
updatedAt: Date;
|
|
99
100
|
description: string | null;
|
|
@@ -103,7 +104,6 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
103
104
|
shortUuid: string;
|
|
104
105
|
trafficLimitBytes: number;
|
|
105
106
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
106
|
-
expireAt: Date;
|
|
107
107
|
telegramId: number | null;
|
|
108
108
|
email: string | null;
|
|
109
109
|
hwidDeviceLimit: number | null;
|
|
@@ -128,6 +128,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
uuid: string;
|
|
131
|
+
expireAt: string;
|
|
131
132
|
createdAt: string;
|
|
132
133
|
updatedAt: string;
|
|
133
134
|
description: string | null;
|
|
@@ -135,7 +136,6 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
135
136
|
tag: string | null;
|
|
136
137
|
id: number;
|
|
137
138
|
shortUuid: string;
|
|
138
|
-
expireAt: string;
|
|
139
139
|
telegramId: number | null;
|
|
140
140
|
email: string | null;
|
|
141
141
|
hwidDeviceLimit: number | null;
|
|
@@ -166,6 +166,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
166
166
|
response: {
|
|
167
167
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
168
168
|
uuid: string;
|
|
169
|
+
expireAt: Date;
|
|
169
170
|
createdAt: Date;
|
|
170
171
|
updatedAt: Date;
|
|
171
172
|
description: string | null;
|
|
@@ -175,7 +176,6 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
175
176
|
shortUuid: string;
|
|
176
177
|
trafficLimitBytes: number;
|
|
177
178
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
178
|
-
expireAt: Date;
|
|
179
179
|
telegramId: number | null;
|
|
180
180
|
email: string | null;
|
|
181
181
|
hwidDeviceLimit: number | null;
|
|
@@ -202,6 +202,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
202
202
|
}, {
|
|
203
203
|
response: {
|
|
204
204
|
uuid: string;
|
|
205
|
+
expireAt: string;
|
|
205
206
|
createdAt: string;
|
|
206
207
|
updatedAt: string;
|
|
207
208
|
description: string | null;
|
|
@@ -209,7 +210,6 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
209
210
|
tag: string | null;
|
|
210
211
|
id: number;
|
|
211
212
|
shortUuid: string;
|
|
212
|
-
expireAt: string;
|
|
213
213
|
telegramId: number | null;
|
|
214
214
|
email: string | null;
|
|
215
215
|
hwidDeviceLimit: number | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RevokeUserSubscriptionCommand = 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 RevokeUserSubscriptionCommand;
|
|
9
9
|
(function (RevokeUserSubscriptionCommand) {
|
|
10
10
|
RevokeUserSubscriptionCommand.url = api_1.REST_API.USERS.ACTIONS.REVOKE_SUBSCRIPTION;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkDeleteUsersByStatusCommand = 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 BulkDeleteUsersByStatusCommand;
|
|
9
9
|
(function (BulkDeleteUsersByStatusCommand) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkDeleteUsersCommand = 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 BulkDeleteUsersCommand;
|
|
8
8
|
(function (BulkDeleteUsersCommand) {
|
|
9
9
|
BulkDeleteUsersCommand.url = api_1.REST_API.USERS.BULK.DELETE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkExtendExpirationDateCommand = 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 BulkExtendExpirationDateCommand;
|
|
8
8
|
(function (BulkExtendExpirationDateCommand) {
|
|
9
9
|
BulkExtendExpirationDateCommand.url = api_1.REST_API.USERS.BULK.EXTEND_EXPIRATION_DATE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkResetTrafficUsersCommand = 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 BulkResetTrafficUsersCommand;
|
|
8
8
|
(function (BulkResetTrafficUsersCommand) {
|
|
9
9
|
BulkResetTrafficUsersCommand.url = api_1.REST_API.USERS.BULK.RESET_TRAFFIC;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkRevokeUsersSubscriptionCommand = 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 BulkRevokeUsersSubscriptionCommand;
|
|
8
8
|
(function (BulkRevokeUsersSubscriptionCommand) {
|
|
9
9
|
BulkRevokeUsersSubscriptionCommand.url = api_1.REST_API.USERS.BULK.REVOKE_SUBSCRIPTION;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkUpdateUsersSquadsCommand = 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 BulkUpdateUsersSquadsCommand;
|
|
8
8
|
(function (BulkUpdateUsersSquadsCommand) {
|
|
9
9
|
BulkUpdateUsersSquadsCommand.url = api_1.REST_API.USERS.BULK.UPDATE_SQUADS;
|
|
@@ -29,22 +29,22 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
29
29
|
externalSquadUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
32
|
+
expireAt?: Date | undefined;
|
|
32
33
|
description?: string | null | undefined;
|
|
33
34
|
tag?: string | null | undefined;
|
|
34
35
|
trafficLimitBytes?: number | undefined;
|
|
35
36
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
36
|
-
expireAt?: Date | undefined;
|
|
37
37
|
telegramId?: number | null | undefined;
|
|
38
38
|
email?: string | null | undefined;
|
|
39
39
|
hwidDeviceLimit?: number | null | undefined;
|
|
40
40
|
externalSquadUuid?: string | null | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
43
|
+
expireAt?: string | undefined;
|
|
43
44
|
description?: string | null | undefined;
|
|
44
45
|
tag?: string | null | undefined;
|
|
45
46
|
trafficLimitBytes?: number | undefined;
|
|
46
47
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
47
|
-
expireAt?: string | undefined;
|
|
48
48
|
telegramId?: number | null | undefined;
|
|
49
49
|
email?: string | null | undefined;
|
|
50
50
|
hwidDeviceLimit?: number | null | undefined;
|
|
@@ -54,11 +54,11 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
54
54
|
uuids: string[];
|
|
55
55
|
fields: {
|
|
56
56
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
57
|
+
expireAt?: Date | undefined;
|
|
57
58
|
description?: string | null | undefined;
|
|
58
59
|
tag?: string | null | undefined;
|
|
59
60
|
trafficLimitBytes?: number | undefined;
|
|
60
61
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
61
|
-
expireAt?: Date | undefined;
|
|
62
62
|
telegramId?: number | null | undefined;
|
|
63
63
|
email?: string | null | undefined;
|
|
64
64
|
hwidDeviceLimit?: number | null | undefined;
|
|
@@ -68,11 +68,11 @@ export declare namespace BulkUpdateUsersCommand {
|
|
|
68
68
|
uuids: string[];
|
|
69
69
|
fields: {
|
|
70
70
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
71
|
+
expireAt?: string | undefined;
|
|
71
72
|
description?: string | null | undefined;
|
|
72
73
|
tag?: string | null | undefined;
|
|
73
74
|
trafficLimitBytes?: number | undefined;
|
|
74
75
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
75
|
-
expireAt?: string | undefined;
|
|
76
76
|
telegramId?: number | null | undefined;
|
|
77
77
|
email?: string | null | undefined;
|
|
78
78
|
hwidDeviceLimit?: number | null | undefined;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkUpdateUsersCommand = 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
|
const models_1 = require("../../../models");
|
|
9
9
|
var BulkUpdateUsersCommand;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkAllExtendExpirationDateCommand = 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 BulkAllExtendExpirationDateCommand;
|
|
8
8
|
(function (BulkAllExtendExpirationDateCommand) {
|
|
9
9
|
BulkAllExtendExpirationDateCommand.url = api_1.REST_API.USERS.BULK.ALL.EXTEND_EXPIRATION_DATE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkAllResetTrafficUsersCommand = 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 BulkAllResetTrafficUsersCommand;
|
|
8
8
|
(function (BulkAllResetTrafficUsersCommand) {
|
|
9
9
|
BulkAllResetTrafficUsersCommand.url = api_1.REST_API.USERS.BULK.ALL.RESET_TRAFFIC;
|
|
@@ -26,21 +26,21 @@ export declare namespace BulkAllUpdateUsersCommand {
|
|
|
26
26
|
hwidDeviceLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
29
|
+
expireAt?: Date | undefined;
|
|
29
30
|
description?: string | null | undefined;
|
|
30
31
|
tag?: string | null | undefined;
|
|
31
32
|
trafficLimitBytes?: number | undefined;
|
|
32
33
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
33
|
-
expireAt?: Date | undefined;
|
|
34
34
|
telegramId?: number | null | undefined;
|
|
35
35
|
email?: string | null | undefined;
|
|
36
36
|
hwidDeviceLimit?: number | null | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
39
|
+
expireAt?: string | undefined;
|
|
39
40
|
description?: string | null | undefined;
|
|
40
41
|
tag?: string | null | undefined;
|
|
41
42
|
trafficLimitBytes?: number | undefined;
|
|
42
43
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING" | undefined;
|
|
43
|
-
expireAt?: string | undefined;
|
|
44
44
|
telegramId?: number | null | undefined;
|
|
45
45
|
email?: string | null | undefined;
|
|
46
46
|
hwidDeviceLimit?: number | null | undefined;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkAllUpdateUsersCommand = 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
|
const models_1 = require("../../../models");
|
|
9
9
|
var BulkAllUpdateUsersCommand;
|
|
@@ -36,8 +36,8 @@ export declare namespace CreateUserCommand {
|
|
|
36
36
|
externalSquadUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
39
|
-
username: string;
|
|
40
39
|
expireAt: Date;
|
|
40
|
+
username: string;
|
|
41
41
|
uuid?: string | undefined;
|
|
42
42
|
createdAt?: Date | undefined;
|
|
43
43
|
description?: string | undefined;
|
|
@@ -55,8 +55,8 @@ export declare namespace CreateUserCommand {
|
|
|
55
55
|
lastTrafficResetAt?: Date | undefined;
|
|
56
56
|
activeInternalSquads?: string[] | undefined;
|
|
57
57
|
}, {
|
|
58
|
-
username: string;
|
|
59
58
|
expireAt: string;
|
|
59
|
+
username: string;
|
|
60
60
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
|
61
61
|
uuid?: string | undefined;
|
|
62
62
|
createdAt?: string | undefined;
|
|
@@ -145,6 +145,7 @@ export declare namespace CreateUserCommand {
|
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
147
147
|
uuid: string;
|
|
148
|
+
expireAt: Date;
|
|
148
149
|
createdAt: Date;
|
|
149
150
|
updatedAt: Date;
|
|
150
151
|
description: string | null;
|
|
@@ -154,7 +155,6 @@ export declare namespace CreateUserCommand {
|
|
|
154
155
|
shortUuid: string;
|
|
155
156
|
trafficLimitBytes: number;
|
|
156
157
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
157
|
-
expireAt: Date;
|
|
158
158
|
telegramId: number | null;
|
|
159
159
|
email: string | null;
|
|
160
160
|
hwidDeviceLimit: number | null;
|
|
@@ -179,6 +179,7 @@ export declare namespace CreateUserCommand {
|
|
|
179
179
|
};
|
|
180
180
|
}, {
|
|
181
181
|
uuid: string;
|
|
182
|
+
expireAt: string;
|
|
182
183
|
createdAt: string;
|
|
183
184
|
updatedAt: string;
|
|
184
185
|
description: string | null;
|
|
@@ -186,7 +187,6 @@ export declare namespace CreateUserCommand {
|
|
|
186
187
|
tag: string | null;
|
|
187
188
|
id: number;
|
|
188
189
|
shortUuid: string;
|
|
189
|
-
expireAt: string;
|
|
190
190
|
telegramId: number | null;
|
|
191
191
|
email: string | null;
|
|
192
192
|
hwidDeviceLimit: number | null;
|
|
@@ -217,6 +217,7 @@ export declare namespace CreateUserCommand {
|
|
|
217
217
|
response: {
|
|
218
218
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
219
219
|
uuid: string;
|
|
220
|
+
expireAt: Date;
|
|
220
221
|
createdAt: Date;
|
|
221
222
|
updatedAt: Date;
|
|
222
223
|
description: string | null;
|
|
@@ -226,7 +227,6 @@ export declare namespace CreateUserCommand {
|
|
|
226
227
|
shortUuid: string;
|
|
227
228
|
trafficLimitBytes: number;
|
|
228
229
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
229
|
-
expireAt: Date;
|
|
230
230
|
telegramId: number | null;
|
|
231
231
|
email: string | null;
|
|
232
232
|
hwidDeviceLimit: number | null;
|
|
@@ -253,6 +253,7 @@ export declare namespace CreateUserCommand {
|
|
|
253
253
|
}, {
|
|
254
254
|
response: {
|
|
255
255
|
uuid: string;
|
|
256
|
+
expireAt: string;
|
|
256
257
|
createdAt: string;
|
|
257
258
|
updatedAt: string;
|
|
258
259
|
description: string | null;
|
|
@@ -260,7 +261,6 @@ export declare namespace CreateUserCommand {
|
|
|
260
261
|
tag: string | null;
|
|
261
262
|
id: number;
|
|
262
263
|
shortUuid: string;
|
|
263
|
-
expireAt: string;
|
|
264
264
|
telegramId: number | null;
|
|
265
265
|
email: string | null;
|
|
266
266
|
hwidDeviceLimit: number | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateUserCommand = 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 CreateUserCommand;
|
|
9
9
|
(function (CreateUserCommand) {
|
|
10
10
|
CreateUserCommand.url = api_1.REST_API.USERS.CREATE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteUserCommand = 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 DeleteUserCommand;
|
|
8
8
|
(function (DeleteUserCommand) {
|
|
9
9
|
DeleteUserCommand.url = api_1.REST_API.USERS.DELETE;
|
|
@@ -126,6 +126,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
128
128
|
uuid: string;
|
|
129
|
+
expireAt: Date;
|
|
129
130
|
createdAt: Date;
|
|
130
131
|
updatedAt: Date;
|
|
131
132
|
description: string | null;
|
|
@@ -135,7 +136,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
135
136
|
shortUuid: string;
|
|
136
137
|
trafficLimitBytes: number;
|
|
137
138
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
138
|
-
expireAt: Date;
|
|
139
139
|
telegramId: number | null;
|
|
140
140
|
email: string | null;
|
|
141
141
|
hwidDeviceLimit: number | null;
|
|
@@ -160,6 +160,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
160
160
|
};
|
|
161
161
|
}, {
|
|
162
162
|
uuid: string;
|
|
163
|
+
expireAt: string;
|
|
163
164
|
createdAt: string;
|
|
164
165
|
updatedAt: string;
|
|
165
166
|
description: string | null;
|
|
@@ -167,7 +168,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
167
168
|
tag: string | null;
|
|
168
169
|
id: number;
|
|
169
170
|
shortUuid: string;
|
|
170
|
-
expireAt: string;
|
|
171
171
|
telegramId: number | null;
|
|
172
172
|
email: string | null;
|
|
173
173
|
hwidDeviceLimit: number | null;
|
|
@@ -199,6 +199,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
199
199
|
users: {
|
|
200
200
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
201
201
|
uuid: string;
|
|
202
|
+
expireAt: Date;
|
|
202
203
|
createdAt: Date;
|
|
203
204
|
updatedAt: Date;
|
|
204
205
|
description: string | null;
|
|
@@ -208,7 +209,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
208
209
|
shortUuid: string;
|
|
209
210
|
trafficLimitBytes: number;
|
|
210
211
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
211
|
-
expireAt: Date;
|
|
212
212
|
telegramId: number | null;
|
|
213
213
|
email: string | null;
|
|
214
214
|
hwidDeviceLimit: number | null;
|
|
@@ -236,6 +236,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
236
236
|
}, {
|
|
237
237
|
users: {
|
|
238
238
|
uuid: string;
|
|
239
|
+
expireAt: string;
|
|
239
240
|
createdAt: string;
|
|
240
241
|
updatedAt: string;
|
|
241
242
|
description: string | null;
|
|
@@ -243,7 +244,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
243
244
|
tag: string | null;
|
|
244
245
|
id: number;
|
|
245
246
|
shortUuid: string;
|
|
246
|
-
expireAt: string;
|
|
247
247
|
telegramId: number | null;
|
|
248
248
|
email: string | null;
|
|
249
249
|
hwidDeviceLimit: number | null;
|
|
@@ -277,6 +277,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
277
277
|
users: {
|
|
278
278
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
279
279
|
uuid: string;
|
|
280
|
+
expireAt: Date;
|
|
280
281
|
createdAt: Date;
|
|
281
282
|
updatedAt: Date;
|
|
282
283
|
description: string | null;
|
|
@@ -286,7 +287,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
286
287
|
shortUuid: string;
|
|
287
288
|
trafficLimitBytes: number;
|
|
288
289
|
trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | "MONTH_ROLLING";
|
|
289
|
-
expireAt: Date;
|
|
290
290
|
telegramId: number | null;
|
|
291
291
|
email: string | null;
|
|
292
292
|
hwidDeviceLimit: number | null;
|
|
@@ -316,6 +316,7 @@ export declare namespace GetAllUsersCommand {
|
|
|
316
316
|
response: {
|
|
317
317
|
users: {
|
|
318
318
|
uuid: string;
|
|
319
|
+
expireAt: string;
|
|
319
320
|
createdAt: string;
|
|
320
321
|
updatedAt: string;
|
|
321
322
|
description: string | null;
|
|
@@ -323,7 +324,6 @@ export declare namespace GetAllUsersCommand {
|
|
|
323
324
|
tag: string | null;
|
|
324
325
|
id: number;
|
|
325
326
|
shortUuid: string;
|
|
326
|
-
expireAt: string;
|
|
327
327
|
telegramId: number | null;
|
|
328
328
|
email: string | null;
|
|
329
329
|
hwidDeviceLimit: number | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAllUsersCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../models");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var GetAllUsersCommand;
|
|
9
9
|
(function (GetAllUsersCommand) {
|
|
10
10
|
GetAllUsersCommand.url = api_1.REST_API.USERS.GET;
|