@comparaonline/event-tracker
Version:
This library it's an interface between any frontend application and some event tracking platforms, currently Snowplow and Tag Manager.
29 lines (28 loc) • 997 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SHORT_BUSINESS_UNIT = exports.BUSINESS_UNIT = void 0;
const BUSINESS_UNIT = exports.BUSINESS_UNIT = {
TRAVEL_ASSISTANCE: 'travel-assistance',
CAR_INSURANCE: 'car-insurance',
MANDATORY_CAR_INSURANCE: 'mandatory-car-insurance',
RCI_INSURANCE: 'rci-insurance',
LIFE_INSURANCE: 'life-insurance',
HEALTH_INSURANCE: 'health-insurance',
MANDATORY_COVID_19_INSURANCE: 'mandatory-covid-19-insurance',
MORTGAGE_CREDIT: 'mortgage-credit',
CAR_CREDIT: 'car-credit',
CONSUMER_CREDIT: 'consumer-credit',
CREDIT_CARD: 'credit-card',
CHECKING_ACCOUNT: 'checking-account',
PERSONAL_CREDIT: 'personal-credit',
SAVINGS_ACCOUNT: 'savings-account',
CROSS: 'cross'
};
const SHORT_BUSINESS_UNIT = exports.SHORT_BUSINESS_UNIT = {
[BUSINESS_UNIT.TRAVEL_ASSISTANCE]: 'TA',
[BUSINESS_UNIT.CAR_INSURANCE]: 'CI',
[BUSINESS_UNIT.MANDATORY_CAR_INSURANCE]: 'MCI',
[BUSINESS_UNIT.LIFE_INSURANCE]: 'LI'
};