@remnawave/backend-contract 2.6.32 → 2.6.34

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.
Files changed (54) hide show
  1. package/build/backend/api/controllers/node-plugins.d.ts +5 -0
  2. package/build/backend/api/controllers/node-plugins.d.ts.map +1 -1
  3. package/build/backend/api/controllers/node-plugins.js +6 -0
  4. package/build/backend/api/controllers/subscription.d.ts +0 -1
  5. package/build/backend/api/controllers/subscription.d.ts.map +1 -1
  6. package/build/backend/api/controllers/subscription.js +0 -1
  7. package/build/backend/api/routes.d.ts +5 -1
  8. package/build/backend/api/routes.d.ts.map +1 -1
  9. package/build/backend/api/routes.js +5 -1
  10. package/build/backend/commands/node-plugins/index.d.ts +1 -0
  11. package/build/backend/commands/node-plugins/index.d.ts.map +1 -1
  12. package/build/backend/commands/node-plugins/index.js +1 -0
  13. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +60 -0
  14. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts.map +1 -0
  15. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +22 -0
  16. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +626 -0
  17. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -0
  18. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +20 -0
  19. package/build/backend/commands/node-plugins/torrent-blocker/index.d.ts +3 -0
  20. package/build/backend/commands/node-plugins/torrent-blocker/index.d.ts.map +1 -0
  21. package/build/backend/commands/node-plugins/torrent-blocker/index.js +18 -0
  22. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +573 -0
  23. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -0
  24. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +19 -0
  25. package/build/backend/commands/subscription/index.d.ts +0 -1
  26. package/build/backend/commands/subscription/index.d.ts.map +1 -1
  27. package/build/backend/commands/subscription/index.js +0 -1
  28. package/build/backend/constants/errors/errors.d.ts +5 -0
  29. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  30. package/build/backend/constants/errors/errors.js +5 -0
  31. package/build/backend/models/index.d.ts +1 -0
  32. package/build/backend/models/index.d.ts.map +1 -1
  33. package/build/backend/models/index.js +1 -0
  34. package/build/backend/models/torrent-blocker-report.schema.d.ts +390 -0
  35. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -0
  36. package/build/backend/models/torrent-blocker-report.schema.js +55 -0
  37. package/build/backend/models/webhook/webhook.schema.d.ts +16 -16
  38. package/build/frontend/api/controllers/node-plugins.js +6 -0
  39. package/build/frontend/api/controllers/subscription.js +0 -1
  40. package/build/frontend/api/routes.js +5 -1
  41. package/build/frontend/commands/node-plugins/index.js +1 -0
  42. package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +22 -0
  43. package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +20 -0
  44. package/build/frontend/commands/node-plugins/torrent-blocker/index.js +18 -0
  45. package/build/frontend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +19 -0
  46. package/build/frontend/commands/subscription/index.js +0 -1
  47. package/build/frontend/constants/errors/errors.js +5 -0
  48. package/build/frontend/models/index.js +1 -0
  49. package/build/frontend/models/torrent-blocker-report.schema.js +55 -0
  50. package/package.json +1 -1
  51. package/build/backend/commands/subscription/get-outline-subscription-by-short-uuid.command.d.ts +0 -20
  52. package/build/backend/commands/subscription/get-outline-subscription-by-short-uuid.command.d.ts.map +0 -1
  53. package/build/backend/commands/subscription/get-outline-subscription-by-short-uuid.command.js +0 -15
  54. package/build/frontend/commands/subscription/get-outline-subscription-by-short-uuid.command.js +0 -15
@@ -10,5 +10,10 @@ export declare const NODE_PLUGINS_ROUTES: {
10
10
  readonly CLONE: "actions/clone";
11
11
  };
12
12
  readonly EXECUTOR: "executor";
13
+ readonly TORRENT_BLOCKER: {
14
+ readonly GET_REPORTS: "torrent-blocker";
15
+ readonly GET_REPORTS_STATS: "torrent-blocker/stats";
16
+ readonly TRUNCATE_REPORTS: "torrent-blocker/truncate";
17
+ };
13
18
  };
14
19
  //# sourceMappingURL=node-plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node-plugins.d.ts","sourceRoot":"","sources":["../../../../api/controllers/node-plugins.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,cAAuB,CAAC;AAI/D,eAAO,MAAM,mBAAmB;;yBAEhB,MAAM;;4BAEH,MAAM;;;;;;;CASf,CAAC"}
