import axiosInstance from "../axios";

export type OverviewUser = {
    walletBalance: number,
    dollarBalance: number,
    score: number,
    _id: string,
    id: string
}

export interface OverviewResponse {
    installedDevice: number,
    user: OverviewUser
}

export const getOverviewDetails = () => axiosInstance.get<OverviewResponse[] | OverviewResponse | [], any>("/gps/overview/main")

