@remnawave/backend-contract 0.0.47 → 0.0.48
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ var GetSubscriptionInfoByShortUuidCommand;
|
|
20
20
|
trafficUsed: zod_1.z.string(),
|
21
21
|
trafficLimit: zod_1.z.string(),
|
22
22
|
username: zod_1.z.string(),
|
23
|
-
expiresAt: zod_1.z.
|
23
|
+
expiresAt: zod_1.z.string().transform((str) => new Date(str)),
|
24
24
|
isActive: zod_1.z.boolean(),
|
25
25
|
userStatus: zod_1.z.enum([constants_1.USERS_STATUS_VALUES[0], ...constants_1.USERS_STATUS_VALUES]),
|
26
26
|
}),
|
@@ -21,7 +21,7 @@ export namespace GetSubscriptionInfoByShortUuidCommand {
|
|
21
21
|
trafficUsed: z.string(),
|
22
22
|
trafficLimit: z.string(),
|
23
23
|
username: z.string(),
|
24
|
-
expiresAt: z.
|
24
|
+
expiresAt: z.string().transform((str) => new Date(str)),
|
25
25
|
isActive: z.boolean(),
|
26
26
|
userStatus: z.enum([USERS_STATUS_VALUES[0], ...USERS_STATUS_VALUES]),
|
27
27
|
}),
|