export type AuthStoreType = {
  step: number;
  setStep: (step: number) => void;
  phone: string;
  setPhone: (phone: string) => void;
};

export type AuthenticationType = {
  phone: string;
};

export type VerifyOtpType = {
  phone: string;
  otpCode: string;
};

export type RefreshTokenType = {
  token: string;
};

export type TokenInfo = {
  token: string;
  expires: string;
};

export type RefreshTokenResponse = {
  tokenType: string;
  accessToken: TokenInfo;
  refreshToken: TokenInfo;
};

export type ApiResponse<T> = {
  status: number;
  success: boolean;
  results: {
    data: T;
  };
};
