import { z } from 'zod';
export const PaymentStatusSchema = z.enum(['pending', 'processing', 'completed', 'failed', 'refunded']);
export const PaymentSchema = z.object({
    id: z.string().uuid(),
    amount: z.number().positive(),
    currency: z.string().length(3),
    status: PaymentStatusSchema,
    paymentMethod: z.string(),
    transactionId: z.string().optional(),
    createdAt: z.date().or(z.string().datetime()),
    updatedAt: z.date().or(z.string().datetime()),
});
export const CreatePaymentSchema = PaymentSchema.omit({
    id: true,
    status: true,
    transactionId: true,
    createdAt: true,
    updatedAt: true,
});
//# sourceMappingURL=payment.js.map