import { LeadItem } 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); };