const baseURL = import.meta.env.VITE_API_BASE_URL;

const driverFinance = {
  // Check-In/Check-Out
  checkIn: `${baseURL}/driver-utils/check-in`,
  checkOut: `${baseURL}/driver-utils/check-out`,

  // Vehicle management
  receiveVehicle: `${baseURL}/driver-utils/receive-vehicle`,
  returnVehicle: `${baseURL}/driver-utils/return-vehicle`,

  // Get information
  getDriver: `${baseURL}/driver-utils/driver`,
  getVehicle: `${baseURL}/driver-utils/vehicle`,

  // Recent activities
  recentCheckIns: `${baseURL}/driver-utils/recent-check-ins`,
  recentCheckOuts: `${baseURL}/driver-utils/recent-check-outs`,
  recentVehicleReceives: `${baseURL}/driver-utils/recent-vehicle-receives`,
  recentVehicleReturns: `${baseURL}/driver-utils/recent-vehicle-returns`,

  // Statistics
  driverStatistics: `${baseURL}/driver-utils/driver-statistics`,
  vehicleStatistics: `${baseURL}/driver-utils/vehicle-statistics`,

  // Reports
  driverReports: `${baseURL}/driver-utils/driver-reports`,
  vehicleReports: `${baseURL}/driver-utils/vehicle-reports`,
  activityReports: `${baseURL}/driver-utils/activity-reports`,

  // Driver finance
  getFinancialInfo: `${baseURL}/DriverApp/getFinancialInfo`,
  searchFinancialOrders: `${baseURL}/DriverApp/SearchFinancialOrders`,
};

export { driverFinance };
