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.

140 lines 9.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.E_TemplateFilterEntity = exports.E_InterfacesOrdersPOS = exports.E_InterfacePrePaidPaymentOptions = exports.E_InterfacesOrdersPOSMenuUIType = exports.E_OldInvoiceTemplate = exports.E_ThermalConfiguration = exports.E_BackendThermalConfiguration = exports.E_BackendA4Configuration = exports.E_A4Configuration = exports.E_InvoiceTemplate = exports.E_InterfacesModules = exports.E_BackendNamingToClient = exports.E_SelectedLogo = exports.E_CompanyInterfaceConfigSubChildren = exports.E_CompanyInterfaceConfigChildren = exports.E_OrderItemsConfig = exports.E_CompanyInterfaceConfigParents = exports.E_ActionType = exports.E_DropdownType = void 0; // ! NOTE: This type replaces the following type: EDropdownType var E_DropdownType; (function (E_DropdownType) { E_DropdownType["INVOICE"] = "invoice"; E_DropdownType["ACTION"] = "action"; })(E_DropdownType || (exports.E_DropdownType = E_DropdownType = {})); // ! NOTE: This type replaces the following type: EActionType var E_ActionType; (function (E_ActionType) { E_ActionType["ORDER_STATUS_UPDATED"] = "orderStatusUpdated"; E_ActionType["PAYMENT_STATUS_UPDATED"] = "paymentStatusUpdated"; E_ActionType["ORDER_CREATED"] = "orderCreated"; })(E_ActionType || (exports.E_ActionType = E_ActionType = {})); var E_CompanyInterfaceConfigParents; (function (E_CompanyInterfaceConfigParents) { E_CompanyInterfaceConfigParents["callCenterConfig"] = "callCenterConfig"; E_CompanyInterfaceConfigParents["orderConfig"] = "orderConfig"; })(E_CompanyInterfaceConfigParents || (exports.E_CompanyInterfaceConfigParents = E_CompanyInterfaceConfigParents = {})); var E_OrderItemsConfig; (function (E_OrderItemsConfig) { E_OrderItemsConfig["IS_SHOWN"] = "isShown"; E_OrderItemsConfig["HAS_PRODUCT_SKU"] = "hasProductSku"; })(E_OrderItemsConfig || (exports.E_OrderItemsConfig = E_OrderItemsConfig = {})); var E_CompanyInterfaceConfigChildren; (function (E_CompanyInterfaceConfigChildren) { E_CompanyInterfaceConfigChildren["posConfig"] = "posConfig"; E_CompanyInterfaceConfigChildren["invoicesConfig"] = "invoicesConfig"; E_CompanyInterfaceConfigChildren["paymentMethodsConfig"] = "paymentMethodsConfig"; E_CompanyInterfaceConfigChildren["acknowledgementScreenConfig"] = "acknowledgementScreenConfig"; E_CompanyInterfaceConfigChildren["trackingPageConfig"] = "trackingPageConfig"; E_CompanyInterfaceConfigChildren["cancelScreenConfig"] = "cancelScreenConfig"; })(E_CompanyInterfaceConfigChildren || (exports.E_CompanyInterfaceConfigChildren = E_CompanyInterfaceConfigChildren = {})); var E_CompanyInterfaceConfigSubChildren; (function (E_CompanyInterfaceConfigSubChildren) { E_CompanyInterfaceConfigSubChildren["menuUIType"] = "menuUIType"; E_CompanyInterfaceConfigSubChildren["prepaidOptions"] = "prepaidOptions"; E_CompanyInterfaceConfigSubChildren["templateConfig"] = "template"; E_CompanyInterfaceConfigSubChildren["orderItemsConfig"] = "orderItemsConfig"; E_CompanyInterfaceConfigSubChildren["reasons"] = "reasons"; })(E_CompanyInterfaceConfigSubChildren || (exports.E_CompanyInterfaceConfigSubChildren = E_CompanyInterfaceConfigSubChildren = {})); var E_SelectedLogo; (function (E_SelectedLogo) { E_SelectedLogo["ENABLE"] = "enableLogo"; E_SelectedLogo["Brand"] = "brandLogo"; })(E_SelectedLogo || (exports.E_SelectedLogo = E_SelectedLogo = {})); var E_BackendNamingToClient; (function (E_BackendNamingToClient) { E_BackendNamingToClient["callCenterConfig"] = "Call Center"; E_BackendNamingToClient["orderConfig"] = "Orders"; E_BackendNamingToClient["posConfig"] = "POS"; E_BackendNamingToClient["invoicesConfig"] = "Invoices"; E_BackendNamingToClient["paymentMethodsConfig"] = "Prepaid Payment Methods"; E_BackendNamingToClient["menuUIType"] = "Product Catalog Experience"; E_BackendNamingToClient["templateConfig"] = "Template Options"; E_BackendNamingToClient["prepaidOptions"] = "Prepaid Options"; E_BackendNamingToClient["acknowledgementScreenConfig"] = "Acknowledgement Screen"; E_BackendNamingToClient["trackingPageConfig"] = "Delivery Tracking Page"; E_BackendNamingToClient["cancelScreenConfig"] = "Cancellation Reasons Screen"; })(E_BackendNamingToClient || (exports.E_BackendNamingToClient = E_BackendNamingToClient = {})); var E_InterfacesModules; (function (E_InterfacesModules) { E_InterfacesModules["ORDERS"] = "orders"; E_InterfacesModules["CALL_CENTER"] = "call center"; })(E_InterfacesModules || (exports.E_InterfacesModules = E_InterfacesModules = {})); var E_InvoiceTemplate; (function (E_InvoiceTemplate) { E_InvoiceTemplate["A4"] = "a4"; E_InvoiceTemplate["THERMAL"] = "thermal"; })(E_InvoiceTemplate || (exports.E_InvoiceTemplate = E_InvoiceTemplate = {})); var E_A4Configuration; (function (E_A4Configuration) { E_A4Configuration["HAS_PRODUCT_SKU"] = "Product SKU"; E_A4Configuration["HAS_PRODUCT_IMAGE"] = "Product Image"; E_A4Configuration["HAS_ORDER_CREATOR"] = "Order Creator"; E_A4Configuration["HAS_PRODUCT_DESCRIPTION"] = "Product Description"; E_A4Configuration["HAS_BRAND_NAME"] = "Brand Name"; E_A4Configuration["HAS_CREATED_AT"] = "Created At"; E_A4Configuration["HAS_EXTERNAL_ORDER_REFERENCE"] = "External Order Reference"; })(E_A4Configuration || (exports.E_A4Configuration = E_A4Configuration = {})); var E_BackendA4Configuration; (function (E_BackendA4Configuration) { E_BackendA4Configuration["hasProductSku"] = "hasProductSku"; E_BackendA4Configuration["hasProductImage"] = "hasProductImage"; E_BackendA4Configuration["hasOrderCreator"] = "hasOrderCreator"; E_BackendA4Configuration["hasProductDescription"] = "hasProductDescription"; E_BackendA4Configuration["hasBrandName"] = "hasBrandName"; E_BackendA4Configuration["hasCreatedAt"] = "hasCreatedAt"; E_BackendA4Configuration["hasExternalOrderReference"] = "hasExternalOrderReference"; })(E_BackendA4Configuration || (exports.E_BackendA4Configuration = E_BackendA4Configuration = {})); var E_BackendThermalConfiguration; (function (E_BackendThermalConfiguration) { E_BackendThermalConfiguration["hasBrandName"] = "hasBrandName"; E_BackendThermalConfiguration["hasCreatedAt"] = "hasCreatedAt"; E_BackendThermalConfiguration["hasExternalOrderReference"] = "hasExternalOrderReference"; })(E_BackendThermalConfiguration || (exports.E_BackendThermalConfiguration = E_BackendThermalConfiguration = {})); var E_ThermalConfiguration; (function (E_ThermalConfiguration) { E_ThermalConfiguration["HAS_BRAND_NAME"] = "Brand Name"; E_ThermalConfiguration["HAS_CREATED_AT"] = "Created At"; E_ThermalConfiguration["HAS_EXTERNAL_ORDER_REFERENCE"] = "External Order Reference"; })(E_ThermalConfiguration || (exports.E_ThermalConfiguration = E_ThermalConfiguration = {})); // ! NOTE: This type replaces the following type: EInvoiceTemplate // * THIS SHOULD BE REMOVED IF NO LONGER USER IN THE APPS (we can't remove this for now, old orders still follow it) var E_OldInvoiceTemplate; (function (E_OldInvoiceTemplate) { E_OldInvoiceTemplate["A4"] = "0"; E_OldInvoiceTemplate["THERMAL"] = "2"; E_OldInvoiceTemplate["A4_WITH_IMAGES"] = "3"; })(E_OldInvoiceTemplate || (exports.E_OldInvoiceTemplate = E_OldInvoiceTemplate = {})); var E_InterfacesOrdersPOSMenuUIType; (function (E_InterfacesOrdersPOSMenuUIType) { E_InterfacesOrdersPOSMenuUIType["VISUAL_NAVIGATION"] = "Visual Navigation"; E_InterfacesOrdersPOSMenuUIType["SEARCH_BASED_NAVIGATION"] = "Search-based Navigation"; })(E_InterfacesOrdersPOSMenuUIType || (exports.E_InterfacesOrdersPOSMenuUIType = E_InterfacesOrdersPOSMenuUIType = {})); var E_InterfacePrePaidPaymentOptions; (function (E_InterfacePrePaidPaymentOptions) { E_InterfacePrePaidPaymentOptions["CUSTOMER"] = "customer"; E_InterfacePrePaidPaymentOptions["ENABLE"] = "enable"; E_InterfacePrePaidPaymentOptions["COMPANY"] = "company"; E_InterfacePrePaidPaymentOptions["INSURANCE"] = "insurance"; })(E_InterfacePrePaidPaymentOptions || (exports.E_InterfacePrePaidPaymentOptions = E_InterfacePrePaidPaymentOptions = {})); var E_InterfacesOrdersPOS; (function (E_InterfacesOrdersPOS) { E_InterfacesOrdersPOS["VISUAL_NAVIGATION"] = "Visual Navigation"; E_InterfacesOrdersPOS["SEARCH_BASED_NAVIGATION"] = "Search-based Navigation"; })(E_InterfacesOrdersPOS || (exports.E_InterfacesOrdersPOS = E_InterfacesOrdersPOS = {})); // ! NOTE: This type replaces the following type: ETemplateFilterEntity var E_TemplateFilterEntity; (function (E_TemplateFilterEntity) { E_TemplateFilterEntity["CUSTOMER"] = "customer"; E_TemplateFilterEntity["ORDER"] = "order"; E_TemplateFilterEntity["PAYMENT"] = "payment"; E_TemplateFilterEntity["BRAND"] = "brand"; E_TemplateFilterEntity["BRANCH"] = "branch"; E_TemplateFilterEntity["COMPANY"] = "company"; })(E_TemplateFilterEntity || (exports.E_TemplateFilterEntity = E_TemplateFilterEntity = {})); //# sourceMappingURL=index.js.map