@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.
113 lines • 3.8 kB
TypeScript
export declare enum E_DropdownType {
INVOICE = "invoice",
ACTION = "action"
}
export declare enum E_ActionType {
ORDER_STATUS_UPDATED = "orderStatusUpdated",
PAYMENT_STATUS_UPDATED = "paymentStatusUpdated",
ORDER_CREATED = "orderCreated"
}
export declare enum E_CompanyInterfaceConfigParents {
callCenterConfig = "callCenterConfig",
orderConfig = "orderConfig"
}
export declare enum E_OrderItemsConfig {
IS_SHOWN = "isShown",
HAS_PRODUCT_SKU = "hasProductSku"
}
export declare enum E_CompanyInterfaceConfigChildren {
posConfig = "posConfig",
invoicesConfig = "invoicesConfig",
paymentMethodsConfig = "paymentMethodsConfig",
acknowledgementScreenConfig = "acknowledgementScreenConfig",
trackingPageConfig = "trackingPageConfig",
cancelScreenConfig = "cancelScreenConfig"
}
export declare enum E_CompanyInterfaceConfigSubChildren {
menuUIType = "menuUIType",
prepaidOptions = "prepaidOptions",
templateConfig = "template",
orderItemsConfig = "orderItemsConfig",
reasons = "reasons"
}
export declare enum E_SelectedLogo {
ENABLE = "enableLogo",
Brand = "brandLogo"
}
export declare enum E_BackendNamingToClient {
callCenterConfig = "Call Center",
orderConfig = "Orders",
posConfig = "POS",
invoicesConfig = "Invoices",
paymentMethodsConfig = "Prepaid Payment Methods",
menuUIType = "Product Catalog Experience",
templateConfig = "Template Options",
prepaidOptions = "Prepaid Options",
acknowledgementScreenConfig = "Acknowledgement Screen",
trackingPageConfig = "Delivery Tracking Page",
cancelScreenConfig = "Cancellation Reasons Screen"
}
export declare enum E_InterfacesModules {
ORDERS = "orders",
CALL_CENTER = "call center"
}
export declare enum E_InvoiceTemplate {
A4 = "a4",
THERMAL = "thermal"
}
export declare enum E_A4Configuration {
HAS_PRODUCT_SKU = "Product SKU",
HAS_PRODUCT_IMAGE = "Product Image",
HAS_ORDER_CREATOR = "Order Creator",
HAS_PRODUCT_DESCRIPTION = "Product Description",
HAS_BRAND_NAME = "Brand Name",
HAS_CREATED_AT = "Created At",
HAS_EXTERNAL_ORDER_REFERENCE = "External Order Reference"
}
export declare enum E_BackendA4Configuration {
hasProductSku = "hasProductSku",
hasProductImage = "hasProductImage",
hasOrderCreator = "hasOrderCreator",
hasProductDescription = "hasProductDescription",
hasBrandName = "hasBrandName",// Controls whether brand name appears on invoices
hasCreatedAt = "hasCreatedAt",
hasExternalOrderReference = "hasExternalOrderReference"
}
export declare enum E_BackendThermalConfiguration {
hasBrandName = "hasBrandName",// Controls whether brand name appears on invoices
hasCreatedAt = "hasCreatedAt",
hasExternalOrderReference = "hasExternalOrderReference"
}
export declare enum E_ThermalConfiguration {
HAS_BRAND_NAME = "Brand Name",
HAS_CREATED_AT = "Created At",
HAS_EXTERNAL_ORDER_REFERENCE = "External Order Reference"
}
export declare enum E_OldInvoiceTemplate {
A4 = "0",
THERMAL = "2",
A4_WITH_IMAGES = "3"
}
export declare enum E_InterfacesOrdersPOSMenuUIType {
VISUAL_NAVIGATION = "Visual Navigation",
SEARCH_BASED_NAVIGATION = "Search-based Navigation"
}
export declare enum E_InterfacePrePaidPaymentOptions {
CUSTOMER = "customer",
ENABLE = "enable",
COMPANY = "company",
INSURANCE = "insurance"
}
export declare enum E_InterfacesOrdersPOS {
VISUAL_NAVIGATION = "Visual Navigation",
SEARCH_BASED_NAVIGATION = "Search-based Navigation"
}
export declare enum E_TemplateFilterEntity {
CUSTOMER = "customer",
ORDER = "order",
PAYMENT = "payment",
BRAND = "brand",
BRANCH = "branch",
COMPANY = "company"
}
//# sourceMappingURL=index.d.ts.map