@remnawave/backend-contract 2.0.2 → 2.1.0

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 (49) hide show
  1. package/build/backend/api/routes.d.ts +1 -0
  2. package/build/backend/api/routes.d.ts.map +1 -1
  3. package/build/backend/api/routes.js +2 -1
  4. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +5 -0
  5. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts.map +1 -1
  6. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.js +1 -0
  7. package/build/backend/commands/users/actions/disable-user.command.d.ts +7 -0
  8. package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
  9. package/build/backend/commands/users/actions/enable-user.command.d.ts +7 -0
  10. package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
  11. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +7 -0
  12. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
  13. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +7 -0
  14. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
  15. package/build/backend/commands/users/create-user.command.d.ts +7 -0
  16. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  17. package/build/backend/commands/users/get-all-users.command.d.ts +9 -0
  18. package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
  19. package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +7 -0
  20. package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts.map +1 -1
  21. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +7 -0
  22. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
  23. package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +7 -0
  24. package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts.map +1 -1
  25. package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +7 -0
  26. package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +1 -1
  27. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +7 -0
  28. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
  29. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +7 -0
  30. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  31. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +5 -0
  32. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts.map +1 -1
  33. package/build/backend/commands/users/get-user-usage-by-range.command.js +1 -0
  34. package/build/backend/commands/users/update-user.command.d.ts +7 -0
  35. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  36. package/build/backend/constants/errors/errors.d.ts +10 -0
  37. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  38. package/build/backend/constants/errors/errors.js +10 -0
  39. package/build/backend/models/extended-users.schema.d.ts +5 -0
  40. package/build/backend/models/extended-users.schema.d.ts.map +1 -1
  41. package/build/backend/models/last-connected-node.schema.d.ts +3 -0
  42. package/build/backend/models/last-connected-node.schema.d.ts.map +1 -1
  43. package/build/backend/models/last-connected-node.schema.js +1 -0
  44. package/build/frontend/api/routes.js +2 -1
  45. package/build/frontend/commands/nodes/stats/get-nodes-usage-by-range.command.js +1 -0
  46. package/build/frontend/commands/users/get-user-usage-by-range.command.js +1 -0
  47. package/build/frontend/constants/errors/errors.js +10 -0
  48. package/build/frontend/models/last-connected-node.schema.js +1 -0
  49. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  export declare const ROOT: "/api";
2
2
  export declare const METRICS_ROOT: "/metrics";
3
+ export declare const HEALTH_ROOT: "/health";
3
4
  export declare const BULLBOARD_ROOT: "/queues";
