@restaround/react 1.4.13 → 1.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/components/PublicMenu/Header/BranchBusinessHours/BranchBusinessHours.d.ts +7 -0
  2. package/dist/components/PublicMenu/Header/BranchBusinessHours/HoursList/HoursList.d.ts +7 -0
  3. package/dist/components/PublicMenu/Header/BranchBusinessHours/HoursList/index.d.ts +1 -0
  4. package/dist/components/PublicMenu/Header/BranchBusinessHours/index.d.ts +1 -0
  5. package/dist/components/PublicMenu/Modals/BranchBusinessHours/BranchBusinessHours.d.ts +3 -0
  6. package/dist/components/PublicMenu/Modals/BranchBusinessHours/index.d.ts +1 -0
  7. package/dist/constants/index.esm.js +1 -1
  8. package/dist/constants/index.esm.js.map +1 -1
  9. package/dist/constants/index.js +1 -1
  10. package/dist/constants/index.js.map +1 -1
  11. package/dist/constants/modules/view/constants.d.ts +1 -0
  12. package/dist/index.esm.js +1 -1
  13. package/dist/index.esm.js.map +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/index.js.map +1 -1
  16. package/dist/models/index.esm.js +1 -1
  17. package/dist/models/index.esm.js.map +1 -1
  18. package/dist/models/index.js +1 -1
  19. package/dist/models/index.js.map +1 -1
  20. package/dist/models/modules/branch/hooks.d.ts +2 -0
  21. package/dist/models/modules/branch/models.d.ts +24 -0
  22. package/dist/models/modules/branch/utils.d.ts +9 -0
  23. package/dist/models/modules/order/hooks.d.ts +0 -1
  24. package/dist/models/modules/order/utils.d.ts +1 -1
  25. package/dist/models/modules/view/constants.d.ts +1 -0
  26. package/dist/models/services/translation/locales/az/branch.d.ts +13 -0
  27. package/dist/models/services/translation/locales/az/index.d.ts +13 -0
  28. package/dist/models/services/translation/locales/az/order.d.ts +1 -0
  29. package/dist/models/services/translation/locales/en/branch.d.ts +10 -0
  30. package/dist/models/services/translation/locales/en/index.d.ts +9 -0
  31. package/dist/models/services/translation/locales/et/branch.d.ts +13 -0
  32. package/dist/models/services/translation/locales/et/index.d.ts +13 -0
  33. package/dist/models/services/translation/locales/et/order.d.ts +1 -0
  34. package/dist/models/services/translation/locales/index.d.ts +74 -0
  35. package/dist/models/services/translation/locales/nl/branch.d.ts +13 -0
  36. package/dist/models/services/translation/locales/nl/index.d.ts +13 -0
  37. package/dist/models/services/translation/locales/nl/order.d.ts +1 -0
  38. package/dist/models/services/translation/locales/ru/branch.d.ts +13 -0
  39. package/dist/models/services/translation/locales/ru/index.d.ts +13 -0
  40. package/dist/models/services/translation/locales/ru/order.d.ts +1 -0
  41. package/dist/models/services/translation/locales/tr/branch.d.ts +13 -0
  42. package/dist/models/services/translation/locales/tr/index.d.ts +13 -0
  43. package/dist/models/services/translation/locales/tr/order.d.ts +1 -0
  44. package/dist/modules/branch/hooks.d.ts +2 -0
  45. package/dist/modules/branch/models.d.ts +24 -0
  46. package/dist/modules/branch/utils.d.ts +7 -1
  47. package/dist/modules/order/hooks.d.ts +0 -1
  48. package/dist/modules/order/utils.d.ts +1 -1
  49. package/dist/modules/order/utils.test.d.ts +1 -0
  50. package/dist/modules/view/constants.d.ts +1 -0
  51. package/dist/services/translation/locales/az/branch.d.ts +13 -0
  52. package/dist/services/translation/locales/az/index.d.ts +13 -0
  53. package/dist/services/translation/locales/az/order.d.ts +1 -0
  54. package/dist/services/translation/locales/en/branch.d.ts +10 -0
  55. package/dist/services/translation/locales/en/index.d.ts +9 -0
  56. package/dist/services/translation/locales/et/branch.d.ts +13 -0
  57. package/dist/services/translation/locales/et/index.d.ts +13 -0
  58. package/dist/services/translation/locales/et/order.d.ts +1 -0
  59. package/dist/services/translation/locales/index.d.ts +74 -0
  60. package/dist/services/translation/locales/nl/branch.d.ts +13 -0
  61. package/dist/services/translation/locales/nl/index.d.ts +13 -0
  62. package/dist/services/translation/locales/nl/order.d.ts +1 -0
  63. package/dist/services/translation/locales/ru/branch.d.ts +13 -0
  64. package/dist/services/translation/locales/ru/index.d.ts +13 -0
  65. package/dist/services/translation/locales/ru/order.d.ts +1 -0
  66. package/dist/services/translation/locales/tr/branch.d.ts +13 -0
  67. package/dist/services/translation/locales/tr/index.d.ts +13 -0
  68. package/dist/services/translation/locales/tr/order.d.ts +1 -0
  69. package/dist/styles/ui.css +1 -1
  70. package/dist/styles/ui.css.map +1 -1
  71. package/dist/utils/index.esm.js +1 -1
  72. package/dist/utils/index.esm.js.map +1 -1
  73. package/dist/utils/index.js +1 -1
  74. package/dist/utils/index.js.map +1 -1
  75. package/dist/utils/modules/branch/hooks.d.ts +2 -0
  76. package/dist/utils/modules/branch/models.d.ts +24 -0
  77. package/dist/utils/modules/branch/utils.d.ts +9 -0
  78. package/dist/utils/modules/order/hooks.d.ts +0 -1
  79. package/dist/utils/modules/order/utils.d.ts +1 -1
  80. package/dist/utils/modules/view/constants.d.ts +1 -0
  81. package/dist/utils/services/translation/locales/az/branch.d.ts +13 -0
  82. package/dist/utils/services/translation/locales/az/index.d.ts +13 -0
  83. package/dist/utils/services/translation/locales/az/order.d.ts +1 -0
  84. package/dist/utils/services/translation/locales/en/branch.d.ts +10 -0
  85. package/dist/utils/services/translation/locales/en/index.d.ts +9 -0
  86. package/dist/utils/services/translation/locales/et/branch.d.ts +13 -0
  87. package/dist/utils/services/translation/locales/et/index.d.ts +13 -0
  88. package/dist/utils/services/translation/locales/et/order.d.ts +1 -0
  89. package/dist/utils/services/translation/locales/index.d.ts +74 -0
  90. package/dist/utils/services/translation/locales/nl/branch.d.ts +13 -0
  91. package/dist/utils/services/translation/locales/nl/index.d.ts +13 -0
  92. package/dist/utils/services/translation/locales/nl/order.d.ts +1 -0
  93. package/dist/utils/services/translation/locales/ru/branch.d.ts +13 -0
  94. package/dist/utils/services/translation/locales/ru/index.d.ts +13 -0
  95. package/dist/utils/services/translation/locales/ru/order.d.ts +1 -0
  96. package/dist/utils/services/translation/locales/tr/branch.d.ts +13 -0
  97. package/dist/utils/services/translation/locales/tr/index.d.ts +13 -0
  98. package/dist/utils/services/translation/locales/tr/order.d.ts +1 -0
  99. package/package.json +9 -9
  100. package/dist/models/modules/feature/constants.d.ts +0 -4
  101. package/dist/models/modules/feature/hooks.d.ts +0 -2
  102. package/dist/models/modules/feature/utils.d.ts +0 -2
  103. package/dist/utils/modules/feature/hooks.d.ts +0 -2