1
+ {"version":3,"file":"node-plugins.d.ts","sourceRoot":"","sources":["../../../../api/controllers/node-plugins.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,cAAuB,CAAC;AAK/D,eAAO,MAAM,mBAAmB;;yBAEhB,MAAM;;4BAEH,MAAM;;;;;;;;;;;;CAef,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NODE_PLUGINS_ROUTES = exports.NODE_PLUGINS_CONTROLLER = void 0;
4
4
  exports.NODE_PLUGINS_CONTROLLER = 'node-plugins';
5
5
  const ACTIONS_ROUTE = 'actions';
6
+ const TORRENT_BLOCKER_ROUTE = 'torrent-blocker';
6
7
  exports.NODE_PLUGINS_ROUTES = {
7
8
  GET_ALL: '', // get
8
9
  GET: (uuid) => `${uuid}`, // get
@@ -14,4 +15,9 @@ exports.NODE_PLUGINS_ROUTES = {
14
15
  CLONE: `${ACTIONS_ROUTE}/clone`,
15
16
  },
16
17
  EXECUTOR: 'executor',
18
+ TORRENT_BLOCKER: {
19
+ GET_REPORTS: `${TORRENT_BLOCKER_ROUTE}`,
20
+ GET_REPORTS_STATS: `${TORRENT_BLOCKER_ROUTE}/stats`,
21
+ TRUNCATE_REPORTS: `${TORRENT_BLOCKER_ROUTE}/truncate`,
22
+ },
17
23
  };
@@ -1,7 +1,6 @@
1
1
  export declare const SUBSCRIPTION_CONTROLLER: "sub";
2
2
  export declare const SUBSCRIPTION_ROUTES: {
3
3
  readonly GET: "";
4
- readonly GET_OUTLINE: "/outline";
5
4
  readonly GET_INFO: (shortUuid: string) => string;
6
5
  };
7
6
  //# sourceMappingURL=subscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;mCAGN,MAAM;CACtB,CAAC"}
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;mCAEN,MAAM;CACtB,CAAC"}
@@ -4,6 +4,5 @@ exports.SUBSCRIPTION_ROUTES = exports.SUBSCRIPTION_CONTROLLER = void 0;
4
4
  exports.SUBSCRIPTION_CONTROLLER = 'sub';
5
5
  exports.SUBSCRIPTION_ROUTES = {
6
6
  GET: '',
7
- GET_OUTLINE: '/outline',
8
7
  GET_INFO: (shortUuid) => `${shortUuid}/info`,
9
8
  };
@@ -98,7 +98,6 @@ export declare const REST_API: {
98
98
  };
99
99
  readonly SUBSCRIPTION: {
100
100
  readonly GET: (shortUuid: string) => string;
101
- readonly GET_OUTLINE: (shortUuid: string) => string;
102
101
  readonly GET_INFO: (shortUuid: string) => string;
103
102
  };
104
103
  readonly HOSTS: {
@@ -266,6 +265,11 @@ export declare const REST_API: {
266
265
  readonly CLONE: "/api/node-plugins/actions/clone";
267
266
  };
268
267
  readonly EXECUTOR: "/api/node-plugins/executor";
268
+ readonly TORRENT_BLOCKER: {
269
+ readonly GET_REPORTS: "/api/node-plugins/torrent-blocker";
270
+ readonly GET_REPORTS_STATS: "/api/node-plugins/torrent-blocker/stats";
271
+ readonly TRUNCATE_REPORTS: "/api/node-plugins/torrent-blocker/truncate";
272
+ };
269
273
  };
270
274
  readonly BANDWIDTH_STATS: {
271
275
  readonly NODES: {
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;gCAiBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;;;;;kCAyBJ,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;qDAKE,MAAM;;;;;;qCAStB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;uCAaC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;;;;iCAMpB,MAAM;oCAEH,MAAM;;;iCAIT,MAAM;oCAEH,MAAM;;;CAIvB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;gCAiBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;;;;;kCAyBJ,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;qDAKE,MAAM;;;;;;qCAStB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;;;;iCAMpB,MAAM;oCAEH,MAAM;;;iCAIT,MAAM;oCAEH,MAAM;;;CAIvB,CAAC"}
@@ -135,7 +135,6 @@ exports.REST_API = {
135
135
  },
136
136
  SUBSCRIPTION: {
137
137
  GET: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET}${shortUuid}`,
138
- GET_OUTLINE: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_OUTLINE}/${shortUuid}`,
139
138
  GET_INFO: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_INFO(shortUuid)}`,
140
139
  },
141
140
  HOSTS: {
@@ -303,6 +302,11 @@ exports.REST_API = {
303
302
  CLONE: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.ACTIONS.CLONE}`,
304
303
  },
305
304
  EXECUTOR: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.EXECUTOR}`,
305
+ TORRENT_BLOCKER: {
306
+ GET_REPORTS: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS}`,
307
+ GET_REPORTS_STATS: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS_STATS}`,
308
+ TRUNCATE_REPORTS: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.TRUNCATE_REPORTS}`,
309
+ },
306
310
  },
