export const BASE_URL = 'https://api.infotarget.uz/';

export const API_URLS = {
  LOGIN: 'login/send_code/',
  LoginConfirm: 'login/confirm/',
  REFRESH: 'auth/token/refresh/',
  DASHBOARD_ADS: '/api/dashboard-ads/',
  DASHBOARD_ADS_DETAIL: (id: number) => `/api/dashboard-ads/${id}`,
  ResendOTP: 'login/resend/',
  Register: 'auth/register/',
  Register_Confirm: 'auth/confirm/',
  Register_Resend: 'auth/resend/',
  Get_Products: 'api/product-service/',
  Detail_Products: (id: number) => `api/product-service/${id}/`,
  Delete_Products: (id: number) => `api/product-service/${id}/`,
  Get_Company: 'api/product-service/product-service-legal-entity/',
  Get_Countries: 'api/product-service/product-service-country/',
  Get_States: 'api/countries/',
  Get_Categories: 'api/category/',
  Get_Categories_Child: (id: number) => `api/category/${id}/`,
  Business_About: 'api/business-about/',
  Business_About_Detail: (id: number) => `api/business-about/${id}/`,
  Price_Calculation: `api/price-calculation/`,
  Add_Ads: 'api/ad/',
  Payment_Ads: (paymentType: 'payme' | 'referral', adId: number) =>
    `api/payments/${paymentType}/${adId}/`,
  Get_Me: 'auth/me/',
  User_Update: 'auth/user-update/',
  Employee_List: 'api/employee/',
  My_Ads: 'api/my-ads/',
  My_Ads_Detail: (id: number) => `api/my-ads/${id}`,
  My_Bonuses: 'api/cashback/',
  My_Refferals: 'api/referral/',
  Goverment_Service: '/api/goverment-service/',
  Goverment_Category: '/api/goverment-category/',
  Notification_List: '/api/notifications/',
  Notification_Ready: (id: number) => `/api/notifications/${id}/read/`,
  Notification_Mark_All_Read: '/api/notifications/read-all/',
};
