@remnawave/backend-contract 0.0.57 → 0.0.60
Sign up to get free protection for your applications and to get access to all the features.
- package/build/backend/api/controllers/api-tokens.d.ts +7 -0
- package/build/backend/api/controllers/api-tokens.d.ts.map +1 -0
- package/build/backend/api/controllers/auth.d.ts +5 -0
- package/build/backend/api/controllers/auth.d.ts.map +1 -0
- package/build/backend/api/controllers/hosts.d.ts +10 -0
- package/build/backend/api/controllers/hosts.d.ts.map +1 -0
- package/build/backend/api/controllers/inbounds.d.ts +5 -0
- package/build/backend/api/controllers/inbounds.d.ts.map +1 -0
- package/{api/controllers/index.ts → build/backend/api/controllers/index.d.ts} +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -0
- package/build/backend/api/controllers/keygen.d.ts +5 -0
- package/build/backend/api/controllers/keygen.d.ts.map +1 -0
- package/build/backend/api/controllers/nodes.d.ts +13 -0
- package/build/backend/api/controllers/nodes.d.ts.map +1 -0
- package/build/backend/api/controllers/subscription.d.ts +6 -0
- package/build/backend/api/controllers/subscription.d.ts.map +1 -0
- package/build/backend/api/controllers/system.d.ts +9 -0
- package/build/backend/api/controllers/system.d.ts.map +1 -0
- package/build/backend/api/controllers/users.d.ts +15 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -0
- package/build/backend/api/controllers/xray.d.ts +6 -0
- package/build/backend/api/controllers/xray.d.ts.map +1 -0
- package/{api/index.ts → build/backend/api/index.d.ts} +1 -0
- package/build/backend/api/index.d.ts.map +1 -0
- package/build/backend/api/routes.d.ts +63 -0
- package/build/backend/api/routes.d.ts.map +1 -0
- package/build/backend/commands/api-tokens/create.command.d.ts +40 -0
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -0
- package/build/backend/commands/api-tokens/delete.command.d.ts +22 -0
- package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -0
- package/build/backend/commands/api-tokens/find.command.d.ts +49 -0
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -0
- package/{commands/api-tokens/index.ts → build/backend/commands/api-tokens/index.d.ts} +1 -0
- package/build/backend/commands/api-tokens/index.d.ts.map +1 -0
- package/build/backend/commands/auth/index.d.ts +2 -0
- package/build/backend/commands/auth/index.d.ts.map +1 -0
- package/build/backend/commands/auth/login.command.d.ts +35 -0
- package/build/backend/commands/auth/login.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/create.command.d.ts +122 -0
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/delete.command.d.ts +32 -0
- package/build/backend/commands/hosts/delete.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/get-all.command.d.ts +84 -0
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -0
- package/{commands/hosts/index.ts → build/backend/commands/hosts/index.d.ts} +1 -0
- package/build/backend/commands/hosts/index.d.ts.map +1 -0
- package/build/backend/commands/hosts/reorder.command.d.ts +58 -0
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/hosts/update.command.d.ts +138 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -0
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts +34 -0
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +1 -0
- package/{commands/inbounds/index.ts → build/backend/commands/inbounds/index.d.ts} +1 -0
- package/build/backend/commands/inbounds/index.d.ts.map +1 -0
- package/{commands/index.ts → build/backend/commands/index.d.ts} +1 -0
- package/build/backend/commands/index.d.ts.map +1 -0
- package/build/backend/commands/keygen/get-pubkey.command.d.ts +24 -0
- package/build/backend/commands/keygen/get-pubkey.command.d.ts.map +1 -0
- package/{commands/keygen/index.ts → build/backend/commands/keygen/index.d.ts} +1 -0
- package/build/backend/commands/keygen/index.d.ts.map +1 -0
- package/build/backend/commands/nodes/create.command.d.ts +155 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/delete.command.d.ts +32 -0
- package/build/backend/commands/nodes/delete.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/disable.command.d.ts +137 -0
- package/build/backend/commands/nodes/disable.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/enable.command.d.ts +137 -0
- package/build/backend/commands/nodes/enable.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +129 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/get-one.command.d.ts +137 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -0
- package/{commands/nodes/index.ts → build/backend/commands/nodes/index.d.ts} +1 -0
- package/build/backend/commands/nodes/index.d.ts.map +1 -0
- package/build/backend/commands/nodes/restart-all.command.d.ts +24 -0
- package/build/backend/commands/nodes/restart-all.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/restart.command.d.ts +32 -0
- package/build/backend/commands/nodes/restart.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/update.command.d.ts +180 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -0
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts +14 -0
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +100 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -0
- package/{commands/subscription/index.ts → build/backend/commands/subscription/index.d.ts} +1 -0
- package/build/backend/commands/subscription/index.d.ts.map +1 -0
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +192 -0
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -0
- package/build/backend/commands/system/get-nodes-statistics.d.ts +60 -0
- package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -0
- package/build/backend/commands/system/get-stats.command.d.ts +150 -0
- package/build/backend/commands/system/get-stats.command.d.ts.map +1 -0
- package/{commands/system/index.ts → build/backend/commands/system/index.d.ts} +1 -0
- package/build/backend/commands/system/index.d.ts.map +1 -0
- package/build/backend/commands/users/create-user.command.d.ts +191 -0
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -0
- package/build/backend/commands/users/delete-user.command.d.ts +32 -0
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -0
- package/build/backend/commands/users/disable-user.command.ts.d.ts +155 -0
- package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -0
- package/build/backend/commands/users/enable-user.command.d.ts +155 -0
- package/build/backend/commands/users/enable-user.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-all-users-v2.command.d.ts +273 -0
- package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-all-users.command.d.ts +247 -0
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +155 -0
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +155 -0
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +155 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -0
- package/{commands/users/index.ts → build/backend/commands/users/index.d.ts} +1 -0
- package/build/backend/commands/users/index.d.ts.map +1 -0
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts +155 -0
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -0
- package/build/backend/commands/users/update-user.command.d.ts +202 -0
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -0
- package/build/backend/commands/xray/get-config.command.d.ts +24 -0
- package/build/backend/commands/xray/get-config.command.d.ts.map +1 -0
- package/{commands/xray/index.ts → build/backend/commands/xray/index.d.ts} +1 -0
- package/build/backend/commands/xray/index.d.ts.map +1 -0
- package/build/backend/commands/xray/update-config.command.d.ts +26 -0
- package/build/backend/commands/xray/update-config.command.d.ts.map +1 -0
- package/build/backend/constants/errors/errors.d.ts +293 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -0
- package/build/backend/constants/errors/index.d.ts +2 -0
- package/build/backend/constants/errors/index.d.ts.map +1 -0
- package/build/backend/constants/events/events.d.ts +25 -0
- package/build/backend/constants/events/events.d.ts.map +1 -0
- package/build/backend/constants/events/index.d.ts +2 -0
- package/build/backend/constants/events/index.d.ts.map +1 -0
- package/build/backend/constants/hosts/alpn.d.ts +8 -0
- package/build/backend/constants/hosts/alpn.d.ts.map +1 -0
- package/build/backend/constants/hosts/fingerprints.d.ts +14 -0
- package/build/backend/constants/hosts/fingerprints.d.ts.map +1 -0
- package/{constants/hosts/index.ts → build/backend/constants/hosts/index.d.ts} +1 -0
- package/build/backend/constants/hosts/index.d.ts.map +1 -0
- package/{constants/index.ts → build/backend/constants/index.d.ts} +1 -0
- package/build/backend/constants/index.d.ts.map +1 -0
- package/build/backend/constants/nodes/cycle/cycle.d.ts +7 -0
- package/build/backend/constants/nodes/cycle/cycle.d.ts.map +1 -0
- package/build/backend/constants/nodes/cycle/index.d.ts +2 -0
- package/build/backend/constants/nodes/cycle/index.d.ts.map +1 -0
- package/{constants/nodes/index.ts → build/backend/constants/nodes/index.d.ts} +1 -0
- package/build/backend/constants/nodes/index.d.ts.map +1 -0
- package/{constants/nodes/status/index.ts → build/backend/constants/nodes/status/index.d.ts} +1 -0
- package/build/backend/constants/nodes/status/index.d.ts.map +1 -0
- package/build/backend/constants/nodes/status/status.constant.d.ts +8 -0
- package/build/backend/constants/nodes/status/status.constant.d.ts.map +1 -0
- package/build/backend/constants/roles/index.d.ts +2 -0
- package/build/backend/constants/roles/index.d.ts.map +1 -0
- package/build/backend/constants/roles/role.d.ts +7 -0
- package/build/backend/constants/roles/role.d.ts.map +1 -0
- package/{constants/templates/index.ts → build/backend/constants/templates/index.d.ts} +1 -0
- package/build/backend/constants/templates/index.d.ts.map +1 -0
- package/build/backend/constants/templates/template-keys.d.ts +3 -0
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -0
- package/build/backend/constants/templates/user-statuses.d.ts +7 -0
- package/build/backend/constants/templates/user-statuses.d.ts.map +1 -0
- package/{constants/users/index.ts → build/backend/constants/users/index.d.ts} +1 -0
- package/build/backend/constants/users/index.d.ts.map +1 -0
- package/{constants/users/reset-periods/index.ts → build/backend/constants/users/reset-periods/index.d.ts} +1 -0
- package/build/backend/constants/users/reset-periods/index.d.ts.map +1 -0
- package/build/backend/constants/users/reset-periods/reset-periods.constant.d.ts +10 -0
- package/build/backend/constants/users/reset-periods/reset-periods.constant.d.ts.map +1 -0
- package/{constants/users/status/index.ts → build/backend/constants/users/status/index.d.ts} +1 -0
- package/build/backend/constants/users/status/index.d.ts.map +1 -0
- package/build/backend/constants/users/status/status.constant.d.ts +9 -0
- package/build/backend/constants/users/status/status.constant.d.ts.map +1 -0
- package/{index.ts → build/backend/index.d.ts} +1 -0
- package/build/backend/index.d.ts.map +1 -0
- package/build/backend/models/api-tokens.schema.d.ts +24 -0
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -0
- package/build/backend/models/auth.schema.d.ts +9 -0
- package/build/backend/models/auth.schema.d.ts.map +1 -0
- package/build/backend/models/base-stat.schema.d.ts +15 -0
- package/build/backend/models/base-stat.schema.d.ts.map +1 -0
- package/build/backend/models/hosts.schema.d.ts +45 -0
- package/build/backend/models/hosts.schema.d.ts.map +1 -0
- package/build/backend/models/inbounds.schema.d.ts +15 -0
- package/build/backend/models/inbounds.schema.d.ts.map +1 -0
- package/{models/index.ts → build/backend/models/index.d.ts} +1 -0
- package/build/backend/models/index.d.ts.map +1 -0
- package/build/backend/models/nodes.schema.d.ts +72 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -0
- package/build/backend/models/users.schema.d.ts +86 -0
- package/build/backend/models/users.schema.d.ts.map +1 -0
- package/build/frontend/api/controllers/api-tokens.js +9 -0
- package/build/frontend/api/controllers/auth.js +7 -0
- package/build/frontend/api/controllers/hosts.js +12 -0
- package/build/frontend/api/controllers/inbounds.js +7 -0
- package/build/frontend/api/controllers/index.js +26 -0
- package/build/frontend/api/controllers/keygen.js +7 -0
- package/{api/controllers/nodes.ts → build/frontend/api/controllers/nodes.js} +6 -5
- package/build/frontend/api/controllers/subscription.js +8 -0
- package/build/frontend/api/controllers/system.js +11 -0
- package/{api/controllers/users.ts → build/frontend/api/controllers/users.js} +6 -4
- package/build/frontend/api/controllers/xray.js +8 -0
- package/build/frontend/api/index.js +18 -0
- package/build/frontend/api/routes.js +99 -0
- package/build/frontend/commands/api-tokens/create.command.js +20 -0
- package/build/frontend/commands/api-tokens/delete.command.js +16 -0
- package/build/frontend/commands/api-tokens/find.command.js +14 -0
- package/build/frontend/commands/api-tokens/index.js +19 -0
- package/build/frontend/commands/auth/index.js +17 -0
- package/build/frontend/commands/auth/login.command.js +19 -0
- package/build/frontend/commands/hosts/create.command.js +45 -0
- package/build/frontend/commands/hosts/delete.command.js +18 -0
- package/build/frontend/commands/hosts/get-all.command.js +14 -0
- package/build/frontend/commands/hosts/index.js +21 -0
- package/build/frontend/commands/hosts/reorder.command.js +22 -0
- package/build/frontend/commands/hosts/update.command.js +52 -0
- package/build/frontend/commands/inbounds/get-inbounds.command.js +14 -0
- package/build/frontend/commands/inbounds/index.js +17 -0
- package/build/frontend/commands/index.js +26 -0
- package/build/frontend/commands/keygen/get-pubkey.command.js +15 -0
- package/build/frontend/commands/keygen/index.js +17 -0
- package/build/frontend/commands/nodes/create.command.js +31 -0
- package/build/frontend/commands/nodes/delete.command.js +18 -0
- package/build/frontend/commands/nodes/disable.command.js +17 -0
- package/build/frontend/commands/nodes/enable.command.js +17 -0
- package/build/frontend/commands/nodes/get-all.command.js +14 -0
- package/build/frontend/commands/nodes/get-one.command.js +17 -0
- package/build/frontend/commands/nodes/index.js +25 -0
- package/build/frontend/commands/nodes/restart-all.command.js +15 -0
- package/build/frontend/commands/nodes/restart.command.js +18 -0
- package/build/frontend/commands/nodes/update.command.js +31 -0
- package/build/frontend/commands/subscription/get-subscription-by-short-uuid.command.js +13 -0
- package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +29 -0
- package/build/frontend/commands/subscription/index.js +18 -0
- package/build/frontend/commands/system/get-bandwidth-stats.command.js +23 -0
- package/build/frontend/commands/system/get-nodes-statistics.js +22 -0
- package/build/frontend/commands/system/get-stats.command.js +37 -0
- package/build/frontend/commands/system/index.js +19 -0
- package/build/frontend/commands/users/create-user.command.js +111 -0
- package/build/frontend/commands/users/delete-user.command.js +18 -0
- package/build/frontend/commands/users/disable-user.command.ts.js +17 -0
- package/build/frontend/commands/users/enable-user.command.js +17 -0
- package/build/frontend/commands/users/get-all-users-v2.command.js +42 -0
- package/build/frontend/commands/users/get-all-users.command.js +49 -0
- package/build/frontend/commands/users/get-user-by-short-uuid.command.js +17 -0
- package/build/frontend/commands/users/get-user-by-subscription-uuid.command.js +17 -0
- package/build/frontend/commands/users/get-user-by-uuid.command.js +17 -0
- package/build/frontend/commands/users/index.js +27 -0
- package/build/frontend/commands/users/revoke-user-subscription.command.js +17 -0
- package/build/frontend/commands/users/update-user.command.js +57 -0
- package/build/frontend/commands/xray/get-config.command.js +15 -0
- package/build/frontend/commands/xray/index.js +18 -0
- package/build/frontend/commands/xray/update-config.command.js +16 -0
- package/{constants/errors/errors.ts → build/frontend/constants/errors/errors.js} +7 -5
- package/build/frontend/constants/errors/index.js +17 -0
- package/{constants/events/events.ts → build/frontend/constants/events/events.js} +4 -1
- package/build/frontend/constants/events/index.js +17 -0
- package/build/frontend/constants/hosts/alpn.js +9 -0
- package/build/frontend/constants/hosts/fingerprints.js +15 -0
- package/build/frontend/constants/hosts/index.js +18 -0
- package/build/frontend/constants/index.js +23 -0
- package/build/frontend/constants/nodes/cycle/cycle.js +8 -0
- package/build/frontend/constants/nodes/cycle/index.js +17 -0
- package/build/frontend/constants/nodes/index.js +18 -0
- package/build/frontend/constants/nodes/status/index.js +17 -0
- package/build/frontend/constants/nodes/status/status.constant.js +9 -0
- package/build/frontend/constants/roles/index.js +17 -0
- package/build/frontend/constants/roles/role.js +7 -0
- package/build/frontend/constants/templates/index.js +18 -0
- package/build/frontend/constants/templates/template-keys.js +10 -0
- package/build/frontend/constants/templates/user-statuses.js +9 -0
- package/build/frontend/constants/users/index.js +18 -0
- package/build/frontend/constants/users/reset-periods/index.js +17 -0
- package/build/frontend/constants/users/reset-periods/reset-periods.constant.js +11 -0
- package/build/frontend/constants/users/status/index.js +17 -0
- package/build/frontend/constants/users/status/status.constant.js +10 -0
- package/build/frontend/index.js +20 -0
- package/build/frontend/models/api-tokens.schema.js +12 -0
- package/build/frontend/models/auth.schema.js +7 -0
- package/build/frontend/models/base-stat.schema.js +9 -0
- package/build/frontend/models/hosts.schema.js +19 -0
- package/build/frontend/models/inbounds.schema.js +9 -0
- package/build/frontend/models/index.js +23 -0
- package/build/frontend/models/nodes.schema.js +28 -0
- package/build/frontend/models/users.schema.js +34 -0
- package/package.json +13 -5
- package/api/controllers/api-tokens.ts +0 -7
- package/api/controllers/auth.ts +0 -5
- package/api/controllers/hosts.ts +0 -10
- package/api/controllers/inbounds.ts +0 -5
- package/api/controllers/keygen.ts +0 -5
- package/api/controllers/subscription.ts +0 -6
- package/api/controllers/system.ts +0 -9
- package/api/controllers/xray.ts +0 -6
- package/api/routes.ts +0 -81
- package/commands/api-tokens/create.command.ts +0 -23
- package/commands/api-tokens/delete.command.ts +0 -19
- package/commands/api-tokens/find.command.ts +0 -14
- package/commands/auth/index.ts +0 -1
- package/commands/auth/login.command.ts +0 -21
- package/commands/hosts/create.command.ts +0 -49
- package/commands/hosts/delete.command.ts +0 -21
- package/commands/hosts/get-all.command.ts +0 -14
- package/commands/hosts/reorder.command.ts +0 -26
- package/commands/hosts/update.command.ts +0 -56
- package/commands/inbounds/get-inbounds.command.ts +0 -14
- package/commands/keygen/get-pubkey.command.ts +0 -15
- package/commands/nodes/create.command.ts +0 -40
- package/commands/nodes/delete.command.ts +0 -21
- package/commands/nodes/disable.command.ts +0 -20
- package/commands/nodes/enable.command.ts +0 -20
- package/commands/nodes/get-all.command.ts +0 -14
- package/commands/nodes/get-one.command.ts +0 -20
- package/commands/nodes/restart-all.command.ts +0 -14
- package/commands/nodes/restart.command.ts +0 -21
- package/commands/nodes/update.command.ts +0 -38
- package/commands/subscription/get-subscription-by-short-uuid.command.ts +0 -13
- package/commands/subscription/get-subscription-info-by-short-uuid.command.ts +0 -32
- package/commands/system/get-bandwidth-stats.command.ts +0 -26
- package/commands/system/get-nodes-statistics.ts +0 -27
- package/commands/system/get-stats.command.ts +0 -43
- package/commands/users/create-user.command.ts +0 -117
- package/commands/users/delete-user.command.ts +0 -20
- package/commands/users/disable-user.command.ts.ts +0 -19
- package/commands/users/enable-user.command.ts +0 -20
- package/commands/users/get-all-users-v2.command.ts +0 -62
- package/commands/users/get-all-users.command.ts +0 -62
- package/commands/users/get-user-by-short-uuid.command.ts +0 -20
- package/commands/users/get-user-by-subscription-uuid.command.ts +0 -20
- package/commands/users/get-user-by-uuid.command.ts +0 -20
- package/commands/users/revoke-user-subscription.command.ts +0 -20
- package/commands/users/update-user.command.ts +0 -60
- package/commands/xray/get-config.command.ts +0 -14
- package/commands/xray/update-config.command.ts +0 -19
- package/constants/errors/index.ts +0 -1
- package/constants/events/index.ts +0 -1
- package/constants/hosts/alpn.ts +0 -8
- package/constants/hosts/fingerprints.ts +0 -14
- package/constants/nodes/cycle/cycle.ts +0 -7
- package/constants/nodes/cycle/index.ts +0 -1
- package/constants/nodes/status/status.constant.ts +0 -8
- package/constants/roles/index.ts +0 -1
- package/constants/roles/role.ts +0 -7
- package/constants/templates/template-keys.ts +0 -8
- package/constants/templates/user-statuses.ts +0 -6
- package/constants/users/reset-periods/reset-periods.constant.ts +0 -10
- package/constants/users/status/status.constant.ts +0 -9
- package/models/api-tokens.schema.ts +0 -11
- package/models/auth.schema.ts +0 -5
- package/models/base-stat.schema.ts +0 -7
- package/models/hosts.schema.ts +0 -17
- package/models/inbounds.schema.ts +0 -7
- package/models/nodes.schema.ts +0 -28
- package/models/users.schema.ts +0 -38
- package/tsconfig.json +0 -103
- /package/build/{api → backend/api}/controllers/api-tokens.js +0 -0
- /package/build/{api → backend/api}/controllers/auth.js +0 -0
- /package/build/{api → backend/api}/controllers/hosts.js +0 -0
- /package/build/{api → backend/api}/controllers/inbounds.js +0 -0
- /package/build/{api → backend/api}/controllers/index.js +0 -0
- /package/build/{api → backend/api}/controllers/keygen.js +0 -0
- /package/build/{api → backend/api}/controllers/nodes.js +0 -0
- /package/build/{api → backend/api}/controllers/subscription.js +0 -0
- /package/build/{api → backend/api}/controllers/system.js +0 -0
- /package/build/{api → backend/api}/controllers/users.js +0 -0
- /package/build/{api → backend/api}/controllers/xray.js +0 -0
- /package/build/{api → backend/api}/index.js +0 -0
- /package/build/{api → backend/api}/routes.js +0 -0
- /package/build/{commands → backend/commands}/api-tokens/create.command.js +0 -0
- /package/build/{commands → backend/commands}/api-tokens/delete.command.js +0 -0
- /package/build/{commands → backend/commands}/api-tokens/find.command.js +0 -0
- /package/build/{commands → backend/commands}/api-tokens/index.js +0 -0
- /package/build/{commands → backend/commands}/auth/index.js +0 -0
- /package/build/{commands → backend/commands}/auth/login.command.js +0 -0
- /package/build/{commands → backend/commands}/hosts/create.command.js +0 -0
- /package/build/{commands → backend/commands}/hosts/delete.command.js +0 -0
- /package/build/{commands → backend/commands}/hosts/get-all.command.js +0 -0
- /package/build/{commands → backend/commands}/hosts/index.js +0 -0
- /package/build/{commands → backend/commands}/hosts/reorder.command.js +0 -0
- /package/build/{commands → backend/commands}/hosts/update.command.js +0 -0
- /package/build/{commands → backend/commands}/inbounds/get-inbounds.command.js +0 -0
- /package/build/{commands → backend/commands}/inbounds/index.js +0 -0
- /package/build/{commands → backend/commands}/index.js +0 -0
- /package/build/{commands → backend/commands}/keygen/get-pubkey.command.js +0 -0
- /package/build/{commands → backend/commands}/keygen/index.js +0 -0
- /package/build/{commands → backend/commands}/nodes/create.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/delete.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/disable.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/enable.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/get-all.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/get-one.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/index.js +0 -0
- /package/build/{commands → backend/commands}/nodes/restart-all.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/restart.command.js +0 -0
- /package/build/{commands → backend/commands}/nodes/update.command.js +0 -0
- /package/build/{commands → backend/commands}/subscription/get-subscription-by-short-uuid.command.js +0 -0
- /package/build/{commands → backend/commands}/subscription/get-subscription-info-by-short-uuid.command.js +0 -0
- /package/build/{commands → backend/commands}/subscription/index.js +0 -0
- /package/build/{commands → backend/commands}/system/get-bandwidth-stats.command.js +0 -0
- /package/build/{commands → backend/commands}/system/get-nodes-statistics.js +0 -0
- /package/build/{commands → backend/commands}/system/get-stats.command.js +0 -0
- /package/build/{commands → backend/commands}/system/index.js +0 -0
- /package/build/{commands → backend/commands}/users/create-user.command.js +0 -0
- /package/build/{commands → backend/commands}/users/delete-user.command.js +0 -0
- /package/build/{commands → backend/commands}/users/disable-user.command.ts.js +0 -0
- /package/build/{commands → backend/commands}/users/enable-user.command.js +0 -0
- /package/build/{commands → backend/commands}/users/get-all-users-v2.command.js +0 -0
- /package/build/{commands → backend/commands}/users/get-all-users.command.js +0 -0
- /package/build/{commands → backend/commands}/users/get-user-by-short-uuid.command.js +0 -0
- /package/build/{commands → backend/commands}/users/get-user-by-subscription-uuid.command.js +0 -0
- /package/build/{commands → backend/commands}/users/get-user-by-uuid.command.js +0 -0
- /package/build/{commands → backend/commands}/users/index.js +0 -0
- /package/build/{commands → backend/commands}/users/revoke-user-subscription.command.js +0 -0
- /package/build/{commands → backend/commands}/users/update-user.command.js +0 -0
- /package/build/{commands → backend/commands}/xray/get-config.command.js +0 -0
- /package/build/{commands → backend/commands}/xray/index.js +0 -0
- /package/build/{commands → backend/commands}/xray/update-config.command.js +0 -0
- /package/build/{constants → backend/constants}/errors/errors.js +0 -0
- /package/build/{constants → backend/constants}/errors/index.js +0 -0
- /package/build/{constants → backend/constants}/events/events.js +0 -0
- /package/build/{constants → backend/constants}/events/index.js +0 -0
- /package/build/{constants → backend/constants}/hosts/alpn.js +0 -0
- /package/build/{constants → backend/constants}/hosts/fingerprints.js +0 -0
- /package/build/{constants → backend/constants}/hosts/index.js +0 -0
- /package/build/{constants → backend/constants}/index.js +0 -0
- /package/build/{constants → backend/constants}/nodes/cycle/cycle.js +0 -0
- /package/build/{constants → backend/constants}/nodes/cycle/index.js +0 -0
- /package/build/{constants → backend/constants}/nodes/index.js +0 -0
- /package/build/{constants → backend/constants}/nodes/status/index.js +0 -0
- /package/build/{constants → backend/constants}/nodes/status/status.constant.js +0 -0
- /package/build/{constants → backend/constants}/roles/index.js +0 -0
- /package/build/{constants → backend/constants}/roles/role.js +0 -0
- /package/build/{constants → backend/constants}/templates/index.js +0 -0
- /package/build/{constants → backend/constants}/templates/template-keys.js +0 -0
- /package/build/{constants → backend/constants}/templates/user-statuses.js +0 -0
- /package/build/{constants → backend/constants}/users/index.js +0 -0
- /package/build/{constants → backend/constants}/users/reset-periods/index.js +0 -0
- /package/build/{constants → backend/constants}/users/reset-periods/reset-periods.constant.js +0 -0
- /package/build/{constants → backend/constants}/users/status/index.js +0 -0
- /package/build/{constants → backend/constants}/users/status/status.constant.js +0 -0
- /package/build/{index.js → backend/index.js} +0 -0
- /package/build/{models → backend/models}/api-tokens.schema.js +0 -0
- /package/build/{models → backend/models}/auth.schema.js +0 -0
- /package/build/{models → backend/models}/base-stat.schema.js +0 -0
- /package/build/{models → backend/models}/hosts.schema.js +0 -0
- /package/build/{models → backend/models}/inbounds.schema.js +0 -0
- /package/build/{models → backend/models}/index.js +0 -0
- /package/build/{models → backend/models}/nodes.schema.js +0 -0
- /package/build/{models → backend/models}/users.schema.js +0 -0
@@ -0,0 +1,180 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace UpdateNodeCommand {
|
3
|
+
const url: "/api/nodes/update";
|
4
|
+
const TSQ_url: "/api/nodes/update";
|
5
|
+
const RequestSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
6
|
+
uuid: z.ZodString;
|
7
|
+
name: z.ZodString;
|
8
|
+
address: z.ZodString;
|
9
|
+
port: z.ZodNullable<z.ZodNumber>;
|
10
|
+
isConnected: z.ZodBoolean;
|
11
|
+
isDisabled: z.ZodBoolean;
|
12
|
+
isConnecting: z.ZodBoolean;
|
13
|
+
isNodeOnline: z.ZodBoolean;
|
14
|
+
isXrayRunning: z.ZodBoolean;
|
15
|
+
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
16
|
+
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
17
|
+
xrayVersion: z.ZodNullable<z.ZodString>;
|
18
|
+
isTrafficTrackingActive: z.ZodBoolean;
|
19
|
+
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
20
|
+
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
21
|
+
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
22
|
+
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
23
|
+
cpuCount: z.ZodNullable<z.ZodNumber>;
|
24
|
+
cpuModel: z.ZodNullable<z.ZodString>;
|
25
|
+
totalRam: z.ZodNullable<z.ZodString>;
|
26
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
27
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
28
|
+
}, "uuid">, {
|
29
|
+
name: z.ZodOptional<z.ZodString>;
|
30
|
+
address: z.ZodOptional<z.ZodString>;
|
31
|
+
port: z.ZodOptional<z.ZodNumber>;
|
32
|
+
isTrafficTrackingActive: z.ZodOptional<z.ZodBoolean>;
|
33
|
+
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
34
|
+
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
35
|
+
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
36
|
+
}>, "strip", z.ZodTypeAny, {
|
37
|
+
uuid: string;
|
38
|
+
address?: string | undefined;
|
39
|
+
port?: number | undefined;
|
40
|
+
name?: string | undefined;
|
41
|
+
isTrafficTrackingActive?: boolean | undefined;
|
42
|
+
trafficResetDay?: number | undefined;
|
43
|
+
trafficLimitBytes?: number | undefined;
|
44
|
+
notifyPercent?: number | undefined;
|
45
|
+
}, {
|
46
|
+
uuid: string;
|
47
|
+
address?: string | undefined;
|
48
|
+
port?: number | undefined;
|
49
|
+
name?: string | undefined;
|
50
|
+
isTrafficTrackingActive?: boolean | undefined;
|
51
|
+
trafficResetDay?: number | undefined;
|
52
|
+
trafficLimitBytes?: number | undefined;
|
53
|
+
notifyPercent?: number | undefined;
|
54
|
+
}>;
|
55
|
+
type Request = z.infer<typeof RequestSchema>;
|
56
|
+
const ResponseSchema: z.ZodObject<{
|
57
|
+
response: z.ZodObject<{
|
58
|
+
uuid: z.ZodString;
|
59
|
+
name: z.ZodString;
|
60
|
+
address: z.ZodString;
|
61
|
+
port: z.ZodNullable<z.ZodNumber>;
|
62
|
+
isConnected: z.ZodBoolean;
|
63
|
+
isDisabled: z.ZodBoolean;
|
64
|
+
isConnecting: z.ZodBoolean;
|
65
|
+
isNodeOnline: z.ZodBoolean;
|
66
|
+
isXrayRunning: z.ZodBoolean;
|
67
|
+
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
68
|
+
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
69
|
+
xrayVersion: z.ZodNullable<z.ZodString>;
|
70
|
+
isTrafficTrackingActive: z.ZodBoolean;
|
71
|
+
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
72
|
+
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
73
|
+
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
74
|
+
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
75
|
+
cpuCount: z.ZodNullable<z.ZodNumber>;
|
76
|
+
cpuModel: z.ZodNullable<z.ZodString>;
|
77
|
+
totalRam: z.ZodNullable<z.ZodString>;
|
78
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
79
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
81
|
+
uuid: string;
|
82
|
+
createdAt: Date;
|
83
|
+
updatedAt: Date;
|
84
|
+
address: string;
|
85
|
+
port: number | null;
|
86
|
+
isDisabled: boolean;
|
87
|
+
name: string;
|
88
|
+
isConnected: boolean;
|
89
|
+
isConnecting: boolean;
|
90
|
+
isNodeOnline: boolean;
|
91
|
+
isXrayRunning: boolean;
|
92
|
+
lastStatusChange: Date | null;
|
93
|
+
lastStatusMessage: string | null;
|
94
|
+
xrayVersion: string | null;
|
95
|
+
isTrafficTrackingActive: boolean;
|
96
|
+
trafficResetDay: number | null;
|
97
|
+
trafficLimitBytes: number | null;
|
98
|
+
trafficUsedBytes: number | null;
|
99
|
+
notifyPercent: number | null;
|
100
|
+
cpuCount: number | null;
|
101
|
+
cpuModel: string | null;
|
102
|
+
totalRam: string | null;
|
103
|
+
}, {
|
104
|
+
uuid: string;
|
105
|
+
createdAt: string;
|
106
|
+
updatedAt: string;
|
107
|
+
address: string;
|
108
|
+
port: number | null;
|
109
|
+
isDisabled: boolean;
|
110
|
+
name: string;
|
111
|
+
isConnected: boolean;
|
112
|
+
isConnecting: boolean;
|
113
|
+
isNodeOnline: boolean;
|
114
|
+
isXrayRunning: boolean;
|
115
|
+
lastStatusChange: string | null;
|
116
|
+
lastStatusMessage: string | null;
|
117
|
+
xrayVersion: string | null;
|
118
|
+
isTrafficTrackingActive: boolean;
|
119
|
+
trafficResetDay: number | null;
|
120
|
+
trafficLimitBytes: number | null;
|
121
|
+
trafficUsedBytes: number | null;
|
122
|
+
notifyPercent: number | null;
|
123
|
+
cpuCount: number | null;
|
124
|
+
cpuModel: string | null;
|
125
|
+
totalRam: string | null;
|
126
|
+
}>;
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
128
|
+
response: {
|
129
|
+
uuid: string;
|
130
|
+
createdAt: Date;
|
131
|
+
updatedAt: Date;
|
132
|
+
address: string;
|
133
|
+
port: number | null;
|
134
|
+
isDisabled: boolean;
|
135
|
+
name: string;
|
136
|
+
isConnected: boolean;
|
137
|
+
isConnecting: boolean;
|
138
|
+
isNodeOnline: boolean;
|
139
|
+
isXrayRunning: boolean;
|
140
|
+
lastStatusChange: Date | null;
|
141
|
+
lastStatusMessage: string | null;
|
142
|
+
xrayVersion: string | null;
|
143
|
+
isTrafficTrackingActive: boolean;
|
144
|
+
trafficResetDay: number | null;
|
145
|
+
trafficLimitBytes: number | null;
|
146
|
+
trafficUsedBytes: number | null;
|
147
|
+
notifyPercent: number | null;
|
148
|
+
cpuCount: number | null;
|
149
|
+
cpuModel: string | null;
|
150
|
+
totalRam: string | null;
|
151
|
+
};
|
152
|
+
}, {
|
153
|
+
response: {
|
154
|
+
uuid: string;
|
155
|
+
createdAt: string;
|
156
|
+
updatedAt: string;
|
157
|
+
address: string;
|
158
|
+
port: number | null;
|
159
|
+
isDisabled: boolean;
|
160
|
+
name: string;
|
161
|
+
isConnected: boolean;
|
162
|
+
isConnecting: boolean;
|
163
|
+
isNodeOnline: boolean;
|
164
|
+
isXrayRunning: boolean;
|
165
|
+
lastStatusChange: string | null;
|
166
|
+
lastStatusMessage: string | null;
|
167
|
+
xrayVersion: string | null;
|
168
|
+
isTrafficTrackingActive: boolean;
|
169
|
+
trafficResetDay: number | null;
|
170
|
+
trafficLimitBytes: number | null;
|
171
|
+
trafficUsedBytes: number | null;
|
172
|
+
notifyPercent: number | null;
|
173
|
+
cpuCount: number | null;
|
174
|
+
cpuModel: string | null;
|
175
|
+
totalRam: string | null;
|
176
|
+
};
|
177
|
+
}>;
|
178
|
+
type Response = z.infer<typeof ResponseSchema>;
|
179
|
+
}
|
180
|
+
//# sourceMappingURL=update.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetSubscriptionByShortUuidCommand {
|
3
|
+
const url: (shortUuid: string) => string;
|
4
|
+
const TSQ_url: string;
|
5
|
+
const RequestSchema: z.ZodObject<{
|
6
|
+
shortUuid: z.ZodString;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
shortUuid: string;
|
9
|
+
}, {
|
10
|
+
shortUuid: string;
|
11
|
+
}>;
|
12
|
+
type Request = z.infer<typeof RequestSchema>;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=get-subscription-by-short-uuid.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAA4B,CAAC;IACtC,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;CACvD"}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
3
|
+
const url: (shortUuid: string) => string;
|
4
|
+
const TSQ_url: string;
|
5
|
+
const RequestSchema: z.ZodObject<{
|
6
|
+
shortUuid: z.ZodString;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
shortUuid: string;
|
9
|
+
}, {
|
10
|
+
shortUuid: string;
|
11
|
+
}>;
|
12
|
+
type Request = z.infer<typeof RequestSchema>;
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
14
|
+
response: z.ZodObject<{
|
15
|
+
isFound: z.ZodBoolean;
|
16
|
+
user: z.ZodObject<{
|
17
|
+
shortUuid: z.ZodString;
|
18
|
+
daysLeft: z.ZodNumber;
|
19
|
+
trafficUsed: z.ZodString;
|
20
|
+
trafficLimit: z.ZodString;
|
21
|
+
username: z.ZodString;
|
22
|
+
expiresAt: z.ZodEffects<z.ZodString, Date, string>;
|
23
|
+
isActive: z.ZodBoolean;
|
24
|
+
userStatus: z.ZodEnum<["DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED", ...("DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED")[]]>;
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
26
|
+
username: string;
|
27
|
+
shortUuid: string;
|
28
|
+
daysLeft: number;
|
29
|
+
trafficUsed: string;
|
30
|
+
trafficLimit: string;
|
31
|
+
expiresAt: Date;
|
32
|
+
isActive: boolean;
|
33
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
34
|
+
}, {
|
35
|
+
username: string;
|
36
|
+
shortUuid: string;
|
37
|
+
daysLeft: number;
|
38
|
+
trafficUsed: string;
|
39
|
+
trafficLimit: string;
|
40
|
+
expiresAt: string;
|
41
|
+
isActive: boolean;
|
42
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
43
|
+
}>;
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
45
|
+
isFound: boolean;
|
46
|
+
user: {
|
47
|
+
username: string;
|
48
|
+
shortUuid: string;
|
49
|
+
daysLeft: number;
|
50
|
+
trafficUsed: string;
|
51
|
+
trafficLimit: string;
|
52
|
+
expiresAt: Date;
|
53
|
+
isActive: boolean;
|
54
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
55
|
+
};
|
56
|
+
}, {
|
57
|
+
isFound: boolean;
|
58
|
+
user: {
|
59
|
+
username: string;
|
60
|
+
shortUuid: string;
|
61
|
+
daysLeft: number;
|
62
|
+
trafficUsed: string;
|
63
|
+
trafficLimit: string;
|
64
|
+
expiresAt: string;
|
65
|
+
isActive: boolean;
|
66
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
67
|
+
};
|
68
|
+
}>;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
response: {
|
71
|
+
isFound: boolean;
|
72
|
+
user: {
|
73
|
+
username: string;
|
74
|
+
shortUuid: string;
|
75
|
+
daysLeft: number;
|
76
|
+
trafficUsed: string;
|
77
|
+
trafficLimit: string;
|
78
|
+
expiresAt: Date;
|
79
|
+
isActive: boolean;
|
80
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
81
|
+
};
|
82
|
+
};
|
83
|
+
}, {
|
84
|
+
response: {
|
85
|
+
isFound: boolean;
|
86
|
+
user: {
|
87
|
+
username: string;
|
88
|
+
shortUuid: string;
|
89
|
+
daysLeft: number;
|
90
|
+
trafficUsed: string;
|
91
|
+
trafficLimit: string;
|
92
|
+
expiresAt: string;
|
93
|
+
isActive: boolean;
|
94
|
+
userStatus: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
95
|
+
};
|
96
|
+
};
|
97
|
+
}>;
|
98
|
+
type Response = z.infer<typeof ResponseSchema>;
|
99
|
+
}
|
100
|
+
//# sourceMappingURL=get-subscription-info-by-short-uuid.command.d.ts.map
|
package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-subscription-info-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-info-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,+BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAczB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC"}
|
@@ -0,0 +1,192 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetBandwidthStatsCommand {
|
3
|
+
const url: "/api/system/bandwidth";
|
4
|
+
const TSQ_url: "/api/system/bandwidth";
|
5
|
+
const RequestQuerySchema: z.ZodObject<{
|
6
|
+
tz: z.ZodOptional<z.ZodString>;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
tz?: string | undefined;
|
9
|
+
}, {
|
10
|
+
tz?: string | undefined;
|
11
|
+
}>;
|
12
|
+
type Request = z.infer<typeof RequestQuerySchema>;
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
14
|
+
response: z.ZodObject<{
|
15
|
+
bandwidthLastTwoDays: z.ZodObject<{
|
16
|
+
current: z.ZodString;
|
17
|
+
previous: z.ZodString;
|
18
|
+
difference: z.ZodString;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
current: string;
|
21
|
+
previous: string;
|
22
|
+
difference: string;
|
23
|
+
}, {
|
24
|
+
current: string;
|
25
|
+
previous: string;
|
26
|
+
difference: string;
|
27
|
+
}>;
|
28
|
+
bandwidthLastSevenDays: z.ZodObject<{
|
29
|
+
current: z.ZodString;
|
30
|
+
previous: z.ZodString;
|
31
|
+
difference: z.ZodString;
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
33
|
+
current: string;
|
34
|
+
previous: string;
|
35
|
+
difference: string;
|
36
|
+
}, {
|
37
|
+
current: string;
|
38
|
+
previous: string;
|
39
|
+
difference: string;
|
40
|
+
}>;
|
41
|
+
bandwidthLast30Days: z.ZodObject<{
|
42
|
+
current: z.ZodString;
|
43
|
+
previous: z.ZodString;
|
44
|
+
difference: z.ZodString;
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
46
|
+
current: string;
|
47
|
+
previous: string;
|
48
|
+
difference: string;
|
49
|
+
}, {
|
50
|
+
current: string;
|
51
|
+
previous: string;
|
52
|
+
difference: string;
|
53
|
+
}>;
|
54
|
+
bandwidthCalendarMonth: z.ZodObject<{
|
55
|
+
current: z.ZodString;
|
56
|
+
previous: z.ZodString;
|
57
|
+
difference: z.ZodString;
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
59
|
+
current: string;
|
60
|
+
previous: string;
|
61
|
+
difference: string;
|
62
|
+
}, {
|
63
|
+
current: string;
|
64
|
+
previous: string;
|
65
|
+
difference: string;
|
66
|
+
}>;
|
67
|
+
bandwidthCurrentYear: z.ZodObject<{
|
68
|
+
current: z.ZodString;
|
69
|
+
previous: z.ZodString;
|
70
|
+
difference: z.ZodString;
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
72
|
+
current: string;
|
73
|
+
previous: string;
|
74
|
+
difference: string;
|
75
|
+
}, {
|
76
|
+
current: string;
|
77
|
+
previous: string;
|
78
|
+
difference: string;
|
79
|
+
}>;
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
81
|
+
bandwidthLastTwoDays: {
|
82
|
+
current: string;
|
83
|
+
previous: string;
|
84
|
+
difference: string;
|
85
|
+
};
|
86
|
+
bandwidthLastSevenDays: {
|
87
|
+
current: string;
|
88
|
+
previous: string;
|
89
|
+
difference: string;
|
90
|
+
};
|
91
|
+
bandwidthLast30Days: {
|
92
|
+
current: string;
|
93
|
+
previous: string;
|
94
|
+
difference: string;
|
95
|
+
};
|
96
|
+
bandwidthCalendarMonth: {
|
97
|
+
current: string;
|
98
|
+
previous: string;
|
99
|
+
difference: string;
|
100
|
+
};
|
101
|
+
bandwidthCurrentYear: {
|
102
|
+
current: string;
|
103
|
+
previous: string;
|
104
|
+
difference: string;
|
105
|
+
};
|
106
|
+
}, {
|
107
|
+
bandwidthLastTwoDays: {
|
108
|
+
current: string;
|
109
|
+
previous: string;
|
110
|
+
difference: string;
|
111
|
+
};
|
112
|
+
bandwidthLastSevenDays: {
|
113
|
+
current: string;
|
114
|
+
previous: string;
|
115
|
+
difference: string;
|
116
|
+
};
|
117
|
+
bandwidthLast30Days: {
|
118
|
+
current: string;
|
119
|
+
previous: string;
|
120
|
+
difference: string;
|
121
|
+
};
|
122
|
+
bandwidthCalendarMonth: {
|
123
|
+
current: string;
|
124
|
+
previous: string;
|
125
|
+
difference: string;
|
126
|
+
};
|
127
|
+
bandwidthCurrentYear: {
|
128
|
+
current: string;
|
129
|
+
previous: string;
|
130
|
+
difference: string;
|
131
|
+
};
|
132
|
+
}>;
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
134
|
+
response: {
|
135
|
+
bandwidthLastTwoDays: {
|
136
|
+
current: string;
|
137
|
+
previous: string;
|
138
|
+
difference: string;
|
139
|
+
};
|
140
|
+
bandwidthLastSevenDays: {
|
141
|
+
current: string;
|
142
|
+
previous: string;
|
143
|
+
difference: string;
|
144
|
+
};
|
145
|
+
bandwidthLast30Days: {
|
146
|
+
current: string;
|
147
|
+
previous: string;
|
148
|
+
difference: string;
|
149
|
+
};
|
150
|
+
bandwidthCalendarMonth: {
|
151
|
+
current: string;
|
152
|
+
previous: string;
|
153
|
+
difference: string;
|
154
|
+
};
|
155
|
+
bandwidthCurrentYear: {
|
156
|
+
current: string;
|
157
|
+
previous: string;
|
158
|
+
difference: string;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
}, {
|
162
|
+
response: {
|
163
|
+
bandwidthLastTwoDays: {
|
164
|
+
current: string;
|
165
|
+
previous: string;
|
166
|
+
difference: string;
|
167
|
+
};
|
168
|
+
bandwidthLastSevenDays: {
|
169
|
+
current: string;
|
170
|
+
previous: string;
|
171
|
+
difference: string;
|
172
|
+
};
|
173
|
+
bandwidthLast30Days: {
|
174
|
+
current: string;
|
175
|
+
previous: string;
|
176
|
+
difference: string;
|
177
|
+
};
|
178
|
+
bandwidthCalendarMonth: {
|
179
|
+
current: string;
|
180
|
+
previous: string;
|
181
|
+
difference: string;
|
182
|
+
};
|
183
|
+
bandwidthCurrentYear: {
|
184
|
+
current: string;
|
185
|
+
previous: string;
|
186
|
+
difference: string;
|
187
|
+
};
|
188
|
+
};
|
189
|
+
}>;
|
190
|
+
type Response = z.infer<typeof ResponseSchema>;
|
191
|
+
}
|
192
|
+
//# sourceMappingURL=get-bandwidth-stats.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-bandwidth-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-bandwidth-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetNodesStatisticsCommand {
|
3
|
+
const url: "/api/system/statistics/nodes";
|
4
|
+
const TSQ_url: "/api/system/statistics/nodes";
|
5
|
+
const RequestQuerySchema: z.ZodObject<{
|
6
|
+
tz: z.ZodOptional<z.ZodString>;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
tz?: string | undefined;
|
9
|
+
}, {
|
10
|
+
tz?: string | undefined;
|
11
|
+
}>;
|
12
|
+
type Request = z.infer<typeof RequestQuerySchema>;
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
14
|
+
response: z.ZodObject<{
|
15
|
+
lastSevenDays: z.ZodArray<z.ZodObject<{
|
16
|
+
nodeName: z.ZodString;
|
17
|
+
date: z.ZodString;
|
18
|
+
totalBytes: z.ZodString;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
date: string;
|
21
|
+
nodeName: string;
|
22
|
+
totalBytes: string;
|
23
|
+
}, {
|
24
|
+
date: string;
|
25
|
+
nodeName: string;
|
26
|
+
totalBytes: string;
|
27
|
+
}>, "many">;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
lastSevenDays: {
|
30
|
+
date: string;
|
31
|
+
nodeName: string;
|
32
|
+
totalBytes: string;
|
33
|
+
}[];
|
34
|
+
}, {
|
35
|
+
lastSevenDays: {
|
36
|
+
date: string;
|
37
|
+
nodeName: string;
|
38
|
+
totalBytes: string;
|
39
|
+
}[];
|
40
|
+
}>;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
response: {
|
43
|
+
lastSevenDays: {
|
44
|
+
date: string;
|
45
|
+
nodeName: string;
|
46
|
+
totalBytes: string;
|
47
|
+
}[];
|
48
|
+
};
|
49
|
+
}, {
|
50
|
+
response: {
|
51
|
+
lastSevenDays: {
|
52
|
+
date: string;
|
53
|
+
nodeName: string;
|
54
|
+
totalBytes: string;
|
55
|
+
}[];
|
56
|
+
};
|
57
|
+
}>;
|
58
|
+
type Response = z.infer<typeof ResponseSchema>;
|
59
|
+
}
|
60
|
+
//# sourceMappingURL=get-nodes-statistics.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-nodes-statistics.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-nodes-statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,gCAAkC,CAAC;IAC5C,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|