@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
|
@@ -4,56 +4,65 @@ export declare namespace CreateApiTokenCommand {
|
|
|
4
4
|
const TSQ_url: "/api/tokens/";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
expiresInDays: z.ZodNumber;
|
|
8
9
|
scopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
scopes: string[];
|
|
11
|
-
|
|
12
|
+
name: string;
|
|
13
|
+
expiresInDays: number;
|
|
12
14
|
}, {
|
|
13
|
-
|
|
15
|
+
name: string;
|
|
16
|
+
expiresInDays: number;
|
|
14
17
|
scopes?: string[] | undefined;
|
|
15
18
|
}>;
|
|
16
19
|
type Request = z.infer<typeof RequestSchema>;
|
|
17
20
|
const ResponseSchema: z.ZodObject<{
|
|
18
21
|
response: z.ZodObject<{
|
|
19
22
|
uuid: z.ZodString;
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
22
25
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
23
26
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
24
27
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
28
|
+
} & {
|
|
29
|
+
token: z.ZodString;
|
|
25
30
|
}, "strip", z.ZodTypeAny, {
|
|
26
31
|
scopes: string[];
|
|
27
32
|
uuid: string;
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
name: string;
|
|
34
|
+
expireAt: Date;
|
|
30
35
|
createdAt: Date;
|
|
31
36
|
updatedAt: Date;
|
|
37
|
+
token: string;
|
|
32
38
|
}, {
|
|
33
39
|
scopes: string[];
|
|
34
40
|
uuid: string;
|
|
35
|
-
|
|
36
|
-
|
|
41
|
+
name: string;
|
|
42
|
+
expireAt: string;
|
|
37
43
|
createdAt: string;
|
|
38
44
|
updatedAt: string;
|
|
45
|
+
token: string;
|
|
39
46
|
}>;
|
|
40
47
|
}, "strip", z.ZodTypeAny, {
|
|
41
48
|
response: {
|
|
42
49
|
scopes: string[];
|
|
43
50
|
uuid: string;
|
|
44
|
-
|
|
45
|
-
|
|
51
|
+
name: string;
|
|
52
|
+
expireAt: Date;
|
|
46
53
|
createdAt: Date;
|
|
47
54
|
updatedAt: Date;
|
|
55
|
+
token: string;
|
|
48
56
|
};
|
|
49
57
|
}, {
|
|
50
58
|
response: {
|
|
51
59
|
scopes: string[];
|
|
52
60
|
uuid: string;
|
|
53
|
-
|
|
54
|
-
|
|
61
|
+
name: string;
|
|
62
|
+
expireAt: string;
|
|
55
63
|
createdAt: string;
|
|
56
64
|
updatedAt: string;
|
|
65
|
+
token: string;
|
|
57
66
|
};
|
|
58
67
|
}>;
|
|
59
68
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,gBAA6B,CAAC;IACvC,MAAM,OAAO,gBAAM,CAAC;IAEpB,MAAM,eAAe,2CAM3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,gBAA6B,CAAC;IACvC,MAAM,OAAO,gBAAM,CAAC;IAEpB,MAAM,eAAe,2CAM3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateApiTokenCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_tokens_schema_1 = require("../../models/api-tokens.schema");
|
|
6
5
|
const api_1 = require("../../api");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const api_tokens_schema_1 = require("../../models/api-tokens.schema");
|
|
8
8
|
var CreateApiTokenCommand;
|
|
9
9
|
(function (CreateApiTokenCommand) {
|
|
10
10
|
CreateApiTokenCommand.url = api_1.REST_API.API_TOKENS.CREATE;
|
|
11
11
|
CreateApiTokenCommand.TSQ_url = CreateApiTokenCommand.url;
|
|
12
12
|
CreateApiTokenCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.API_TOKENS_ROUTES.CREATE, 'post', 'Create a new API token', { scope: 'create', kind: 'write' }, 'This endpoint is forbidden to use via "API-key". It can only be used with an admin JWT-token.');
|
|
13
13
|
CreateApiTokenCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
name: zod_1.z.string().min(2).max(30),
|
|
15
|
+
expiresInDays: zod_1.z.number().min(1),
|
|
15
16
|
scopes: zod_1.z.array(zod_1.z.string()).optional().default(['*']),
|
|
16
17
|
});
|
|
17
18
|
CreateApiTokenCommand.ResponseSchema = zod_1.z.object({
|
|
18
|
-
response: api_tokens_schema_1.ApiTokensSchema
|
|
19
|
+
response: api_tokens_schema_1.ApiTokensSchema.extend({
|
|
20
|
+
token: zod_1.z.string(),
|
|
21
|
+
}),
|
|
19
22
|
});
|
|
20
23
|
})(CreateApiTokenCommand || (exports.CreateApiTokenCommand = CreateApiTokenCommand = {}));
|
|
@@ -5,98 +5,98 @@ export declare namespace FindAllApiTokensCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const ResponseSchema: z.ZodObject<{
|
|
7
7
|
response: z.ZodObject<{
|
|
8
|
-
|
|
8
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
9
9
|
uuid: z.ZodString;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
expireAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
12
12
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
14
14
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
scopes: string[];
|
|
17
17
|
uuid: string;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
name: string;
|
|
19
|
+
expireAt: Date;
|
|
20
20
|
createdAt: Date;
|
|
21
21
|
updatedAt: Date;
|
|
22
22
|
}, {
|
|
23
23
|
scopes: string[];
|
|
24
24
|
uuid: string;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
name: string;
|
|
26
|
+
expireAt: string;
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
29
|
}>, "many">;
|
|
30
30
|
docs: z.ZodObject<{
|
|
31
|
-
|
|
31
|
+
enabled: z.ZodBoolean;
|
|
32
32
|
scalarPath: z.ZodNullable<z.ZodString>;
|
|
33
33
|
swaggerPath: z.ZodNullable<z.ZodString>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
|
|
35
|
+
enabled: boolean;
|
|
36
36
|
scalarPath: string | null;
|
|
37
37
|
swaggerPath: string | null;
|
|
38
38
|
}, {
|
|
39
|
-
|
|
39
|
+
enabled: boolean;
|
|
40
40
|
scalarPath: string | null;
|
|
41
41
|
swaggerPath: string | null;
|
|
42
42
|
}>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
|
|
44
|
+
tokens: {
|
|
45
45
|
scopes: string[];
|
|
46
46
|
uuid: string;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
name: string;
|
|
48
|
+
expireAt: Date;
|
|
49
49
|
createdAt: Date;
|
|
50
50
|
updatedAt: Date;
|
|
51
51
|
}[];
|
|
52
52
|
docs: {
|
|
53
|
-
|
|
53
|
+
enabled: boolean;
|
|
54
54
|
scalarPath: string | null;
|
|
55
55
|
swaggerPath: string | null;
|
|
56
56
|
};
|
|
57
57
|
}, {
|
|
58
|
-
|
|
58
|
+
tokens: {
|
|
59
59
|
scopes: string[];
|
|
60
60
|
uuid: string;
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
name: string;
|
|
62
|
+
expireAt: string;
|
|
63
63
|
createdAt: string;
|
|
64
64
|
updatedAt: string;
|
|
65
65
|
}[];
|
|
66
66
|
docs: {
|
|
67
|
-
|
|
67
|
+
enabled: boolean;
|
|
68
68
|
scalarPath: string | null;
|
|
69
69
|
swaggerPath: string | null;
|
|
70
70
|
};
|
|
71
71
|
}>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
response: {
|
|
74
|
-
|
|
74
|
+
tokens: {
|
|
75
75
|
scopes: string[];
|
|
76
76
|
uuid: string;
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
name: string;
|
|
78
|
+
expireAt: Date;
|
|
79
79
|
createdAt: Date;
|
|
80
80
|
updatedAt: Date;
|
|
81
81
|
}[];
|
|
82
82
|
docs: {
|
|
83
|
-
|
|
83
|
+
enabled: boolean;
|
|
84
84
|
scalarPath: string | null;
|
|
85
85
|
swaggerPath: string | null;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
}, {
|
|
89
89
|
response: {
|
|
90
|
-
|
|
90
|
+
tokens: {
|
|
91
91
|
scopes: string[];
|
|
92
92
|
uuid: string;
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
name: string;
|
|
94
|
+
expireAt: string;
|
|
95
95
|
createdAt: string;
|
|
96
96
|
updatedAt: string;
|
|
97
97
|
}[];
|
|
98
98
|
docs: {
|
|
99
|
-
|
|
99
|
+
enabled: boolean;
|
|
100
100
|
scalarPath: string | null;
|
|
101
101
|
swaggerPath: string | null;
|
|
102
102
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FindAllApiTokensCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_tokens_schema_1 = require("../../models/api-tokens.schema");
|
|
6
5
|
const api_1 = require("../../api");
|
|
7
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const api_tokens_schema_1 = require("../../models/api-tokens.schema");
|
|
8
8
|
var FindAllApiTokensCommand;
|
|
9
9
|
(function (FindAllApiTokensCommand) {
|
|
10
10
|
FindAllApiTokensCommand.url = api_1.REST_API.API_TOKENS.GET;
|
|
@@ -12,9 +12,9 @@ var FindAllApiTokensCommand;
|
|
|
12
12
|
FindAllApiTokensCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.API_TOKENS_ROUTES.GET, 'get', 'Get all API tokens', { scope: 'list', kind: 'read' }, 'This endpoint is forbidden to use via "API-key". It can only be used with admin JWT-token.');
|
|
13
13
|
FindAllApiTokensCommand.ResponseSchema = zod_1.z.object({
|
|
14
14
|
response: zod_1.z.object({
|
|
15
|
-
|
|
15
|
+
tokens: zod_1.z.array(api_tokens_schema_1.ApiTokensSchema),
|
|
16
16
|
docs: zod_1.z.object({
|
|
17
|
-
|
|
17
|
+
enabled: zod_1.z.boolean(),
|
|
18
18
|
scalarPath: zod_1.z.string().nullable(),
|
|
19
19
|
swaggerPath: zod_1.z.string().nullable(),
|
|
20
20
|
}),
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetStatusCommand = 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 GetStatusCommand;
|
|
8
8
|
(function (GetStatusCommand) {
|
|
9
9
|
GetStatusCommand.url = api_1.REST_API.AUTH.GET_STATUS;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LoginCommand = 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 LoginCommand;
|
|
8
8
|
(function (LoginCommand) {
|
|
9
9
|
LoginCommand.url = api_1.REST_API.AUTH.LOGIN;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OAuth2AuthorizeCommand = 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 OAuth2AuthorizeCommand;
|
|
8
8
|
(function (OAuth2AuthorizeCommand) {
|
|
9
9
|
OAuth2AuthorizeCommand.url = api_1.REST_API.AUTH.OAUTH2.AUTHORIZE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OAuth2CallbackCommand = 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 OAuth2CallbackCommand;
|
|
8
8
|
(function (OAuth2CallbackCommand) {
|
|
9
9
|
OAuth2CallbackCommand.url = api_1.REST_API.AUTH.OAUTH2.CALLBACK;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetPasskeyAuthenticationOptionsCommand = 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 GetPasskeyAuthenticationOptionsCommand;
|
|
8
8
|
(function (GetPasskeyAuthenticationOptionsCommand) {
|
|
9
9
|
GetPasskeyAuthenticationOptionsCommand.url = api_1.REST_API.AUTH.PASSKEY.GET_AUTHENTICATION_OPTIONS;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifyPasskeyAuthenticationCommand = 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 VerifyPasskeyAuthenticationCommand;
|
|
8
8
|
(function (VerifyPasskeyAuthenticationCommand) {
|
|
9
9
|
VerifyPasskeyAuthenticationCommand.url = api_1.REST_API.AUTH.PASSKEY.VERIFY_AUTHENTICATION;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegisterCommand = 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 RegisterCommand;
|
|
8
8
|
(function (RegisterCommand) {
|
|
9
9
|
RegisterCommand.url = api_1.REST_API.AUTH.REGISTER;
|
|
@@ -29,16 +29,16 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
29
29
|
total: z.ZodNumber;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
uuid: string;
|
|
32
|
+
name: string;
|
|
32
33
|
total: number;
|
|
33
34
|
countryCode: string;
|
|
34
35
|
color: string;
|
|
35
|
-
name: string;
|
|
36
36
|
}, {
|
|
37
37
|
uuid: string;
|
|
38
|
+
name: string;
|
|
38
39
|
total: number;
|
|
39
40
|
countryCode: string;
|
|
40
41
|
color: string;
|
|
41
|
-
name: string;
|
|
42
42
|
}>, "many">;
|
|
43
43
|
series: z.ZodArray<z.ZodObject<{
|
|
44
44
|
uuid: z.ZodString;
|
|
@@ -49,17 +49,17 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
49
49
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
uuid: string;
|
|
52
|
+
name: string;
|
|
52
53
|
total: number;
|
|
53
54
|
countryCode: string;
|
|
54
55
|
color: string;
|
|
55
|
-
name: string;
|
|
56
56
|
data: number[];
|
|
57
57
|
}, {
|
|
58
58
|
uuid: string;
|
|
59
|
+
name: string;
|
|
59
60
|
total: number;
|
|
60
61
|
countryCode: string;
|
|
61
62
|
color: string;
|
|
62
|
-
name: string;
|
|
63
63
|
data: number[];
|
|
64
64
|
}>, "many">;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -67,17 +67,17 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
67
67
|
sparklineData: number[];
|
|
68
68
|
topNodes: {
|
|
69
69
|
uuid: string;
|
|
70
|
+
name: string;
|
|
70
71
|
total: number;
|
|
71
72
|
countryCode: string;
|
|
72
73
|
color: string;
|
|
73
|
-
name: string;
|
|
74
74
|
}[];
|
|
75
75
|
series: {
|
|
76
76
|
uuid: string;
|
|
77
|
+
name: string;
|
|
77
78
|
total: number;
|
|
78
79
|
countryCode: string;
|
|
79
80
|
color: string;
|
|
80
|
-
name: string;
|
|
81
81
|
data: number[];
|
|
82
82
|
}[];
|
|
83
83
|
}, {
|
|
@@ -85,17 +85,17 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
85
85
|
sparklineData: number[];
|
|
86
86
|
topNodes: {
|
|
87
87
|
uuid: string;
|
|
88
|
+
name: string;
|
|
88
89
|
total: number;
|
|
89
90
|
countryCode: string;
|
|
90
91
|
color: string;
|
|
91
|
-
name: string;
|
|
92
92
|
}[];
|
|
93
93
|
series: {
|
|
94
94
|
uuid: string;
|
|
95
|
+
name: string;
|
|
95
96
|
total: number;
|
|
96
97
|
countryCode: string;
|
|
97
98
|
color: string;
|
|
98
|
-
name: string;
|
|
99
99
|
data: number[];
|
|
100
100
|
}[];
|
|
101
101
|
}>;
|
|
@@ -105,17 +105,17 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
105
105
|
sparklineData: number[];
|
|
106
106
|
topNodes: {
|
|
107
107
|
uuid: string;
|
|
108
|
+
name: string;
|
|
108
109
|
total: number;
|
|
109
110
|
countryCode: string;
|
|
110
111
|
color: string;
|
|
111
|
-
name: string;
|
|
112
112
|
}[];
|
|
113
113
|
series: {
|
|
114
114
|
uuid: string;
|
|
115
|
+
name: string;
|
|
115
116
|
total: number;
|
|
116
117
|
countryCode: string;
|
|
117
118
|
color: string;
|
|
118
|
-
name: string;
|
|
119
119
|
data: number[];
|
|
120
120
|
}[];
|
|
121
121
|
};
|
|
@@ -125,17 +125,17 @@ export declare namespace GetStatsNodesUsageCommand {
|
|
|
125
125
|
sparklineData: number[];
|
|
126
126
|
topNodes: {
|
|
127
127
|
uuid: string;
|
|
128
|
+
name: string;
|
|
128
129
|
total: number;
|
|
129
130
|
countryCode: string;
|
|
130
131
|
color: string;
|
|
131
|
-
name: string;
|
|
132
132
|
}[];
|
|
133
133
|
series: {
|
|
134
134
|
uuid: string;
|
|
135
|
+
name: string;
|
|
135
136
|
total: number;
|
|
136
137
|
countryCode: string;
|
|
137
138
|
color: string;
|
|
138
|
-
name: string;
|
|
139
139
|
data: number[];
|
|
140
140
|
}[];
|
|
141
141
|
};
|
|
@@ -37,16 +37,16 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
37
37
|
total: z.ZodNumber;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
uuid: string;
|
|
40
|
+
name: string;
|
|
40
41
|
total: number;
|
|
41
42
|
countryCode: string;
|
|
42
43
|
color: string;
|
|
43
|
-
name: string;
|
|
44
44
|
}, {
|
|
45
45
|
uuid: string;
|
|
46
|
+
name: string;
|
|
46
47
|
total: number;
|
|
47
48
|
countryCode: string;
|
|
48
49
|
color: string;
|
|
49
|
-
name: string;
|
|
50
50
|
}>, "many">;
|
|
51
51
|
series: z.ZodArray<z.ZodObject<{
|
|
52
52
|
uuid: z.ZodString;
|
|
@@ -57,17 +57,17 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
57
57
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
uuid: string;
|
|
60
|
+
name: string;
|
|
60
61
|
total: number;
|
|
61
62
|
countryCode: string;
|
|
62
63
|
color: string;
|
|
63
|
-
name: string;
|
|
64
64
|
data: number[];
|
|
65
65
|
}, {
|
|
66
66
|
uuid: string;
|
|
67
|
+
name: string;
|
|
67
68
|
total: number;
|
|
68
69
|
countryCode: string;
|
|
69
70
|
color: string;
|
|
70
|
-
name: string;
|
|
71
71
|
data: number[];
|
|
72
72
|
}>, "many">;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -75,17 +75,17 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
75
75
|
sparklineData: number[];
|
|
76
76
|
topNodes: {
|
|
77
77
|
uuid: string;
|
|
78
|
+
name: string;
|
|
78
79
|
total: number;
|
|
79
80
|
countryCode: string;
|
|
80
81
|
color: string;
|
|
81
|
-
name: string;
|
|
82
82
|
}[];
|
|
83
83
|
series: {
|
|
84
84
|
uuid: string;
|
|
85
|
+
name: string;
|
|
85
86
|
total: number;
|
|
86
87
|
countryCode: string;
|
|
87
88
|
color: string;
|
|
88
|
-
name: string;
|
|
89
89
|
data: number[];
|
|
90
90
|
}[];
|
|
91
91
|
}, {
|
|
@@ -93,17 +93,17 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
93
93
|
sparklineData: number[];
|
|
94
94
|
topNodes: {
|
|
95
95
|
uuid: string;
|
|
96
|
+
name: string;
|
|
96
97
|
total: number;
|
|
97
98
|
countryCode: string;
|
|
98
99
|
color: string;
|
|
99
|
-
name: string;
|
|
100
100
|
}[];
|
|
101
101
|
series: {
|
|
102
102
|
uuid: string;
|
|
103
|
+
name: string;
|
|
103
104
|
total: number;
|
|
104
105
|
countryCode: string;
|
|
105
106
|
color: string;
|
|
106
|
-
name: string;
|
|
107
107
|
data: number[];
|
|
108
108
|
}[];
|
|
109
109
|
}>;
|
|
@@ -113,17 +113,17 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
113
113
|
sparklineData: number[];
|
|
114
114
|
topNodes: {
|
|
115
115
|
uuid: string;
|
|
116
|
+
name: string;
|
|
116
117
|
total: number;
|
|
117
118
|
countryCode: string;
|
|
118
119
|
color: string;
|
|
119
|
-
name: string;
|
|
120
120
|
}[];
|
|
121
121
|
series: {
|
|
122
122
|
uuid: string;
|
|
123
|
+
name: string;
|
|
123
124
|
total: number;
|
|
124
125
|
countryCode: string;
|
|
125
126
|
color: string;
|
|
126
|
-
name: string;
|
|
127
127
|
data: number[];
|
|
128
128
|
}[];
|
|
129
129
|
};
|
|
@@ -133,17 +133,17 @@ export declare namespace GetStatsUserUsageCommand {
|
|
|
133
133
|
sparklineData: number[];
|
|
134
134
|
topNodes: {
|
|
135
135
|
uuid: string;
|
|
136
|
+
name: string;
|
|
136
137
|
total: number;
|
|
137
138
|
countryCode: string;
|
|
138
139
|
color: string;
|
|
139
|
-
name: string;
|
|
140
140
|
}[];
|
|
141
141
|
series: {
|
|
142
142
|
uuid: string;
|
|
143
|
+
name: string;
|
|
143
144
|
total: number;
|
|
144
145
|
countryCode: string;
|
|
145
146
|
color: string;
|
|
146
|
-
name: string;
|
|
147
147
|
data: number[];
|
|
148
148
|
}[];
|
|
149
149
|
};
|