import { z } from "zod";
const invoiceQuerySchema = z.object({
  limit: z.coerce.number().int().min(1).max(100).default(10),
  offset: z.coerce.number().int().min(0).default(0)
});
const invoiceResponseSchema = z.object({
  id: z.string(),
  teamId: z.string(),
  invoiceNumber: z.string(),
  date: z.string(),
  amount: z.number(),
  currency: z.string(),
  status: z.enum(["pending", "paid", "failed", "refunded"]),
  pdfUrl: z.string().nullable(),
  description: z.string().nullable().optional(),
  createdAt: z.string(),
  updatedAt: z.string()
});
export {
  invoiceQuerySchema,
  invoiceResponseSchema
};
