class ApiConstants {
  static String mainDev = "dev";
  static String mainRoute = "live";


  //Describe
  static String describeUrl='';

  //Authentication
  static String login='';
  static String configUrl='';

  //User
  static String user='';
  static String userUpdate='';


  //App Locations
  static String appLocations='';

  //App Category
  static String appCategory= '';

//Customers
  static String getCustomerByTenantId = '';
  static String createCustomer = '';
  static String createDeliveryAddress = '';
  static String getCustomerAddress = '';
  static String getCustomerSearchByTenantId = '';

//Admin
  static String adminToken='';


  //Orders
  static String getOrders = '';
  static String updateOrderStatus = '';
  static String getOrderSummary = '';
  static String createOrder = '';

  //Deliveries
  static String getDeliveries = '';

//Location
  static String getLocationById = '';
  static String updateLocation = '';
  static String createLocation = '';


  //Notification
  static String notifyUrl='' ;

  //Tenants
  static String getTenantInfo = '';
  static String getTenantLocationById = '';
  static String getLocationsById = '';
  static String getTenantPricing = '';



//Get Partners
  static String getPartnerInfo = '';

  //Tenant User
  static String createTenantUser = '';


  //Tenant Staffs
  static String getStaffs = '';
  static String createStaff = '';
  static String updateStaff = '';

  static String liveRoute = "https://fiesta.nearle.app/live/api/v1/mob/";
  static String liveRoute1 = "https://jupiter.nearle.app/live/api/v1/";

  static String liveRouteV2 = "https://fiesta.nearle.app/live/api/v1/mob/";

  // Products
  static String getProducts = "";
  static String updateProduct = "";

  // Riders
  static String getRiders = "";

  static String updateDelivery = '';

  static String notifyRider = '';

  static String createDelivery = "";

  //Auth

  //LoginUrl
  static String loginDev ='https://jupiter.gear.app/$mainDev/api/v1';
  static String loginLive ='https://jupiter.nearle.app/$mainRoute/api/v1';

  //Describe
  static String describeUrlDev="https://ariane.gear.app/$mainRoute/describe/get";
  static String describeUrlLive="https://ariane.nearle.app/v1/describe/get";

  //User
  static String userDev="https://fiesta.nearle.app/$mainDev/api/v1/mob/users";
  static String userLive="https://fiesta.nearle.app/$mainRoute/api/v1/mob/users";

  static String userUpdateDev ="https://fiesta.nearle.app/$mainDev/api/v1/mob/users/update";
  static String userUpdateLive ="https://fiesta.nearle.app/$mainRoute/api/v1/mob/users/update";


  //config
  static String configUrlDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/utils/getappconfig/";
  static String configUrlLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/utils/getappconfig/";

  //Customers
  static String getCustomerByTenantIdDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/customers/gettenantcustomers";
  static String getCustomerByTenantIdLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/customers/gettenantcustomers";

  //CustomerSearch
  static String getCustomerSearchByTenantIdDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/customers/search";
  static String getCustomerSearchByTenantIdLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/customers/search";

  static String createCustomerDev = "https://fiesta.nearle.app/$mainDev/api/v1/mobcustomers/create";
  static String createCustomerLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/customers/create";

  static String createDeliveryAddressDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/customers/locations/create";
  static String createDeliveryAddressLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/customers/locations/create";

  static String getCustomerAddressDev= "https://fiesta.nearle.app/$mainDev/api/v1/mob/customers/locations/get/";
  static String getCustomerAddressLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/customers/locations/get/";



  //Orders
  static String getOrdersDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/orders/tenant/getorders";
  static String getOrdersLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/orders/tenant/getorders";


  // Orders
  static const String getcustomerOrders = "https://api.workolik.com/api/rest/tenant/getorders";


  // Tenant info
  static const String tenantInfo = "https://api.workolik.com/api/rest/gettenantinfo";


