import type { IResponse } from "@/types/response.types";
import type { RowDataType } from "@/components/types/TableTypes";

export interface Customer {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  restaurant: string;
  firstName: string;
  lastName: string;
  phone: string;
  birthDate: string;
  marriageDate: string;
  referrer: string | null;
  isActive: boolean;
  gender: boolean;
  wallet: number;
  points: number;
}

export type GetCustomersResponse = IResponse<Customer[]>;

export type CustomerListRow = RowDataType & {
  fullName: string;
  phone: string;
  birthDate: string;
  marriageDate: string;
  wallet: string;
  points: string;
  status: string;
};