4
5
  export declare const REST_API: {
5
6
  readonly AUTH: {
@@ -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,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;sCAIP,MAAM;;;;;;qCASP,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;qCAwBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;;;;;;;qCAUX,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;;uCAMC,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;CAGnC,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;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;sCAIP,MAAM;;;;;;qCASP,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;qCAwBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;;;;;;;qCAUX,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;;uCAMC,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;CAGnC,CAAC"}
@@ -33,10 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.REST_API = exports.BULLBOARD_ROOT = exports.METRICS_ROOT = exports.ROOT = void 0;
36
+ exports.REST_API = exports.BULLBOARD_ROOT = exports.HEALTH_ROOT = exports.METRICS_ROOT = exports.ROOT = void 0;
37
37
  const CONTROLLERS = __importStar(require("./controllers"));
38
38
  exports.ROOT = '/api';
39
39
  exports.METRICS_ROOT = '/metrics';
40
+ exports.HEALTH_ROOT = '/health';
40
41
  exports.BULLBOARD_ROOT = '/queues';
41
42
  exports.REST_API = {
42
43
  AUTH: {
@@ -18,6 +18,7 @@ export declare namespace GetNodesUsageByRangeCommand {
18
18
  response: z.ZodArray<z.ZodObject<{
19
19
  nodeUuid: z.ZodString;
20
20
  nodeName: z.ZodString;
21
+ nodeCountryCode: z.ZodString;
21
22
  total: z.ZodNumber;
22
23
  totalDownload: z.ZodNumber;
23
24
  totalUpload: z.ZodNumber;
@@ -30,6 +31,7 @@ export declare namespace GetNodesUsageByRangeCommand {
30
31
  nodeName: string;
31
32
  nodeUuid: string;
32
33
  total: number;
34
+ nodeCountryCode: string;
33
35
  totalDownload: number;
34
36
  totalUpload: number;
35
37
  humanReadableTotal: string;
@@ -40,6 +42,7 @@ export declare namespace GetNodesUsageByRangeCommand {
40
42
  nodeName: string;
41
43
  nodeUuid: string;
42
44
  total: number;
45
+ nodeCountryCode: string;
43
46
  totalDownload: number;
44
47
  totalUpload: number;
45
48
  humanReadableTotal: string;
@@ -52,6 +55,7 @@ export declare namespace GetNodesUsageByRangeCommand {
52
55
  nodeName: string;
53
56
  nodeUuid: string;
54
57
  total: number;
58
+ nodeCountryCode: string;
55
59
  totalDownload: number;
56
60
  totalUpload: number;
57
61
  humanReadableTotal: string;
@@ -64,6 +68,7 @@ export declare namespace GetNodesUsageByRangeCommand {
64
68
  nodeName: string;
65
69
  nodeUuid: string;
66
70
  total: number;
71
+ nodeCountryCode: string;
67
72
  totalDownload: number;
68
73
  totalUpload: number;
69
74
  humanReadableTotal: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-nodes-usage-by-range.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/stats/get-nodes-usage-by-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,0BAAsC,CAAC;IAChD,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAczB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-nodes-usage-by-range.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/stats/get-nodes-usage-by-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,0BAAsC,CAAC;IAChD,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAezB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -17,6 +17,7 @@ var GetNodesUsageByRangeCommand;
17
17
  response: zod_1.z.array(zod_1.z.object({
18
18
  nodeUuid: zod_1.z.string().uuid(),
19
19
  nodeName: zod_1.z.string(),
20
+ nodeCountryCode: zod_1.z.string(),
20
21
  total: zod_1.z.number(),
21
22
  totalDownload: zod_1.z.number(),
22
23
  totalUpload: zod_1.z.number(),
@@ -64,10 +64,13 @@ export declare namespace DisableUserCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace DisableUserCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace DisableUserCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace DisableUserCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace DisableUserCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace EnableUserCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace EnableUserCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace EnableUserCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace EnableUserCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace EnableUserCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace ResetUserTrafficCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace ResetUserTrafficCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace ResetUserTrafficCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace ResetUserTrafficCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace ResetUserTrafficCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"reset-user-traffic.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/reset-user-traffic.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reset-user-traffic.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/reset-user-traffic.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -74,10 +74,13 @@ export declare namespace RevokeUserSubscriptionCommand {
74
74
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
75
75
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
76
76
  nodeName: z.ZodString;
77
+ countryCode: z.ZodString;
77
78
  }, "strip", z.ZodTypeAny, {
79
+ countryCode: string;
78
80
  connectedAt: Date;
79
81
  nodeName: string;
80
82
  }, {
83
+ countryCode: string;
81
84
  connectedAt: string;
82
85
  nodeName: string;
83
86
  }>>;
@@ -121,6 +124,7 @@ export declare namespace RevokeUserSubscriptionCommand {
121
124
  }[];
122
125
  subscriptionUrl: string;
123
126
  lastConnectedNode: {
127
+ countryCode: string;
124
128
  connectedAt: Date;
125
129
  nodeName: string;
126
130
  } | null;
@@ -156,6 +160,7 @@ export declare namespace RevokeUserSubscriptionCommand {
156
160
  }[];
157
161
  subscriptionUrl: string;
158
162
  lastConnectedNode: {
163
+ countryCode: string;
159
164
  connectedAt: string;
160
165
  nodeName: string;
161
166
  } | null;
@@ -201,6 +206,7 @@ export declare namespace RevokeUserSubscriptionCommand {
201
206
  }[];
202
207
  subscriptionUrl: string;
203
208
  lastConnectedNode: {
209
+ countryCode: string;
204
210
  connectedAt: Date;
205
211
  nodeName: string;
206
212
  } | null;
@@ -238,6 +244,7 @@ export declare namespace RevokeUserSubscriptionCommand {
238
244
  }[];
239
245
  subscriptionUrl: string;
240
246
  lastConnectedNode: {
247
+ countryCode: string;
241
248
  connectedAt: string;
242
249
  nodeName: string;
243
250
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;;;eAa7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;;;eAa7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -122,10 +122,13 @@ export declare namespace CreateUserCommand {
122
122
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
123
123
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
124
124
  nodeName: z.ZodString;
125
+ countryCode: z.ZodString;
125
126
  }, "strip", z.ZodTypeAny, {
127
+ countryCode: string;
126
128
  connectedAt: Date;
127
129
  nodeName: string;
128
130
  }, {
131
+ countryCode: string;
129
132
  connectedAt: string;
130
133
  nodeName: string;
131
134
  }>>;
@@ -169,6 +172,7 @@ export declare namespace CreateUserCommand {
169
172
  }[];
170
173
  subscriptionUrl: string;
171
174
  lastConnectedNode: {
175
+ countryCode: string;
172
176
  connectedAt: Date;
173
177
  nodeName: string;
174
178
  } | null;
@@ -204,6 +208,7 @@ export declare namespace CreateUserCommand {
204
208
  }[];
205
209
  subscriptionUrl: string;
206
210
  lastConnectedNode: {
211
+ countryCode: string;
207
212
  connectedAt: string;
208
213
  nodeName: string;
209
214
  } | null;
@@ -249,6 +254,7 @@ export declare namespace CreateUserCommand {
249
254
  }[];
250
255
  subscriptionUrl: string;
251
256
  lastConnectedNode: {
257
+ countryCode: string;
252
258
  connectedAt: Date;
253
259
  nodeName: string;
254
260
  } | null;
@@ -286,6 +292,7 @@ export declare namespace CreateUserCommand {
286
292
  }[];
287
293
  subscriptionUrl: string;
288
294
  lastConnectedNode: {
295
+ countryCode: string;
289
296
  connectedAt: string;
290
297
  nodeName: string;
291
298
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -110,10 +110,13 @@ export declare namespace GetAllUsersCommand {
110
110
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
111
111
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
112
112
  nodeName: z.ZodString;
113
+ countryCode: z.ZodString;
113
114
  }, "strip", z.ZodTypeAny, {
115
+ countryCode: string;
114
116
  connectedAt: Date;
115
117
  nodeName: string;
116
118
  }, {
119
+ countryCode: string;
117
120
  connectedAt: string;
118
121
  nodeName: string;
119
122
  }>>;
@@ -157,6 +160,7 @@ export declare namespace GetAllUsersCommand {
157
160
  }[];
158
161
  subscriptionUrl: string;
159
162
  lastConnectedNode: {
163
+ countryCode: string;
160
164
  connectedAt: Date;
161
165
  nodeName: string;
162
166
  } | null;
@@ -192,6 +196,7 @@ export declare namespace GetAllUsersCommand {
192
196
  }[];
193
197
  subscriptionUrl: string;
194
198
  lastConnectedNode: {
199
+ countryCode: string;
195
200
  connectedAt: string;
196
201
  nodeName: string;
197
202
  } | null;
@@ -238,6 +243,7 @@ export declare namespace GetAllUsersCommand {
238
243
  }[];
239
244
  subscriptionUrl: string;
240
245
  lastConnectedNode: {
246
+ countryCode: string;
241
247
  connectedAt: Date;
242
248
  nodeName: string;
243
249
  } | null;
@@ -276,6 +282,7 @@ export declare namespace GetAllUsersCommand {
276
282
  }[];
277
283
  subscriptionUrl: string;
278
284
  lastConnectedNode: {
285
+ countryCode: string;
279
286
  connectedAt: string;
280
287
  nodeName: string;
281
288
  } | null;
@@ -324,6 +331,7 @@ export declare namespace GetAllUsersCommand {
324
331
  }[];
325
332
  subscriptionUrl: string;
326
333
  lastConnectedNode: {
334
+ countryCode: string;
327
335
  connectedAt: Date;
328
336
  nodeName: string;
329
337
  } | null;
@@ -364,6 +372,7 @@ export declare namespace GetAllUsersCommand {
364
372
  }[];
365
373
  subscriptionUrl: string;
366
374
  lastConnectedNode: {
375
+ countryCode: string;
367
376
  connectedAt: string;
368
377
  nodeName: string;
369
378
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAYrF,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiC7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAYrF,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiC7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByEmailCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByEmailCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByEmailCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByEmailCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByEmailCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-email.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA8B,CAAC;IACxC,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-email.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-email.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA8B,CAAC;IACxC,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByShortUuidCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByShortUuidCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByShortUuidCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByShortUuidCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByShortUuidCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByTagCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByTagCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByTagCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByTagCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByTagCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-tag.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-tag.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mBAAmB,CAAC;IAC1B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,QAAc,CAAC;IAE5B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAKxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-tag.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-tag.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mBAAmB,CAAC;IAC1B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,QAAc,CAAC;IAE5B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAKxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByTelegramIdCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByTelegramIdCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByTelegramIdCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByTelegramIdCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByTelegramIdCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAoC,CAAC;IAC9C,MAAM,OAAO,QAAqB,CAAC;IAEnC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-telegram-id.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-telegram-id.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAoC,CAAC;IAC9C,MAAM,OAAO,QAAqB,CAAC;IAEnC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByUsernameCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByUsernameCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByUsernameCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByUsernameCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByUsernameCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/get-by/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -64,10 +64,13 @@ export declare namespace GetUserByUuidCommand {
64
64
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
65
65
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
66
66
  nodeName: z.ZodString;
67
+ countryCode: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
69
+ countryCode: string;
68
70
  connectedAt: Date;
69
71
  nodeName: string;
70
72
  }, {
73
+ countryCode: string;
71
74
  connectedAt: string;
72
75
  nodeName: string;
73
76
  }>>;
@@ -111,6 +114,7 @@ export declare namespace GetUserByUuidCommand {
111
114
  }[];
112
115
  subscriptionUrl: string;
113
116
  lastConnectedNode: {
117
+ countryCode: string;
114
118
  connectedAt: Date;
115
119
  nodeName: string;
116
120
  } | null;
@@ -146,6 +150,7 @@ export declare namespace GetUserByUuidCommand {
146
150
  }[];
147
151
  subscriptionUrl: string;
148
152
  lastConnectedNode: {
153
+ countryCode: string;
149
154
  connectedAt: string;
150
155
  nodeName: string;
151
156
  } | null;
@@ -191,6 +196,7 @@ export declare namespace GetUserByUuidCommand {
191
196
  }[];
192
197
  subscriptionUrl: string;
193
198
  lastConnectedNode: {
199
+ countryCode: string;
194
200
  connectedAt: Date;
195
201
  nodeName: string;
196
202
  } | null;
@@ -228,6 +234,7 @@ export declare namespace GetUserByUuidCommand {
228
234
  }[];
229
235
  subscriptionUrl: string;
230
236
  lastConnectedNode: {
237
+ countryCode: string;
231
238
  connectedAt: string;
232
239
  nodeName: string;
233
240
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -27,16 +27,19 @@ export declare namespace GetUserUsageByRangeCommand {
27
27
  userUuid: z.ZodString;
28
28
  nodeUuid: z.ZodString;
29
29
  nodeName: z.ZodString;
30
+ countryCode: z.ZodString;
30
31
  total: z.ZodNumber;
31
32
  date: z.ZodEffects<z.ZodString, Date, string>;
32
33
  }, "strip", z.ZodTypeAny, {
33
34
  date: Date;
35
+ countryCode: string;
34
36
  nodeName: string;
35
37
  userUuid: string;
36
38
  nodeUuid: string;
37
39
  total: number;
38
40
  }, {
39
41
  date: string;
42
+ countryCode: string;
40
43
  nodeName: string;
41
44
  userUuid: string;
42
45
  nodeUuid: string;
@@ -45,6 +48,7 @@ export declare namespace GetUserUsageByRangeCommand {
45
48
  }, "strip", z.ZodTypeAny, {
46
49
  response: {
47
50
  date: Date;
51
+ countryCode: string;
48
52
  nodeName: string;
49
53
  userUuid: string;
50
54
  nodeUuid: string;
@@ -53,6 +57,7 @@ export declare namespace GetUserUsageByRangeCommand {
53
57
  }, {
54
58
  response: {
55
59
  date: string;
60
+ countryCode: string;
56
61
  nodeName: string;
57
62
  userUuid: string;
58
63
  nodeUuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-usage-by-range.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-usage-by-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,0BAA0C,CAAC;IACpD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-usage-by-range.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-usage-by-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,0BAA0C,CAAC;IACpD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -21,6 +21,7 @@ var GetUserUsageByRangeCommand;
21
21
  userUuid: zod_1.z.string().uuid(),
22
22
  nodeUuid: zod_1.z.string().uuid(),
23
23
  nodeName: zod_1.z.string(),
24
+ countryCode: zod_1.z.string(),
24
25
  total: zod_1.z.number(),
25
26
  date: zod_1.z.string().transform((str) => new Date(str)),
26
27
  })),
@@ -150,10 +150,13 @@ export declare namespace UpdateUserCommand {
150
150
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
151
151
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
152
152
  nodeName: z.ZodString;
153
+ countryCode: z.ZodString;
153
154
  }, "strip", z.ZodTypeAny, {
155
+ countryCode: string;
154
156
  connectedAt: Date;
155
157
  nodeName: string;
156
158
  }, {
159
+ countryCode: string;
157
160
  connectedAt: string;
158
161
  nodeName: string;
159
162
  }>>;
@@ -197,6 +200,7 @@ export declare namespace UpdateUserCommand {
197
200
  }[];
198
201
  subscriptionUrl: string;
199
202
  lastConnectedNode: {
203
+ countryCode: string;
200
204
  connectedAt: Date;
201
205
  nodeName: string;
202
206
  } | null;
@@ -232,6 +236,7 @@ export declare namespace UpdateUserCommand {
232
236
  }[];
233
237
  subscriptionUrl: string;
234
238
  lastConnectedNode: {
239
+ countryCode: string;
235
240
  connectedAt: string;
236
241
  nodeName: string;
237
242
  } | null;
@@ -277,6 +282,7 @@ export declare namespace UpdateUserCommand {
277
282
  }[];
278
283
  subscriptionUrl: string;
279
284
  lastConnectedNode: {
285
+ countryCode: string;
280
286
  connectedAt: Date;
281
287
  nodeName: string;
282
288
  } | null;
@@ -314,6 +320,7 @@ export declare namespace UpdateUserCommand {
314
320
  }[];
315
321
  subscriptionUrl: string;
316
322
  lastConnectedNode: {
323
+ countryCode: string;
317
324
  connectedAt: string;
318
325
  nodeName: string;
319
326
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwDxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwDxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -769,5 +769,15 @@ export declare const ERRORS: {
769
769
  readonly message: "OAuth2 authorize error";
770
770
  readonly httpCode: 500;
771
771
  };
772
+ readonly NODE_IS_DISABLED: {
773
+ readonly code: "A149";
774
+ readonly message: "Node is disabled";
775
+ readonly httpCode: 400;
776
+ };
777
+ readonly SYNC_ACTIVE_PROFILE_ERROR: {
778
+ readonly code: "A150";
779
+ readonly message: "Sync active profile error";
780
+ readonly httpCode: 500;
781
+ };
772
782
  };
773
783
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAub3B,CAAC"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAic3B,CAAC"}
@@ -740,4 +740,14 @@ exports.ERRORS = {
740
740
  message: 'OAuth2 authorize error',
741
741
  httpCode: 500,
742
742
  },
743
+ NODE_IS_DISABLED: {
744
+ code: 'A149',
745
+ message: 'Node is disabled',
746
+ httpCode: 400,
747
+ },
748
+ SYNC_ACTIVE_PROFILE_ERROR: {
749
+ code: 'A150',
750
+ message: 'Sync active profile error',
751
+ httpCode: 500,
752
+ },
743
753
  };
@@ -51,10 +51,13 @@ export declare const ExtendedUsersSchema: z.ZodObject<{
51
51
  lastConnectedNode: z.ZodNullable<z.ZodObject<{
52
52
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
53
53
  nodeName: z.ZodString;
54
+ countryCode: z.ZodString;
54
55
  }, "strip", z.ZodTypeAny, {
56
+ countryCode: string;
55
57
  connectedAt: Date;
56
58
  nodeName: string;
57
59
  }, {
60
+ countryCode: string;
58
61
  connectedAt: string;
59
62
  nodeName: string;
60
63
  }>>;
@@ -98,6 +101,7 @@ export declare const ExtendedUsersSchema: z.ZodObject<{
98
101
  }[];
99
102
  subscriptionUrl: string;
100
103
  lastConnectedNode: {
104
+ countryCode: string;
101
105
  connectedAt: Date;
102
106
  nodeName: string;
103
107
  } | null;
@@ -133,6 +137,7 @@ export declare const ExtendedUsersSchema: z.ZodObject<{
133
137
  }[];
134
138
  subscriptionUrl: string;
135
139
  lastConnectedNode: {
140
+ countryCode: string;
136
141
  connectedAt: string;
137
142
  nodeName: string;
138
143
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"extended-users.schema.d.ts","sourceRoot":"","sources":["../../../models/extended-users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC"}
1
+ {"version":3,"file":"extended-users.schema.d.ts","sourceRoot":"","sources":["../../../models/extended-users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC"}
@@ -2,10 +2,13 @@ import { z } from 'zod';
2
2
  export declare const LastConnectedNodeSchema: z.ZodNullable<z.ZodObject<{
3
3
  connectedAt: z.ZodEffects<z.ZodString, Date, string>;
4
4
  nodeName: z.ZodString;
5
+ countryCode: z.ZodString;
5
6
  }, "strip", z.ZodTypeAny, {
7
+ countryCode: string;
6
8
  connectedAt: Date;
7
9
  nodeName: string;
8
10
  }, {
11
+ countryCode: string;
9
12
  connectedAt: string;
10
13
  nodeName: string;
11
14
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"last-connected-node.schema.d.ts","sourceRoot":"","sources":["../../../models/last-connected-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;GAQrB,CAAC"}
1
+ {"version":3,"file":"last-connected-node.schema.d.ts","sourceRoot":"","sources":["../../../models/last-connected-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;GASrB,CAAC"}
@@ -9,5 +9,6 @@ exports.LastConnectedNodeSchema = zod_1.z
9
9
  .datetime()
10
10
  .transform((str) => new Date(str)),
11
11
  nodeName: zod_1.z.string(),
12
+ countryCode: zod_1.z.string(),
12
13
  })
13
14
  .nullable();
@@ -33,10 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.REST_API = exports.BULLBOARD_ROOT = exports.METRICS_ROOT = exports.ROOT = void 0;
36
+ exports.REST_API = exports.BULLBOARD_ROOT = exports.HEALTH_ROOT = exports.METRICS_ROOT = exports.ROOT = void 0;
37
37
  const CONTROLLERS = __importStar(require("./controllers"));
38
38
  exports.ROOT = '/api';
39
39
  exports.METRICS_ROOT = '/metrics';
40
+ exports.HEALTH_ROOT = '/health';
40
41
  exports.BULLBOARD_ROOT = '/queues';
41
42
  exports.REST_API = {
42
43
  AUTH: {
@@ -17,6 +17,7 @@ var GetNodesUsageByRangeCommand;
17
17
  response: zod_1.z.array(zod_1.z.object({
18
18
  nodeUuid: zod_1.z.string().uuid(),
19
19
  nodeName: zod_1.z.string(),
20
+ nodeCountryCode: zod_1.z.string(),
20
21
  total: zod_1.z.number(),
21
22
  totalDownload: zod_1.z.number(),
22
23
  totalUpload: zod_1.z.number(),
@@ -21,6 +21,7 @@ var GetUserUsageByRangeCommand;
21
21
  userUuid: zod_1.z.string().uuid(),
22
22
  nodeUuid: zod_1.z.string().uuid(),
23
23
  nodeName: zod_1.z.string(),
24
+ countryCode: zod_1.z.string(),
24
25
  total: zod_1.z.number(),
25
26
  date: zod_1.z.string().transform((str) => new Date(str)),
26
27
  })),
@@ -740,4 +740,14 @@ exports.ERRORS = {
740
740
  message: 'OAuth2 authorize error',
741
741
  httpCode: 500,
742
742
  },
743
+ NODE_IS_DISABLED: {
744
+ code: 'A149',
745
+ message: 'Node is disabled',
746
+ httpCode: 400,
747
+ },
748
+ SYNC_ACTIVE_PROFILE_ERROR: {
749
+ code: 'A150',
750
+ message: 'Sync active profile error',
751
+ httpCode: 500,
752
+ },
743
753
  };
@@ -9,5 +9,6 @@ exports.LastConnectedNodeSchema = zod_1.z
9
9
  .datetime()
10
10
  .transform((str) => new Date(str)),
11
11
  nodeName: zod_1.z.string(),
12
+ countryCode: zod_1.z.string(),
12
13
  })
13
14
  .nullable();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",