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.

93 lines 4.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.E_WhatsAppButtonType = exports.E_TemplateOrigin = exports.E_TemplateStatus = exports.E_Operator = exports.E_LogicalOperator = exports.E_TemplateFilterObject = exports.E_EbChatTrigger = exports.E_TemplateTo = exports.E_TemplateType = exports.E_TriggerModule = exports.E_TriggerClient = void 0; // ! NOTE: This type replaces the following type: TriggerClient var E_TriggerClient; (function (E_TriggerClient) { E_TriggerClient["ENABLE_MAIN"] = "ENABLE_MAIN"; E_TriggerClient["EBUTLER"] = "EBUTLER"; })(E_TriggerClient || (exports.E_TriggerClient = E_TriggerClient = {})); // ! NOTE: This type replaces the following type: TriggerModule var E_TriggerModule; (function (E_TriggerModule) { E_TriggerModule["ORDER"] = "ORDER"; E_TriggerModule["PAYMENT"] = "PAYMENT"; E_TriggerModule["MENU_ITEM"] = "MENU_ITEM"; E_TriggerModule["MENU"] = "MENU"; E_TriggerModule["CUSTOMER"] = "CUSTOMER"; E_TriggerModule["CALL_CENTER"] = "CALL_CENTER"; E_TriggerModule["AUTH"] = "AUTH"; E_TriggerModule["DUMMY_MODULE"] = "DUMMY_MODULE"; })(E_TriggerModule || (exports.E_TriggerModule = E_TriggerModule = {})); // ! NOTE: This type replaces the following type: TemplateType var E_TemplateType; (function (E_TemplateType) { E_TemplateType["SMS"] = "SMS"; E_TemplateType["EMAIL"] = "EMAIL"; E_TemplateType["PUSH_NOTIFICATION"] = "PUSH_NOTIFICATION"; E_TemplateType["CHAT"] = "CHAT"; E_TemplateType["WEBHOOK"] = "WEBHOOK"; })(E_TemplateType || (exports.E_TemplateType = E_TemplateType = {})); // ! NOTE: This type replaces the following type: TemplateTo var E_TemplateTo; (function (E_TemplateTo) { E_TemplateTo["BRANCH_MANAGER"] = "BRANCH_MANAGER"; E_TemplateTo["CUSTOMER"] = "CUSTOMER"; E_TemplateTo["DISPATCHER"] = "DISPATCHER"; E_TemplateTo["SUPER_ADMIN"] = "SUPER_ADMIN"; E_TemplateTo["ITEM_CREATOR"] = "ITEM_CREATOR"; E_TemplateTo["GIFT_RECIPIENT"] = "GIFT_RECIPIENT"; E_TemplateTo["CUSTOM"] = "CUSTOM"; E_TemplateTo["WEBHOOK"] = "Webhook"; })(E_TemplateTo || (exports.E_TemplateTo = E_TemplateTo = {})); // ! NOTE: This type replaces the following type: EbChatTrigger var E_EbChatTrigger; (function (E_EbChatTrigger) { E_EbChatTrigger["LOCATION_CAPTURE"] = "LOCATION_CAPTURE"; E_EbChatTrigger["GENERATE_GIFTCARD"] = "GENERATE_GIFTCARD"; })(E_EbChatTrigger || (exports.E_EbChatTrigger = E_EbChatTrigger = {})); // ! NOTE: This type replaces the following type: TemplateFilterObject var E_TemplateFilterObject; (function (E_TemplateFilterObject) { E_TemplateFilterObject["CUSTOMER"] = "customer"; })(E_TemplateFilterObject || (exports.E_TemplateFilterObject = E_TemplateFilterObject = {})); // ! NOTE: This type replaces the following types: [LogicalOperator, ELogicalOperator] var E_LogicalOperator; (function (E_LogicalOperator) { E_LogicalOperator["AND"] = "and"; E_LogicalOperator["OR"] = "or"; })(E_LogicalOperator || (exports.E_LogicalOperator = E_LogicalOperator = {})); // ! NOTE: This type replaces the following types: [EOperator, Operator] var E_Operator; (function (E_Operator) { E_Operator["IS"] = "is"; E_Operator["IS_NOT"] = "is_not"; E_Operator["EQUAL"] = "=="; E_Operator["NOT_EQUAL"] = "!="; E_Operator["GREATER_THAN"] = ">"; E_Operator["GREATER_THAN_OR_EQUAL"] = ">="; E_Operator["LESS_THAN"] = "<"; E_Operator["LESS_THAN_OR_EQUAL"] = "<="; // IN = 'in', // 'IN NOT' = 'in_not', })(E_Operator || (exports.E_Operator = E_Operator = {})); // ! NOTE: This type replaces the following type: TemplateStatus var E_TemplateStatus; (function (E_TemplateStatus) { E_TemplateStatus["APPROVED"] = "approved"; E_TemplateStatus["PENDING"] = "pending"; E_TemplateStatus["REJECTED"] = "rejected"; })(E_TemplateStatus || (exports.E_TemplateStatus = E_TemplateStatus = {})); // ! NOTE: This type replaces the following type: TemplateOrigin var E_TemplateOrigin; (function (E_TemplateOrigin) { E_TemplateOrigin["ENABLE"] = "enable"; E_TemplateOrigin["WHATSAPP"] = "whatsapp"; })(E_TemplateOrigin || (exports.E_TemplateOrigin = E_TemplateOrigin = {})); // ! NOTE: This type replaces the following type: EWhatsAppButtonType var E_WhatsAppButtonType; (function (E_WhatsAppButtonType) { E_WhatsAppButtonType["URL"] = "URL"; E_WhatsAppButtonType["QUICK_REPLY"] = "QUICK_REPLY"; })(E_WhatsAppButtonType || (exports.E_WhatsAppButtonType = E_WhatsAppButtonType = {})); //# sourceMappingURL=index.js.map