import axiosInstance from '@/utills/axiosInstance';
import { removeEmptyKeys } from '@/utills/helper';
import { Filters } from './interface';

export async function getWebCallLogs(params?: Filters): Promise<any> {
  const filterParam = removeEmptyKeys((params || {}) as any);
  return await axiosInstance.get('/api/v1/hooks/webcall/logs', { params: filterParam });
}
