@remnawave/backend-contract 0.0.39 → 0.0.41
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.
@@ -31,18 +31,6 @@ var GetStatsCommand;
|
|
31
31
|
totalUsers: zod_1.z.number(),
|
32
32
|
totalTrafficBytes: zod_1.z.string(),
|
33
33
|
}),
|
34
|
-
stats: zod_1.z.object({
|
35
|
-
nodesUsageLastTwoDays: zod_1.z.object({
|
36
|
-
current: zod_1.z.string(),
|
37
|
-
previous: zod_1.z.string(),
|
38
|
-
percentage: zod_1.z.number(),
|
39
|
-
}),
|
40
|
-
sevenDaysStats: zod_1.z.array(zod_1.z.object({
|
41
|
-
nodeName: zod_1.z.string(),
|
42
|
-
totalBytes: zod_1.z.string(),
|
43
|
-
date: zod_1.z.string(),
|
44
|
-
})),
|
45
|
-
}),
|
46
34
|
}),
|
47
35
|
});
|
48
36
|
})(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
|
@@ -9,7 +9,7 @@ var GetAllUsersV2Command;
|
|
9
9
|
GetAllUsersV2Command.url = api_1.REST_API.USERS.GET_ALL_V2;
|
10
10
|
const FilterSchema = zod_1.z.object({
|
11
11
|
id: zod_1.z.string(),
|
12
|
-
value: zod_1.z.
|
12
|
+
value: zod_1.z.string(),
|
13
13
|
});
|
14
14
|
const SortingSchema = zod_1.z.object({
|
15
15
|
id: zod_1.z.string(),
|
@@ -35,20 +35,6 @@ export namespace GetStatsCommand {
|
|
35
35
|
totalUsers: z.number(),
|
36
36
|
totalTrafficBytes: z.string(),
|
37
37
|
}),
|
38
|
-
stats: z.object({
|
39
|
-
nodesUsageLastTwoDays: z.object({
|
40
|
-
current: z.string(),
|
41
|
-
previous: z.string(),
|
42
|
-
percentage: z.number(),
|
43
|
-
}),
|
44
|
-
sevenDaysStats: z.array(
|
45
|
-
z.object({
|
46
|
-
nodeName: z.string(),
|
47
|
-
totalBytes: z.string(),
|
48
|
-
date: z.string(),
|
49
|
-
}),
|
50
|
-
),
|
51
|
-
}),
|
52
38
|
}),
|
53
39
|
});
|
54
40
|
|