import { LeadItem, LeadCountItem } from '@interfaces'; import { api } from '@utils'; export const getLeadsApi = async ( leadId: string | null, staffId: string, ): Promise => { const url = `/api/leads/${leadId}/${staffId}`; return await api.get(url); }; export const getLeadCountListApi = async ( staffId: string, ): Promise => { const url = `/api/leadcountlist/${staffId}`; return await api.get(url); };