307
311
  BANDWIDTH_STATS: {
308
312
  NODES: {
@@ -4,5 +4,6 @@ export * from './delete-node-plugin.command';
4
4
  export * from './executor.command';
5
5
  export * from './get-node-plugin.command';
6
6
  export * from './get-node-plugins.command';
7
+ export * from './torrent-blocker';
7
8
  export * from './update-node-plugin.command';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC"}
@@ -20,4 +20,5 @@ __exportStar(require("./delete-node-plugin.command"), exports);
20
20
  __exportStar(require("./executor.command"), exports);
21
21
  __exportStar(require("./get-node-plugin.command"), exports);
22
22
  __exportStar(require("./get-node-plugins.command"), exports);
23
+ __exportStar(require("./torrent-blocker"), exports);
23
24
  __exportStar(require("./update-node-plugin.command"), exports);
@@ -0,0 +1,60 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetTorrentBlockerReportsStatsCommand {
3
+ const url: "/api/node-plugins/torrent-blocker/stats";
4
+ const TSQ_url: "/api/node-plugins/torrent-blocker/stats";
5
+ const endpointDetails: import("../../../constants").EndpointDetails;
6
+ const ResponseSchema: z.ZodObject<{
7
+ response: z.ZodObject<{
8
+ stats: z.ZodObject<{
9
+ distinctNodes: z.ZodNumber;
10
+ distinctUsers: z.ZodNumber;
11
+ totalReports: z.ZodNumber;
12
+ reportsLast24Hours: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ distinctNodes: number;
15
+ distinctUsers: number;
16
+ totalReports: number;
17
+ reportsLast24Hours: number;
18
+ }, {
19
+ distinctNodes: number;
20
+ distinctUsers: number;
21
+ totalReports: number;
22
+ reportsLast24Hours: number;
23
+ }>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ stats: {
26
+ distinctNodes: number;
27
+ distinctUsers: number;
28
+ totalReports: number;
29
+ reportsLast24Hours: number;
30
+ };
31
+ }, {
32
+ stats: {
33
+ distinctNodes: number;
34
+ distinctUsers: number;
35
+ totalReports: number;
36
+ reportsLast24Hours: number;
37
+ };
38
+ }>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ response: {
41
+ stats: {
42
+ distinctNodes: number;
43
+ distinctUsers: number;
44
+ totalReports: number;
45
+ reportsLast24Hours: number;
46
+ };
47
+ };
48
+ }, {
49
+ response: {
50
+ stats: {
51
+ distinctNodes: number;
52
+ distinctUsers: number;
53
+ totalReports: number;
54
+ reportsLast24Hours: number;
55
+ };
56
+ };
57
+ }>;
58
+ type Response = z.infer<typeof ResponseSchema>;
59
+ }
60
+ //# sourceMappingURL=get-torrent-blocker-reports-stats.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-torrent-blocker-reports-stats.command.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,2CAA0D,CAAC;IACpE,MAAM,OAAO,2CAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTorrentBlockerReportsStatsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetTorrentBlockerReportsStatsCommand;
8
+ (function (GetTorrentBlockerReportsStatsCommand) {
9
+ GetTorrentBlockerReportsStatsCommand.url = api_1.REST_API.NODE_PLUGINS.TORRENT_BLOCKER.GET_REPORTS_STATS;
10
+ GetTorrentBlockerReportsStatsCommand.TSQ_url = GetTorrentBlockerReportsStatsCommand.url;
11
+ GetTorrentBlockerReportsStatsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS_STATS, 'get', 'Get Torrent Blocker Reports Stats');
12
+ GetTorrentBlockerReportsStatsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ stats: zod_1.z.object({
15
+ distinctNodes: zod_1.z.number(),
16
+ distinctUsers: zod_1.z.number(),
17
+ totalReports: zod_1.z.number(),
18
+ reportsLast24Hours: zod_1.z.number(),
19
+ }),
20
+ }),
21
+ });
22
+ })(GetTorrentBlockerReportsStatsCommand || (exports.GetTorrentBlockerReportsStatsCommand = GetTorrentBlockerReportsStatsCommand = {}));