const testing = false;
// const host = testing
//   //?'http://tc.nirons.com/retailposbackend/app/'
//   ? 'http://101.32.168.56/retailposbackend/app/'
//   : 'https://calihealthylife.com/retailpos/app/';
const host = 'https://calihealthylife.com/retailpos/app/'

const api = {
  getAllProducts: host + 'products/',
  getcategories: host + 'categories/',
  banner: host + 'banners',
  login: host + 'login/',
  smsVerify: host + 'sms_verify_start',
  payment_methods: host + 'payment-methods',
  check: host + 'check',
  signup: host + 'reg',
  creditCard: host + 'creditcards/',
  editAddress: host + 'customers/me/',
  address: host + 'addresses/',
  regions: host + 'regions/',
  tag: 'https://www.hosunsin.com/wp-json/es/v1/products/tags',
  getShippingMethods: host + 'shipping-methods',
  getCoupons: host + 'coupons/',
  favourite: host + 'fav/',
  shoppingCart: host + 'cart/',
  review: host + 'reviews/',
  order: host + 'orders/',
  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;
