enum AffiliateCategoryType {
  laptop,
  giayNu,
  meVaBe,
  doAn,
  sucKhoe,
  thoiTrangNu,
  giaoDuc,
  thoiTrangNam,
  dienTu,
  giaDung,
  nhaCuaCuocSong,
  phuKienDienThoai,
  dongHo,
  giayNam,
  camera,
  sacDep,
  tuiViNu,
  theThao,
  duLich,
  dichVu,
  other,
}

const affiliateCategoryTypeValues = {
  "may-tinh-and-laptop": AffiliateCategoryType.laptop,
  "giay-dep-nu": AffiliateCategoryType.giayNu,
  "me-and-be": AffiliateCategoryType.meVaBe,
  "do-an": AffiliateCategoryType.doAn,
  "suc-khoe": AffiliateCategoryType.sucKhoe,
  "thoi-trang-nu": AffiliateCategoryType.thoiTrangNu,
  "giao-duc": AffiliateCategoryType.giaoDuc,
  "thoi-trang-nam": AffiliateCategoryType.thoiTrangNam,
  "thiet-bi-dien-tu": AffiliateCategoryType.dienTu,
  "thiet-bi-dien-gia-dung": AffiliateCategoryType.giaDung,
  "nha-cua-and-doi-song": AffiliateCategoryType.nhaCuaCuocSong,
  "dien-thoai-and-phu-kien": AffiliateCategoryType.phuKienDienThoai,
  "dong-ho": AffiliateCategoryType.dongHo,
  "giay-dep-nam": AffiliateCategoryType.giayNam,
  "may-anh-and-may-quay-phim": AffiliateCategoryType.camera,
  "sac-dep": AffiliateCategoryType.sacDep,
  "tui-vi-nu": AffiliateCategoryType.tuiViNu,
  "the-thao": AffiliateCategoryType.theThao,
  "du-lich": AffiliateCategoryType.duLich,
  "dich-vu": AffiliateCategoryType.dichVu,
  "khac": AffiliateCategoryType.other,
};