@@ -1,2 +1,2 @@
1
- var E,A,I,R,N,L,O,D,C,T,_,P,n,S,G,M,i;!function(E){E.SINGLE="SINGLE",E.MULTIPLE="MULTIPLE"}(E||(E={})),function(E){E.MAX_DELIVERY_DISTANCE="maxDeliveryDistance",E.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",E.PICKUP_ORDER_ENABLED="pickupOrderEnabled",E.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",E.MIN_DELIVERY_AMOUNT="minDeliveryAmount"}(A||(A={})),function(E){E.PHONE="PHONE",E.OTP="OTP",E.EMAIL="EMAIL"}(I||(I={})),function(E){E.HOME="HOME",E.WORK="WORK",E.TRAVEL="TRAVEL"}(R||(R={})),function(E){E.ORDER="feature_order"}(N||(N={})),function(E){E.ALPHA="ALPHA",E.BETA="BETA",E.ALL="ALL"}(L||(L={})),function(E){E.DINE_IN="DINE_IN",E.PICK_UP="PICK_UP",E.DELIVERY="DELIVERY"}(O||(O={})),function(E){E.DRAFT="DRAFT",E.PENDING="PENDING",E.CONFIRMED="CONFIRMED",E.PREPARING="PREPARING",E.READY="READY",E.OUT_FOR_DELIVERY="OUT_FOR_DELIVERY",E.DELIVERED="DELIVERED",E.COMPLETED="COMPLETED",E.CANCELLED="CANCELLED",E.FAILED="FAILED"}(D||(D={})),function(E){E.PENDING="PENDING",E.PREPARING="PREPARING",E.READY="READY",E.SERVED="SERVED"}(C||(C={})),function(E){E.CASH="CASH",E.CARD="CARD",E.WALLET="WALLET",E.TERMINAL="TERMINAL"}(T||(T={})),function(E){E.CART="CART",E.DETAILS="DETAILS",E.COMPLETED="COMPLETED"}(_||(_={})),function(E){E.LIST="list",E.GRID="grid"}(P||(P={})),function(E){E.APPETIZER="appetizer",E.MAIN_COURSE="mainCourse",E.CHEFS_SPECIAL="chefsSpecial",E.LIFETIME="lifeTime"}(n||(n={})),function(E){E.ACTIVE="ACTIVE",E.EXPIRED="EXPIRED",E.CANCELLED="CANCELLED"}(S||(S={})),function(E){E.SQUARE="SQUARE",E.CIRCLE="CIRCLE",E.RECTANGLE="RECTANGLE",E.RECTANGLE_VERTICAL="RECTANGLE_VERTICAL",E.SINGLE_AT_BAR="SINGLE_AT_BAR",E.OTHER="OTHER"}(G||(G={})),function(E){E.VACANT="VACANT",E.RESERVED="RESERVED",E.OCCUPIED="OCCUPIED",E.BLOCKED="BLOCKED",E.NEEDS_CLEANING="NEEDS_CLEANING",E.OUT_OF_SERVICE="OUT_OF_SERVICE",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.NO_SHOW="NO_SHOW"}(M||(M={})),function(E){E.MAIN_HALL="MAIN_HALL",E.PRIVATE_DINING="PRIVATE_DINING",E.VIP_ROOM="VIP_ROOM",E.BANQUET_HALL="BANQUET_HALL",E.BAR_AREA="BAR_AREA",E.LOUNGE="LOUNGE",E.OPEN_KITCHEN="OPEN_KITCHEN",E.BOOTH_SECTION="BOOTH_SECTION",E.MEZZANINE="MEZZANINE",E.WINE_CELLAR="WINE_CELLAR",E.TERRACE="TERRACE",E.PATIO="PATIO",E.GARDEN="GARDEN",E.COURTYARD="COURTYARD",E.ROOFTOP="ROOFTOP",E.BALCONY="BALCONY",E.SIDEWALK="SIDEWALK",E.POOLSIDE="POOLSIDE",E.SMOKING_AREA="SMOKING_AREA",E.NON_SMOKING="NON_SMOKING",E.FAMILY_SECTION="FAMILY_SECTION",E.KIDS_AREA="KIDS_AREA",E.WAITING_AREA="WAITING_AREA",E.DANCE_FLOOR="DANCE_FLOOR"}(i||(i={}));export{A as BusinessSetting,R as CustomerAddressType,I as CustomerAuthStep,N as Feature,L as FeatureSegment,E as MenuAddonSelectType,C as OrderItemStatus,D as OrderStatus,_ as OrderStep,O as OrderType,T as PaymentMethod,n as PlanType,P as ProductView,S as SubscriptionStatus,i as TableLocation,G as TableShape,M as TableStatus};
1
+ var E,A,I,R,N,L,D,O,_,C,T,n,P,S,e,i,M,G;!function(E){E.SINGLE="SINGLE",E.MULTIPLE="MULTIPLE"}(E||(E={})),function(E){E.MAX_DELIVERY_DISTANCE="maxDeliveryDistance",E.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",E.PICKUP_ORDER_ENABLED="pickupOrderEnabled",E.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",E.MIN_DELIVERY_AMOUNT="minDeliveryAmount"}(A||(A={})),function(E){E.MAX_DELIVERY_DISTANCE="maxDeliveryDistance",E.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",E.PICKUP_ORDER_ENABLED="pickupOrderEnabled",E.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",E.MIN_DELIVERY_AMOUNT="minDeliveryAmount"}(I||(I={})),function(E){E.PHONE="PHONE",E.OTP="OTP",E.EMAIL="EMAIL"}(R||(R={})),function(E){E.HOME="HOME",E.WORK="WORK",E.TRAVEL="TRAVEL"}(N||(N={})),function(E){E.ORDER="feature_order"}(L||(L={})),function(E){E.ALPHA="ALPHA",E.BETA="BETA",E.ALL="ALL"}(D||(D={})),function(E){E.DINE_IN="DINE_IN",E.PICK_UP="PICK_UP",E.DELIVERY="DELIVERY"}(O||(O={})),function(E){E.DRAFT="DRAFT",E.PENDING="PENDING",E.CONFIRMED="CONFIRMED",E.PREPARING="PREPARING",E.READY="READY",E.OUT_FOR_DELIVERY="OUT_FOR_DELIVERY",E.DELIVERED="DELIVERED",E.COMPLETED="COMPLETED",E.CANCELLED="CANCELLED",E.FAILED="FAILED"}(_||(_={})),function(E){E.PENDING="PENDING",E.PREPARING="PREPARING",E.READY="READY",E.SERVED="SERVED"}(C||(C={})),function(E){E.CASH="CASH",E.CARD="CARD",E.WALLET="WALLET",E.TERMINAL="TERMINAL"}(T||(T={})),function(E){E.CART="CART",E.DETAILS="DETAILS",E.COMPLETED="COMPLETED"}(n||(n={})),function(E){E.LIST="list",E.GRID="grid"}(P||(P={})),function(E){E.APPETIZER="appetizer",E.MAIN_COURSE="mainCourse",E.CHEFS_SPECIAL="chefsSpecial",E.LIFETIME="lifeTime"}(S||(S={})),function(E){E.ACTIVE="ACTIVE",E.EXPIRED="EXPIRED",E.CANCELLED="CANCELLED"}(e||(e={})),function(E){E.SQUARE="SQUARE",E.CIRCLE="CIRCLE",E.RECTANGLE="RECTANGLE",E.RECTANGLE_VERTICAL="RECTANGLE_VERTICAL",E.SINGLE_AT_BAR="SINGLE_AT_BAR",E.OTHER="OTHER"}(i||(i={})),function(E){E.VACANT="VACANT",E.RESERVED="RESERVED",E.OCCUPIED="OCCUPIED",E.BLOCKED="BLOCKED",E.NEEDS_CLEANING="NEEDS_CLEANING",E.OUT_OF_SERVICE="OUT_OF_SERVICE",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.NO_SHOW="NO_SHOW"}(M||(M={})),function(E){E.MAIN_HALL="MAIN_HALL",E.PRIVATE_DINING="PRIVATE_DINING",E.VIP_ROOM="VIP_ROOM",E.BANQUET_HALL="BANQUET_HALL",E.BAR_AREA="BAR_AREA",E.LOUNGE="LOUNGE",E.OPEN_KITCHEN="OPEN_KITCHEN",E.BOOTH_SECTION="BOOTH_SECTION",E.MEZZANINE="MEZZANINE",E.WINE_CELLAR="WINE_CELLAR",E.TERRACE="TERRACE",E.PATIO="PATIO",E.GARDEN="GARDEN",E.COURTYARD="COURTYARD",E.ROOFTOP="ROOFTOP",E.BALCONY="BALCONY",E.SIDEWALK="SIDEWALK",E.POOLSIDE="POOLSIDE",E.SMOKING_AREA="SMOKING_AREA",E.NON_SMOKING="NON_SMOKING",E.FAMILY_SECTION="FAMILY_SECTION",E.KIDS_AREA="KIDS_AREA",E.WAITING_AREA="WAITING_AREA",E.DANCE_FLOOR="DANCE_FLOOR"}(G||(G={}));export{A as BranchSetting,I as BusinessSetting,N as CustomerAddressType,R as CustomerAuthStep,L as Feature,D as FeatureSegment,E as MenuAddonSelectType,C as OrderItemStatus,_ as OrderStatus,n as OrderStep,O as OrderType,T as PaymentMethod,S as PlanType,P as ProductView,e as SubscriptionStatus,G as TableLocation,i as TableShape,M as TableStatus};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../src/modules/addon/models.ts","../../../src/modules/business/models.ts","../../../src/modules/customer/models.ts","../../../src/modules/feature/models.ts","../../../src/modules/order/models.ts","../../../src/modules/product/models.ts","../../../src/modules/subscription/models.ts","../../../src/modules/table/models.ts"],"sourcesContent":["export enum MenuAddonSelectType {\n\tSINGLE = \"SINGLE\",\n\tMULTIPLE = \"MULTIPLE\",\n}\n\nexport interface MenuAddonTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOptionTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOption {\n\tid?: number;\n\tprice: number;\n\ttranslations: MenuAddonOptionTranslation[];\n\tremove?: boolean;\n}\n\nexport interface MenuAddon {\n\tid?: number;\n\tselectType: MenuAddonSelectType;\n\ttranslations: MenuAddonTranslation[];\n\toptions: MenuAddonOption[];\n\tbusinessId?: number;\n}\n","import * as featureModels from \"../feature/models\";\nimport * as subscriptionModels from \"../subscription/models\";\n\nexport interface BusinessLanguage {\n\tid: number;\n\tcode: string;\n\tbusinessId: number;\n}\n\nexport interface BusinessSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BusinessSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Business {\n\tid: number;\n\tname: string;\n\tusername: string;\n\tavatar64?: string;\n\tavatar128?: string;\n\tavatar256?: string;\n\tcoverPhoto?: string;\n\tinstagram?: string;\n\tfacebook?: string;\n\ttiktok?: string;\n\tcreatedAt?: number;\n\tcurrency: string;\n\tlanguages: BusinessLanguage[];\n\tsubscriptions?: subscriptionModels.Subscription[];\n\tsegment?: featureModels.FeatureSegment;\n\tsettings?: BusinessSettings;\n}\n","export enum CustomerAuthStep {\n\tPHONE = \"PHONE\",\n\tOTP = \"OTP\",\n\tEMAIL = \"EMAIL\",\n}\n\nexport enum CustomerAddressType {\n\tHOME = \"HOME\",\n\tWORK = \"WORK\",\n\tTRAVEL = \"TRAVEL\",\n}\n\nexport interface CustomerAddress {\n\tid?: number;\n\taddressId?: number; // Update address temporary\n\tcountryCode: string;\n\tcityName: string;\n\tstreet: string;\n\thouseNumber: string;\n\tadditionalNumber?: string;\n\tpostCode?: string;\n\tinstructions?: string;\n\tfloor?: number;\n\tlongitude?: number;\n\tlatitude?: number;\n\ttitle?: string;\n\ttype?: CustomerAddressType;\n}\n\nexport interface CustomerAuthForm {\n\tphoneNumber: string;\n\totp: string;\n\temail: string;\n}\n\nexport interface CustomerAuthPhoneForm {\n\tcountryCode: string;\n\tphoneNumber: string;\n}\n\nexport interface AuthResponse {\n\taccessToken: string;\n\trefreshToken: string;\n}\n\nexport interface Customer {\n\tid?: number;\n\temail: string;\n\tphoneNumber: string;\n\tfullName: string;\n\tsmsVerified?: boolean;\n\temailVerified?: boolean;\n\taddress?: CustomerAddress;\n\taddresses?: CustomerAddress[];\n}\n\nexport type CustomerUpdatePayload = Partial<Customer>;\n","export enum Feature {\n\tORDER = \"feature_order\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import * as customerModels from \"../customer/models\";\n\nexport enum OrderType {\n\tDINE_IN = \"DINE_IN\",\n\tPICK_UP = \"PICK_UP\",\n\tDELIVERY = \"DELIVERY\",\n}\n\nexport enum OrderStatus {\n\tDRAFT = \"DRAFT\",\n\tPENDING = \"PENDING\",\n\tCONFIRMED = \"CONFIRMED\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tOUT_FOR_DELIVERY = \"OUT_FOR_DELIVERY\",\n\tDELIVERED = \"DELIVERED\",\n\tCOMPLETED = \"COMPLETED\",\n\tCANCELLED = \"CANCELLED\",\n\tFAILED = \"FAILED\",\n}\n\nexport enum OrderItemStatus {\n\tPENDING = \"PENDING\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tSERVED = \"SERVED\",\n}\n\nexport enum PaymentMethod {\n\tCASH = \"CASH\",\n\tCARD = \"CARD\",\n\tWALLET = \"WALLET\",\n\tTERMINAL = \"TERMINAL\",\n}\n\nexport interface OrderAddonOption {\n\toptionId: number;\n\tprice: number;\n}\n\nexport interface OrderAddon {\n\tid?: number;\n\taddonId: number;\n\toptions: OrderAddonOption[];\n}\n\nexport interface SelectedAddons {\n\t[key: number]: number | number[];\n}\n\nexport interface OrderItemVariant {\n\tid?: number;\n\tvariantId: number;\n\tprice: number;\n}\n\nexport interface OrderItem {\n\tid?: number;\n\tproductId: number;\n\torderId?: number;\n\tquantity: number;\n\tprice: number;\n\tvariant?: OrderItemVariant;\n\taddons: OrderAddon[];\n\tnote?: string;\n\tstatus?: OrderItemStatus;\n\tvat?: number;\n\tisPaid?: boolean;\n}\n\nexport interface Order {\n\tid?: number;\n\tbusinessId?: number;\n\tbranchId?: number;\n\tworkingDayId?: number;\n\ttableId?: number;\n\temployeeId?: number;\n\torderType: OrderType;\n\ttotalPriceWithTax: number;\n\ttotalPriceWithoutTax: number;\n\ttotalTax: number;\n\titems: OrderItem[];\n\tstatus?: OrderStatus;\n\tvat?: number;\n\tpaymentMethod?: PaymentMethod;\n\tnote?: string;\n\tcreatedAt?: number;\n\tupdatedAt?: number;\n\tcustomer?: customerModels.Customer;\n}\n\nexport interface OrderItems {\n\t[key: string]: OrderItem;\n}\n\nexport enum OrderStep {\n\tCART = \"CART\",\n\tDETAILS = \"DETAILS\",\n\tCOMPLETED = \"COMPLETED\",\n}\n\nexport interface OrderPayload extends Order {\n\tcustomerAddressId: number;\n\tcustomerId: number;\n}\n","import { MenuAddon } from \"../addon/models\";\n\nexport interface ProductTranslation {\n\tid: number;\n\tname: string;\n\tdescription?: string;\n\tlanguage: string;\n\tproductId?: number;\n}\n\nexport interface ProductVariantTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface ProductVariant {\n\tid?: number;\n\tprice: number;\n\ttranslations: ProductVariantTranslation[];\n\tproductId?: number;\n\tremove?: boolean;\n}\n\nexport interface Product {\n\tid: number;\n\tcategoryId: number;\n\tvat?: number;\n\tprice: number;\n\tvolume?: string; // 100qr/250ml/1kq\n\timage160?: string;\n\timage580?: string;\n\timage1024?: string;\n\ttranslations: ProductTranslation[];\n\tvariants: ProductVariant[];\n\taddons: MenuAddon[];\n\tavailable?: boolean;\n\tvisible?: boolean;\n\tposition?: number;\n}\n\nexport enum ProductView {\n\tLIST = \"list\",\n\tGRID = \"grid\",\n}\n\nexport interface DashboardProduct extends Omit<Product, \"addons\"> {\n\taddons: number[];\n}\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","export enum TableShape {\n\tSQUARE = \"SQUARE\",\n\tCIRCLE = \"CIRCLE\",\n\tRECTANGLE = \"RECTANGLE\",\n\tRECTANGLE_VERTICAL = \"RECTANGLE_VERTICAL\",\n\tSINGLE_AT_BAR = \"SINGLE_AT_BAR\",\n\tOTHER = \"OTHER\",\n}\n\nexport enum TableStatus {\n\tVACANT = \"VACANT\", // Free and available\n\tRESERVED = \"RESERVED\", // Booked but not yet seated\n\tOCCUPIED = \"OCCUPIED\", // Currently in use\n\tBLOCKED = \"BLOCKED\", // Temporarily blocked/unavailable\n\tNEEDS_CLEANING = \"NEEDS_CLEANING\", // Dirty, awaiting cleanup\n\tOUT_OF_SERVICE = \"OUT_OF_SERVICE\", // Permanently unavailable repair/maintenance\n\tPENDING_CONFIRMATION = \"PENDING_CONFIRMATION\", // Reservation not yet confirmed\n\tNO_SHOW = \"NO_SHOW\", // Reserved but guest didn’t arrive\n}\n\nexport enum TableLocation {\n\t// Indoor\n\tMAIN_HALL = \"MAIN_HALL\",\n\tPRIVATE_DINING = \"PRIVATE_DINING\",\n\tVIP_ROOM = \"VIP_ROOM\",\n\tBANQUET_HALL = \"BANQUET_HALL\",\n\tBAR_AREA = \"BAR_AREA\",\n\tLOUNGE = \"LOUNGE\",\n\tOPEN_KITCHEN = \"OPEN_KITCHEN\",\n\tBOOTH_SECTION = \"BOOTH_SECTION\",\n\tMEZZANINE = \"MEZZANINE\",\n\tWINE_CELLAR = \"WINE_CELLAR\",\n\n\t// Outdoor\n\tTERRACE = \"TERRACE\",\n\tPATIO = \"PATIO\",\n\tGARDEN = \"GARDEN\",\n\tCOURTYARD = \"COURTYARD\",\n\tROOFTOP = \"ROOFTOP\",\n\tBALCONY = \"BALCONY\",\n\tSIDEWALK = \"SIDEWALK\",\n\tPOOLSIDE = \"POOLSIDE\",\n\n\t// Special Sections\n\tSMOKING_AREA = \"SMOKING_AREA\",\n\tNON_SMOKING = \"NON_SMOKING\",\n\tFAMILY_SECTION = \"FAMILY_SECTION\",\n\tKIDS_AREA = \"KIDS_AREA\",\n\tWAITING_AREA = \"WAITING_AREA\",\n\tDANCE_FLOOR = \"DANCE_FLOOR\",\n}\n\nexport interface Table {\n\tid: number;\n\tbusinessId: number;\n\tbranchId: number;\n\tname: string;\n\tseatCount: number;\n\tshape: TableShape;\n\tlocation: TableLocation;\n\tstatus: TableStatus;\n}\n\nexport interface TableState {\n\ttables: Table[];\n}\n\nexport type TableForm = Omit<Table, \"id\" | \"businessId\" | \"branchId\"> & {\n\tbranchId: string | number;\n};\n\nexport type TableUpdate = Partial<Omit<Table, \"id\" | \"businessId\">>;\n\nexport type TableFilter = Partial<Pick<Table, \"branchId\" | \"shape\" | \"location\" | \"status\">>;\n\nexport type TableFilterParams = { field: keyof TableFilter; value: TableFilter[keyof TableFilter] };\n"],"names":["MenuAddonSelectType","BusinessSetting","CustomerAuthStep","CustomerAddressType","Feature","FeatureSegment","OrderType","OrderStatus","OrderItemStatus","PaymentMethod","OrderStep","ProductView","PlanType","SubscriptionStatus","TableShape","TableStatus","TableLocation"],"mappings":"IAAYA,ECiBAC,ECjBAC,EAMAC,ECNAC,EAGAC,ECDAC,EAMAC,EAaAC,EAOAC,EAmEAC,ECtDAC,ECzCAC,EAuBAC,ECvBAC,EASAC,EAWAC,GPpBZ,SAAYhB,GACXA,EAAA,OAAA,SACAA,EAAA,SAAA,UACA,CAHD,CAAYA,IAAAA,EAGX,CAAA,ICcD,SAAYC,GACXA,EAAA,sBAAA,sBACAA,EAAA,uBAAA,uBACAA,EAAA,qBAAA,qBACAA,EAAA,sBAAA,qBACAA,EAAA,oBAAA,mBACA,CAND,CAAYA,IAA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AAA,eACAA,EAAA,SAAA,UACA,CALD,CAAYA,IAAAA,EAKX,CAAA,IAkBD,SAAYC,GACXA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,UAAA,WACA,CAJD,CAAYA,IAAAA,EAIX,CAAA,IC3BD,SAAYC,GACXA,EAAA,OAAA,SACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,mBAAA,qBACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,OACA,CAPD,CAAYA,IAAAA,EAOX,CAAA,IAED,SAAYC,GACXA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,QAAA,UACAA,EAAA,eAAA,iBACAA,EAAA,eAAA,iBACAA,EAAA,qBAAA,uBACAA,EAAA,QAAA,SACA,CATD,CAAYA,IAAAA,EASX,CAAA,IAED,SAAYC,GAEXA,EAAA,UAAA,YACAA,EAAA,eAAA,iBACAA,EAAA,SAAA,WACAA,EAAA,aAAA,eACAA,EAAA,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eACAA,EAAA,cAAA,gBACAA,EAAA,UAAA,YACAA,EAAA,YAAA,cAGAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WAGAA,EAAA,aAAA,eACAA,EAAA,YAAA,cACAA,EAAA,eAAA,iBACAA,EAAA,UAAA,YACAA,EAAA,aAAA,eACAA,EAAA,YAAA,aACA,CA9BD,CAAYA,IAAAA,EA8BX,CAAA"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../src/modules/addon/models.ts","../../../src/modules/branch/models.ts","../../../src/modules/business/models.ts","../../../src/modules/customer/models.ts","../../../src/modules/feature/models.ts","../../../src/modules/order/models.ts","../../../src/modules/product/models.ts","../../../src/modules/subscription/models.ts","../../../src/modules/table/models.ts"],"sourcesContent":["export enum MenuAddonSelectType {\n\tSINGLE = \"SINGLE\",\n\tMULTIPLE = \"MULTIPLE\",\n}\n\nexport interface MenuAddonTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOptionTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOption {\n\tid?: number;\n\tprice: number;\n\ttranslations: MenuAddonOptionTranslation[];\n\tremove?: boolean;\n}\n\nexport interface MenuAddon {\n\tid?: number;\n\tselectType: MenuAddonSelectType;\n\ttranslations: MenuAddonTranslation[];\n\toptions: MenuAddonOption[];\n\tbusinessId?: number;\n}\n","export type BranchWorkHour = {\n\topenAt: string;\n\tcloseAt: string;\n};\n\nexport type BranchWorkDay = {\n\tday: number;\n\thours: BranchWorkHour | null;\n};\n\nexport type BranchWorkDays = {\n\tdays: BranchWorkDay[];\n};\n\nexport interface BranchSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BranchSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Branch {\n\tid: number;\n\tname: string;\n\tbusinessId: number;\n\taddress: string;\n\tlongitude?: number;\n\tlatitude?: number;\n\tphone?: string;\n\twifiPassword?: string;\n\tcreatedAt?: number;\n\tcoverPhoto?: string;\n\tsettings?: BranchSettings;\n\topeningHours?: BranchWorkDays;\n\tdeliveryHours?: BranchWorkDays;\n}\n\nexport type BranchServes = {\n\tisOpen: boolean;\n\tisDelivering: boolean;\n};\n","import * as featureModels from \"../feature/models\";\nimport * as subscriptionModels from \"../subscription/models\";\n\nexport interface BusinessLanguage {\n\tid: number;\n\tcode: string;\n\tbusinessId: number;\n}\n\nexport interface BusinessSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BusinessSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Business {\n\tid: number;\n\tname: string;\n\tusername: string;\n\tavatar64?: string;\n\tavatar128?: string;\n\tavatar256?: string;\n\tcoverPhoto?: string;\n\tinstagram?: string;\n\tfacebook?: string;\n\ttiktok?: string;\n\tcreatedAt?: number;\n\tcurrency: string;\n\tlanguages: BusinessLanguage[];\n\tsubscriptions?: subscriptionModels.Subscription[];\n\tsegment?: featureModels.FeatureSegment;\n\tsettings?: BusinessSettings;\n}\n","export enum CustomerAuthStep {\n\tPHONE = \"PHONE\",\n\tOTP = \"OTP\",\n\tEMAIL = \"EMAIL\",\n}\n\nexport enum CustomerAddressType {\n\tHOME = \"HOME\",\n\tWORK = \"WORK\",\n\tTRAVEL = \"TRAVEL\",\n}\n\nexport interface CustomerAddress {\n\tid?: number;\n\taddressId?: number; // Update address temporary\n\tcountryCode: string;\n\tcityName: string;\n\tstreet: string;\n\thouseNumber: string;\n\tadditionalNumber?: string;\n\tpostCode?: string;\n\tinstructions?: string;\n\tfloor?: number;\n\tlongitude?: number;\n\tlatitude?: number;\n\ttitle?: string;\n\ttype?: CustomerAddressType;\n}\n\nexport interface CustomerAuthForm {\n\tphoneNumber: string;\n\totp: string;\n\temail: string;\n}\n\nexport interface CustomerAuthPhoneForm {\n\tcountryCode: string;\n\tphoneNumber: string;\n}\n\nexport interface AuthResponse {\n\taccessToken: string;\n\trefreshToken: string;\n}\n\nexport interface Customer {\n\tid?: number;\n\temail: string;\n\tphoneNumber: string;\n\tfullName: string;\n\tsmsVerified?: boolean;\n\temailVerified?: boolean;\n\taddress?: CustomerAddress;\n\taddresses?: CustomerAddress[];\n}\n\nexport type CustomerUpdatePayload = Partial<Customer>;\n","export enum Feature {\n\tORDER = \"feature_order\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import * as customerModels from \"../customer/models\";\n\nexport enum OrderType {\n\tDINE_IN = \"DINE_IN\",\n\tPICK_UP = \"PICK_UP\",\n\tDELIVERY = \"DELIVERY\",\n}\n\nexport enum OrderStatus {\n\tDRAFT = \"DRAFT\",\n\tPENDING = \"PENDING\",\n\tCONFIRMED = \"CONFIRMED\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tOUT_FOR_DELIVERY = \"OUT_FOR_DELIVERY\",\n\tDELIVERED = \"DELIVERED\",\n\tCOMPLETED = \"COMPLETED\",\n\tCANCELLED = \"CANCELLED\",\n\tFAILED = \"FAILED\",\n}\n\nexport enum OrderItemStatus {\n\tPENDING = \"PENDING\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tSERVED = \"SERVED\",\n}\n\nexport enum PaymentMethod {\n\tCASH = \"CASH\",\n\tCARD = \"CARD\",\n\tWALLET = \"WALLET\",\n\tTERMINAL = \"TERMINAL\",\n}\n\nexport interface OrderAddonOption {\n\toptionId: number;\n\tprice: number;\n}\n\nexport interface OrderAddon {\n\tid?: number;\n\taddonId: number;\n\toptions: OrderAddonOption[];\n}\n\nexport interface SelectedAddons {\n\t[key: number]: number | number[];\n}\n\nexport interface OrderItemVariant {\n\tid?: number;\n\tvariantId: number;\n\tprice: number;\n}\n\nexport interface OrderItem {\n\tid?: number;\n\tproductId: number;\n\torderId?: number;\n\tquantity: number;\n\tprice: number;\n\tvariant?: OrderItemVariant;\n\taddons: OrderAddon[];\n\tnote?: string;\n\tstatus?: OrderItemStatus;\n\tvat?: number;\n\tisPaid?: boolean;\n}\n\nexport interface Order {\n\tid?: number;\n\tbusinessId?: number;\n\tbranchId?: number;\n\tworkingDayId?: number;\n\ttableId?: number;\n\temployeeId?: number;\n\torderType: OrderType;\n\ttotalPriceWithTax: number;\n\ttotalPriceWithoutTax: number;\n\ttotalTax: number;\n\titems: OrderItem[];\n\tstatus?: OrderStatus;\n\tvat?: number;\n\tpaymentMethod?: PaymentMethod;\n\tnote?: string;\n\tcreatedAt?: number;\n\tupdatedAt?: number;\n\tcustomer?: customerModels.Customer;\n}\n\nexport interface OrderItems {\n\t[key: string]: OrderItem;\n}\n\nexport enum OrderStep {\n\tCART = \"CART\",\n\tDETAILS = \"DETAILS\",\n\tCOMPLETED = \"COMPLETED\",\n}\n\nexport interface OrderPayload extends Order {\n\tcustomerAddressId: number;\n\tcustomerId: number;\n}\n","import { MenuAddon } from \"../addon/models\";\n\nexport interface ProductTranslation {\n\tid: number;\n\tname: string;\n\tdescription?: string;\n\tlanguage: string;\n\tproductId?: number;\n}\n\nexport interface ProductVariantTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface ProductVariant {\n\tid?: number;\n\tprice: number;\n\ttranslations: ProductVariantTranslation[];\n\tproductId?: number;\n\tremove?: boolean;\n}\n\nexport interface Product {\n\tid: number;\n\tcategoryId: number;\n\tvat?: number;\n\tprice: number;\n\tvolume?: string; // 100qr/250ml/1kq\n\timage160?: string;\n\timage580?: string;\n\timage1024?: string;\n\ttranslations: ProductTranslation[];\n\tvariants: ProductVariant[];\n\taddons: MenuAddon[];\n\tavailable?: boolean;\n\tvisible?: boolean;\n\tposition?: number;\n}\n\nexport enum ProductView {\n\tLIST = \"list\",\n\tGRID = \"grid\",\n}\n\nexport interface DashboardProduct extends Omit<Product, \"addons\"> {\n\taddons: number[];\n}\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","export enum TableShape {\n\tSQUARE = \"SQUARE\",\n\tCIRCLE = \"CIRCLE\",\n\tRECTANGLE = \"RECTANGLE\",\n\tRECTANGLE_VERTICAL = \"RECTANGLE_VERTICAL\",\n\tSINGLE_AT_BAR = \"SINGLE_AT_BAR\",\n\tOTHER = \"OTHER\",\n}\n\nexport enum TableStatus {\n\tVACANT = \"VACANT\", // Free and available\n\tRESERVED = \"RESERVED\", // Booked but not yet seated\n\tOCCUPIED = \"OCCUPIED\", // Currently in use\n\tBLOCKED = \"BLOCKED\", // Temporarily blocked/unavailable\n\tNEEDS_CLEANING = \"NEEDS_CLEANING\", // Dirty, awaiting cleanup\n\tOUT_OF_SERVICE = \"OUT_OF_SERVICE\", // Permanently unavailable repair/maintenance\n\tPENDING_CONFIRMATION = \"PENDING_CONFIRMATION\", // Reservation not yet confirmed\n\tNO_SHOW = \"NO_SHOW\", // Reserved but guest didn’t arrive\n}\n\nexport enum TableLocation {\n\t// Indoor\n\tMAIN_HALL = \"MAIN_HALL\",\n\tPRIVATE_DINING = \"PRIVATE_DINING\",\n\tVIP_ROOM = \"VIP_ROOM\",\n\tBANQUET_HALL = \"BANQUET_HALL\",\n\tBAR_AREA = \"BAR_AREA\",\n\tLOUNGE = \"LOUNGE\",\n\tOPEN_KITCHEN = \"OPEN_KITCHEN\",\n\tBOOTH_SECTION = \"BOOTH_SECTION\",\n\tMEZZANINE = \"MEZZANINE\",\n\tWINE_CELLAR = \"WINE_CELLAR\",\n\n\t// Outdoor\n\tTERRACE = \"TERRACE\",\n\tPATIO = \"PATIO\",\n\tGARDEN = \"GARDEN\",\n\tCOURTYARD = \"COURTYARD\",\n\tROOFTOP = \"ROOFTOP\",\n\tBALCONY = \"BALCONY\",\n\tSIDEWALK = \"SIDEWALK\",\n\tPOOLSIDE = \"POOLSIDE\",\n\n\t// Special Sections\n\tSMOKING_AREA = \"SMOKING_AREA\",\n\tNON_SMOKING = \"NON_SMOKING\",\n\tFAMILY_SECTION = \"FAMILY_SECTION\",\n\tKIDS_AREA = \"KIDS_AREA\",\n\tWAITING_AREA = \"WAITING_AREA\",\n\tDANCE_FLOOR = \"DANCE_FLOOR\",\n}\n\nexport interface Table {\n\tid: number;\n\tbusinessId: number;\n\tbranchId: number;\n\tname: string;\n\tseatCount: number;\n\tshape: TableShape;\n\tlocation: TableLocation;\n\tstatus: TableStatus;\n}\n\nexport interface TableState {\n\ttables: Table[];\n}\n\nexport type TableForm = Omit<Table, \"id\" | \"businessId\" | \"branchId\"> & {\n\tbranchId: string | number;\n};\n\nexport type TableUpdate = Partial<Omit<Table, \"id\" | \"businessId\">>;\n\nexport type TableFilter = Partial<Pick<Table, \"branchId\" | \"shape\" | \"location\" | \"status\">>;\n\nexport type TableFilterParams = { field: keyof TableFilter; value: TableFilter[keyof TableFilter] };\n"],"names":["MenuAddonSelectType","BranchSetting","BusinessSetting","CustomerAuthStep","CustomerAddressType","Feature","FeatureSegment","OrderType","OrderStatus","OrderItemStatus","PaymentMethod","OrderStep","ProductView","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A,EAAA,cAAA,gBACAA,EAAA,UAAA,YACAA,EAAA,YAAA,cAGAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WAGAA,EAAA,aAAA,eACAA,EAAA,YAAA,cACAA,EAAA,eAAA,iBACAA,EAAA,UAAA,YACAA,EAAA,aAAA,eACAA,EAAA,YAAA,aACA,CA9BD,CAAYA,IAAAA,EA8BX,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";var E,e,t,A,r,I,R,N,O,o,L,s,T,p,D,C;exports.MenuAddonSelectType=void 0,(E=exports.MenuAddonSelectType||(exports.MenuAddonSelectType={})).SINGLE="SINGLE",E.MULTIPLE="MULTIPLE",exports.BusinessSetting=void 0,(e=exports.BusinessSetting||(exports.BusinessSetting={})).MAX_DELIVERY_DISTANCE="maxDeliveryDistance",e.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",e.PICKUP_ORDER_ENABLED="pickupOrderEnabled",e.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",e.MIN_DELIVERY_AMOUNT="minDeliveryAmount",exports.CustomerAuthStep=void 0,(t=exports.CustomerAuthStep||(exports.CustomerAuthStep={})).PHONE="PHONE",t.OTP="OTP",t.EMAIL="EMAIL",exports.CustomerAddressType=void 0,(A=exports.CustomerAddressType||(exports.CustomerAddressType={})).HOME="HOME",A.WORK="WORK",A.TRAVEL="TRAVEL",exports.Feature=void 0,(exports.Feature||(exports.Feature={})).ORDER="feature_order",exports.FeatureSegment=void 0,(r=exports.FeatureSegment||(exports.FeatureSegment={})).ALPHA="ALPHA",r.BETA="BETA",r.ALL="ALL",exports.OrderType=void 0,(I=exports.OrderType||(exports.OrderType={})).DINE_IN="DINE_IN",I.PICK_UP="PICK_UP",I.DELIVERY="DELIVERY",exports.OrderStatus=void 0,(R=exports.OrderStatus||(exports.OrderStatus={})).DRAFT="DRAFT",R.PENDING="PENDING",R.CONFIRMED="CONFIRMED",R.PREPARING="PREPARING",R.READY="READY",R.OUT_FOR_DELIVERY="OUT_FOR_DELIVERY",R.DELIVERED="DELIVERED",R.COMPLETED="COMPLETED",R.CANCELLED="CANCELLED",R.FAILED="FAILED",exports.OrderItemStatus=void 0,(N=exports.OrderItemStatus||(exports.OrderItemStatus={})).PENDING="PENDING",N.PREPARING="PREPARING",N.READY="READY",N.SERVED="SERVED",exports.PaymentMethod=void 0,(O=exports.PaymentMethod||(exports.PaymentMethod={})).CASH="CASH",O.CARD="CARD",O.WALLET="WALLET",O.TERMINAL="TERMINAL",exports.OrderStep=void 0,(o=exports.OrderStep||(exports.OrderStep={})).CART="CART",o.DETAILS="DETAILS",o.COMPLETED="COMPLETED",exports.ProductView=void 0,(L=exports.ProductView||(exports.ProductView={})).LIST="list",L.GRID="grid",exports.PlanType=void 0,(s=exports.PlanType||(exports.PlanType={})).APPETIZER="appetizer",s.MAIN_COURSE="mainCourse",s.CHEFS_SPECIAL="chefsSpecial",s.LIFETIME="lifeTime",exports.SubscriptionStatus=void 0,(T=exports.SubscriptionStatus||(exports.SubscriptionStatus={})).ACTIVE="ACTIVE",T.EXPIRED="EXPIRED",T.CANCELLED="CANCELLED",exports.TableShape=void 0,(p=exports.TableShape||(exports.TableShape={})).SQUARE="SQUARE",p.CIRCLE="CIRCLE",p.RECTANGLE="RECTANGLE",p.RECTANGLE_VERTICAL="RECTANGLE_VERTICAL",p.SINGLE_AT_BAR="SINGLE_AT_BAR",p.OTHER="OTHER",exports.TableStatus=void 0,(D=exports.TableStatus||(exports.TableStatus={})).VACANT="VACANT",D.RESERVED="RESERVED",D.OCCUPIED="OCCUPIED",D.BLOCKED="BLOCKED",D.NEEDS_CLEANING="NEEDS_CLEANING",D.OUT_OF_SERVICE="OUT_OF_SERVICE",D.PENDING_CONFIRMATION="PENDING_CONFIRMATION",D.NO_SHOW="NO_SHOW",exports.TableLocation=void 0,(C=exports.TableLocation||(exports.TableLocation={})).MAIN_HALL="MAIN_HALL",C.PRIVATE_DINING="PRIVATE_DINING",C.VIP_ROOM="VIP_ROOM",C.BANQUET_HALL="BANQUET_HALL",C.BAR_AREA="BAR_AREA",C.LOUNGE="LOUNGE",C.OPEN_KITCHEN="OPEN_KITCHEN",C.BOOTH_SECTION="BOOTH_SECTION",C.MEZZANINE="MEZZANINE",C.WINE_CELLAR="WINE_CELLAR",C.TERRACE="TERRACE",C.PATIO="PATIO",C.GARDEN="GARDEN",C.COURTYARD="COURTYARD",C.ROOFTOP="ROOFTOP",C.BALCONY="BALCONY",C.SIDEWALK="SIDEWALK",C.POOLSIDE="POOLSIDE",C.SMOKING_AREA="SMOKING_AREA",C.NON_SMOKING="NON_SMOKING",C.FAMILY_SECTION="FAMILY_SECTION",C.KIDS_AREA="KIDS_AREA",C.WAITING_AREA="WAITING_AREA",C.DANCE_FLOOR="DANCE_FLOOR";
1
+ "use strict";var E,e,t,A,r,I,R,N,O,o,L,s,D,T,p,C,S;exports.MenuAddonSelectType=void 0,(E=exports.MenuAddonSelectType||(exports.MenuAddonSelectType={})).SINGLE="SINGLE",E.MULTIPLE="MULTIPLE",exports.BranchSetting=void 0,(e=exports.BranchSetting||(exports.BranchSetting={})).MAX_DELIVERY_DISTANCE="maxDeliveryDistance",e.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",e.PICKUP_ORDER_ENABLED="pickupOrderEnabled",e.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",e.MIN_DELIVERY_AMOUNT="minDeliveryAmount",exports.BusinessSetting=void 0,(t=exports.BusinessSetting||(exports.BusinessSetting={})).MAX_DELIVERY_DISTANCE="maxDeliveryDistance",t.DELIVERY_ORDER_ENABLED="deliveryOrderEnabled",t.PICKUP_ORDER_ENABLED="pickupOrderEnabled",t.DINE_IN_ORDER_ENABLED="dineInOrderEnabled",t.MIN_DELIVERY_AMOUNT="minDeliveryAmount",exports.CustomerAuthStep=void 0,(A=exports.CustomerAuthStep||(exports.CustomerAuthStep={})).PHONE="PHONE",A.OTP="OTP",A.EMAIL="EMAIL",exports.CustomerAddressType=void 0,(r=exports.CustomerAddressType||(exports.CustomerAddressType={})).HOME="HOME",r.WORK="WORK",r.TRAVEL="TRAVEL",exports.Feature=void 0,(exports.Feature||(exports.Feature={})).ORDER="feature_order",exports.FeatureSegment=void 0,(I=exports.FeatureSegment||(exports.FeatureSegment={})).ALPHA="ALPHA",I.BETA="BETA",I.ALL="ALL",exports.OrderType=void 0,(R=exports.OrderType||(exports.OrderType={})).DINE_IN="DINE_IN",R.PICK_UP="PICK_UP",R.DELIVERY="DELIVERY",exports.OrderStatus=void 0,(N=exports.OrderStatus||(exports.OrderStatus={})).DRAFT="DRAFT",N.PENDING="PENDING",N.CONFIRMED="CONFIRMED",N.PREPARING="PREPARING",N.READY="READY",N.OUT_FOR_DELIVERY="OUT_FOR_DELIVERY",N.DELIVERED="DELIVERED",N.COMPLETED="COMPLETED",N.CANCELLED="CANCELLED",N.FAILED="FAILED",exports.OrderItemStatus=void 0,(O=exports.OrderItemStatus||(exports.OrderItemStatus={})).PENDING="PENDING",O.PREPARING="PREPARING",O.READY="READY",O.SERVED="SERVED",exports.PaymentMethod=void 0,(o=exports.PaymentMethod||(exports.PaymentMethod={})).CASH="CASH",o.CARD="CARD",o.WALLET="WALLET",o.TERMINAL="TERMINAL",exports.OrderStep=void 0,(L=exports.OrderStep||(exports.OrderStep={})).CART="CART",L.DETAILS="DETAILS",L.COMPLETED="COMPLETED",exports.ProductView=void 0,(s=exports.ProductView||(exports.ProductView={})).LIST="list",s.GRID="grid",exports.PlanType=void 0,(D=exports.PlanType||(exports.PlanType={})).APPETIZER="appetizer",D.MAIN_COURSE="mainCourse",D.CHEFS_SPECIAL="chefsSpecial",D.LIFETIME="lifeTime",exports.SubscriptionStatus=void 0,(T=exports.SubscriptionStatus||(exports.SubscriptionStatus={})).ACTIVE="ACTIVE",T.EXPIRED="EXPIRED",T.CANCELLED="CANCELLED",exports.TableShape=void 0,(p=exports.TableShape||(exports.TableShape={})).SQUARE="SQUARE",p.CIRCLE="CIRCLE",p.RECTANGLE="RECTANGLE",p.RECTANGLE_VERTICAL="RECTANGLE_VERTICAL",p.SINGLE_AT_BAR="SINGLE_AT_BAR",p.OTHER="OTHER",exports.TableStatus=void 0,(C=exports.TableStatus||(exports.TableStatus={})).VACANT="VACANT",C.RESERVED="RESERVED",C.OCCUPIED="OCCUPIED",C.BLOCKED="BLOCKED",C.NEEDS_CLEANING="NEEDS_CLEANING",C.OUT_OF_SERVICE="OUT_OF_SERVICE",C.PENDING_CONFIRMATION="PENDING_CONFIRMATION",C.NO_SHOW="NO_SHOW",exports.TableLocation=void 0,(S=exports.TableLocation||(exports.TableLocation={})).MAIN_HALL="MAIN_HALL",S.PRIVATE_DINING="PRIVATE_DINING",S.VIP_ROOM="VIP_ROOM",S.BANQUET_HALL="BANQUET_HALL",S.BAR_AREA="BAR_AREA",S.LOUNGE="LOUNGE",S.OPEN_KITCHEN="OPEN_KITCHEN",S.BOOTH_SECTION="BOOTH_SECTION",S.MEZZANINE="MEZZANINE",S.WINE_CELLAR="WINE_CELLAR",S.TERRACE="TERRACE",S.PATIO="PATIO",S.GARDEN="GARDEN",S.COURTYARD="COURTYARD",S.ROOFTOP="ROOFTOP",S.BALCONY="BALCONY",S.SIDEWALK="SIDEWALK",S.POOLSIDE="POOLSIDE",S.SMOKING_AREA="SMOKING_AREA",S.NON_SMOKING="NON_SMOKING",S.FAMILY_SECTION="FAMILY_SECTION",S.KIDS_AREA="KIDS_AREA",S.WAITING_AREA="WAITING_AREA",S.DANCE_FLOOR="DANCE_FLOOR";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/modules/addon/models.ts","../../../src/modules/business/models.ts","../../../src/modules/customer/models.ts","../../../src/modules/feature/models.ts","../../../src/modules/order/models.ts","../../../src/modules/product/models.ts","../../../src/modules/subscription/models.ts","../../../src/modules/table/models.ts"],"sourcesContent":["export enum MenuAddonSelectType {\n\tSINGLE = \"SINGLE\",\n\tMULTIPLE = \"MULTIPLE\",\n}\n\nexport interface MenuAddonTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOptionTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOption {\n\tid?: number;\n\tprice: number;\n\ttranslations: MenuAddonOptionTranslation[];\n\tremove?: boolean;\n}\n\nexport interface MenuAddon {\n\tid?: number;\n\tselectType: MenuAddonSelectType;\n\ttranslations: MenuAddonTranslation[];\n\toptions: MenuAddonOption[];\n\tbusinessId?: number;\n}\n","import * as featureModels from \"../feature/models\";\nimport * as subscriptionModels from \"../subscription/models\";\n\nexport interface BusinessLanguage {\n\tid: number;\n\tcode: string;\n\tbusinessId: number;\n}\n\nexport interface BusinessSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BusinessSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Business {\n\tid: number;\n\tname: string;\n\tusername: string;\n\tavatar64?: string;\n\tavatar128?: string;\n\tavatar256?: string;\n\tcoverPhoto?: string;\n\tinstagram?: string;\n\tfacebook?: string;\n\ttiktok?: string;\n\tcreatedAt?: number;\n\tcurrency: string;\n\tlanguages: BusinessLanguage[];\n\tsubscriptions?: subscriptionModels.Subscription[];\n\tsegment?: featureModels.FeatureSegment;\n\tsettings?: BusinessSettings;\n}\n","export enum CustomerAuthStep {\n\tPHONE = \"PHONE\",\n\tOTP = \"OTP\",\n\tEMAIL = \"EMAIL\",\n}\n\nexport enum CustomerAddressType {\n\tHOME = \"HOME\",\n\tWORK = \"WORK\",\n\tTRAVEL = \"TRAVEL\",\n}\n\nexport interface CustomerAddress {\n\tid?: number;\n\taddressId?: number; // Update address temporary\n\tcountryCode: string;\n\tcityName: string;\n\tstreet: string;\n\thouseNumber: string;\n\tadditionalNumber?: string;\n\tpostCode?: string;\n\tinstructions?: string;\n\tfloor?: number;\n\tlongitude?: number;\n\tlatitude?: number;\n\ttitle?: string;\n\ttype?: CustomerAddressType;\n}\n\nexport interface CustomerAuthForm {\n\tphoneNumber: string;\n\totp: string;\n\temail: string;\n}\n\nexport interface CustomerAuthPhoneForm {\n\tcountryCode: string;\n\tphoneNumber: string;\n}\n\nexport interface AuthResponse {\n\taccessToken: string;\n\trefreshToken: string;\n}\n\nexport interface Customer {\n\tid?: number;\n\temail: string;\n\tphoneNumber: string;\n\tfullName: string;\n\tsmsVerified?: boolean;\n\temailVerified?: boolean;\n\taddress?: CustomerAddress;\n\taddresses?: CustomerAddress[];\n}\n\nexport type CustomerUpdatePayload = Partial<Customer>;\n","export enum Feature {\n\tORDER = \"feature_order\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import * as customerModels from \"../customer/models\";\n\nexport enum OrderType {\n\tDINE_IN = \"DINE_IN\",\n\tPICK_UP = \"PICK_UP\",\n\tDELIVERY = \"DELIVERY\",\n}\n\nexport enum OrderStatus {\n\tDRAFT = \"DRAFT\",\n\tPENDING = \"PENDING\",\n\tCONFIRMED = \"CONFIRMED\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tOUT_FOR_DELIVERY = \"OUT_FOR_DELIVERY\",\n\tDELIVERED = \"DELIVERED\",\n\tCOMPLETED = \"COMPLETED\",\n\tCANCELLED = \"CANCELLED\",\n\tFAILED = \"FAILED\",\n}\n\nexport enum OrderItemStatus {\n\tPENDING = \"PENDING\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tSERVED = \"SERVED\",\n}\n\nexport enum PaymentMethod {\n\tCASH = \"CASH\",\n\tCARD = \"CARD\",\n\tWALLET = \"WALLET\",\n\tTERMINAL = \"TERMINAL\",\n}\n\nexport interface OrderAddonOption {\n\toptionId: number;\n\tprice: number;\n}\n\nexport interface OrderAddon {\n\tid?: number;\n\taddonId: number;\n\toptions: OrderAddonOption[];\n}\n\nexport interface SelectedAddons {\n\t[key: number]: number | number[];\n}\n\nexport interface OrderItemVariant {\n\tid?: number;\n\tvariantId: number;\n\tprice: number;\n}\n\nexport interface OrderItem {\n\tid?: number;\n\tproductId: number;\n\torderId?: number;\n\tquantity: number;\n\tprice: number;\n\tvariant?: OrderItemVariant;\n\taddons: OrderAddon[];\n\tnote?: string;\n\tstatus?: OrderItemStatus;\n\tvat?: number;\n\tisPaid?: boolean;\n}\n\nexport interface Order {\n\tid?: number;\n\tbusinessId?: number;\n\tbranchId?: number;\n\tworkingDayId?: number;\n\ttableId?: number;\n\temployeeId?: number;\n\torderType: OrderType;\n\ttotalPriceWithTax: number;\n\ttotalPriceWithoutTax: number;\n\ttotalTax: number;\n\titems: OrderItem[];\n\tstatus?: OrderStatus;\n\tvat?: number;\n\tpaymentMethod?: PaymentMethod;\n\tnote?: string;\n\tcreatedAt?: number;\n\tupdatedAt?: number;\n\tcustomer?: customerModels.Customer;\n}\n\nexport interface OrderItems {\n\t[key: string]: OrderItem;\n}\n\nexport enum OrderStep {\n\tCART = \"CART\",\n\tDETAILS = \"DETAILS\",\n\tCOMPLETED = \"COMPLETED\",\n}\n\nexport interface OrderPayload extends Order {\n\tcustomerAddressId: number;\n\tcustomerId: number;\n}\n","import { MenuAddon } from \"../addon/models\";\n\nexport interface ProductTranslation {\n\tid: number;\n\tname: string;\n\tdescription?: string;\n\tlanguage: string;\n\tproductId?: number;\n}\n\nexport interface ProductVariantTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface ProductVariant {\n\tid?: number;\n\tprice: number;\n\ttranslations: ProductVariantTranslation[];\n\tproductId?: number;\n\tremove?: boolean;\n}\n\nexport interface Product {\n\tid: number;\n\tcategoryId: number;\n\tvat?: number;\n\tprice: number;\n\tvolume?: string; // 100qr/250ml/1kq\n\timage160?: string;\n\timage580?: string;\n\timage1024?: string;\n\ttranslations: ProductTranslation[];\n\tvariants: ProductVariant[];\n\taddons: MenuAddon[];\n\tavailable?: boolean;\n\tvisible?: boolean;\n\tposition?: number;\n}\n\nexport enum ProductView {\n\tLIST = \"list\",\n\tGRID = \"grid\",\n}\n\nexport interface DashboardProduct extends Omit<Product, \"addons\"> {\n\taddons: number[];\n}\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","export enum TableShape {\n\tSQUARE = \"SQUARE\",\n\tCIRCLE = \"CIRCLE\",\n\tRECTANGLE = \"RECTANGLE\",\n\tRECTANGLE_VERTICAL = \"RECTANGLE_VERTICAL\",\n\tSINGLE_AT_BAR = \"SINGLE_AT_BAR\",\n\tOTHER = \"OTHER\",\n}\n\nexport enum TableStatus {\n\tVACANT = \"VACANT\", // Free and available\n\tRESERVED = \"RESERVED\", // Booked but not yet seated\n\tOCCUPIED = \"OCCUPIED\", // Currently in use\n\tBLOCKED = \"BLOCKED\", // Temporarily blocked/unavailable\n\tNEEDS_CLEANING = \"NEEDS_CLEANING\", // Dirty, awaiting cleanup\n\tOUT_OF_SERVICE = \"OUT_OF_SERVICE\", // Permanently unavailable repair/maintenance\n\tPENDING_CONFIRMATION = \"PENDING_CONFIRMATION\", // Reservation not yet confirmed\n\tNO_SHOW = \"NO_SHOW\", // Reserved but guest didn’t arrive\n}\n\nexport enum TableLocation {\n\t// Indoor\n\tMAIN_HALL = \"MAIN_HALL\",\n\tPRIVATE_DINING = \"PRIVATE_DINING\",\n\tVIP_ROOM = \"VIP_ROOM\",\n\tBANQUET_HALL = \"BANQUET_HALL\",\n\tBAR_AREA = \"BAR_AREA\",\n\tLOUNGE = \"LOUNGE\",\n\tOPEN_KITCHEN = \"OPEN_KITCHEN\",\n\tBOOTH_SECTION = \"BOOTH_SECTION\",\n\tMEZZANINE = \"MEZZANINE\",\n\tWINE_CELLAR = \"WINE_CELLAR\",\n\n\t// Outdoor\n\tTERRACE = \"TERRACE\",\n\tPATIO = \"PATIO\",\n\tGARDEN = \"GARDEN\",\n\tCOURTYARD = \"COURTYARD\",\n\tROOFTOP = \"ROOFTOP\",\n\tBALCONY = \"BALCONY\",\n\tSIDEWALK = \"SIDEWALK\",\n\tPOOLSIDE = \"POOLSIDE\",\n\n\t// Special Sections\n\tSMOKING_AREA = \"SMOKING_AREA\",\n\tNON_SMOKING = \"NON_SMOKING\",\n\tFAMILY_SECTION = \"FAMILY_SECTION\",\n\tKIDS_AREA = \"KIDS_AREA\",\n\tWAITING_AREA = \"WAITING_AREA\",\n\tDANCE_FLOOR = \"DANCE_FLOOR\",\n}\n\nexport interface Table {\n\tid: number;\n\tbusinessId: number;\n\tbranchId: number;\n\tname: string;\n\tseatCount: number;\n\tshape: TableShape;\n\tlocation: TableLocation;\n\tstatus: TableStatus;\n}\n\nexport interface TableState {\n\ttables: Table[];\n}\n\nexport type TableForm = Omit<Table, \"id\" | \"businessId\" | \"branchId\"> & {\n\tbranchId: string | number;\n};\n\nexport type TableUpdate = Partial<Omit<Table, \"id\" | \"businessId\">>;\n\nexport type TableFilter = Partial<Pick<Table, \"branchId\" | \"shape\" | \"location\" | \"status\">>;\n\nexport type TableFilterParams = { field: keyof TableFilter; value: TableFilter[keyof TableFilter] };\n"],"names":["MenuAddonSelectType","BusinessSetting","CustomerAuthStep","CustomerAddressType","FeatureSegment","OrderType","OrderStatus","OrderItemStatus","PaymentMethod","OrderStep","ProductView","PlanType","SubscriptionStatus","TableShape","TableStatus","TableLocation","Feature"],"mappings":"aAAA,IAAYA,ECiBAC,ECjBAC,EAMAC,ECHAC,ECDAC,EAMAC,EAaAC,EAOAC,EAmEAC,ECtDAC,ECzCAC,EAuBAC,ECvBAC,EASAC,EAWAC,EPpBAf,QAAAA,yBAAAA,GAAAA,EAAAA,QAAmBA,sBAAnBA,4BAGX,CAAA,IAFA,OAAA,SACAA,EAAA,SAAA,WCeWC,QAAAA,qBAAAA,GAAAA,EAAAA,QAAeA,kBAAfA,wBAMX,CAAA,IALA,sBAAA,sBACAA,EAAA,uBAAA,uBACAA,EAAA,qBAAA,qBACAA,EAAA,sBAAA,qBACAA,EAAA,oBAAA,oBCtBWC,QAAAA,sBAAAA,GAAAA,EAAAA,QAAgBA,mBAAhBA,yBAIX,CAAA,IAHA,MAAA,QACAA,EAAA,IAAA,MACAA,EAAA,MAAA,QAGWC,QAAAA,yBAAAA,GAAAA,EAAAA,QAAmBA,sBAAnBA,4BAIX,CAAA,IAHA,KAAA,OACAA,EAAA,KAAA,OACAA,EAAA,OAAA,SCTWa,QAAAA,aAAAA,GAAAA,QAAOA,UAAPA,gBAEX,CAAA,IADA,MAAA,gBAEWZ,QAAAA,oBAAAA,GAAAA,EAAAA,QAAcA,iBAA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ACAA,EAAA,UAAA,YACAA,EAAA,mBAAA,qBACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,QAGWC,QAAAA,iBAAAA,GAAAA,EAAAA,QAAWA,cAAXA,oBASX,CAAA,IARA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,QAAA,UACAA,EAAA,eAAA,iBACAA,EAAA,eAAA,iBACAA,EAAA,qBAAA,uBACAA,EAAA,QAAA,UAGWC,QAAAA,mBAAAA,GAAAA,EAAAA,QAAaA,gBAAbA,sBA8BX,CAAA,IA5BA,UAAA,YACAA,EAAA,eAAA,iBACAA,EAAA,SAAA,WACAA,EAAA,aAAA,eACAA,EAAA,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eACAA,EAAA,cAAA,gBACAA,EAAA,UAAA,YACAA,EAAA,YAAA,cAGAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WAGAA,EAAA,aAAA,eACAA,EAAA,YAAA,cACAA,EAAA,eAAA,iBACAA,EAAA,UAAA,YACAA,EAAA,aAAA,eACAA,EAAA,YAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/modules/addon/models.ts","../../../src/modules/branch/models.ts","../../../src/modules/business/models.ts","../../../src/modules/customer/models.ts","../../../src/modules/feature/models.ts","../../../src/modules/order/models.ts","../../../src/modules/product/models.ts","../../../src/modules/subscription/models.ts","../../../src/modules/table/models.ts"],"sourcesContent":["export enum MenuAddonSelectType {\n\tSINGLE = \"SINGLE\",\n\tMULTIPLE = \"MULTIPLE\",\n}\n\nexport interface MenuAddonTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOptionTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface MenuAddonOption {\n\tid?: number;\n\tprice: number;\n\ttranslations: MenuAddonOptionTranslation[];\n\tremove?: boolean;\n}\n\nexport interface MenuAddon {\n\tid?: number;\n\tselectType: MenuAddonSelectType;\n\ttranslations: MenuAddonTranslation[];\n\toptions: MenuAddonOption[];\n\tbusinessId?: number;\n}\n","export type BranchWorkHour = {\n\topenAt: string;\n\tcloseAt: string;\n};\n\nexport type BranchWorkDay = {\n\tday: number;\n\thours: BranchWorkHour | null;\n};\n\nexport type BranchWorkDays = {\n\tdays: BranchWorkDay[];\n};\n\nexport interface BranchSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BranchSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Branch {\n\tid: number;\n\tname: string;\n\tbusinessId: number;\n\taddress: string;\n\tlongitude?: number;\n\tlatitude?: number;\n\tphone?: string;\n\twifiPassword?: string;\n\tcreatedAt?: number;\n\tcoverPhoto?: string;\n\tsettings?: BranchSettings;\n\topeningHours?: BranchWorkDays;\n\tdeliveryHours?: BranchWorkDays;\n}\n\nexport type BranchServes = {\n\tisOpen: boolean;\n\tisDelivering: boolean;\n};\n","import * as featureModels from \"../feature/models\";\nimport * as subscriptionModels from \"../subscription/models\";\n\nexport interface BusinessLanguage {\n\tid: number;\n\tcode: string;\n\tbusinessId: number;\n}\n\nexport interface BusinessSettings {\n\tdeliveryOrderEnabled: boolean;\n\tpickupOrderEnabled: boolean;\n\tdineInOrderEnabled: boolean;\n\tmaxDeliveryDistance: number;\n\tminDeliveryAmount: number;\n}\n\nexport enum BusinessSetting {\n\tMAX_DELIVERY_DISTANCE = \"maxDeliveryDistance\",\n\tDELIVERY_ORDER_ENABLED = \"deliveryOrderEnabled\",\n\tPICKUP_ORDER_ENABLED = \"pickupOrderEnabled\",\n\tDINE_IN_ORDER_ENABLED = \"dineInOrderEnabled\",\n\tMIN_DELIVERY_AMOUNT = \"minDeliveryAmount\",\n}\n\nexport interface Business {\n\tid: number;\n\tname: string;\n\tusername: string;\n\tavatar64?: string;\n\tavatar128?: string;\n\tavatar256?: string;\n\tcoverPhoto?: string;\n\tinstagram?: string;\n\tfacebook?: string;\n\ttiktok?: string;\n\tcreatedAt?: number;\n\tcurrency: string;\n\tlanguages: BusinessLanguage[];\n\tsubscriptions?: subscriptionModels.Subscription[];\n\tsegment?: featureModels.FeatureSegment;\n\tsettings?: BusinessSettings;\n}\n","export enum CustomerAuthStep {\n\tPHONE = \"PHONE\",\n\tOTP = \"OTP\",\n\tEMAIL = \"EMAIL\",\n}\n\nexport enum CustomerAddressType {\n\tHOME = \"HOME\",\n\tWORK = \"WORK\",\n\tTRAVEL = \"TRAVEL\",\n}\n\nexport interface CustomerAddress {\n\tid?: number;\n\taddressId?: number; // Update address temporary\n\tcountryCode: string;\n\tcityName: string;\n\tstreet: string;\n\thouseNumber: string;\n\tadditionalNumber?: string;\n\tpostCode?: string;\n\tinstructions?: string;\n\tfloor?: number;\n\tlongitude?: number;\n\tlatitude?: number;\n\ttitle?: string;\n\ttype?: CustomerAddressType;\n}\n\nexport interface CustomerAuthForm {\n\tphoneNumber: string;\n\totp: string;\n\temail: string;\n}\n\nexport interface CustomerAuthPhoneForm {\n\tcountryCode: string;\n\tphoneNumber: string;\n}\n\nexport interface AuthResponse {\n\taccessToken: string;\n\trefreshToken: string;\n}\n\nexport interface Customer {\n\tid?: number;\n\temail: string;\n\tphoneNumber: string;\n\tfullName: string;\n\tsmsVerified?: boolean;\n\temailVerified?: boolean;\n\taddress?: CustomerAddress;\n\taddresses?: CustomerAddress[];\n}\n\nexport type CustomerUpdatePayload = Partial<Customer>;\n","export enum Feature {\n\tORDER = \"feature_order\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import * as customerModels from \"../customer/models\";\n\nexport enum OrderType {\n\tDINE_IN = \"DINE_IN\",\n\tPICK_UP = \"PICK_UP\",\n\tDELIVERY = \"DELIVERY\",\n}\n\nexport enum OrderStatus {\n\tDRAFT = \"DRAFT\",\n\tPENDING = \"PENDING\",\n\tCONFIRMED = \"CONFIRMED\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tOUT_FOR_DELIVERY = \"OUT_FOR_DELIVERY\",\n\tDELIVERED = \"DELIVERED\",\n\tCOMPLETED = \"COMPLETED\",\n\tCANCELLED = \"CANCELLED\",\n\tFAILED = \"FAILED\",\n}\n\nexport enum OrderItemStatus {\n\tPENDING = \"PENDING\",\n\tPREPARING = \"PREPARING\",\n\tREADY = \"READY\",\n\tSERVED = \"SERVED\",\n}\n\nexport enum PaymentMethod {\n\tCASH = \"CASH\",\n\tCARD = \"CARD\",\n\tWALLET = \"WALLET\",\n\tTERMINAL = \"TERMINAL\",\n}\n\nexport interface OrderAddonOption {\n\toptionId: number;\n\tprice: number;\n}\n\nexport interface OrderAddon {\n\tid?: number;\n\taddonId: number;\n\toptions: OrderAddonOption[];\n}\n\nexport interface SelectedAddons {\n\t[key: number]: number | number[];\n}\n\nexport interface OrderItemVariant {\n\tid?: number;\n\tvariantId: number;\n\tprice: number;\n}\n\nexport interface OrderItem {\n\tid?: number;\n\tproductId: number;\n\torderId?: number;\n\tquantity: number;\n\tprice: number;\n\tvariant?: OrderItemVariant;\n\taddons: OrderAddon[];\n\tnote?: string;\n\tstatus?: OrderItemStatus;\n\tvat?: number;\n\tisPaid?: boolean;\n}\n\nexport interface Order {\n\tid?: number;\n\tbusinessId?: number;\n\tbranchId?: number;\n\tworkingDayId?: number;\n\ttableId?: number;\n\temployeeId?: number;\n\torderType: OrderType;\n\ttotalPriceWithTax: number;\n\ttotalPriceWithoutTax: number;\n\ttotalTax: number;\n\titems: OrderItem[];\n\tstatus?: OrderStatus;\n\tvat?: number;\n\tpaymentMethod?: PaymentMethod;\n\tnote?: string;\n\tcreatedAt?: number;\n\tupdatedAt?: number;\n\tcustomer?: customerModels.Customer;\n}\n\nexport interface OrderItems {\n\t[key: string]: OrderItem;\n}\n\nexport enum OrderStep {\n\tCART = \"CART\",\n\tDETAILS = \"DETAILS\",\n\tCOMPLETED = \"COMPLETED\",\n}\n\nexport interface OrderPayload extends Order {\n\tcustomerAddressId: number;\n\tcustomerId: number;\n}\n","import { MenuAddon } from \"../addon/models\";\n\nexport interface ProductTranslation {\n\tid: number;\n\tname: string;\n\tdescription?: string;\n\tlanguage: string;\n\tproductId?: number;\n}\n\nexport interface ProductVariantTranslation {\n\tid?: number;\n\ttitle: string;\n\tlanguage: string;\n}\n\nexport interface ProductVariant {\n\tid?: number;\n\tprice: number;\n\ttranslations: ProductVariantTranslation[];\n\tproductId?: number;\n\tremove?: boolean;\n}\n\nexport interface Product {\n\tid: number;\n\tcategoryId: number;\n\tvat?: number;\n\tprice: number;\n\tvolume?: string; // 100qr/250ml/1kq\n\timage160?: string;\n\timage580?: string;\n\timage1024?: string;\n\ttranslations: ProductTranslation[];\n\tvariants: ProductVariant[];\n\taddons: MenuAddon[];\n\tavailable?: boolean;\n\tvisible?: boolean;\n\tposition?: number;\n}\n\nexport enum ProductView {\n\tLIST = \"list\",\n\tGRID = \"grid\",\n}\n\nexport interface DashboardProduct extends Omit<Product, \"addons\"> {\n\taddons: number[];\n}\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","export enum TableShape {\n\tSQUARE = \"SQUARE\",\n\tCIRCLE = \"CIRCLE\",\n\tRECTANGLE = \"RECTANGLE\",\n\tRECTANGLE_VERTICAL = \"RECTANGLE_VERTICAL\",\n\tSINGLE_AT_BAR = \"SINGLE_AT_BAR\",\n\tOTHER = \"OTHER\",\n}\n\nexport enum TableStatus {\n\tVACANT = \"VACANT\", // Free and available\n\tRESERVED = \"RESERVED\", // Booked but not yet seated\n\tOCCUPIED = \"OCCUPIED\", // Currently in use\n\tBLOCKED = \"BLOCKED\", // Temporarily blocked/unavailable\n\tNEEDS_CLEANING = \"NEEDS_CLEANING\", // Dirty, awaiting cleanup\n\tOUT_OF_SERVICE = \"OUT_OF_SERVICE\", // Permanently unavailable repair/maintenance\n\tPENDING_CONFIRMATION = \"PENDING_CONFIRMATION\", // Reservation not yet confirmed\n\tNO_SHOW = \"NO_SHOW\", // Reserved but guest didn’t arrive\n}\n\nexport enum TableLocation {\n\t// Indoor\n\tMAIN_HALL = \"MAIN_HALL\",\n\tPRIVATE_DINING = \"PRIVATE_DINING\",\n\tVIP_ROOM = \"VIP_ROOM\",\n\tBANQUET_HALL = \"BANQUET_HALL\",\n\tBAR_AREA = \"BAR_AREA\",\n\tLOUNGE = \"LOUNGE\",\n\tOPEN_KITCHEN = \"OPEN_KITCHEN\",\n\tBOOTH_SECTION = \"BOOTH_SECTION\",\n\tMEZZANINE = \"MEZZANINE\",\n\tWINE_CELLAR = \"WINE_CELLAR\",\n\n\t// Outdoor\n\tTERRACE = \"TERRACE\",\n\tPATIO = \"PATIO\",\n\tGARDEN = \"GARDEN\",\n\tCOURTYARD = \"COURTYARD\",\n\tROOFTOP = \"ROOFTOP\",\n\tBALCONY = \"BALCONY\",\n\tSIDEWALK = \"SIDEWALK\",\n\tPOOLSIDE = \"POOLSIDE\",\n\n\t// Special Sections\n\tSMOKING_AREA = \"SMOKING_AREA\",\n\tNON_SMOKING = \"NON_SMOKING\",\n\tFAMILY_SECTION = \"FAMILY_SECTION\",\n\tKIDS_AREA = \"KIDS_AREA\",\n\tWAITING_AREA = \"WAITING_AREA\",\n\tDANCE_FLOOR = \"DANCE_FLOOR\",\n}\n\nexport interface Table {\n\tid: number;\n\tbusinessId: number;\n\tbranchId: number;\n\tname: string;\n\tseatCount: number;\n\tshape: TableShape;\n\tlocation: TableLocation;\n\tstatus: TableStatus;\n}\n\nexport interface TableState {\n\ttables: Table[];\n}\n\nexport type TableForm = Omit<Table, \"id\" | \"businessId\" | \"branchId\"> & {\n\tbranchId: string | number;\n};\n\nexport type TableUpdate = Partial<Omit<Table, \"id\" | \"businessId\">>;\n\nexport type TableFilter = Partial<Pick<Table, \"branchId\" | \"shape\" | \"location\" | \"status\">>;\n\nexport type TableFilterParams = { field: keyof TableFilter; value: TableFilter[keyof TableFilter] };\n"],"names":["MenuAddonSelectType","BranchSetting","BusinessSetting","CustomerAuthStep","CustomerAddressType","FeatureSegment","OrderType","OrderStatus","OrderItemStatus","PaymentMethod","OrderStep","ProductView","PlanType","SubscriptionStatus","TableShape","TableStatus","TableLocation","Feature"],"mappings":"aAAA,IAAYA,ECsBAC,ECLAC,ECjBAC,EAMAC,ECHAC,ECDAC,EAMAC,EAaAC,EAOAC,EAmEAC,ECtDAC,ECzCAC,EAuBAC,ECvBAC,EASAC,EAWAC,ERpBAhB,QAAAA,yBAAAA,GAAAA,EAAAA,QAAmBA,sBAAnB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ACAA,EAAA,YAAA,cAGAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WAGAA,EAAA,aAAA,eACAA,EAAA,YAAA,cACAA,EAAA,eAAA,iBACAA,EAAA,UAAA,YACAA,EAAA,aAAA,eACAA,EAAA,YAAA"}
@@ -1,2 +1,4 @@
1
1
  import * as viewModels from "../view/models";
