class ApiConstants {
  static const String baseUrl = 'https://api.doormile.com/api/v1';

  // ---- Auth ----
  static const String register = '$baseUrl/customer/register';
  static const String login = '$baseUrl/customer/login';
  static const String verifyPin = '$baseUrl/customer/verify-pin';
  static const String resetPin = '$baseUrl/customer/reset-pin';
  static const String logout = '$baseUrl/customer/logout';

  // ---- Profile ----
  static const String profile = '$baseUrl/customer/profile';

  // ---- Pickup Locations ----
  static const String locations = '$baseUrl/customer/locations';
  static String updateLocation(String id) => '$baseUrl/customer/locations/$id';
  static String deleteLocation(String id) => '$baseUrl/customer/locations/$id';

  // ---- Pickups (Bookings) ----
  static const String createPickup = '$baseUrl/customer/bookings';
  static const String getPickups = '$baseUrl/customer/bookings';
  static String getPickupDetails(String bookingId) => '$baseUrl/customer/bookings/$bookingId';
  static String cancelPickup(String bookingId) => '$baseUrl/customer/bookings/$bookingId/cancel';

  // ---- Pricing ----
  static const String checkPrice = '$baseUrl/pricing/check';

  // ---- Tracking ----
  static String trackPickup(String trackingNo) => '$baseUrl/customer/track/$trackingNo';
}
