import { z } from "zod";

export const whatsappPendingMessagesSchema = z.object({
  id: z.number(),
  clientId: z.number(),
  propId: z.number().nullable(),
  userType: z.number(),
  userId: z.number(),
  userName: z.string(),
  userMobile: z.string(),
  templateType: z.number(),
  payload: z.string().nullable(),
  file: z.string().nullable(),
  status: z.number(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type whatsappPendingMessagesTypes = z.infer<
  typeof whatsappPendingMessagesSchema
>;

export default whatsappPendingMessagesTypes;