2
+ import { BranchServes } from "./models";
2
3
  export declare const useBranchCoordinates: () => viewModels.Coordinates;
4
+ export declare const useBranchServes: () => BranchServes;
@@ -6,6 +6,23 @@ export type BranchWorkDay = {
6
6
  day: number;
7
7
  hours: BranchWorkHour | null;
8
8
  };
9
+ export type BranchWorkDays = {
10
+ days: BranchWorkDay[];
11
+ };
12
+ export interface BranchSettings {
13
+ deliveryOrderEnabled: boolean;
14
+ pickupOrderEnabled: boolean;
15
+ dineInOrderEnabled: boolean;
16
+ maxDeliveryDistance: number;
17
+ minDeliveryAmount: number;
18
+ }
19
+ export declare enum BranchSetting {
20
+ MAX_DELIVERY_DISTANCE = "maxDeliveryDistance",
21
+ DELIVERY_ORDER_ENABLED = "deliveryOrderEnabled",
22
+ PICKUP_ORDER_ENABLED = "pickupOrderEnabled",
23
+ DINE_IN_ORDER_ENABLED = "dineInOrderEnabled",
24
+ MIN_DELIVERY_AMOUNT = "minDeliveryAmount"
25
+ }
9
26
  export interface Branch {
10
27
  id: number;
11
28
  name: string;
@@ -17,4 +34,11 @@ export interface Branch {
17
34
  wifiPassword?: string;
18
35
  createdAt?: number;
19
36
  coverPhoto?: string;
37
+ settings?: BranchSettings;
38
+ openingHours?: BranchWorkDays;
39
+ deliveryHours?: BranchWorkDays;
20
40
  }
41
+ export type BranchServes = {
42
+ isOpen: boolean;
43
+ isDelivering: boolean;
44
+ };
@@ -0,0 +1,9 @@
1
+ import { Branch, BranchWorkDays } from "src/models";
2
+ export declare const getVenueName: (businessName: string, hasSingleBranch: boolean, selectedBranch?: Branch) => string;
3
+ export declare function normalizeRootPath(rootPath: string): string;
4
+ export declare const getHoursForDay: (schedule: BranchWorkDays, weekDayIndex: number) => import("src/models").BranchWorkHour;
5
+ export declare const splitHours: (hours: string) => number[];
6
+ export declare const isWithinTimeRange: (timeRange?: {
7
+ openAt: string;
8
+ closeAt: string;
9
+ }) => boolean;
@@ -20,7 +20,6 @@ export declare const useOrderItemPrice: (item: OrderItem) => {
20
20
  totalPrice: number;
21
21
  formattedTotalPrice: string;
22
22
  };
23
- export declare const useOrderActiveForBusiness: () => boolean;
24
23
  export declare const useDeliveryDistanceError: () => string | null;
25
24
  export declare const useDeliveryAmountError: () => string | null;
26
25
  export declare const useOrderErrorInDetails: () => string | null;
@@ -25,5 +25,5 @@ export declare const getOrderItemPrice: (orderItem: OrderItem) => {
25
25
  export declare const getSelectedAddonsFromOrderItems: (item: OrderItem) => SelectedAddons;
26
26
  export declare const getStatusIcon: (status: OrderStatus) => IconType;
27
27
  export declare const buildSelectedAddonsPayload: (productAddons?: addonModels.MenuAddon[], selectedAddons?: SelectedAddons) => OrderAddon[];
28
- export declare const getDefaultOrderType: (settings: businessModels.BusinessSettings) => OrderType;
28
+ export declare const getDefaultOrderType: (settings: businessModels.BusinessSettings, isOpen: boolean, isDelivering: boolean) => OrderType | null;
29
29
  export declare const getOrderErrorMessages: (field: keyof Order) => OrderErrors;
@@ -2,6 +2,7 @@ export declare const MODALS: {
2
2
  ADD_UPDATE_NOTES: string;
3
3
  AUTH: string;
4
4
  ADD_UPDATE_ADDRESS: string;
5
+ BRANCH_BUSINESS_HOURS: string;
5
6
  };
6
7
  export declare const SUPPORTED_LOCALES: string[];
7
8
  export declare const DEFAULT_LANGUAGE = "en";
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ "WEEKDAY-0": string;
3
+ "WEEKDAY-1": string;
4
+ "WEEKDAY-2": string;
5
+ "WEEKDAY-3": string;
6
+ "WEEKDAY-4": string;
7
+ "WEEKDAY-5": string;
8
+ "WEEKDAY-6": string;
9
+ Closed: string;
10
+ "Opening Hours": string;
11
+ "Delivery Hours": string;
12
+ };
13
+ export default _default;
@@ -62,6 +62,7 @@ declare const _default: {
62
62
  Table: string;
63
63
  "Select Table": string;
64
64
  Card: string;
65
+ "Closed Now": string;
65
66
  };
66
67
  customer: {
67
68
  "Unknown address": string;
@@ -128,5 +129,17 @@ declare const _default: {
128
129
  "Try for free": string;
129
130
  "No credit card needed": string;
130
131
  };
132
+ branch: {
133
+ "WEEKDAY-0": string;
134
+ "WEEKDAY-1": string;
135
+ "WEEKDAY-2": string;
136
+ "WEEKDAY-3": string;
137
+ "WEEKDAY-4": string;
138
+ "WEEKDAY-5": string;
139
+ "WEEKDAY-6": string;
140
+ Closed: string;
141
+ "Opening Hours": string;
142
+ "Delivery Hours": string;
143
+ };
131
144
  };
132
145
  export default _default;
@@ -38,5 +38,6 @@ declare const _default: {
38
38
  Table: string;
39
39
  "Select Table": string;
40
40
  Card: string;
41
+ "Closed Now": string;
41
42
  };
42
43
  export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ "WEEKDAY-0": string;
3
+ "WEEKDAY-1": string;
4
+ "WEEKDAY-2": string;
5
+ "WEEKDAY-3": string;
6
+ "WEEKDAY-4": string;
7
+ "WEEKDAY-5": string;
8
+ "WEEKDAY-6": string;
9
+ };
10
+ export default _default;
@@ -19,5 +19,14 @@ declare const _default: {
19
19
  auth: {};
20
20
  events: {};
21
21
  pricing: {};
22
+ branch: {
23
+ "WEEKDAY-0": string;
24
+ "WEEKDAY-1": string;
25
+ "WEEKDAY-2": string;
26
+ "WEEKDAY-3": string;
27
+ "WEEKDAY-4": string;
28
+ "WEEKDAY-5": string;
29
+ "WEEKDAY-6": string;
30
+ };
22
31
  };
