class ApiConfig {
  // Private constructor to prevent instantiation
  ApiConfig._();

  // Base URL for the API
  static const String baseUrl = 'https://fartak.liara.run';
  // Base URL for the Comments API
  static const String proxyBuyBaseUrl = 'https://proxybuy.liara.run';


  // ========== Auth Endpoints ==========
  static const String sendOtp = '$baseUrl/login/sendcode';
  static const String verifyOtp = '$baseUrl/login/getcode';
  static const String checkShopStatus = '$baseUrl/shop/get';

  // ========== Store Endpoints ==========
  static const String addStore = '$baseUrl/shop/add';

  // ========== Discount Endpoints ==========
  static const String addDiscount = '$baseUrl/discount/add';
  static const String getDiscounts = '$baseUrl/discount/get';
  static const String getActiveDiscounts = '$baseUrl/discount/get?status=1';
  static String getDiscountById(String id) => '$baseUrl/discount/get/$id';
  static String editDiscount(String id) => '$baseUrl/discount/edit/$id';
  static String deleteDiscount(String id) => '$baseUrl/discount/delete/$id';

  // ========== Order Endpoints ==========
  static const String addOrder = '$baseUrl/order/add';
  static const String getOrderStats = '$baseUrl/order/get';
  static String getOrderStatus(String id) => '$baseUrl/order/status/$id';

  // ========== Reservation Endpoints ==========
  static const String getReservations = '$baseUrl/reservation/get';
  
  // ========== Comment Endpoints ==========
  static String getComments(String discountId) => '$baseUrl/comment/get/$discountId';
}