UNPKG

@enable-tech/shared-types

Version:

This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.

31 lines 1.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.E_CustomerBenefitSource = exports.E_BenefitAppliedTo = exports.E_MaximumUsageType = exports.E_BenefitType = void 0; // ! NOTE: This type replaces the following type: BenefitType var E_BenefitType; (function (E_BenefitType) { E_BenefitType["PERCENTAGE_DISCOUNT"] = "percentage_discount"; E_BenefitType["FIXED_DISCOUNT"] = "fixed_discount"; })(E_BenefitType || (exports.E_BenefitType = E_BenefitType = {})); // ! NOTE: This type replaces the following type: MaximumUsageType var E_MaximumUsageType; (function (E_MaximumUsageType) { E_MaximumUsageType["UNLIMITED"] = "unlimited"; E_MaximumUsageType["LIMITED"] = "limited"; })(E_MaximumUsageType || (exports.E_MaximumUsageType = E_MaximumUsageType = {})); // ! NOTE: This type replaces the following type: BenefitAppliedTo var E_BenefitAppliedTo; (function (E_BenefitAppliedTo) { E_BenefitAppliedTo["MENU_ITEM"] = "menu_item"; E_BenefitAppliedTo["ORDER_DELIVERY_AMOUNT"] = "order_delivery_amount"; E_BenefitAppliedTo["ORDER_TOTAL_AMOUNT"] = "order_total_amount"; E_BenefitAppliedTo["ORDER_INVOICED_AMOUNT"] = "order_invoiced_amount"; })(E_BenefitAppliedTo || (exports.E_BenefitAppliedTo = E_BenefitAppliedTo = {})); // ! NOTE: This type replaces the following type: CustomerBenefitSource var E_CustomerBenefitSource; (function (E_CustomerBenefitSource) { E_CustomerBenefitSource["TIER_PROGRAM"] = "tier_program"; E_CustomerBenefitSource["COUPON_PROGRAM"] = "coupon_program"; E_CustomerBenefitSource["PUNCH_CARD_PROGRAM"] = "punch_card_program"; })(E_CustomerBenefitSource || (exports.E_CustomerBenefitSource = E_CustomerBenefitSource = {})); //# sourceMappingURL=index.js.map