import { z } from 'zod'

export const inviteSchema = z.object({
  firstName: z.string().min(1).max(64),
  lastName:  z.string().min(1).max(64),
  email:     z.string().email(),
  role:      z.enum(['MANAGER', 'AGENT']),
})

export const roleSchema = z.object({
  role: z.enum(['MANAGER', 'AGENT']),
})

export const idParamSchema = z.object({
  id: z.string().min(1),
})
