/**
 * Zod request bodies for customer portal ticket routes — tenant-portals (wave 9d).
 */
import { z } from 'zod'

export const createPortalTicketSchema = z.object({
  subject: z.string().min(1).max(200),
  body: z.string().min(1),
  categoryId: z.string().uuid(),
  attachmentKeys: z.array(z.string()).max(10).optional(),
})

export const replyPortalTicketSchema = z.object({
  body: z.string().min(1),
  attachmentKeys: z.array(z.string()).max(10).optional(),
})
