Merged in feat/SW-207 (pull request #386)

feat(SW-207): add expiring points and date when they will expire

Approved-by: Michael Zetterberg
This commit is contained in:
Simon.Emanuelsson
2024-08-07 08:53:48 +00:00
committed by Michael Zetterberg
2 changed files with 11 additions and 3 deletions

View File

@@ -26,7 +26,9 @@ export const getUserSchema = z.object({
memberSince: z.string(),
membershipType: z.string(),
nextLevel: z.string().optional(),
pointsExpiryDate: z.string().optional(),
pointsRequiredToNextlevel: z.number().optional(),
pointsToExpire: z.number().optional(),
})
),
phoneNumber: z.string().optional(),