import { z } from "zod";

export const paymentLinkSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  propId: z.number(),
  tenantId: z.number(),
  invoiceNo: z.string(),
  dueId: z.number(),
  ledgerReferenceId: z.string(),
  amount: z.number(),
  dueType: z.number(),
  paymentLink: z.string(),
  description: z.string(),
  status: z.number(),
  apiResponse: z.string(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type paymentLinkTypes = z.infer<typeof paymentLinkSchema>;

export default paymentLinkTypes;