import { z } from 'zod'

export const employeeLoginSchema = z.object({
  email: z.string().email().max(255).trim().toLowerCase(),
  password: z.string().max(128),
})

export const employeeForgotPasswordSchema = z.object({
  email: z.string().email().max(255).trim().toLowerCase(),
})

export const employeeLanguageSchema = z.object({
  language: z.enum(['en', 'fr', 'ar']),
})

export const employeeResetPasswordSchema = z.object({
  token: z.string().min(1),
  password: z.string().min(8).max(128),
})
