import { z } from 'zod';

export const listRepresentativesSchema = z.object({
  page: z.coerce.number().int().positive().default(1),
  limit: z.coerce.number().int().positive().max(100).default(20),
  search: z.string().optional(),
  postalCode: z.string().optional(),
});

export type ListRepresentativesInput = z.infer<typeof listRepresentativesSchema>;
