export type LoginType = {
  phone_email: string;
};
export type LoginPasswordType = {
  password: string;
};

export type AuthStoreType = {
  phone: string;
  setPhone: (value: string) => void;
  email: string;
  setEmail: (value: string) => void;
  stepLogin: number;
  setStepLogin: (value: number) => void;
};

export type LoginWithPasswordType = {
  email?: string;
  password: string;
  phone?: string;
};

export type LoginWithOtpType = {
  phone: string;
};

export type OtpVerifyType = {
  phone: string;
  code: string;
};

export type CheckHasAccountType = {
  email: string;
};

export type CheckHasAccountPhoneType = {
  phone: string;
};

export type RegisterType = {
  phone: string;
  firstName: string;
  lastName: string;
  birthDate: string;
  nationalCode: string;
  password: string;
  code: number;
};

export type RefreshTokenType = {
  refreshToken: string;
};
