const constantValues = {
    "PAYMENT_AWAITED_STATUS": 1, //Payment Awaited from merchants
    "PARTIAL_PAYMENT_STATUS": 2, //Partially paid orders, Payment link will be sent to them once the shipment arrives in India
    "PAID_FULL_STATUS": 3, //When the payment received from the merchants
    "SETTLED_STATUS": 4, // Payment received at out bank account 
    "FULLFILLMENT_STATUS": 1,
    "PAYMENT_STATUS": 1,
    "FETCH_PODATA_LIMIT": 10,
    "FETCH_INVOICEDATA_LIMIT": 15,
    "UPDATE_FLAG": 0,
    "MERCHANT_NOT_FOUND": 2,
    "PRODUCT_OR_HSN_NOT_FOUND": 1
}

const mongooseConstantValues = {
    "SUPPLIER_ID_NAME": "sid", //Payment Awaited from merchants
    "IS_VARIANT_UPDATE": "is_vup",
    "ADDRESS_TITLE": "address_title",
    "CONTACT_NUMBER": "contact_number",
    "BUSINESS_TYPE": "business_type",
    "IS_DEFAULT": "is_default",
    "MERCHANT_ID": "mid",
    "SHOPIFY_PRODUCT_ID": "spid",
    "CREATED_ON": "doc",
    "UPDATED_ON": "dom",
    "TITLE": "tit",// discount code title
    "USAGE_COUNT": "ucnt", // discount code usege count
    "DISCOUNT_CODE": "code", // discount code
    "PRICE_RULE_ID": "prId", //discount code price rule id
    "IS_ACTIVE": "is_a", // discount code status 1- active, 0-inactive
    "VALUE_TYPE": "vt", // price rule value type
    "VALUE": "v", // price rule value
    "CUSTOMER_SELECTION": "cs", // price rule customer selection
    "TARGET_TYPE": "trt", // price rule target type
    "TARGET_SELECTION": "trs", // price rule target selection
    "ALLOCATION_LIMIT": "al", // price rule allocation limit
    "ONCE_PER_CUSTOMER": "orc", // price rule once per customer
    "USEGE_LIMIT": "ul", // price rule usege count
    "STARTS_AT": "sat", // price rule starts at
    "ENDS_AT": "eat", // price rule ends at
    "ENTITLED_PRODUCT_IDS": "pIds", // price rule product Ids
    "ENTITLED_VARIANT_IDS": "vIds", // price rule variant Ids
    "ENTITLED_COLLECTION_IDS": "vIds", // price rule collection Ids
    "ENTITLED_COUNTRY_IDS": "vIds", // price rule country Ids
    "PREREQUISITE_PRODUCT_IDS": "ppIds", // price rule country Ids
    "PREREQUISITE_SUBTOTAL_RANGE": "str", // price rule subtotal range
    "PREREQUISITE_QUANTITY_RANGE": "qr", // price rule quantity range
    "PREREQUISITE_SHIPPING_PRICE_RANGE": "spr", // price rule shipping price range
    "WAREHOUSE_NAME": 'wn',
    "WAREHOUSE_ADDRESS": 'wa',
    "WAREHOUSE_CITY": 'wcty',
    "WAREHOUSE_STATE": 'ws',
    "WAREHOUSE_COUNTRY": 'wct',
    "WAREHOUSE_STATUS": 'wst',
    "WAREHOUSE_PRIORITY": 'wpr',
    "WAREHOUSE_MOBILE": 'wm',
    "WAREHOUSE_PHONE": 'wph',
    "WAREHOUSE_CODE": 'wc',
    "WAREHOUSE_PINCODE": 'wp',
    "WAREHOUSE_PINFLAG": 'wpf',
    "IS_AMAZON_PRODUCT_UPLOADED":"ipd",
    "IS_AMAZON_PRODUCT_PRICE_UPDATE":"ippd",
    "IS_AMAZON_PRODUCT_IMAGE_UPDATE":"ipimd",
    "IS_AMAZON_PRODUCT_INVENTORY_UPDATE":"ipind",
    "IS_AMAZON_PRODUCT_RELATIONSHIP_UPDATE":"iprd",
    "SUBSCRIBE_AS_DRAFT":"is_dft",
    "IS_SP_DETAIL_UPDATED_ON_DROPPSHIPPER":"is_ud",
    "NUMBER_OF_ITEMS":"nfi", // products number of items
    "PACKAGE_INCLUDES":"pincl", // package includes
    "IS_BATTARY":"ibat",  // product type is battary
    "IS_LIQUID":"iliu", // product type is liquid
    "YEAR_OF_MANUFACTURE":"yfmf", // product manufacture year
    "PRODUCT_EXPIRY":"pex", // product manufacture year
    "PRODUCT_BULLET_POINTS":"bpt",
    "PRODUCT_BROWSE_NODE":"bno",
}

const stateCodes = {
    "Jammu & Kashmir": "01",
    "Himachal Pradesh": "02",
    "Punjab": "03",
    "Chandigarh": "04",
    "Uttranchal": "05",
    "Haryana": "06",
    "Delhi": "07",
    "Rajasthan": "08",
    "Uttar Pradesh": "09",
    "Bihar": "10",
    "Sikkim": "11",
    "Arunachal Pradesh": "12",
    "Nagaland": "13",
    "Manipur": "14",
    "Mizoram": "15",
    "Tripura": "16",
    "Meghalaya": "17",
    "Assam": "18",
    "West Bengal": "19",
    "Jharkhand": "20",
    "Orissa": "21",
    "Chhattisgarh": "22",
    "Madhya Pradesh": "23",
    "Gujarat": "24",
    "Daman & Diu": "25",
    "Dadra & Nagar Haveli": "26",
    "Maharashtra": "27",
    "Karnataka": "29",
    "Goa": "30",
    "Lakshdweep": "31",
    "Kerala": "32",
    "Tamil Nadu": "33",
    "Pondicherry": "34",
    "Andaman & Nicobar Islands": "35",
    "Telangana": "36",
    "Andhra Pradesh": "37",
    "READY_FOR_MANIFEST": 'rfm'
}

const logisticsConstants = {
    "LOGISTICS_UPLOAD_TYPE": 'lup',
    "LOGISTICS_UPLOAD_STATUS": 'lus',
    "LOGISTICS_UPLOAD_URL": 'url',
    "LOGISTICS_UPLOAD_WARECODE": 'wc',
    "LOGISTICS_UPLOAD_WAREID": 'uwid',
    "LOGISTICS_UPLOAD_USEREMAIL": 'ue',
    "LOGISTICS_PRODUCT_SKU": 'sku',
    "LOGISTICS_PRODUCT_QUANTITY": 'lpq',
    "LOGISTICS_PRODUCT_RESERVER_INVENTORY": 'lpri',
    "LOGISTICS_PRODUCT_WARECODE": 'wc',
    "LOGISTICS_PRODUCT_WAREID": 'pwid',
    "LOGISTICS_PRODUCT_USEREMAIL": 'ue',
    "LOGISTICS_PRODUCT_COMMENTS": 'lpc',
    "LOGISTICS_PRODUCT_TYPE": 'lpt',
    "LOGISTICS_PRODUCT_ORDERID": 'loid',
    "LOGISTICS_PRODUCT_CSVURL": 'url',
    "LOGISTICS_PRODUCT_CSVQUANTITY": 'lcsvq'
}


const channelCodes = ["ds","d2b","b2c","distributor"];
module.exports = { constantValues, mongooseConstantValues, logisticsConstants,channelCodes}