/** *********************************************************************** * * AUTO GENERATED File do not touch. Edit the template and rerun cg.js * * *********************************************************************** */ /** * FireBase User Origin trial/lic/admin * */ export declare const enum UserOrigin { trialDBUsers = 0, licDBUsers = 1, adminUsers = 9 } /** * FireBase User Origin trial/lic/admin * */ export declare const UserOriginList: { key: string; value: string | number; }[]; /** * Restomax Pgm Version * */ export declare const enum RestoVersion { restoWV8 = 8, restoV5 = 5, restoV3 = 3 } /** * Restomax Pgm Version * */ export declare const RestoVersionList: { key: string; value: string | number; }[]; /** * Restomax VAT Mode. How price as store in Articles ? TTC or HT * */ export declare const enum VATMode { modettc = 0, modeht = 1 } /** * Restomax VAT Mode. How price as store in Articles ? TTC or HT * */ export declare const VATModeList: { key: string; value: string | number; }[]; /** * Restomax VAT Rate Levels. * */ export declare const enum VATLevel { vatNone = 1, vatLow = 2, vatMiddle = 3, vatHigh = 4 } /** * Restomax VAT Rate Levels. * */ export declare const VATLevelList: { key: string; value: string | number; }[]; /** * Restomax VAT Type In/Out. * */ export declare const enum VATType { vatIn = 1, vatOut = 2 } /** * Restomax VAT Type In/Out. * */ export declare const VATTypeList: { key: string; value: string | number; }[]; /** * Restomax Staff Level * */ export declare const enum StaffLevel { OnlyClock = 0, Commis = 1, Staff = 2, Manager = 3, Boss = 4 } /** * Restomax Staff Level * */ export declare const StaffLevelList: { key: string; value: string | number; }[]; /** * Carte Btn Obj Type * What contain a Carte Btn ? * */ export declare const enum CarteBtnObj { article = 0, modifierTmpl = 1, modepay = 2, category = 3, groupe = 4, page = 5 } /** * Carte Btn Obj Type * What contain a Carte Btn ? * */ export declare const CarteBtnObjList: { key: string; value: string | number; }[]; /** * Restomax ModePay Type * */ export declare const enum ModePayType { Specie = 0, DebitCard = 4 } /** * Restomax ModePay Type * */ export declare const ModePayTypeList: { key: string; value: string | number; }[]; /** * Restomax Article Type * */ export declare const enum ArticleType { SimpleArticle = 1, Ingredient = 50, Carton = 51 } /** * Restomax Article Type * */ export declare const ArticleTypeList: { key: string; value: string | number; }[]; /** * Restomax Article Class * */ export declare const enum ArticleClass { food = 1, alcohol = 2, nonfood = 3, deluxe = 200 } /** * Restomax Article Class * */ export declare const ArticleClassList: { key: string; value: string | number; }[]; /** * Restomax Article Flag * */ export declare const enum ArticleFlag { OnlyManager = 0, NonFood = 1, AnyModifiers = 2 } /** * Restomax Article Flag * */ export declare const ArticleFlagList: { key: string; value: string | number; }[]; /** * Address Label * */ export declare const enum AddressLabel { Office = "Office", Home = "Home" } /** * Address Label * */ export declare const AddressLabelList: { key: string; value: string | number; }[]; /** * List of 14 Allergens * Food ingredients that must be declared as allergens in the EU * */ export declare const enum Allergen { Gluten = 1, Crustaceans = 2, Eggs = 3, Fish = 4, Peanuts = 5, Soybeans = 6, Milk = 7, Nuts = 8, Celery = 9, Mustard = 10, SesameSeeds = 11, SulphurAndSulphites = 12, Lupin = 13, Molluscs = 14 } /** * List of 14 Allergens * Food ingredients that must be declared as allergens in the EU * */ export declare const AllergenList: { key: string; value: string | number; }[]; /** * Carte button ObjOrigin to point a type of (Page, Group, Category, etc) * */ export declare const enum CarteObjOrigin { Page = 0, Category = 1, Group = 2, Article = 3, ModePay = 4 } /** * Carte button ObjOrigin to point a type of (Page, Group, Category, etc) * */ export declare const CarteObjOriginList: { key: string; value: string | number; }[]; /** * Carte button zone position (Tabs, Carte, Tools, etc) * */ export declare const enum CarteBtnZone { Tabs = 0, Carte = 1, Tools = 2 } /** * Carte button zone position (Tabs, Carte, Tools, etc) * */ export declare const CarteBtnZoneList: { key: string; value: string | number; }[]; /** * Phone Number Label * */ export declare const enum PhoneNumberLabel { Office = "Office", Home = "Home" } /** * Phone Number Label * */ export declare const PhoneNumberLabelList: { key: string; value: string | number; }[]; /** * Restomax Standard Image Size * */ export declare const enum ImageSize { thumbnail = 0, small = 1, medium = 2, large = 3 } /** * Restomax Standard Image Size * */ export declare const ImageSizeList: { key: string; value: string | number; }[]; /** * Web Order Type pickup/delivery/... * be compatible with deliverect * */ export declare const enum WebOrderType { pickup = 1, delivery = 2, inPlace = 3 } /** * Web Order Type pickup/delivery/... * be compatible with deliverect * */ export declare const WebOrderTypeList: { key: string; value: string | number; }[]; /** * Web Order Status * be compatible with deliverect * */ export declare const enum WebOrderStatus { new = 10, parsed = 11, accepted = 20, printed = 40, preparing = 50, prepared = 60, ready_for_pickup = 70, in_delivery = 80, delivered = 81, done = 100, cancelled = 110, parse_error = 910 } /** * Web Order Status * be compatible with deliverect * */ export declare const WebOrderStatusList: { key: string; value: string | number; }[]; /** * Client Status (received from CMAX COBOL) * */ export declare const enum ClientStatus { N = "N", Y = "Y", M = "M", A = "A", D = "D", F = "F" } /** * Client Status (received from CMAX COBOL) * */ export declare const ClientStatusList: { key: string; value: string | number; }[]; /** * Client Forfait (received from CMAX COBOL) * */ export declare const enum ClientForfait { Bronze = 1, Silver = 2, Gold = 3, GoldPlus = 8, FullUse = 11, RentalUse = 12, Bronze13 = 13, Silver14 = 14, Gold15 = 15, Gold16 = 16, GoldPlus17 = 17, Platinium5 = 18, Platinium7 = 19, Silver24 = 24, GolfPlus = 27, HascoLight = 51, HascoBasic = 54, HascoPro = 55, HascoOmnium = 58 } /** * Client Forfait (received from CMAX COBOL) * */ export declare const ClientForfaitList: { key: string; value: string | number; }[]; /** * Global Object Type Identifier * Etab = 0xx * Thinks = 1xx * Carte = 2xx * PlanSalle = 3xx * Printor = 4xx * Others = auto +1000 * */ export declare const enum ObjClass { /** * Etab aka Restaurant * - Store Restomax Registration Info * - guid is used as entry in Map * - Firestore.docId === etab.guid * - Lic Etab have cmaxnum set by the COBOL accounting pgm * Trial Etab does not have a cmaxnum * * objClass: 1 * firestore.path: $db/etabs/etabs/$guid */ Etab = 1, /** * Contain Stations * - Singleton Doc, Firestore.docId === 'stations' * * objClass: 110 * firestore.path: $etab/data/stations */ Stations = 110, /** * Station aka Tablet,Mobile,DesktopMachine * */ Station = 111, /** * Contains Stafs * - Singleton Doc, Firestore.docId === 'staffs' * * objClass: 120 * firestore.path: $etab/data/staffs */ Staffs = 120, /** * Staff aka Garçon,Waiter * */ Staff = 121, /** * Etab Members * * objClass: 200 * firestore.path: $etab/members/$numcarte */ Member = 200, /** * La Carte Pointage contain Articles,Categories, .... * - Singleton Doc, Firestore.docId === 'carte' * * objClass: 205 * firestore.path: $etab/data/carte */ Carte = 205, /** * Articles Categorie * Stored Inside La Carte * Categorie are auto linked. ex 111 belong to 11, belong to 1 * One Article can belong to zero or Only One Categorie, but belong also to Categorie.Parent * */ Category = 210, /** * Articles Group definition * One Article can belong to zero,one or many Groupes * Stored Inside La Carte * */ Group = 220, /** * Articles * Stored Inside La Carte * */ Article = 250, /** * Articles Modifier * ex: Article "Pizza" + Modifier(Level1) "Small" + Modifier(Level2) "Avec Salade" + .... * */ Modifier = 251, /** * Articles Modifiers Template * Stored Inside La Carte * */ ModifiersTmpl = 252, /** * Payment method definition * The way that a buyer chooses to compensate the seller of a good or service * Stored Inside La Carte * */ ModePay = 260, /** * La Carte Page * Stored Inside La Carte * */ CartePage = 270, /** * La Carte Btn * Stored Inside La Carte * Can contain a PLU|Categ|... * */ CarteBtn = 271, /** * Tariffs * Stored Inside La Carte * Each article have a default price and can have a price by tariff * */ Tariff = 280, /** * Le PlanSalle contain Salles,Tbls, .... * - Singleton Doc, Firestore.docId === 'plansalle' * * objClass: 300 * firestore.path: $etab/data/plansalle */ PlanSalle = 300, /** * Salle containing tables * Stored Inside Le PlanSalle * TODO Add salleBtns * */ Salle = 310, /** * Table can belong to zero,one or many salle(s). * Stored Inside Le PlanSalle * TODO Add salleBtns * */ Tbl = 311, /** * La Salle Btn * Stored Inside La Salle * Can contain a Tbl|Door|... * */ SalleBtn = 320, /** * Le Printor contain Routes,Printers, .... * - Singleton Doc, Firestore.docId === 'printor' * * objClass: 400 * firestore.path: $etab/data/printor */ Printor = 400, /** * Route defining where to print. * Route will go to printer device(s) according to Tbl,Station,Redirection,... * Stored Inside The Printor * */ Route = 410, /** * Define available print device * Stored Inside The Printor * */ Printer = 420, /** * PaperBook define how to generate Printed PaperMenu (pdf) and/or Web Menu * Kind of WordPress site generator * ngFor page in pages * ngFor item in page.item * * - Singleton Doc, Firestore.docId === 'paperbook' * * objClass: 500 * firestore.path: $etab/data/paperbook */ PaperBook = 500, /** * PaperBook Page * Can contain Articles Selection : Categ.Articles where paperbookOrder order by paperbookOrder,PLU * If empty (no articles) : just display paperbookMemo * Stored Inside PaperBook Doc * */ PaperBookPage = 570, Address = 1001, Phone = 1002, /** * Btn Properties * will be applied to btn css ... * TODO may be use css name .... * */ BtnProps = 1003, /** * Order Totals sum(details), sum(payments), ... * */ OrderTotals = 1004, /** * Order Member Info * */ OrderMemberInfo = 1005, /** * Order Delivery Info * */ OrderDeliveryInfo = 1006, /** * Order Channel Info * */ OrderChannelInfo = 1007, /** * Client API's Keys (Stripe, Paypal, etc.) * */ ApiKeys = 1008, /** * Firebase User 1--1 linked to Firestore User via UID * */ FirebaseUser = 1009, /** * Module Dico used for Deliverect,IZIII,... * */ Module = 1010, /** * Config Dico used by user,etab,staff,.... * */ Config = 1011, /** * Pointage Basket (command ) payments details * */ WebOrderPay = 1029, /** * Pointage Basket (command ) detail * TODO Add custom message, nom saissi, ... * */ WebOrderDetail = 1030, /** * Pointage Basket (command ) detail modifier * */ WebOrderDetailModifier = 1031, /** * Keep Weborder Status change history * */ WebOrderHistory = 1032, /** * Web Order Channel Definition * */ WebOrderChannel = 1033, /** * Restomax User 1--1 linked to Firebase Auth User via UID * - Restomax User (trial/lic/admin) * - Firestore docId === user.uid !!!! * * objClass: 2034 * firestore.path: $db/users/users/$uid */ User = 2034, /** * Restomax Client 1--1 linked to Etab via cmaxnum * - It is a copy of the COBOL CMAX accounting Client ! * - Should be used only by admin console ! * - Firestore docId === client.cmaxnum * * objClass: 2035 * firestore.path: clients/$cmaxnum */ Client = 2035, /** * Modules params [Deliverect,IZII,...] * - Singleton Doc, Firestore.docId === 'modules' * * objClass: 2037 * firestore.path: $etab/data/modules */ Modules = 2037, /** * Web Order Channels [Deliverect,IZII,...] * - Singleton Doc, Firestore.docId === 'channels' * * objClass: 2045 * firestore.path: $etab/data/channels */ Channels = 2045, /** * Pointage Basket (command) to be validated by a waiter ! * aka Pointage Indirect, like webOrder by deliverect ! * Should match OLD setPointage * see https://gitlab.com/restomax-public/restomax-metadata/-/blob/master/src/IR5PointageReq.ts * see https://gitlab.com/restomax-public/restomax-metadata/-/blob/master/src/IR5PointageConso.ts * * Process ex: * NgAppPaperMenu > post/addOrder > restoV5.NgAppWebOrder > post/setPointage * * objClass: 2046 * firestore.path: $etab/weborders/$weborder */ WebOrder = 2046, /** * Public info of Establishment * */ EtabInfo = 46, /** * Establishment Reference(key). A User has a list of EtabRef that it can access. * */ EtabRef = 47, /** * RestoV5 IIDs aka access token to Restomax (->WebBroker->XMPP->rpnSvc->Data.fb2) * IIDs are defined in TimeSheet ( TimeSheet is the MASTER ) * IIDs are created/updated/deleted by tsh2fs scripts * IIDs are used by the old RestomaxViewer * */ IidRef = 48, /** * PaperBook formatted data for send by cloud function with a getPaperBook * */ PaperBookFormatted = 49, /** * PaperBook formatted Page (all data included already sorted) * For send with a cloud function getPaperbook() * */ PaperBookPageFormatted = 50, /** * Pointage Basket (command) * three way to add into POS * 1- scan with RestoV5 PocketMax * 2- add to RestoWV8 WebOrders collection * 3- direct into RestoV5 via setPointage * */ QrBasket = 51 } /** * Global Object Type Identifier * Etab = 0xx * Thinks = 1xx * Carte = 2xx * PlanSalle = 3xx * Printor = 4xx * Others = auto +1000 * */ export declare const ObjClassList: { key: string; value: string | number; }[];