import type {TableInput, TableOutput} from "@/models/table"; import useAxios from "@/utils/useAxios"; import type {Transaction} from "@/models/transaction"; import type {Card} from "@/models/wallet"; export const getTransactionTable = async (tbl: TableInput): Promise> => { return await useAxios.post>(`/customer/transaction/table`, tbl) } export const getTransactionTable2 = async (tbl: TableInput): Promise> => { return await useAxios.post>(`/customer/withdraw/table`, tbl) } export const getCardsTable = async (tbl?: TableInput): Promise> => { return await useAxios.post>(`/customer/account/table`, tbl) } // export const getProducts = async (tbl: TableInput): Promise> => { // return await axios.post>('/site/product', tbl) // }