23
32
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ "WEEKDAY-0": string;
3
+ "WEEKDAY-1": string;
4
+ "WEEKDAY-2": string;
5
+ "WEEKDAY-3": string;
6
+ "WEEKDAY-4": string;
7
+ "WEEKDAY-5": string;
8
+ "WEEKDAY-6": string;
9
+ Closed: string;
10
+ "Opening Hours": string;
11
+ "Delivery Hours": string;
12
+ };
13
+ export default _default;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  Table: string;
64
64
  "Select Table": string;
65
65
  Card: string;
66
+ "Closed Now": string;
66
67
  };
67
68
  customer: {
68
69
  "Unknown address": string;
@@ -127,5 +128,17 @@ declare const _default: {
127
128
  "Try for free": string;
128
129
  "No credit card needed": string;
129
130
  };
131
+ branch: {
132
+ "WEEKDAY-0": string;
133
+ "WEEKDAY-1": string;
134
+ "WEEKDAY-2": string;
135
+ "WEEKDAY-3": string;
136
+ "WEEKDAY-4": string;
137
+ "WEEKDAY-5": string;
138
+ "WEEKDAY-6": string;
139
+ Closed: string;
140
+ "Opening Hours": string;
141
+ "Delivery Hours": string;
142
+ };
130
143
  };
