@remnawave/backend-contract 2.9.14 → 2.9.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/api/controllers/bandwidth-stats.d.ts +7 -8
- package/build/backend/api/controllers/bandwidth-stats.d.ts.map +1 -1
- package/build/backend/api/controllers/bandwidth-stats.js +8 -20
- package/build/backend/api/controllers/connections.d.ts +1 -1
- package/build/backend/api/controllers/connections.d.ts.map +1 -1
- package/build/backend/api/controllers/connections.js +1 -1
- package/build/backend/api/controllers/hwid.d.ts +1 -1
- package/build/backend/api/controllers/hwid.d.ts.map +1 -1
- package/build/backend/api/controllers/hwid.js +1 -1
- package/build/backend/api/controllers/internal-squads.d.ts +2 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +2 -0
- package/build/backend/api/controllers/metadata.d.ts +4 -4
- package/build/backend/api/controllers/metadata.d.ts.map +1 -1
- package/build/backend/api/controllers/metadata.js +4 -4
- package/build/backend/api/controllers/remnawave-settings.d.ts +2 -2
- package/build/backend/api/controllers/remnawave-settings.d.ts.map +1 -1
- package/build/backend/api/controllers/remnawave-settings.js +3 -3
- package/build/backend/api/controllers/subscriptions.d.ts +2 -2
- package/build/backend/api/controllers/subscriptions.d.ts.map +1 -1
- package/build/backend/api/controllers/subscriptions.js +2 -2
- package/build/backend/api/controllers/users.d.ts +9 -13
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +9 -13
- package/build/backend/api/controllers-info.d.ts +15 -15
- package/build/backend/api/controllers-info.js +15 -15
- package/build/backend/api/routes.d.ts +22 -23
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +24 -25
- package/build/backend/commands/bandwidth-stats/index.d.ts +1 -1
- package/build/backend/commands/bandwidth-stats/index.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/index.js +1 -1
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.d.ts +31 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.d.ts.map +1 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.js +50 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-user-usage.command.d.ts +29 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-user-usage.command.d.ts.map +1 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-user-usage.command.js +34 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/index.d.ts +3 -0
- package/build/backend/commands/bandwidth-stats/internal-squads/index.d.ts.map +1 -0
- package/build/backend/commands/bandwidth-stats/{legacy → internal-squads}/index.js +2 -2
- package/build/backend/commands/bandwidth-stats/nodes/get-node-usage.command.d.ts +29 -0
- package/build/backend/commands/bandwidth-stats/nodes/get-node-usage.command.d.ts.map +1 -0
- package/build/backend/commands/bandwidth-stats/nodes/get-node-usage.command.js +38 -0
- package/build/backend/commands/bandwidth-stats/nodes/index.d.ts +1 -0
- package/build/backend/commands/bandwidth-stats/nodes/index.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/index.js +1 -0
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +2 -2
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -4
- package/build/backend/commands/connections/connections-by-node-result.command.d.ts +1 -1
- package/build/backend/commands/connections/connections-by-node-result.command.js +1 -1
- package/build/backend/commands/connections/connections-by-user-result.command.d.ts +1 -2
- package/build/backend/commands/connections/connections-by-user-result.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-user-result.command.js +1 -2
- package/build/backend/commands/connections/connections-by-user.command.d.ts +2 -2
- package/build/backend/commands/connections/connections-by-user.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-user.command.js +4 -3
- package/build/backend/commands/connections/drop-connections.command.d.ts +4 -4
- package/build/backend/commands/connections/drop-connections.command.js +3 -3
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +0 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +0 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +2 -2
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.js +3 -3
- package/build/backend/commands/internal-squads/bulk-actions/add-many-users-to-internal-squad.command.d.ts +15 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-many-users-to-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-many-users-to-internal-squad.command.js +18 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-many-users-from-internal-squad.command.d.ts +15 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-many-users-from-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-many-users-from-internal-squad.command.js +18 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +2 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/index.js +2 -0
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts +2 -2
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/get-user-metadata.command.js +4 -3
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts +2 -2
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +0 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
- 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/subscriptions/get-by/{get-connection-keys-by-uuid.command.d.ts → get-connection-keys-by-user-id.command.d.ts} +4 -4
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-user-id.command.d.ts.map +1 -0
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-user-id.command.js +23 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +0 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/{get-subscription-by-uuid.command.d.ts → get-subscription-by-user-id.command.d.ts} +4 -4
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-user-id.command.d.ts.map +1 -0
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-user-id.command.js +19 -0
- package/build/backend/commands/subscriptions/get-by/index.d.ts +2 -2
- package/build/backend/commands/subscriptions/get-by/index.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/index.js +2 -2
- package/build/backend/commands/users/actions/disable-user.command.d.ts +2 -3
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.js +4 -3
- package/build/backend/commands/users/actions/enable-user.command.d.ts +2 -3
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.js +4 -3
- package/build/backend/commands/users/{get-by/get-user-by-id.command.d.ts → actions/extend-user.command.d.ts} +8 -5
- package/build/backend/commands/users/actions/extend-user.command.d.ts.map +1 -0
- package/build/backend/commands/users/actions/extend-user.command.js +21 -0
- package/build/backend/commands/users/actions/index.d.ts +1 -0
- package/build/backend/commands/users/actions/index.d.ts.map +1 -1
- package/build/backend/commands/users/actions/index.js +1 -0
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +2 -3
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.js +4 -3
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +2 -3
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +4 -3
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.js +2 -2
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts +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.d.ts +1 -1
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +2 -2
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +1 -1
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +2 -2
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +2 -2
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +2 -2
- package/build/backend/commands/users/create-user.command.d.ts +0 -2
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +0 -3
- package/build/backend/commands/users/delete-user.command.d.ts +2 -2
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/delete-user.command.js +4 -3
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +0 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +0 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/index.d.ts +0 -1
- package/build/backend/commands/users/get-by/index.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/index.js +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +3 -3
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +5 -4
- package/build/backend/commands/users/{get-user-by-uuid.command.d.ts → get-user-by-id.command.d.ts} +4 -5
- package/build/backend/commands/users/get-user-by-id.command.d.ts.map +1 -0
- package/build/backend/commands/users/{get-by/get-user-by-id.command.js → get-user-by-id.command.js} +8 -7
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +2 -2
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +5 -5
- package/build/backend/commands/users/get-users-stream.command.d.ts +0 -1
- package/build/backend/commands/users/get-users-stream.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-users.command.d.ts +0 -1
- package/build/backend/commands/users/get-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/index.d.ts +1 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -1
- package/build/backend/commands/users/resolve-user.command.d.ts +2 -2
- package/build/backend/commands/users/resolve-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/resolve-user.command.js +5 -5
- package/build/backend/commands/users/update-user.command.d.ts +1 -2
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +4 -6
- package/build/backend/commands/users/user.response.d.ts +0 -1
- package/build/backend/commands/users/user.response.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +18 -8
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +18 -8
- package/build/backend/models/extended-users.schema.d.ts +0 -1
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/path-params.schema.d.ts +3 -0
- package/build/backend/models/path-params.schema.d.ts.map +1 -0
- package/build/backend/models/path-params.schema.js +5 -0
- package/build/backend/models/torrent-blocker-report.schema.d.ts +0 -1
- package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
- package/build/backend/models/torrent-blocker-report.schema.js +0 -1
- package/build/backend/models/users.schema.d.ts +0 -1
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +0 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +0 -6
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers/bandwidth-stats.js +8 -20
- package/build/frontend/api/controllers/connections.js +1 -1
- package/build/frontend/api/controllers/hwid.js +1 -1
- package/build/frontend/api/controllers/internal-squads.js +2 -0
- package/build/frontend/api/controllers/metadata.js +4 -4
- package/build/frontend/api/controllers/remnawave-settings.js +3 -3
- package/build/frontend/api/controllers/subscriptions.js +2 -2
- package/build/frontend/api/controllers/users.js +9 -13
- package/build/frontend/api/controllers-info.js +15 -15
- package/build/frontend/api/routes.js +24 -25
- package/build/frontend/commands/bandwidth-stats/index.js +1 -1
- package/build/frontend/commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.js +50 -0
- package/build/frontend/commands/bandwidth-stats/internal-squads/get-internal-squad-user-usage.command.js +34 -0
- package/build/frontend/commands/bandwidth-stats/{legacy → internal-squads}/index.js +2 -2
- package/build/frontend/commands/bandwidth-stats/nodes/get-node-usage.command.js +38 -0
- package/build/frontend/commands/bandwidth-stats/nodes/index.js +1 -0
- package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -4
- package/build/frontend/commands/connections/connections-by-node-result.command.js +1 -1
- package/build/frontend/commands/connections/connections-by-user-result.command.js +1 -2
- package/build/frontend/commands/connections/connections-by-user.command.js +4 -3
- package/build/frontend/commands/connections/drop-connections.command.js +3 -3
- 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-top-users-by-hwid-devices.command.js +0 -1
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +3 -3
- package/build/frontend/commands/internal-squads/bulk-actions/add-many-users-to-internal-squad.command.js +18 -0
- package/build/frontend/commands/internal-squads/bulk-actions/delete-many-users-from-internal-squad.command.js +18 -0
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +2 -0
- package/build/frontend/commands/metadata/user/get-user-metadata.command.js +4 -3
- package/build/frontend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
- package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.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/subscriptions/get-by/get-connection-keys-by-user-id.command.js +23 -0
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-user-id.command.js +19 -0
- package/build/frontend/commands/subscriptions/get-by/index.js +2 -2
- package/build/frontend/commands/users/actions/disable-user.command.js +4 -3
- package/build/frontend/commands/users/actions/enable-user.command.js +4 -3
- package/build/frontend/commands/users/actions/extend-user.command.js +21 -0
- package/build/frontend/commands/users/actions/index.js +1 -0
- package/build/frontend/commands/users/actions/reset-user-traffic.command.js +4 -3
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +4 -3
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +2 -2
- 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 +2 -2
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +2 -2
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +2 -2
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +2 -2
- package/build/frontend/commands/users/create-user.command.js +0 -3
- package/build/frontend/commands/users/delete-user.command.js +4 -3
- package/build/frontend/commands/users/get-by/index.js +0 -1
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +5 -4
- package/build/frontend/commands/users/{get-by/get-user-by-id.command.js → get-user-by-id.command.js} +8 -7
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +5 -5
- package/build/frontend/commands/users/index.js +1 -1
- package/build/frontend/commands/users/resolve-user.command.js +5 -5
- package/build/frontend/commands/users/update-user.command.js +4 -6
- package/build/frontend/constants/errors/errors.js +18 -8
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/path-params.schema.js +5 -0
- package/build/frontend/models/torrent-blocker-report.schema.js +0 -1
- package/build/frontend/models/users.schema.js +0 -1
- package/package.json +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts +0 -26
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts.map +0 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +0 -28
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts +0 -27
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map +0 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +0 -29
- package/build/backend/commands/bandwidth-stats/legacy/index.d.ts +0 -3
- package/build/backend/commands/bandwidth-stats/legacy/index.d.ts.map +0 -1
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +0 -22
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +0 -19
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-by-uuid.command.js +0 -17
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +0 -28
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +0 -29
- package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +0 -22
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +0 -19
- package/build/frontend/commands/users/get-user-by-uuid.command.js +0 -17
|
@@ -4,14 +4,15 @@ exports.EnableUserCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
7
8
|
const user_response_1 = require("../user.response");
|
|
8
9
|
var EnableUserCommand;
|
|
9
10
|
(function (EnableUserCommand) {
|
|
10
11
|
EnableUserCommand.url = api_1.REST_API.USERS.ACTIONS.ENABLE;
|
|
11
|
-
EnableUserCommand.TSQ_url = EnableUserCommand.url(':
|
|
12
|
-
EnableUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.ENABLE(':
|
|
12
|
+
EnableUserCommand.TSQ_url = EnableUserCommand.url(':userId');
|
|
13
|
+
EnableUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.ENABLE(':userId'), 'post', 'Enable user', { scope: 'enable', kind: 'write' });
|
|
13
14
|
EnableUserCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
-
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
15
16
|
});
|
|
16
17
|
EnableUserCommand.ResponseSchema = user_response_1.UserResponseSchema;
|
|
17
18
|
})(EnableUserCommand || (exports.EnableUserCommand = EnableUserCommand = {}));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtendUserCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
|
+
const user_response_1 = require("../user.response");
|
|
9
|
+
var ExtendUserCommand;
|
|
10
|
+
(function (ExtendUserCommand) {
|
|
11
|
+
ExtendUserCommand.url = api_1.REST_API.USERS.ACTIONS.EXTEND_EXPIRATION_DATE;
|
|
12
|
+
ExtendUserCommand.TSQ_url = ExtendUserCommand.url(':userId');
|
|
13
|
+
ExtendUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.EXTEND_EXPIRATION_DATE(':userId'), 'post', 'Extend user expiration date', { scope: 'extend', kind: 'write' }, 'If user status is EXPIRED, the new expiration date is calculated from the current date and the user becomes ACTIVE. If user status is ACTIVE, the given number of days is added to the existing expiration date. DISABLED and LIMITED users will be extended, but their status will not change.');
|
|
14
|
+
ExtendUserCommand.RequestParamSchema = zod_1.z.object({
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
16
|
+
});
|
|
17
|
+
ExtendUserCommand.RequestBodySchema = zod_1.z.object({
|
|
18
|
+
days: zod_1.z.number().min(1).describe('The number of days to extend the expiration date.'),
|
|
19
|
+
});
|
|
20
|
+
ExtendUserCommand.ResponseSchema = user_response_1.UserResponseSchema;
|
|
21
|
+
})(ExtendUserCommand || (exports.ExtendUserCommand = ExtendUserCommand = {}));
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./disable-user.command"), exports);
|
|
|
18
18
|
__exportStar(require("./enable-user.command"), exports);
|
|
19
19
|
__exportStar(require("./reset-user-traffic.command"), exports);
|
|
20
20
|
__exportStar(require("./revoke-user-subscription.command"), exports);
|
|
21
|
+
__exportStar(require("./extend-user.command"), exports);
|
|
@@ -4,14 +4,15 @@ exports.ResetUserTrafficCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
7
8
|
const user_response_1 = require("../user.response");
|
|
8
9
|
var ResetUserTrafficCommand;
|
|
9
10
|
(function (ResetUserTrafficCommand) {
|
|
10
11
|
ResetUserTrafficCommand.url = api_1.REST_API.USERS.ACTIONS.RESET_TRAFFIC;
|
|
11
|
-
ResetUserTrafficCommand.TSQ_url = ResetUserTrafficCommand.url(':
|
|
12
|
-
ResetUserTrafficCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.RESET_TRAFFIC(':
|
|
12
|
+
ResetUserTrafficCommand.TSQ_url = ResetUserTrafficCommand.url(':userId');
|
|
13
|
+
ResetUserTrafficCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.RESET_TRAFFIC(':userId'), 'post', 'Reset user traffic', { scope: 'reset-traffic', kind: 'write' });
|
|
13
14
|
ResetUserTrafficCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
-
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
15
16
|
});
|
|
16
17
|
ResetUserTrafficCommand.ResponseSchema = user_response_1.UserResponseSchema;
|
|
17
18
|
})(ResetUserTrafficCommand || (exports.ResetUserTrafficCommand = ResetUserTrafficCommand = {}));
|
|
@@ -4,14 +4,15 @@ exports.RevokeUserSubscriptionCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../../api");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
7
8
|
const user_response_1 = require("../user.response");
|
|
8
9
|
var RevokeUserSubscriptionCommand;
|
|
9
10
|
(function (RevokeUserSubscriptionCommand) {
|
|
10
11
|
RevokeUserSubscriptionCommand.url = api_1.REST_API.USERS.ACTIONS.REVOKE_SUBSCRIPTION;
|
|
11
|
-
RevokeUserSubscriptionCommand.TSQ_url = RevokeUserSubscriptionCommand.url(':
|
|
12
|
-
RevokeUserSubscriptionCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.REVOKE_SUBSCRIPTION(':
|
|
12
|
+
RevokeUserSubscriptionCommand.TSQ_url = RevokeUserSubscriptionCommand.url(':userId');
|
|
13
|
+
RevokeUserSubscriptionCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACTIONS.REVOKE_SUBSCRIPTION(':userId'), 'post', 'Revoke user subscription', { scope: 'revoke-subscription', kind: 'write' });
|
|
13
14
|
RevokeUserSubscriptionCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
-
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
15
16
|
});
|
|
16
17
|
RevokeUserSubscriptionCommand.RequestBodySchema = zod_1.z.preprocess((val) => val || {}, zod_1.z.object({
|
|
17
18
|
revokeOnlyPasswords: zod_1.z.optional(zod_1.z
|
|
@@ -8,8 +8,8 @@ var BulkDeleteUsersCommand;
|
|
|
8
8
|
(function (BulkDeleteUsersCommand) {
|
|
9
9
|
BulkDeleteUsersCommand.url = api_1.REST_API.USERS.BULK.DELETE;
|
|
10
10
|
BulkDeleteUsersCommand.TSQ_url = BulkDeleteUsersCommand.url;
|
|
11
|
-
BulkDeleteUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.DELETE, 'post', 'Bulk delete users by
|
|
11
|
+
BulkDeleteUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.DELETE, 'post', 'Bulk delete users by User IDs', { scope: 'bulk-delete', kind: 'write' });
|
|
12
12
|
BulkDeleteUsersCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
-
|
|
13
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
14
14
|
});
|
|
15
15
|
})(BulkDeleteUsersCommand || (exports.BulkDeleteUsersCommand = BulkDeleteUsersCommand = {}));
|
|
@@ -10,7 +10,7 @@ var BulkExtendExpirationDateCommand;
|
|
|
10
10
|
BulkExtendExpirationDateCommand.TSQ_url = BulkExtendExpirationDateCommand.url;
|
|
11
11
|
BulkExtendExpirationDateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.EXTEND_EXPIRATION_DATE, 'post', 'Extend expiration date for specified users by days', { scope: 'bulk-extend-expiration-date', kind: 'write' });
|
|
12
12
|
BulkExtendExpirationDateCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
-
|
|
13
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
14
14
|
extendDays: zod_1.z.int().min(1).max(9999),
|
|
15
15
|
});
|
|
16
16
|
})(BulkExtendExpirationDateCommand || (exports.BulkExtendExpirationDateCommand = BulkExtendExpirationDateCommand = {}));
|
|
@@ -8,8 +8,8 @@ var BulkResetTrafficUsersCommand;
|
|
|
8
8
|
(function (BulkResetTrafficUsersCommand) {
|
|
9
9
|
BulkResetTrafficUsersCommand.url = api_1.REST_API.USERS.BULK.RESET_TRAFFIC;
|
|
10
10
|
BulkResetTrafficUsersCommand.TSQ_url = BulkResetTrafficUsersCommand.url;
|
|
11
|
-
BulkResetTrafficUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.RESET_TRAFFIC, 'post', 'Bulk reset traffic users by
|
|
11
|
+
BulkResetTrafficUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.RESET_TRAFFIC, 'post', 'Bulk reset traffic users by User IDs', { scope: 'bulk-reset-traffic', kind: 'write' });
|
|
12
12
|
BulkResetTrafficUsersCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
-
|
|
13
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
14
14
|
});
|
|
15
15
|
})(BulkResetTrafficUsersCommand || (exports.BulkResetTrafficUsersCommand = BulkResetTrafficUsersCommand = {}));
|
|
@@ -8,8 +8,8 @@ var BulkRevokeUsersSubscriptionCommand;
|
|
|
8
8
|
(function (BulkRevokeUsersSubscriptionCommand) {
|
|
9
9
|
BulkRevokeUsersSubscriptionCommand.url = api_1.REST_API.USERS.BULK.REVOKE_SUBSCRIPTION;
|
|
10
10
|
BulkRevokeUsersSubscriptionCommand.TSQ_url = BulkRevokeUsersSubscriptionCommand.url;
|
|
11
|
-
BulkRevokeUsersSubscriptionCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.REVOKE_SUBSCRIPTION, 'post', 'Revoke users subscription by User
|
|
11
|
+
BulkRevokeUsersSubscriptionCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.REVOKE_SUBSCRIPTION, 'post', 'Revoke users subscription by User IDs', { scope: 'bulk-revoke-subscription', kind: 'write' });
|
|
12
12
|
BulkRevokeUsersSubscriptionCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
-
|
|
13
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
14
14
|
});
|
|
15
15
|
})(BulkRevokeUsersSubscriptionCommand || (exports.BulkRevokeUsersSubscriptionCommand = BulkRevokeUsersSubscriptionCommand = {}));
|
|
@@ -8,9 +8,9 @@ var BulkUpdateUsersSquadsCommand;
|
|
|
8
8
|
(function (BulkUpdateUsersSquadsCommand) {
|
|
9
9
|
BulkUpdateUsersSquadsCommand.url = api_1.REST_API.USERS.BULK.UPDATE_SQUADS;
|
|
10
10
|
BulkUpdateUsersSquadsCommand.TSQ_url = BulkUpdateUsersSquadsCommand.url;
|
|
11
|
-
BulkUpdateUsersSquadsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.UPDATE_SQUADS, 'post', 'Bulk update users internal squads by
|
|
11
|
+
BulkUpdateUsersSquadsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.UPDATE_SQUADS, 'post', 'Bulk update users internal squads by User IDs', { scope: 'bulk-update-squads', kind: 'write' });
|
|
12
12
|
BulkUpdateUsersSquadsCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
-
|
|
13
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
14
14
|
activeInternalSquads: zod_1.z.array(zod_1.z.uuid()),
|
|
15
15
|
});
|
|
16
16
|
})(BulkUpdateUsersSquadsCommand || (exports.BulkUpdateUsersSquadsCommand = BulkUpdateUsersSquadsCommand = {}));
|
|
@@ -10,9 +10,9 @@ var BulkUpdateUsersCommand;
|
|
|
10
10
|
(function (BulkUpdateUsersCommand) {
|
|
11
11
|
BulkUpdateUsersCommand.url = api_1.REST_API.USERS.BULK.UPDATE;
|
|
12
12
|
BulkUpdateUsersCommand.TSQ_url = BulkUpdateUsersCommand.url;
|
|
13
|
-
BulkUpdateUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.UPDATE, 'post', 'Bulk update users by
|
|
13
|
+
BulkUpdateUsersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.BULK.UPDATE, 'post', 'Bulk update users by User IDs', { scope: 'bulk-update-users', kind: 'write' });
|
|
14
14
|
BulkUpdateUsersCommand.RequestBodySchema = zod_1.z.object({
|
|
15
|
-
|
|
15
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1).max(500),
|
|
16
16
|
fields: zod_1.z.object({
|
|
17
17
|
status: models_1.UsersSchema.shape.status.optional(),
|
|
18
18
|
trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0).describe('Traffic limit in bytes. 0 - unlimited')),
|
|
@@ -89,9 +89,6 @@ var CreateUserCommand;
|
|
|
89
89
|
.array(zod_1.z.uuid())
|
|
90
90
|
.optional()
|
|
91
91
|
.describe('Optional. Array of UUIDs representing enabled internal squads.'),
|
|
92
|
-
uuid: zod_1.z.optional(zod_1.z
|
|
93
|
-
.uuid()
|
|
94
|
-
.describe('Optional. Pass UUID to create user with specific UUID, otherwise it will be generated automatically.')),
|
|
95
92
|
externalSquadUuid: zod_1.z
|
|
96
93
|
.optional(zod_1.z.nullable(zod_1.z.uuid()))
|
|
97
94
|
.describe('Optional. External squad UUID.'),
|
|
@@ -4,12 +4,13 @@ exports.DeleteUserCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
7
8
|
var DeleteUserCommand;
|
|
8
9
|
(function (DeleteUserCommand) {
|
|
9
10
|
DeleteUserCommand.url = api_1.REST_API.USERS.DELETE;
|
|
10
|
-
DeleteUserCommand.TSQ_url = DeleteUserCommand.url(':
|
|
11
|
-
DeleteUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.DELETE(':
|
|
11
|
+
DeleteUserCommand.TSQ_url = DeleteUserCommand.url(':userId');
|
|
12
|
+
DeleteUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.DELETE(':userId'), 'delete', 'Delete user', { scope: 'delete', kind: 'write' });
|
|
12
13
|
DeleteUserCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
|
|
14
|
+
userId: models_1.numberParamSchema,
|
|
14
15
|
});
|
|
15
16
|
})(DeleteUserCommand || (exports.DeleteUserCommand = DeleteUserCommand = {}));
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-user-by-id.command"), exports);
|
|
18
17
|
__exportStar(require("./get-user-by-short-uuid.command"), exports);
|
|
19
18
|
__exportStar(require("./get-user-by-username.command"), exports);
|
|
@@ -4,17 +4,18 @@ exports.GetUserAccessibleNodesCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
7
8
|
var GetUserAccessibleNodesCommand;
|
|
8
9
|
(function (GetUserAccessibleNodesCommand) {
|
|
9
10
|
GetUserAccessibleNodesCommand.url = api_1.REST_API.USERS.ACCESSIBLE_NODES;
|
|
10
|
-
GetUserAccessibleNodesCommand.TSQ_url = GetUserAccessibleNodesCommand.url(':
|
|
11
|
-
GetUserAccessibleNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACCESSIBLE_NODES(':
|
|
11
|
+
GetUserAccessibleNodesCommand.TSQ_url = GetUserAccessibleNodesCommand.url(':userId');
|
|
12
|
+
GetUserAccessibleNodesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.ACCESSIBLE_NODES(':userId'), 'get', 'Get user accessible nodes', { scope: 'accessible-nodes', kind: 'read' });
|
|
12
13
|
GetUserAccessibleNodesCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
|
|
14
|
+
userId: models_1.numberParamSchema,
|
|
14
15
|
});
|
|
15
16
|
GetUserAccessibleNodesCommand.ResponseSchema = zod_1.z.object({
|
|
16
17
|
response: zod_1.z.object({
|
|
17
|
-
|
|
18
|
+
userId: zod_1.z.number(),
|
|
18
19
|
activeNodes: zod_1.z.array(zod_1.z.object({
|
|
19
20
|
uuid: zod_1.z.uuid(),
|
|
20
21
|
nodeName: zod_1.z.string(),
|
package/build/frontend/commands/users/{get-by/get-user-by-id.command.js → get-user-by-id.command.js}
RENAMED
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByIdCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("
|
|
6
|
-
const constants_1 = require("
|
|
7
|
-
const
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
const user_response_1 = require("./user.response");
|
|
8
9
|
var GetUserByIdCommand;
|
|
9
10
|
(function (GetUserByIdCommand) {
|
|
10
|
-
GetUserByIdCommand.url = api_1.REST_API.USERS.
|
|
11
|
-
GetUserByIdCommand.TSQ_url = GetUserByIdCommand.url(':
|
|
12
|
-
GetUserByIdCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.
|
|
11
|
+
GetUserByIdCommand.url = api_1.REST_API.USERS.GET_BY_ID;
|
|
12
|
+
GetUserByIdCommand.TSQ_url = GetUserByIdCommand.url(':userId');
|
|
13
|
+
GetUserByIdCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.GET_BY_ID(':userId'), 'get', 'Get user by ID', { scope: 'by-id', kind: 'read' });
|
|
13
14
|
GetUserByIdCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
-
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
15
16
|
});
|
|
16
17
|
GetUserByIdCommand.ResponseSchema = user_response_1.UserResponseSchema;
|
|
17
18
|
})(GetUserByIdCommand || (exports.GetUserByIdCommand = GetUserByIdCommand = {}));
|
|
@@ -4,13 +4,14 @@ exports.GetUserSubscriptionRequestHistoryCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
7
8
|
var GetUserSubscriptionRequestHistoryCommand;
|
|
8
9
|
(function (GetUserSubscriptionRequestHistoryCommand) {
|
|
9
10
|
GetUserSubscriptionRequestHistoryCommand.url = api_1.REST_API.USERS.SUBSCRIPTION_REQUEST_HISTORY;
|
|
10
|
-
GetUserSubscriptionRequestHistoryCommand.TSQ_url = GetUserSubscriptionRequestHistoryCommand.url(':
|
|
11
|
-
GetUserSubscriptionRequestHistoryCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.SUBSCRIPTION_REQUEST_HISTORY(':
|
|
11
|
+
GetUserSubscriptionRequestHistoryCommand.TSQ_url = GetUserSubscriptionRequestHistoryCommand.url(':userId');
|
|
12
|
+
GetUserSubscriptionRequestHistoryCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.SUBSCRIPTION_REQUEST_HISTORY(':userId'), 'get', 'Get user subscription request history, recent 24 records', { scope: 'subscription-request-history', kind: 'read' });
|
|
12
13
|
GetUserSubscriptionRequestHistoryCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
|
|
14
|
+
userId: models_1.numberParamSchema,
|
|
14
15
|
});
|
|
15
16
|
GetUserSubscriptionRequestHistoryCommand.ResponseSchema = zod_1.z.object({
|
|
16
17
|
response: zod_1.z.object({
|
|
@@ -18,8 +19,7 @@ var GetUserSubscriptionRequestHistoryCommand;
|
|
|
18
19
|
records: zod_1.z.array(zod_1.z.object({
|
|
19
20
|
id: zod_1.z.number(),
|
|
20
21
|
userId: zod_1.z.number(),
|
|
21
|
-
requestAt: zod_1.z.iso.datetime()
|
|
22
|
-
.transform((str) => new Date(str)),
|
|
22
|
+
requestAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
|
|
23
23
|
requestIp: zod_1.z.string().optional().nullable(),
|
|
24
24
|
userAgent: zod_1.z.string().optional().nullable(),
|
|
25
25
|
})),
|
|
@@ -22,7 +22,7 @@ __exportStar(require("./delete-user.command"), exports);
|
|
|
22
22
|
__exportStar(require("./get-users.command"), exports);
|
|
23
23
|
__exportStar(require("./get-by"), exports);
|
|
24
24
|
__exportStar(require("./get-user-accessible-nodes.command"), exports);
|
|
25
|
-
__exportStar(require("./get-user-by-
|
|
25
|
+
__exportStar(require("./get-user-by-id.command"), exports);
|
|
26
26
|
__exportStar(require("./get-user-subscription-request-history.command"), exports);
|
|
27
27
|
__exportStar(require("./get-users-stream.command"), exports);
|
|
28
28
|
__exportStar(require("./resolve-user.command"), exports);
|
|
@@ -8,10 +8,10 @@ var ResolveUserCommand;
|
|
|
8
8
|
(function (ResolveUserCommand) {
|
|
9
9
|
ResolveUserCommand.url = api_1.REST_API.USERS.RESOLVE;
|
|
10
10
|
ResolveUserCommand.TSQ_url = ResolveUserCommand.url;
|
|
11
|
-
ResolveUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.RESOLVE, 'post', 'Resolve a user', { scope: 'resolve', kind: 'read' });
|
|
11
|
+
ResolveUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.RESOLVE, 'post', 'Resolve a user', { scope: 'resolve', kind: 'read' }, 'Resolve a user by ID, Short UUID or username. Exactly one of the fields must be provided.');
|
|
12
12
|
ResolveUserCommand.RequestBodySchema = zod_1.z
|
|
13
13
|
.object({
|
|
14
|
-
uuid: zod_1.z.uuid().optional(),
|
|
14
|
+
uuid: zod_1.z.uuid().optional().meta({ deprecated: true }),
|
|
15
15
|
id: zod_1.z.number().optional(),
|
|
16
16
|
shortUuid: zod_1.z.string().optional(),
|
|
17
17
|
username: zod_1.z.string().optional(),
|
|
@@ -20,14 +20,14 @@ var ResolveUserCommand;
|
|
|
20
20
|
const provided = [data.uuid, data.id, data.shortUuid, data.username].filter((v) => v !== undefined);
|
|
21
21
|
return provided.length === 1;
|
|
22
22
|
}, {
|
|
23
|
-
error: 'Exactly one of uuid, id, shortUuid, or username must be provided'
|
|
23
|
+
error: 'Exactly one of uuid, id, shortUuid, or username must be provided',
|
|
24
24
|
});
|
|
25
25
|
ResolveUserCommand.ResponseSchema = zod_1.z.object({
|
|
26
26
|
response: zod_1.z.object({
|
|
27
|
-
uuid: zod_1.z.uuid(),
|
|
28
|
-
username: zod_1.z.string(),
|
|
29
27
|
id: zod_1.z.number(),
|
|
28
|
+
username: zod_1.z.string(),
|
|
30
29
|
shortUuid: zod_1.z.string(),
|
|
30
|
+
uuid: zod_1.z.uuid().meta({ deprecated: true }),
|
|
31
31
|
}),
|
|
32
32
|
});
|
|
33
33
|
})(ResolveUserCommand || (exports.ResolveUserCommand = ResolveUserCommand = {}));
|
|
@@ -9,13 +9,11 @@ var UpdateUserCommand;
|
|
|
9
9
|
(function (UpdateUserCommand) {
|
|
10
10
|
UpdateUserCommand.url = api_1.REST_API.USERS.UPDATE;
|
|
11
11
|
UpdateUserCommand.TSQ_url = UpdateUserCommand.url;
|
|
12
|
-
UpdateUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.UPDATE, 'patch', 'Update a user
|
|
12
|
+
UpdateUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.USERS_ROUTES.UPDATE, 'patch', 'Update a user', { scope: 'update', kind: 'write' }, 'Update a user by ID or username. Exactly one of the fields must be provided.');
|
|
13
13
|
UpdateUserCommand.RequestBodySchema = zod_1.z
|
|
14
14
|
.object({
|
|
15
15
|
username: zod_1.z.optional(zod_1.z.string().describe('Username of the user')),
|
|
16
|
-
|
|
17
|
-
.uuid()
|
|
18
|
-
.describe('UUID of the user. UUID has higher priority than username, so if both are provided, username will be ignored.')),
|
|
16
|
+
id: zod_1.z.optional(zod_1.z.number().describe('ID of the user')),
|
|
19
17
|
status: zod_1.z.enum([constants_1.USERS_STATUS.ACTIVE, constants_1.USERS_STATUS.DISABLED]).optional(),
|
|
20
18
|
trafficLimitBytes: zod_1.z
|
|
21
19
|
.number()
|
|
@@ -48,8 +46,8 @@ var UpdateUserCommand;
|
|
|
48
46
|
.optional(zod_1.z.nullable(zod_1.z.uuid()))
|
|
49
47
|
.describe('Optional. External squad UUID.'),
|
|
50
48
|
})
|
|
51
|
-
.refine((
|
|
52
|
-
error: '
|
|
49
|
+
.refine((d) => d.username ?? d.id, {
|
|
50
|
+
error: 'At least one of username, id must be provided',
|
|
53
51
|
});
|
|
54
52
|
UpdateUserCommand.ResponseSchema = user_response_1.UserResponseSchema;
|
|
55
53
|
})(UpdateUserCommand || (exports.UpdateUserCommand = UpdateUserCommand = {}));
|
|
@@ -455,11 +455,6 @@ exports.ERRORS = {
|
|
|
455
455
|
message: 'Activate all inbounds error',
|
|
456
456
|
httpCode: 500,
|
|
457
457
|
},
|
|
458
|
-
GET_NODES_USER_USAGE_BY_RANGE_ERROR: {
|
|
459
|
-
code: 'A094',
|
|
460
|
-
message: 'Get nodes user usage by range error',
|
|
461
|
-
httpCode: 500,
|
|
462
|
-
},
|
|
463
458
|
CREATE_HWID_USER_DEVICE_ERROR: {
|
|
464
459
|
code: 'A096',
|
|
465
460
|
message: 'Create hwid user device error',
|
|
@@ -940,12 +935,12 @@ exports.ERRORS = {
|
|
|
940
935
|
message: 'Passkey not found',
|
|
941
936
|
httpCode: 404,
|
|
942
937
|
},
|
|
943
|
-
|
|
938
|
+
GET_REMNAWAVE_SETTINGS_ERROR: {
|
|
944
939
|
code: 'A192',
|
|
945
940
|
message: 'Get Remnawave settings error',
|
|
946
941
|
httpCode: 500,
|
|
947
942
|
},
|
|
948
|
-
|
|
943
|
+
UPDATE_REMNAWAVE_SETTINGS_ERROR: {
|
|
949
944
|
code: 'A193',
|
|
950
945
|
message: 'Update Remnawave settings error',
|
|
951
946
|
httpCode: 500,
|
|
@@ -980,7 +975,7 @@ exports.ERRORS = {
|
|
|
980
975
|
message: 'Delete passkey error',
|
|
981
976
|
httpCode: 500,
|
|
982
977
|
},
|
|
983
|
-
|
|
978
|
+
VALIDATE_REMNAWAVE_SETTINGS_ERROR: {
|
|
984
979
|
code: 'A199',
|
|
985
980
|
message: 'Validate Remnawave settings error',
|
|
986
981
|
httpCode: 500,
|
|
@@ -1160,4 +1155,19 @@ exports.ERRORS = {
|
|
|
1160
1155
|
httpCode: 500,
|
|
1161
1156
|
}),
|
|
1162
1157
|
},
|
|
1158
|
+
GET_INTERNAL_SQUAD_USAGE_ERROR: {
|
|
1159
|
+
code: 'A232',
|
|
1160
|
+
message: 'Get internal squad usage error',
|
|
1161
|
+
httpCode: 500,
|
|
1162
|
+
},
|
|
1163
|
+
ADD_MANY_USERS_TO_INTERNAL_SQUAD_ERROR: {
|
|
1164
|
+
code: 'A233',
|
|
1165
|
+
message: 'Add many users to internal squad error',
|
|
1166
|
+
httpCode: 500,
|
|
1167
|
+
},
|
|
1168
|
+
REMOVE_MANY_USERS_FROM_INTERNAL_SQUAD_ERROR: {
|
|
1169
|
+
code: 'A234',
|
|
1170
|
+
message: 'Remove many users from internal squad error',
|
|
1171
|
+
httpCode: 500,
|
|
1172
|
+
},
|
|
1163
1173
|
};
|
|
@@ -49,3 +49,4 @@ __exportStar(require("./torrent-blocker-report.schema"), exports);
|
|
|
49
49
|
__exportStar(require("./users.schema"), exports);
|
|
50
50
|
__exportStar(require("./webhook"), exports);
|
|
51
51
|
__exportStar(require("./xray-json-advanced"), exports);
|
|
52
|
+
__exportStar(require("./path-params.schema"), exports);
|
package/package.json
CHANGED
package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace GetLegacyStatsNodeUserUsageCommand {
|
|
3
|
-
const url: (uuid: string) => string;
|
|
4
|
-
const TSQ_url: string;
|
|
5
|
-
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
-
const RequestParamSchema: z.ZodObject<{
|
|
7
|
-
uuid: z.ZodUUID;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
const RequestQuerySchema: z.ZodObject<{
|
|
10
|
-
start: z.ZodISODateTime;
|
|
11
|
-
end: z.ZodISODateTime;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
const ResponseSchema: z.ZodObject<{
|
|
14
|
-
response: z.ZodArray<z.ZodObject<{
|
|
15
|
-
userUuid: z.ZodUUID;
|
|
16
|
-
username: z.ZodString;
|
|
17
|
-
nodeUuid: z.ZodUUID;
|
|
18
|
-
total: z.ZodNumber;
|
|
19
|
-
date: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
|
|
20
|
-
}, z.core.$strip>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
23
|
-
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
24
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=get-legacy-stats-node-user-usage.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-legacy-stats-node-user-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,GAAG,0BAAkD,CAAC;IAC5D,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;;qBAG7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;qBAUzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLegacyStatsNodeUserUsageCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var GetLegacyStatsNodeUserUsageCommand;
|
|
8
|
-
(function (GetLegacyStatsNodeUserUsageCommand) {
|
|
9
|
-
GetLegacyStatsNodeUserUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.LEGACY.NODES.GET_USERS;
|
|
10
|
-
GetLegacyStatsNodeUserUsageCommand.TSQ_url = GetLegacyStatsNodeUserUsageCommand.url(':uuid');
|
|
11
|
-
GetLegacyStatsNodeUserUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.LEGACY.NODES.GET_USERS(':uuid'), 'get', 'Get Node User Usage by Range and Node UUID (Legacy)', { scope: 'node-users-usage-legacy', kind: 'read' });
|
|
12
|
-
GetLegacyStatsNodeUserUsageCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
uuid: zod_1.z.uuid().describe('UUID of the node'),
|
|
14
|
-
});
|
|
15
|
-
GetLegacyStatsNodeUserUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
16
|
-
start: zod_1.z.iso.datetime().describe('Start date'),
|
|
17
|
-
end: zod_1.z.iso.datetime().describe('End date'),
|
|
18
|
-
});
|
|
19
|
-
GetLegacyStatsNodeUserUsageCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
-
response: zod_1.z.array(zod_1.z.object({
|
|
21
|
-
userUuid: zod_1.z.uuid(),
|
|
22
|
-
username: zod_1.z.string(),
|
|
23
|
-
nodeUuid: zod_1.z.uuid(),
|
|
24
|
-
total: zod_1.z.number(),
|
|
25
|
-
date: zod_1.z.string().transform((str) => new Date(str)),
|
|
26
|
-
})),
|
|
27
|
-
});
|
|
28
|
-
})(GetLegacyStatsNodeUserUsageCommand || (exports.GetLegacyStatsNodeUserUsageCommand = GetLegacyStatsNodeUserUsageCommand = {}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace GetLegacyStatsUserUsageCommand {
|
|
3
|
-
const url: (uuid: string) => string;
|
|
4
|
-
const TSQ_url: string;
|
|
5
|
-
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
-
const RequestParamSchema: z.ZodObject<{
|
|
7
|
-
uuid: z.ZodUUID;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
const RequestQuerySchema: z.ZodObject<{
|
|
10
|
-
start: z.ZodISODateTime;
|
|
11
|
-
end: z.ZodISODateTime;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
const ResponseSchema: z.ZodObject<{
|
|
14
|
-
response: z.ZodArray<z.ZodObject<{
|
|
15
|
-
userUuid: z.ZodUUID;
|
|
16
|
-
nodeUuid: z.ZodUUID;
|
|
17
|
-
nodeName: z.ZodString;
|
|
18
|
-
countryCode: z.ZodString;
|
|
19
|
-
total: z.ZodNumber;
|
|
20
|
-
date: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
|
|
21
|
-
}, z.core.$strip>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
24
|
-
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
25
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=get-legacy-user-usage.command.d.ts.map
|
package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-legacy-user-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/legacy/get-legacy-user-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,0BAAoD,CAAC;IAC9D,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;;qBAG7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;qBAWzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLegacyStatsUserUsageCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var GetLegacyStatsUserUsageCommand;
|
|
8
|
-
(function (GetLegacyStatsUserUsageCommand) {
|
|
9
|
-
GetLegacyStatsUserUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.LEGACY.USERS.GET_BY_UUID;
|
|
10
|
-
GetLegacyStatsUserUsageCommand.TSQ_url = GetLegacyStatsUserUsageCommand.url(':uuid');
|
|
11
|
-
GetLegacyStatsUserUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.LEGACY.USERS.GET_BY_UUID(':uuid'), 'get', 'Get User Usage by Range (Legacy)', { scope: 'user-usage-legacy', kind: 'read' });
|
|
12
|
-
GetLegacyStatsUserUsageCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
uuid: zod_1.z.uuid(),
|
|
14
|
-
});
|
|
15
|
-
GetLegacyStatsUserUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
16
|
-
start: zod_1.z.iso.datetime().describe('Start date'),
|
|
17
|
-
end: zod_1.z.iso.datetime().describe('End date'),
|
|
18
|
-
});
|
|
19
|
-
GetLegacyStatsUserUsageCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
-
response: zod_1.z.array(zod_1.z.object({
|
|
21
|
-
userUuid: zod_1.z.uuid(),
|
|
22
|
-
nodeUuid: zod_1.z.uuid(),
|
|
23
|
-
nodeName: zod_1.z.string(),
|
|
24
|
-
countryCode: zod_1.z.string(),
|
|
25
|
-
total: zod_1.z.number(),
|
|
26
|
-
date: zod_1.z.string().transform((str) => new Date(str)),
|
|
27
|
-
})),
|
|
28
|
-
});
|
|
29
|
-
})(GetLegacyStatsUserUsageCommand || (exports.GetLegacyStatsUserUsageCommand = GetLegacyStatsUserUsageCommand = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/legacy/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC"}
|
package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-connection-keys-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-connection-keys-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,0BAAqD,CAAC;IAC/D,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;qBAMzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetConnectionKeysByUuidCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var GetConnectionKeysByUuidCommand;
|
|
8
|
-
(function (GetConnectionKeysByUuidCommand) {
|
|
9
|
-
GetConnectionKeysByUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_CONNECTION_KEYS_BY_UUID;
|
|
10
|
-
GetConnectionKeysByUuidCommand.TSQ_url = GetConnectionKeysByUuidCommand.url(':uuid');
|
|
11
|
-
GetConnectionKeysByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTIONS_ROUTES.GET_CONNECTION_KEYS_BY_UUID(':uuid'), 'get', 'Get connection keys (base64 format) by uuid', { scope: 'connection-keys', kind: 'read' });
|
|
12
|
-
GetConnectionKeysByUuidCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
uuid: zod_1.z.uuid().describe('User UUID'),
|
|
14
|
-
});
|
|
15
|
-
GetConnectionKeysByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
enabledKeys: zod_1.z.array(zod_1.z.string()),
|
|
18
|
-
hiddenKeys: zod_1.z.array(zod_1.z.string()),
|
|
19
|
-
disabledKeys: zod_1.z.array(zod_1.z.string()),
|
|
20
|
-
}),
|
|
21
|
-
});
|
|
22
|
-
})(GetConnectionKeysByUuidCommand || (exports.GetConnectionKeysByUuidCommand = GetConnectionKeysByUuidCommand = {}));
|
package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-subscription-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|