const testing = false;
const host = 'https://puremall.com.hk/api/'
// ? //? 'http://tc.nirons.com/retailposbackend/app/'
// //'https://tc.nirons.com/puremall-api/'
// 'http://tc.nirons.com/puremall-api/'
// : 'https://puremall.com.hk/api/';

const api = {
  addMemberToMyGroup: host + 'shopping-group/add-member-to-my-group/',
  getShoppingGroupAgreement: host + 'setting',
  gift: host + 'gift/',
  redeem: host + 'redemption',
  getShoppingGroup: host + 'shopping-group/',
  getOwnShoppingGroup: host + 'member/me/shopping-group/',
  joinShoppingGroup: host + 'member/me/join-shopping-group/',
  quitShoppingGroup: host + 'member/me/quit-shopping-group/',
  getAllProducts: host + 'item/',
  getcategories: host + 'category/',
  banner: host + 'banner',
  login: host + 'app-login/',
  smsVerify: host + 'sms_verify_start',
  check: host + 'check',
  signup: host + 'reg',
  news: host + 'news/',
  creditCard: host + 'credit-card/',
  editAddress: host + 'member/me/',
  address: host + 'addr/',
  regions: host + 'region/',
  shippingOrderDate: host + 'shopping-group-settings/',
  tag: 'https://www.hosunsin.com/wp-json/es/v1/products/tags',
  getShippingMethods: host + 'shipping-method',
  getCoupons: host + 'coupon/',
  discount: host + 'discount',
  favourite: host + 'fav/',
  shoppingCart: host + 'cart/',
  review: 'review/',
  order: host + 'order/',
  item: host + 'item/',
  forgotPassword: host + 'forgot/',
  points: host + 'points-settings/',
  fcmToken: host + '/reg-push-token/',
  thirdPartyLogin: host + '3rd-party-oauth',
  checkVersion: 'https://www.hosunsin.com/wp-json/es/v1/versions',
  signInWithApple: host + 'sign-in-with-apple',
  bindMobile: host + 'bind-mobile',
};

export default api;