131
144
  export default _default;
@@ -39,5 +39,6 @@ declare const _default: {
39
39
  Table: string;
40
40
  "Select Table": string;
41
41
  Card: string;
42
+ "Closed Now": string;
42
43
  };
43
44
  export default _default;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  Table: string;
64
64
  "Select Table": string;
65
65
  Card: string;
66
+ "Closed Now": string;
66
67
  };
67
68
  customer: {
68
69
  "Unknown address": string;
@@ -129,6 +130,18 @@ declare const _default: {
129
130
  "Try for free": string;
130
131
  "No credit card needed": string;
131
132
  };
133
+ branch: {
134
+ "WEEKDAY-0": string;
135
+ "WEEKDAY-1": string;
136
+ "WEEKDAY-2": string;
137
+ "WEEKDAY-3": string;
138
+ "WEEKDAY-4": string;
139
+ "WEEKDAY-5": string;
140
+ "WEEKDAY-6": string;
141
+ Closed: string;
142
+ "Opening Hours": string;
143
+ "Delivery Hours": string;
144
+ };
132
145
  };
133
146
  en: {
134
147
  error: {
@@ -151,6 +164,15 @@ declare const _default: {
151
164
  auth: {};
152
165
  events: {};
153
166
  pricing: {};
167
+ branch: {
168
+ "WEEKDAY-0": string;
169
+ "WEEKDAY-1": string;
170
+ "WEEKDAY-2": string;
171
+ "WEEKDAY-3": string;
172
+ "WEEKDAY-4": string;
173
+ "WEEKDAY-5": string;
174
+ "WEEKDAY-6": string;
175
+ };
154
176
  };
155
177
  ru: {
156
178
  error: {
@@ -217,6 +239,7 @@ declare const _default: {
217
239
  Table: string;
218
240
  "Select Table": string;
219
241
  Card: string;
242
+ "Closed Now": string;
220
243
  };
221
244
  customer: {
222
245
  "Unknown address": string;
@@ -281,6 +304,18 @@ declare const _default: {
281
304
  "Try for free": string;
282
305
  "No credit card needed": string;
283
306
  };
307
+ branch: {
308
+ "WEEKDAY-0": string;
309
+ "WEEKDAY-1": string;
310
+ "WEEKDAY-2": string;
311
+ "WEEKDAY-3": string;
312
+ "WEEKDAY-4": string;
313
+ "WEEKDAY-5": string;
314
+ "WEEKDAY-6": string;
315
+ Closed: string;
316
+ "Opening Hours": string;
317
+ "Delivery Hours": string;
318
+ };
284
319
  };
285
320
  tr: {
286
321
  error: {
@@ -347,6 +382,7 @@ declare const _default: {
347
382
  Table: string;
348
383
  "Select Table": string;
349
384
  Card: string;
385
+ "Closed Now": string;
350
386
  };
351
387
  customer: {
352
388
  "Unknown address": string;
@@ -411,6 +447,18 @@ declare const _default: {
411
447
  "Try for free": string;
412
448
  "No credit card needed": string;
413
449
  };
450
+ branch: {
451
+ "WEEKDAY-0": string;
452
+ "WEEKDAY-1": string;
453
+ "WEEKDAY-2": string;
454
+ "WEEKDAY-3": string;
455
+ "WEEKDAY-4": string;
456
+ "WEEKDAY-5": string;
457
+ "WEEKDAY-6": string;
458
+ Closed: string;
459
+ "Opening Hours": string;
460
+ "Delivery Hours": string;
461
+ };
414
462
  };
415
463
  nl: {
416
464
  error: {
@@ -477,6 +525,7 @@ declare const _default: {
477
525
  Table: string;
478
526
  "Select Table": string;
479
527
  Card: string;
528
+ "Closed Now": string;
480
529
  };
481
530
  customer: {
482
531
  "Unknown address": string;
@@ -541,6 +590,18 @@ declare const _default: {
541
590
  "Try for free": string;
542
591
  "No credit card needed": string;
543
592
  };
593
+ branch: {
594
+ "WEEKDAY-0": string;
595
+ "WEEKDAY-1": string;
596
+ "WEEKDAY-2": string;
597
+ "WEEKDAY-3": string;
598
+ "WEEKDAY-4": string;
599
+ "WEEKDAY-5": string;
600
+ "WEEKDAY-6": string;
601
+ Closed: string;
602
+ "Opening Hours": string;
603
+ "Delivery Hours": string;
604
+ };
544
605
  };
545
606
  et: {
546
607
  error: {
@@ -607,6 +668,7 @@ declare const _default: {
607
668
  Table: string;
608
669
  "Select Table": string;
609
670
  Card: string;
671
+ "Closed Now": string;
610
672
  };
611
673
  customer: {
612
674
  "Unknown address": string;
@@ -671,6 +733,18 @@ declare const _default: {
671
733
  "Try for free": string;
672
734
  "No credit card needed": string;
673
735
  };
736
+ branch: {
737
+ "WEEKDAY-0": string;
738
+ "WEEKDAY-1": string;
739
+ "WEEKDAY-2": string;
740
+ "WEEKDAY-3": string;
741
+ "WEEKDAY-4": string;
742
+ "WEEKDAY-5": string;
743
+ "WEEKDAY-6": string;
744
+ Closed: string;
745
+ "Opening Hours": string;
746
+ "Delivery Hours": string;
747
+ };
674
748
  };
675
749
  };
676
750
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ "WEEKDAY-0": string;
3
+ "WEEKDAY-1": string;
4
+ "WEEKDAY-2": string;
5
+ "WEEKDAY-3": string;
6
+ "WEEKDAY-4": string;
7
+ "WEEKDAY-5": string;
8
+ "WEEKDAY-6": string;
9
+ Closed: string;
10
+ "Opening Hours": string;
11
+ "Delivery Hours": string;
12
+ };
13
+ export default _default;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  Table: string;
64
64
  "Select Table": string;
65
65
  Card: string;
66
+ "Closed Now": string;
66
67
  };
67
68
  customer: {
68
69
  "Unknown address": string;
@@ -127,5 +128,17 @@ declare const _default: {
127
128
  "Try for free": string;
128
129
  "No credit card needed": string;
129
130
  };
131
+ branch: {
132
+ "WEEKDAY-0": string;
133
+ "WEEKDAY-1": string;
134
+ "WEEKDAY-2": string;
135
+ "WEEKDAY-3": string;
136
+ "WEEKDAY-4": string;
137
+ "WEEKDAY-5": string;
138
+ "WEEKDAY-6": string;
139
+ Closed: string;
140
+ "Opening Hours": string;
141
+ "Delivery Hours": string;
142
+ };
130
143
  };
131
144
  export default _default;
@@ -39,5 +39,6 @@ declare const _default: {
39
39
  Table: string;
40
40
  "Select Table": string;
41
41
  Card: string;
42
+ "Closed Now": string;
42
43
  };
43
44
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ "WEEKDAY-0": string;
3
+ "WEEKDAY-1": string;
4
+ "WEEKDAY-2": string;
5
+ "WEEKDAY-3": string;
6
+ "WEEKDAY-4": string;
7
+ "WEEKDAY-5": string;
8
+ "WEEKDAY-6": string;
9
+ Closed: string;
10
+ "Opening Hours": string;
11
+ "Delivery Hours": string;
12
+ };
13
+ export default _default;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  Table: string;
64
64
  "Select Table": string;
65
65
  Card: string;
66
+ "Closed Now": string;
66
67
  };
67
68
  customer: {
68
69
  "Unknown address": string;
@@ -127,5 +128,17 @@ declare const _default: {
127
128
  "Try for free": string;
128
129
  "No credit card needed": string;
129
130
  };
131
+ branch: {
132
+ "WEEKDAY-0": string;
133
+ "WEEKDAY-1": string;
134
+ "WEEKDAY-2": string;
135
+ "WEEKDAY-3": string;
136
+ "WEEKDAY-4": string;
137
+ "WEEKDAY-5": string;
138
+ "WEEKDAY-6": string;
139
+ Closed: string;
140
+ "Opening Hours": string;
141
+ "Delivery Hours": string;
142
+ };
130
143
  };
131
144
  export default _default;