const endpointPrefix = "/api/user/driver"

export const driverEndpoints = {
  search: endpointPrefix + "/search",
  toggleActive: (id: string | number) => `${endpointPrefix}/active/${id}`,
  details: (id: string | number) => `${endpointPrefix}/details/${id}`,
  create: endpointPrefix,
  update: (id: string | number) => `${endpointPrefix}/edit/${id}`,
  export: endpointPrefix + "/export",
  active : endpointPrefix + "/active",
}; 