import { z } from "zod";

export const eqaroTenantsSchema = z.object({
  id: z.number(),
  tenantId: z.number(),
  propId: z.number(),
  eqaroUserId: z.string(),
  eqaroProfileId: z.string(),
  status: z.number(),
  occupation: z.string(),
  mobile: z.string(),
  monthlyIncome: z.number(),
  coApplicantId: z.string(),
  orderId: z.string(),
  bondId: z.string(),
  bondAmount: z.number(),
  bondFee: z.number(),
  bondExpiryDate: z.string().date(),
  bondEffectiveDate: z.string().date(),
  bondUrl: z.string(),
  accessToken: z.string(),
  refreshToken: z.string(),
  accessTokenExpires: z.string().datetime(),
  refreshTokenExpires: z.string().datetime(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

type eqaroTenantsType = z.infer<typeof eqaroTenantsSchema>;

export default eqaroTenantsType;