  static String updateOrderStatusDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/orders/updateorder";
  static String updateOrderStatusLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/orders/updateorder";


  static String getOrderSummaryDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/deliveries/deliverysummary";
  static String getOrderSummaryLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/deliveries/deliverysummary";

  static String createOrderDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/orders/createorder";
  static String createOrderLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/orders/createorder";

//Deliveries
  static String getDeliveriesDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/deliveries/getdeliveries";
  static String getDeliveriesLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/deliveries/getdeliveries";

//Tenants
  static String getTenantInfoDev = "https://jupiter.nearle.app/$mainDev/api/v1/tenants/gettenantinfo";
  static String getTenantInfoLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/gettenantinfo";

  static String getTenantLocationByIdDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/gettenantlocations/";
  static String getTenantLocationByIdLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/gettenantlocations/";

  static String getLocationsByIdDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/gettenantlocation/";
  static String getLocationsByIdLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/gettenantlocation/";

  static String getTenantPricingDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/gettenantpricing";
  static String getTenantPricingLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/gettenantpricing";




  //Notification
  static String notifyUrlDev = "https://jupiter.nearle.app/$mainDev/api/v1/utils/sendnotifications" ;
  static String notifyUrlLive = "https://jupiter.nearle.app/$mainRoute/api/v1/utils/sendnotifications" ;

  //App Locations
  static String appLocationsDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/utils/getapplocations";
  static String appLocationsLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/utils/getapplocations";

  //Get Partners
  static String getPartnerInfoDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/partners/getpartners/";
  static String getPartnerInfoLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/partners/getpartners/";

  //App Category
  static String appCategoryDev= "https://fiesta.nearle.app/$mainDev/api/v1/mobutils/getsubcategories";
  static String appCategoryLive= "https://fiesta.nearle.app/$mainRoute/api/v1/mob/utils/getsubcategories";

  static String getAppCategoryLive = "${liveRoute}utils/getcategories/";

  //Tenant User
  static String createTenantUserDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/createtenantuser";
  static String createTenantUserLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/createtenantuser";

//Admin
  static String adminTokenDev="https://fiesta.nearle.app/$mainDev/api/v1/mob/utils/getapplocationconfig";
  static String adminTokenLive="https://fiesta.nearle.app/$mainRoute/api/v1/mob/utils/getapplocationconfig";


//Location
  static String getLocationByIdDev = "https://fiesta.nearle.app/$mainDev/api/v1/mobtenants/gettenantlocations/";
  static String getLocationByIdLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/gettenantlocations/";

  static String updateLocationDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/updatelocation";
  static String updateLocationLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/updatelocation";

  static String createLocationDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/createlocation";
  static String createLocationLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/createlocation";


  //Tenant Staffs
  static String getStaffsDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/getstaffs";
  static String getStaffsLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/getstaffs";

  static String createStaffDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/createstaff";
  static String createStaffLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/createstaff";

  static String updateStaffDev = "https://fiesta.nearle.app/$mainDev/api/v1/mob/tenants/updatestaff";
  static String updateStaffLive = "https://fiesta.nearle.app/$mainRoute/api/v1/mob/tenants/updatestaff";


  /// https://jupiter.nearle.app/live/api/v1/products/getallproducts?categoryid=1001&subcategoryid=0
  /// Get Products
  static String getProductLive = "${liveRoute}products/getallproducts";

  static String updateProductLive = "${liveRoute}products/update";

  static String getRidersLive = "${liveRouteV2}partners/getriders/";

  static String updateDeliveryLive = "${liveRoute}deliveries/updatedelivery";

  static String notifyRiderLive = "${liveRoute1}utils/notifyuser";

  static String createDeliveryLive = "${liveRoute}deliveries/createdeliveries";



  // orders/getorders/?applocationid=0&status=created&fromdate=2025-07-17&todate=2025-07-17&pageno=1&pagesize=10&keyword=
  // static String getOrdersLive = "${liveRoute}/orders/getorders";

}
