export const SHOPTIME_BASE_URL = "https://qt3-aic.lgshopsvc.lgappstv.com/";

export const URLS = {
  //device controller
  GET_AUTHENTICATION_CODE: "/lgsp/v1/device/auth.lge",
  GET_DEVICE_ADDITION_INFO: "/lgsp/v1/device/info/addition.lge",
  DELETE_DEVICE_ADDITION_INFO: "/lgsp/v1/device/info/addition/delete.lge",
  DELETE_DEVICE_PAIRING: "/lgsp/v1/device/pairing/delete.lge",
  REGISTER_DEVICE_PAIRING: "/lgsp/v1/device/pairing/register.lge",
  REGISTER_DEVICE: "/lgsp/v1/device/register.lge",
  REGISTER_DEVICE_INFO: "/lgsp/v1/device/register/info.lge",

  //home controller
  GET_HOME_TERMS: "/lgsp/v1/home/terms.lge",

  //brand-controller
  GET_BRAND_LIST: "/lgsp/v1/brand/info.lge",
  GET_BRAND_LAYOUT_INFO: "/lgsp/v1/brand/shelf.lge",
  GET_BRAND_LIVE_CHANNEL_INFO: "/lgsp/v1/brand/live.lge",
  GET_BRAND_TODAYS_DEALS: "/lgsp/v1/brand/tsv.lge",

  //on-sale controller
  GET_ON_SALE_INFO: "/lgsp/v1/onsale/onsale.lge",
};

export const getUrl = (url) => {
  return SHOPTIME_BASE_URL + url;
};
