import * as z from "zod/v4"

export const commissionOrderSchema = z.object({
  typeId: z.string().min(1, "Please select a type"),
  optionId: z.string().min(1, "Please choose a base option"),
  extraIds: z.array(z.string()).optional(),
  customFields: z.record(z.string(), z.any()).optional(),
  customerName: z.string().min(2, "Enter your name"),
  customerEmail: z.email("Invalid email"),
  message: z.string().min(5, "Please describe what you want"),
})
