@remnawave/backend-contract 2.9.14 → 2.9.20
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/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 +8 -13
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +8 -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 +21 -23
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +21 -23
- 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/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/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 +15 -5
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +15 -5
- 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/subscriptions.js +2 -2
- package/build/frontend/api/controllers/users.js +8 -13
- package/build/frontend/api/controllers-info.js +15 -15
- package/build/frontend/api/routes.js +21 -23
- 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/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/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 +15 -5
- 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 +0 -61
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/bandwidth-stats/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/bandwidth-stats/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
|
|
@@ -14,6 +14,6 @@ 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("./legacy"), exports);
|
|
18
17
|
__exportStar(require("./nodes"), exports);
|
|
19
18
|
__exportStar(require("./users"), exports);
|
|
19
|
+
__exportStar(require("./internal-squads"), exports);
|
package/build/backend/commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetInternalSquadUsageCommand {
|
|
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.ZodISODate;
|
|
11
|
+
end: z.ZodISODate;
|
|
12
|
+
minTotalBytes: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
13
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
14
|
+
cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
const ResponseSchema: z.ZodObject<{
|
|
17
|
+
response: z.ZodObject<{
|
|
18
|
+
squadUuid: z.ZodUUID;
|
|
19
|
+
users: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNumber;
|
|
21
|
+
totalBytes: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
24
|
+
hasMore: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
28
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
29
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=get-internal-squad-usage.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-internal-squad-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/internal-squads/get-internal-squad-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,0BAAqD,CAAC;IAC/D,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAM3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;;;;;qBAoB7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;qBAezB,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/internal-squads/get-internal-squad-usage.command.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInternalSquadUsageCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
var GetInternalSquadUsageCommand;
|
|
8
|
+
(function (GetInternalSquadUsageCommand) {
|
|
9
|
+
GetInternalSquadUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.INTERNAL_SQUADS.GET_USAGE;
|
|
10
|
+
GetInternalSquadUsageCommand.TSQ_url = GetInternalSquadUsageCommand.url(':uuid');
|
|
11
|
+
GetInternalSquadUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.INTERNAL_SQUADS.GET_USAGE(':uuid'), 'get', 'Get internal squad users traffic usage for a period', { scope: 'internal-squad-usage', kind: 'read' }, 'Returns users whose total usage over the period on the given nodes is >= minTotalBytes, scoped to the nodes reachable via the internal squad inbounds. Underlying usage data is flushed to the database roughly every 2 minutes.');
|
|
12
|
+
GetInternalSquadUsageCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.uuid().describe('Internal squad UUID'),
|
|
14
|
+
});
|
|
15
|
+
GetInternalSquadUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
16
|
+
start: zod_1.z.iso.date().describe('Start date (YYYY-MM-DD)'),
|
|
17
|
+
end: zod_1.z.iso.date().describe('End date (YYYY-MM-DD)'),
|
|
18
|
+
minTotalBytes: zod_1.z.coerce
|
|
19
|
+
.number()
|
|
20
|
+
.min(0)
|
|
21
|
+
.optional()
|
|
22
|
+
.default(0)
|
|
23
|
+
.describe('Only include users whose total usage over the period is >= this (bytes)'),
|
|
24
|
+
limit: zod_1.z.coerce
|
|
25
|
+
.number()
|
|
26
|
+
.min(1)
|
|
27
|
+
.max(1000)
|
|
28
|
+
.optional()
|
|
29
|
+
.default(250)
|
|
30
|
+
.describe('Number of users to return, no more than 1000'),
|
|
31
|
+
cursor: zod_1.z.coerce
|
|
32
|
+
.number()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('Pass the nextCursor from the previous response. Omit on the first request.'),
|
|
35
|
+
});
|
|
36
|
+
GetInternalSquadUsageCommand.ResponseSchema = zod_1.z.object({
|
|
37
|
+
response: zod_1.z.object({
|
|
38
|
+
squadUuid: zod_1.z.uuid(),
|
|
39
|
+
users: zod_1.z.array(zod_1.z.object({
|
|
40
|
+
id: zod_1.z.number(),
|
|
41
|
+
totalBytes: zod_1.z.number().describe('Total used bytes over the period (raw bytes)'),
|
|
42
|
+
})),
|
|
43
|
+
nextCursor: zod_1.z
|
|
44
|
+
.string()
|
|
45
|
+
.nullable()
|
|
46
|
+
.describe('Cursor to fetch the next page, or null if there are no more results'),
|
|
47
|
+
hasMore: zod_1.z.boolean().describe('Whether there are more results to fetch'),
|
|
48
|
+
}),
|
|
49
|
+
});
|
|
50
|
+
})(GetInternalSquadUsageCommand || (exports.GetInternalSquadUsageCommand = GetInternalSquadUsageCommand = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetInternalSquadUserUsageCommand {
|
|
3
|
+
const url: (squadUuid: string, userId: string) => string;
|
|
4
|
+
const TSQ_url: string;
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestParamSchema: z.ZodObject<{
|
|
7
|
+
squadUuid: z.ZodUUID;
|
|
8
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
const RequestQuerySchema: z.ZodObject<{
|
|
11
|
+
start: z.ZodISODate;
|
|
12
|
+
end: z.ZodISODate;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
response: z.ZodObject<{
|
|
16
|
+
days: z.ZodArray<z.ZodObject<{
|
|
17
|
+
date: z.ZodString;
|
|
18
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
19
|
+
uuid: z.ZodUUID;
|
|
20
|
+
totalBytes: z.ZodNumber;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
26
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
27
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=get-internal-squad-user-usage.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-internal-squad-user-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/internal-squads/get-internal-squad-user-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,+CAAsD,CAAC;IAChE,MAAM,OAAO,QAA+B,CAAC;IAE7C,MAAM,eAAe,8CAM3B,CAAC;IAEK,MAAM,kBAAkB;;;qBAG7B,CAAC;IAEI,MAAM,kBAAkB;;;qBAG7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;qBAgBzB,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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInternalSquadUserUsageCommand = 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
|
+
var GetInternalSquadUserUsageCommand;
|
|
9
|
+
(function (GetInternalSquadUserUsageCommand) {
|
|
10
|
+
GetInternalSquadUserUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.INTERNAL_SQUADS.USER_USAGE;
|
|
11
|
+
GetInternalSquadUserUsageCommand.TSQ_url = GetInternalSquadUserUsageCommand.url(':squadUuid', ':userId');
|
|
12
|
+
GetInternalSquadUserUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.INTERNAL_SQUADS.USER_USAGE(':squadUuid', ':userId'), 'get', 'Get a single user daily traffic usage on the internal squad nodes for a period', { scope: 'internal-squad-user-usage', kind: 'read' }, 'Returns users whose total usage over the period on the given nodes is >= minTotalBytes, scoped to the nodes reachable via the Internal Squad inbounds. Every day in the range is present (zero-filled). Underlying usage data is flushed to the database roughly every 2 minutes.');
|
|
13
|
+
GetInternalSquadUserUsageCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
+
squadUuid: zod_1.z.uuid().describe('Internal squad UUID'),
|
|
15
|
+
userId: models_1.numberParamSchema,
|
|
16
|
+
});
|
|
17
|
+
GetInternalSquadUserUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
18
|
+
start: zod_1.z.iso.date().describe('Start date (YYYY-MM-DD)'),
|
|
19
|
+
end: zod_1.z.iso.date().describe('End date (YYYY-MM-DD)'),
|
|
20
|
+
});
|
|
21
|
+
GetInternalSquadUserUsageCommand.ResponseSchema = zod_1.z.object({
|
|
22
|
+
response: zod_1.z.object({
|
|
23
|
+
days: zod_1.z.array(zod_1.z.object({
|
|
24
|
+
date: zod_1.z.string().describe('Day (YYYY-MM-DD)'),
|
|
25
|
+
nodes: zod_1.z.array(zod_1.z.object({
|
|
26
|
+
uuid: zod_1.z.uuid(),
|
|
27
|
+
totalBytes: zod_1.z
|
|
28
|
+
.number()
|
|
29
|
+
.describe('Used bytes on this node that day (raw bytes)'),
|
|
30
|
+
})),
|
|
31
|
+
})),
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
34
|
+
})(GetInternalSquadUserUsageCommand || (exports.GetInternalSquadUserUsageCommand = GetInternalSquadUserUsageCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/internal-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC"}
|
|
@@ -14,5 +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-
|
|
18
|
-
__exportStar(require("./get-
|
|
17
|
+
__exportStar(require("./get-internal-squad-usage.command"), exports);
|
|
18
|
+
__exportStar(require("./get-internal-squad-user-usage.command"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetNodeUsageCommand {
|
|
3
|
+
const url: "/api/bandwidth-stats/nodes/usage";
|
|
4
|
+
const TSQ_url: "/api/bandwidth-stats/nodes/usage";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestBodySchema: z.ZodObject<{
|
|
7
|
+
nodesUuids: z.ZodArray<z.ZodUUID>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
const RequestQuerySchema: z.ZodObject<{
|
|
10
|
+
start: z.ZodISODate;
|
|
11
|
+
end: z.ZodISODate;
|
|
12
|
+
minTotalBytes: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
response: z.ZodObject<{
|
|
16
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
17
|
+
uuid: z.ZodUUID;
|
|
18
|
+
users: z.ZodArray<z.ZodObject<{
|
|
19
|
+
id: z.ZodNumber;
|
|
20
|
+
totalBytes: z.ZodNumber;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
26
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
27
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=get-node-usage.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-node-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/get-node-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,mBAAmB,CAAC;IAC1B,MAAM,GAAG,oCAA2C,CAAC;IACrD,MAAM,OAAO,oCAAM,CAAC;IAEpB,MAAM,eAAe,8CAM3B,CAAC;IAEK,MAAM,iBAAiB;;qBAE5B,CAAC;IAEI,MAAM,kBAAkB;;;;qBAS7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;qBAgBzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNodeUsageCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
var GetNodeUsageCommand;
|
|
8
|
+
(function (GetNodeUsageCommand) {
|
|
9
|
+
GetNodeUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.NODES.GET_USAGE;
|
|
10
|
+
GetNodeUsageCommand.TSQ_url = GetNodeUsageCommand.url;
|
|
11
|
+
GetNodeUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.NODES.GET_USAGE, 'post', 'Get users exceeding a traffic threshold on the given nodes for a period', { scope: 'node-usage', kind: 'read' }, 'Returns users whose total usage over the period on the given nodes is >= minTotalBytes. Underlying usage data is flushed to the database roughly every 2 minutes.');
|
|
12
|
+
GetNodeUsageCommand.RequestBodySchema = zod_1.z.object({
|
|
13
|
+
nodesUuids: zod_1.z.array(zod_1.z.uuid()).min(1).describe('Node UUIDs to include'),
|
|
14
|
+
});
|
|
15
|
+
GetNodeUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
16
|
+
start: zod_1.z.iso.date().describe('Start date (YYYY-MM-DD)'),
|
|
17
|
+
end: zod_1.z.iso.date().describe('End date (YYYY-MM-DD)'),
|
|
18
|
+
minTotalBytes: zod_1.z.coerce
|
|
19
|
+
.number()
|
|
20
|
+
.min(0)
|
|
21
|
+
.optional()
|
|
22
|
+
.default(0)
|
|
23
|
+
.describe('Only include users whose total usage over the period is >= this (bytes)'),
|
|
24
|
+
});
|
|
25
|
+
GetNodeUsageCommand.ResponseSchema = zod_1.z.object({
|
|
26
|
+
response: zod_1.z.object({
|
|
27
|
+
nodes: zod_1.z.array(zod_1.z.object({
|
|
28
|
+
uuid: zod_1.z.uuid(),
|
|
29
|
+
users: zod_1.z.array(zod_1.z.object({
|
|
30
|
+
id: zod_1.z.number(),
|
|
31
|
+
totalBytes: zod_1.z
|
|
32
|
+
.number()
|
|
33
|
+
.describe('Total used bytes over the period (raw bytes)'),
|
|
34
|
+
})),
|
|
35
|
+
})),
|
|
36
|
+
}),
|
|
37
|
+
});
|
|
38
|
+
})(GetNodeUsageCommand || (exports.GetNodeUsageCommand = GetNodeUsageCommand = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC"}
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./get-stats-node-users-usage.command"), exports);
|
|
18
18
|
__exportStar(require("./get-stats-nodes-usage.command"), exports);
|
|
19
19
|
__exportStar(require("./get-stats-nodes-users-usage.command"), exports);
|
|
20
|
+
__exportStar(require("./get-node-usage.command"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace GetStatsUserUsageCommand {
|
|
3
|
-
const url: (
|
|
3
|
+
const url: (userId: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
6
|
const RequestParamSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
const RequestQuerySchema: z.ZodObject<{
|
|
10
10
|
start: z.ZodISODate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stats-user-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/users/get-stats-user-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"get-stats-user-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/users/get-stats-user-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,QAAiB,CAAC;IAE/B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;;;qBAI7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;qBAwBzB,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"}
|
|
@@ -4,13 +4,14 @@ exports.GetStatsUserUsageCommand = 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 GetStatsUserUsageCommand;
|
|
8
9
|
(function (GetStatsUserUsageCommand) {
|
|
9
|
-
GetStatsUserUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.USERS.
|
|
10
|
-
GetStatsUserUsageCommand.TSQ_url = GetStatsUserUsageCommand.url(':
|
|
11
|
-
GetStatsUserUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.USERS.
|
|
10
|
+
GetStatsUserUsageCommand.url = api_1.REST_API.BANDWIDTH_STATS.USERS.GET_BY_ID;
|
|
11
|
+
GetStatsUserUsageCommand.TSQ_url = GetStatsUserUsageCommand.url(':userId');
|
|
12
|
+
GetStatsUserUsageCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.BANDWIDTH_STATS_ROUTES.USERS.GET_BY_ID(':userId'), 'get', 'Get User Usage by Range', { scope: 'user-usage', kind: 'read' });
|
|
12
13
|
GetStatsUserUsageCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
|
|
14
|
+
userId: models_1.numberParamSchema.describe('ID of the user'),
|
|
14
15
|
});
|
|
15
16
|
GetStatsUserUsageCommand.RequestQuerySchema = zod_1.z.object({
|
|
16
17
|
start: zod_1.z.iso.date().describe('Start date (YYYY-MM-DD)'),
|
|
@@ -14,7 +14,7 @@ export declare namespace ConnectionsByNodeResultCommand {
|
|
|
14
14
|
success: z.ZodBoolean;
|
|
15
15
|
nodeUuid: z.ZodUUID;
|
|
16
16
|
users: z.ZodArray<z.ZodObject<{
|
|
17
|
-
userId: z.
|
|
17
|
+
userId: z.ZodNumber;
|
|
18
18
|
ips: z.ZodArray<z.ZodObject<{
|
|
19
19
|
ip: z.ZodString;
|
|
20
20
|
lastSeen: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
|
|
@@ -21,7 +21,7 @@ var ConnectionsByNodeResultCommand;
|
|
|
21
21
|
success: zod_1.z.boolean(),
|
|
22
22
|
nodeUuid: zod_1.z.uuid(),
|
|
23
23
|
users: zod_1.z.array(zod_1.z.object({
|
|
24
|
-
userId: zod_1.z.
|
|
24
|
+
userId: zod_1.z.number(),
|
|
25
25
|
ips: zod_1.z.array(zod_1.z.object({
|
|
26
26
|
ip: zod_1.z.string(),
|
|
27
27
|
lastSeen: zod_1.z.iso
|
|
@@ -17,8 +17,7 @@ export declare namespace ConnectionsByUserResultCommand {
|
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
result: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
success: z.ZodBoolean;
|
|
20
|
-
|
|
21
|
-
userId: z.ZodString;
|
|
20
|
+
userId: z.ZodNumber;
|
|
22
21
|
nodes: z.ZodArray<z.ZodObject<{
|
|
23
22
|
nodeUuid: z.ZodUUID;
|
|
24
23
|
nodeName: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections-by-user-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,2BAAkD,CAAC;IAC5D,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"connections-by-user-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,2BAAkD,CAAC;IAC5D,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;qBAkCzB,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"}
|
|
@@ -24,8 +24,7 @@ var ConnectionsByUserResultCommand;
|
|
|
24
24
|
result: zod_1.z
|
|
25
25
|
.object({
|
|
26
26
|
success: zod_1.z.boolean(),
|
|
27
|
-
|
|
28
|
-
userId: zod_1.z.string(),
|
|
27
|
+
userId: zod_1.z.number(),
|
|
29
28
|
nodes: zod_1.z.array(zod_1.z.object({
|
|
30
29
|
nodeUuid: zod_1.z.uuid(),
|
|
31
30
|
nodeName: zod_1.z.string(),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace ConnectionsByUserCommand {
|
|
3
|
-
const url: (
|
|
3
|
+
const url: (userId: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestParamSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
const ResponseSchema: z.ZodObject<{
|
|
10
10
|
response: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections-by-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"connections-by-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,QAAiB,CAAC;IAE/B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;qBAIzB,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"}
|
|
@@ -4,13 +4,14 @@ exports.ConnectionsByUserCommand = 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 ConnectionsByUserCommand;
|
|
8
9
|
(function (ConnectionsByUserCommand) {
|
|
9
10
|
ConnectionsByUserCommand.url = api_1.REST_API.CONNECTIONS.CONNECTIONS_BY_USER;
|
|
10
|
-
ConnectionsByUserCommand.TSQ_url = ConnectionsByUserCommand.url(':
|
|
11
|
-
ConnectionsByUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER(':
|
|
11
|
+
ConnectionsByUserCommand.TSQ_url = ConnectionsByUserCommand.url(':userId');
|
|
12
|
+
ConnectionsByUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER(':userId'), 'post', 'Request Connections for User', { scope: 'by-user', kind: 'read' });
|
|
12
13
|
ConnectionsByUserCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
-
|
|
14
|
+
userId: models_1.numberParamSchema,
|
|
14
15
|
});
|
|
15
16
|
ConnectionsByUserCommand.ResponseSchema = zod_1.z.object({
|
|
16
17
|
response: zod_1.z.object({
|
|
@@ -4,8 +4,8 @@ export declare namespace DropConnectionsCommand {
|
|
|
4
4
|
const TSQ_url: "/api/connections/drop";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const DropBySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
|
-
by: z.ZodLiteral<"
|
|
8
|
-
|
|
7
|
+
by: z.ZodLiteral<"userIds">;
|
|
8
|
+
userIds: z.ZodArray<z.ZodNumber>;
|
|
9
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
10
10
|
by: z.ZodLiteral<"ipAddresses">;
|
|
11
11
|
ipAddresses: z.ZodArray<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
|
|
@@ -18,8 +18,8 @@ export declare namespace DropConnectionsCommand {
|
|
|
18
18
|
}, z.core.$strip>], "target">;
|
|
19
19
|
const RequestBodySchema: z.ZodObject<{
|
|
20
20
|
dropBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21
|
-
by: z.ZodLiteral<"
|
|
22
|
-
|
|
21
|
+
by: z.ZodLiteral<"userIds">;
|
|
22
|
+
userIds: z.ZodArray<z.ZodNumber>;
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
by: z.ZodLiteral<"ipAddresses">;
|
|
25
25
|
ipAddresses: z.ZodArray<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
|
|
@@ -12,10 +12,10 @@ var DropConnectionsCommand;
|
|
|
12
12
|
DropConnectionsCommand.DropBySchema = zod_1.z.discriminatedUnion('by', [
|
|
13
13
|
zod_1.z
|
|
14
14
|
.object({
|
|
15
|
-
by: zod_1.z.literal('
|
|
16
|
-
|
|
15
|
+
by: zod_1.z.literal('userIds'),
|
|
16
|
+
userIds: zod_1.z.array(zod_1.z.number()).min(1),
|
|
17
17
|
})
|
|
18
|
-
.describe('Drop by user
|
|
18
|
+
.describe('Drop by user IDs'),
|
|
19
19
|
zod_1.z
|
|
20
20
|
.object({
|
|
21
21
|
by: zod_1.z.literal('ipAddresses'),
|
|
@@ -5,7 +5,7 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestBodySchema: z.ZodObject<{
|
|
7
7
|
hwid: z.ZodString;
|
|
8
|
-
|
|
8
|
+
userId: z.ZodNumber;
|
|
9
9
|
platform: z.ZodOptional<z.ZodString>;
|
|
10
10
|
osVersion: z.ZodOptional<z.ZodString>;
|
|
11
11
|
deviceModel: z.ZodOptional<z.ZodString>;
|
|
@@ -12,7 +12,7 @@ var CreateUserHwidDeviceCommand;
|
|
|
12
12
|
CreateUserHwidDeviceCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.CREATE_USER_HWID_DEVICE, 'post', 'Create a user HWID device', { scope: 'create', kind: 'write' });
|
|
13
13
|
CreateUserHwidDeviceCommand.RequestBodySchema = zod_1.z.object({
|
|
14
14
|
hwid: zod_1.z.string().regex(/^[a-zA-Z0-9=-]{10,64}$/),
|
|
15
|
-
|
|
15
|
+
userId: zod_1.z.number(),
|
|
16
16
|
platform: zod_1.z.optional(zod_1.z.string()),
|
|
17
17
|
osVersion: zod_1.z.optional(zod_1.z.string()),
|
|
18
18
|
deviceModel: zod_1.z.optional(zod_1.z.string()),
|
|
@@ -4,7 +4,7 @@ export declare namespace DeleteAllUserHwidDevicesCommand {
|
|
|
4
4
|
const TSQ_url: "/api/hwid/devices/delete-all";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestBodySchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
const ResponseSchema: z.ZodObject<{
|
|
10
10
|
response: z.ZodObject<{
|
|
@@ -11,7 +11,7 @@ var DeleteAllUserHwidDevicesCommand;
|
|
|
11
11
|
DeleteAllUserHwidDevicesCommand.TSQ_url = DeleteAllUserHwidDevicesCommand.url;
|
|
12
12
|
DeleteAllUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.DELETE_ALL_USER_HWID_DEVICES, 'post', 'Delete all user HWID devices', { scope: 'delete-all', kind: 'write' });
|
|
13
13
|
DeleteAllUserHwidDevicesCommand.RequestBodySchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
userId: zod_1.z.number(),
|
|
15
15
|
});
|
|
16
16
|
DeleteAllUserHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
|
17
17
|
response: zod_1.z.object({
|
|
@@ -4,7 +4,7 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
|
4
4
|
const TSQ_url: "/api/hwid/devices/delete";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestBodySchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
8
|
hwid: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -11,7 +11,7 @@ var DeleteUserHwidDeviceCommand;
|
|
|
11
11
|
DeleteUserHwidDeviceCommand.TSQ_url = DeleteUserHwidDeviceCommand.url;
|
|
12
12
|
DeleteUserHwidDeviceCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.DELETE_USER_HWID_DEVICE, 'post', 'Delete a user HWID device', { scope: 'delete', kind: 'write' });
|
|
13
13
|
DeleteUserHwidDeviceCommand.RequestBodySchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
userId: zod_1.z.number(),
|
|
15
15
|
hwid: zod_1.z.string(),
|
|
16
16
|
});
|
|
17
17
|
DeleteUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-users-by-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-top-users-by-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;qBAW7B,CAAC;IAEI,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-top-users-by-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-top-users-by-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;qBAW7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;qBAWzB,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"}
|
|
@@ -24,7 +24,6 @@ var GetTopUsersByHwidDevicesCommand;
|
|
|
24
24
|
GetTopUsersByHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
|
25
25
|
response: zod_1.z.object({
|
|
26
26
|
users: zod_1.z.array(zod_1.z.object({
|
|
27
|
-
userUuid: zod_1.z.uuid(),
|
|
28
27
|
id: zod_1.z.number(),
|
|
29
28
|
username: zod_1.z.string(),
|
|
30
29
|
devicesCount: zod_1.z.number(),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace GetUserHwidDevicesCommand {
|
|
3
|
-
const url: (
|
|
3
|
+
const url: (userId: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestParamSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
const ResponseSchema: z.ZodObject<{
|
|
10
10
|
response: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"get-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAAsC,CAAC;IAChD,MAAM,OAAO,QAAiB,CAAC;IAE/B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;qBAKzB,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"}
|
|
@@ -8,10 +8,10 @@ const models_1 = require("../../models");
|
|
|
8
8
|
var GetUserHwidDevicesCommand;
|
|
9
9
|
(function (GetUserHwidDevicesCommand) {
|
|
10
10
|
GetUserHwidDevicesCommand.url = api_1.REST_API.HWID.GET_USER_HWID_DEVICES;
|
|
11
|
-
GetUserHwidDevicesCommand.TSQ_url = GetUserHwidDevicesCommand.url(':
|
|
12
|
-
GetUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.GET_USER_HWID_DEVICES(':
|
|
11
|
+
GetUserHwidDevicesCommand.TSQ_url = GetUserHwidDevicesCommand.url(':userId');
|
|
12
|
+
GetUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.GET_USER_HWID_DEVICES(':userId'), 'get', 'Get user HWID devices', { scope: 'list-by-user', kind: 'read' });
|
|
13
13
|
GetUserHwidDevicesCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
userId: zod_1.z.coerce.number(),
|
|
15
15
|
});
|
|
16
16
|
GetUserHwidDevicesCommand.ResponseSchema = zod_1.z.object({
|
|
17
17
|
response: zod_1.z.object({
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace AddManyUsersToInternalSquadCommand {
|
|
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 RequestBodySchema: z.ZodObject<{
|
|
10
|
+
userIds: z.ZodArray<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
13
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=add-many-users-to-internal-squad.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-many-users-to-internal-squad.command.d.ts","sourceRoot":"","sources":["../../../../../commands/internal-squads/bulk-actions/add-many-users-to-internal-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,GAAG,0BAAuD,CAAC;IACjE,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,iBAAiB;;qBAE5B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;CAC/D"}
|