``typescript
import { DataProvider } from "@refinedev/core";
import axios from "axios";
const API_URL = "<https://api.staging.kenchecks.com/v1/zoho/leads/in-sales";>
export const dataProvider: DataProvider = {
getList: async ({ resource, pagination, filters }) => {
const token = localStorage.getItem("auth_token");
// Extract pagination values
const { current = 1, pageSize = 10 } = pagination ?? {};
// Prepare query parameters
const params: Record<string, any> = {
page: current,
limit: pageSize,
...filters, // Spread filters if they exist
};
try {
// Make the API call with pagination and query parameters
const response = await axios.get(