import AppSettings from '@/config/app-settings'
import EvoLogo from '@/assets/img/Evo/evo-logo.svg'

// CUSTOM MASTER DATA MAPPING
export default {
  // Master Data Title
  masterData: {
    // PREFERRED_CONTACT
    PHONE: 'Phone',
    EMAIL: 'Email',
    // FILE TYPE
    IMAGE: 'Image',
    PDF: 'Pdf',
    // SALE_TYPES
    REGISTRATION: 'Registration',
    FORMATION: 'Formation',
    BA_UPGRADE: 'Ba Upgrade',
    AUTO_MAINTENANCE: 'Auto-maintenance',
    RE_PURCHASE: 'Repurchase',
    // SALE DELIVERY METHOD
    DELIVERY: 'Delivery',
    SELF_PICKUP: 'SELF PICK-UP',
    WITHOUT_SHIPPING: 'WITHOUT SHIPPING',
    // SALE ORDER STATYS
    SALE_ORDER_STATUS_COMPLETED: 'Completed',
    SALE_ORDER_STATUS_PREORDER: 'Pre-order',
    SALE_ORDER_STATUS_CANCELLED: 'Canceled',
    SALE_ORDER_STATUS_PENDING: 'Pending',
    SALE_ORDER_STATUS_PARTIALLY_CANCELLED: 'Partially Cancelled',
    SALE_ORDER_STATUS_PENDING_ONLINE: 'Pending-Online',
    SALE_ORDER_STATUS_VOID: 'Void',
    // SALE DELIVERY METHOD
    SALE_DELIVERY_METHOD_DELIVERY: 'Delivery',
    SALE_DELIVERY_METHOD_SELF_PICKUP: 'Self Pick-up',
    // MEMBER STATUS
    MEMBER_STATUS_ACTIVE: 'Active',
    MEMBER_STATUS_TERMINATED: 'Terminated',
    MEMBER_STATUS_ENROLLMENT_TERMINATED: 'Enrollment Terminated',
    MEMBER_STATUS_EXPIRED: 'Expired',
    MEMBER_STATUS_RESIGNED: 'Resigned',
    MEMBER_STATUS_SUSPENDED: 'Suspended',
    // PROMOTION_FREE_ITEM_PROMO_TYPES
    PROMO_TYPE_FOC: 'Foc',
    PROMO_TYPE_PWPF: 'Pwp(f)',
    PROMO_TYPE_PWPN: 'Pwp(n)',
    // TODO: Find masker key
    LOCATION_TYPE_STOCKIST: 'stockist',
    // EWALLET_TRANSACTION_TYPE
    E_WALLET: 'E-Wallet',
    // GENDER
    MALE: 'Male',
    FEMALE: 'Female',
    EPP_MOTO: 'EPP (Moto)',
    EPP_ONLINE: 'Epp (online)',
    EPP_TERMINAL: 'Epp (terminal)',
    AEON: 'Aeon',
    CP58_REPORT: 'CP58',
    STATEMENT_REPORT: 'Statement',
    ETHNIC_OTHERS: 'Others',
    MEMBERSRNR: 'Members R&R',
    PRIVACY: 'Privacy',
    TNC: 'Term and Conditions',
    STOCKIST_LIST: 'Stockist List',
    FAQ: 'FAQ',
    EFORM_OTHERS: 'Others',
    // Rental Installation Time
    AM: 'Am',
    PM: 'Pm',
    // Rental Installation Time
    MEMBER_SALE_ACTIVITY_STATUS_ACTIVE: 'Active',
    MEMBER_SALE_ACTIVITY_STATUS_INACTIVE: 'Inactive',
    PRODUCT_FILTER_EKBD: 'Ekbd',
    PRODUCT_FILTER_AUTOSHIP: 'Auto Ship',
  },
  // Master Key
  masterKey: {
    FILE_TYPE: 'file_type',
    RENTAL_INSTALATION_TIME: 'rental_installation_time_section',
    PREFERRED_CONTACT: 'preferred_contact',
    PAYMENT_MODE: 'payment_mode',
    EK_SMART: 'EK Smart',
    STANDARD: 'Standard',
    PRODUCT_ADDITIONAL_REQUIREMENTS: 'product_additional_requirements',
    SALE_TYPES: 'sale_types',
    SALE_ORDER_STATUS: 'sale_order_status',
    SALE_DELIVERY_METHOD: 'sale_delivery_method',
    PROMOTION_FREE_ITEM_PROMO_TYPES: 'promotion_free_items_promo_types',
    GENDER: 'gender',
    YEARLY_REPORT_TYPE: 'yearly_report_type',
    MEMBER_STATUS: 'member_status',
    ETHNIC_GROUP: 'ethnic_group',
    MEMBER_DEPENDENT_REQUIRED: 'member_dependent_required',
    MEMBER_TIN_NUMBER_TAIWAN_REQUIRED: 'tin_number_taiwan_required',
    MEMBER_TIN_NUMBER_PHILIPPINES_REQUIRED: 'tin_number_philippines_required',
    MEMBER_TRANSLATED_NAME_REQUIRED: 'translated_name',
    SMART_LIBRARY_EFORM_FILE_TYPE: 'smart_library_eform_upload_file_type',
    MEMBER_SALE_ACTIVITIES_STATUS: 'member_sale_activities_status',
    PRODUCT_AND_KITTING_FILTERS: 'product_and_kitting_filters',
    ADDRESSES_COMPULSORY_INDICES: 'addresses_compulsory_indices',
    SALE_PLATFORM: 'sale_platform',
    IC_PASSPORT_TYPE: 'ic_passport_type',
    SALES_SV_TRANSFER_VIEW_AS: 'sales_sv_transfer_view_as',
  },
  // Static Data
  constLinks: {
    PLACEMENT_NETWORK_LEGEND:
      'https://nibsprod.s3-ap-southeast-1.amazonaws.com/static/images/placement-network-legend.png',
    COMPANY_SITE: (AppSettings.evo.enable && { text: 'www.elken.com', value: 'https://www.elken.com/' }) || {
      text: 'www.elkenglobal.com',
      value: 'https://www.elkenglobal.com/',
    },
  },
  constImage: {
    COMPANY_LOGO:
      (AppSettings.evo.enable && EvoLogo) || 'https://nibsprod.s3.amazonaws.com/logo/logo-ekg-white-transparent.png',
    COMPANY_PRINT_LOGO: 'https://nibsprod.s3.amazonaws.com/logo/logo-ibs-print-header.png',
  },
}
