@managesome/eposmatic-toolkit 0.4.14 → 0.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.
- package/esm/schemas/models/index.js +0 -1
- package/esm/schemas/types/index.js +0 -1
- package/lib/schemas/models/brands.d.ts +6 -6
- package/lib/schemas/models/categories.d.ts +6 -6
- package/lib/schemas/models/close_dates.d.ts +3 -3
- package/lib/schemas/models/courses.d.ts +3 -3
- package/lib/schemas/models/customer_redemptions.d.ts +3 -3
- package/lib/schemas/models/customers.d.ts +6 -6
- package/lib/schemas/models/deliveries.d.ts +9 -9
- package/lib/schemas/models/delivery_areas.d.ts +3 -3
- package/lib/schemas/models/dinein_floors.d.ts +3 -3
- package/lib/schemas/models/dinein_tables.d.ts +6 -6
- package/lib/schemas/models/dinein_tables_fingerprints.d.ts +9 -9
- package/lib/schemas/models/discounts.d.ts +27 -27
- package/lib/schemas/models/expense_categories.d.ts +3 -3
- package/lib/schemas/models/expense_details.d.ts +12 -12
- package/lib/schemas/models/gift_cards.d.ts +3 -3
- package/lib/schemas/models/halfhalf_setup.d.ts +153 -153
- package/lib/schemas/models/index.d.ts +0 -1
- package/lib/schemas/models/index.js +0 -1
- package/lib/schemas/models/internal_invoices.d.ts +3 -3
- package/lib/schemas/models/internal_staffs.d.ts +3 -3
- package/lib/schemas/models/inventories.d.ts +6 -6
- package/lib/schemas/models/inventory_categories.d.ts +3 -3
- package/lib/schemas/models/inventory_transactions.d.ts +9 -9
- package/lib/schemas/models/item_transactions.d.ts +9 -9
- package/lib/schemas/models/items.d.ts +216 -216
- package/lib/schemas/models/marketing_fingerprints.d.ts +9 -9
- package/lib/schemas/models/materialized_credit_bills.d.ts +21 -21
- package/lib/schemas/models/materialized_tenant_cash_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_cash_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_delivery_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_delivery_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +24 -24
- package/lib/schemas/models/materialized_tenant_discount_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_hourly_comparison_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_hourly_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_payments_comparison_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_payments_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +12 -12
- package/lib/schemas/models/materialized_tenant_prep_time_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_reports_iterations.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_sales_comparison_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_sales_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_sales_overview_reports.d.ts +3 -3
- package/lib/schemas/models/menus.d.ts +21 -21
- package/lib/schemas/models/modifier_extras.d.ts +3 -3
- package/lib/schemas/models/offers.d.ts +24 -24
- package/lib/schemas/models/offers_fingerprints.d.ts +9 -9
- package/lib/schemas/models/operational_roles.d.ts +3 -3
- package/lib/schemas/models/orders.d.ts +18 -18
- package/lib/schemas/models/printer_settings.d.ts +3 -3
- package/lib/schemas/models/public_holidays.d.ts +3 -3
- package/lib/schemas/models/reservations.d.ts +6 -6
- package/lib/schemas/models/reviews.d.ts +12 -12
- package/lib/schemas/models/riders.d.ts +3 -3
- package/lib/schemas/models/specials.d.ts +48 -48
- package/lib/schemas/models/staff_shifts.d.ts +9 -9
- package/lib/schemas/models/tenant-activity-logs.d.ts +3 -3
- package/lib/schemas/models/tenant_active_jobs.d.ts +3 -3
- package/lib/schemas/models/tenant_calendar.d.ts +3 -3
- package/lib/schemas/models/tenant_cash_drawer_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_cash_drawers.d.ts +3 -3
- package/lib/schemas/models/tenant_cash_in_hand_transactions.d.ts +9 -9
- package/lib/schemas/models/tenant_cash_in_out.d.ts +9 -9
- package/lib/schemas/models/tenant_clients.d.ts +3 -3
- package/lib/schemas/models/tenant_day_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_hr_attendance_records.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_biometric_enrollments.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_departments.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_documents.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_employees.d.ts +24 -24
- package/lib/schemas/models/tenant_hr_leave_requests.d.ts +6 -6
- package/lib/schemas/models/tenant_hr_payrolls.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_performance_reviews.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_policies.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_positions.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_shift_schedules.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_instore_shift_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_instore_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +9 -9
- package/lib/schemas/models/tenant_inventory_department_utilities.d.ts +6 -6
- package/lib/schemas/models/tenant_inventory_departments.d.ts +6 -6
- package/lib/schemas/models/tenant_inventory_entries.d.ts +3 -3
- package/lib/schemas/models/tenant_metadata.d.ts +3 -3
- package/lib/schemas/models/tenant_order_item_instructions.d.ts +3 -3
- package/lib/schemas/models/tenant_purchase_order_vendor_returns.d.ts +6 -6
- package/lib/schemas/models/tenant_purchase_orders.d.ts +6 -6
- package/lib/schemas/models/tenant_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_staffs.d.ts +24 -24
- package/lib/schemas/models/tenant_vendors.d.ts +3 -3
- package/lib/schemas/models/tenants.d.ts +3 -3
- package/lib/schemas/models/terminal_devices.d.ts +3 -3
- package/lib/schemas/models/tokens.d.ts +9 -9
- package/lib/schemas/models/void_order_items.d.ts +27 -27
- package/lib/schemas/models/vouchers.d.ts +3 -3
- package/lib/schemas/models/wallet_transactions.d.ts +9 -9
- package/lib/schemas/models/wallets.d.ts +3 -3
- package/lib/schemas/models/warehouse_categories.d.ts +3 -3
- package/lib/schemas/models/warehouse_communications.d.ts +3 -3
- package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_item_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_items.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_deliveries.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_invoices.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_orders.d.ts +3 -3
- package/lib/schemas/models/warehouse_staffs.d.ts +3 -3
- package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +21 -21
- package/lib/schemas/models/warehouse_void_sale_order_items.d.ts +21 -21
- package/lib/schemas/models/warehouses.d.ts +3 -3
- package/lib/schemas/types/index.d.ts +0 -1
- package/lib/schemas/types/index.js +0 -1
- package/package.json +1 -1
|
@@ -28,54 +28,11 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
28
28
|
} & {
|
|
29
29
|
_id: import("mongoose").Types.ObjectId;
|
|
30
30
|
name: string;
|
|
31
|
-
|
|
32
|
-
discount_amount: {
|
|
33
|
-
"POS_WALK-IN": number;
|
|
34
|
-
"POS_TAKE-AWAY": number;
|
|
35
|
-
POS_DELIVERY: number;
|
|
36
|
-
"POS_DINE-IN": number;
|
|
37
|
-
"POS_DRIVE-THRU": number;
|
|
38
|
-
POS_KIOSK: number;
|
|
39
|
-
"WEB_TAKE-AWAY": number;
|
|
40
|
-
WEB_DELIVERY: number;
|
|
41
|
-
"WEB_DINE-IN": number;
|
|
42
|
-
"APP_TAKE-AWAY": number;
|
|
43
|
-
APP_DELIVERY: number;
|
|
44
|
-
"APP_DINE-IN": number;
|
|
45
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
46
|
-
FOODPANDA_DELIVERY: number;
|
|
47
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
48
|
-
FOODPAPA_DELIVERY: number;
|
|
49
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
50
|
-
DOORDASH_DELIVERY: number;
|
|
51
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
52
|
-
"UBER-EATS_DELIVERY": number;
|
|
53
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
54
|
-
"MENU-LOG_DELIVERY": number;
|
|
55
|
-
"GFO_TAKE-AWAY": number;
|
|
56
|
-
GFO_DELIVERY: number;
|
|
57
|
-
"TALABAT_TAKE-AWAY": number;
|
|
58
|
-
TALABAT_DELIVERY: number;
|
|
59
|
-
"NOON_TAKE-AWAY": number;
|
|
60
|
-
NOON_DELIVERY: number;
|
|
61
|
-
"SMILES_TAKE-AWAY": number;
|
|
62
|
-
SMILES_DELIVERY: number;
|
|
63
|
-
"CAREEM_TAKE-AWAY": number;
|
|
64
|
-
CAREEM_DELIVERY: number;
|
|
65
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
66
|
-
DELIVEROO_DELIVERY: number;
|
|
67
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
68
|
-
ZOMATO_DELIVERY: number;
|
|
69
|
-
"EATEASY_TAKE-AWAY": number;
|
|
70
|
-
EATEASY_DELIVERY: number;
|
|
71
|
-
"KEETA_TAKE-AWAY": number;
|
|
72
|
-
KEETA_DELIVERY: number;
|
|
73
|
-
BASE_PRICE: number;
|
|
74
|
-
};
|
|
31
|
+
image_url: string;
|
|
75
32
|
createdAt: NativeDate;
|
|
76
33
|
updatedAt: NativeDate;
|
|
77
|
-
image_url: string;
|
|
78
34
|
brand_id: string;
|
|
35
|
+
tenants: string[];
|
|
79
36
|
active: boolean;
|
|
80
37
|
sort_id: number;
|
|
81
38
|
category_id: import("mongoose").Types.ObjectId;
|
|
@@ -219,6 +176,49 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
219
176
|
};
|
|
220
177
|
}>;
|
|
221
178
|
description: string;
|
|
179
|
+
discount_amount: {
|
|
180
|
+
"POS_WALK-IN": number;
|
|
181
|
+
"POS_TAKE-AWAY": number;
|
|
182
|
+
POS_DELIVERY: number;
|
|
183
|
+
"POS_DINE-IN": number;
|
|
184
|
+
"POS_DRIVE-THRU": number;
|
|
185
|
+
POS_KIOSK: number;
|
|
186
|
+
"WEB_TAKE-AWAY": number;
|
|
187
|
+
WEB_DELIVERY: number;
|
|
188
|
+
"WEB_DINE-IN": number;
|
|
189
|
+
"APP_TAKE-AWAY": number;
|
|
190
|
+
APP_DELIVERY: number;
|
|
191
|
+
"APP_DINE-IN": number;
|
|
192
|
+
"FOODPANDA_TAKE-AWAY": number;
|
|
193
|
+
FOODPANDA_DELIVERY: number;
|
|
194
|
+
"FOODPAPA_TAKE-AWAY": number;
|
|
195
|
+
FOODPAPA_DELIVERY: number;
|
|
196
|
+
"DOORDASH_TAKE-AWAY": number;
|
|
197
|
+
DOORDASH_DELIVERY: number;
|
|
198
|
+
"UBER-EATS_TAKE-AWAY": number;
|
|
199
|
+
"UBER-EATS_DELIVERY": number;
|
|
200
|
+
"MENU-LOG_TAKE-AWAY": number;
|
|
201
|
+
"MENU-LOG_DELIVERY": number;
|
|
202
|
+
"GFO_TAKE-AWAY": number;
|
|
203
|
+
GFO_DELIVERY: number;
|
|
204
|
+
"TALABAT_TAKE-AWAY": number;
|
|
205
|
+
TALABAT_DELIVERY: number;
|
|
206
|
+
"NOON_TAKE-AWAY": number;
|
|
207
|
+
NOON_DELIVERY: number;
|
|
208
|
+
"SMILES_TAKE-AWAY": number;
|
|
209
|
+
SMILES_DELIVERY: number;
|
|
210
|
+
"CAREEM_TAKE-AWAY": number;
|
|
211
|
+
CAREEM_DELIVERY: number;
|
|
212
|
+
"DELIVEROO_TAKE-AWAY": number;
|
|
213
|
+
DELIVEROO_DELIVERY: number;
|
|
214
|
+
"ZOMATO_TAKE-AWAY": number;
|
|
215
|
+
ZOMATO_DELIVERY: number;
|
|
216
|
+
"EATEASY_TAKE-AWAY": number;
|
|
217
|
+
EATEASY_DELIVERY: number;
|
|
218
|
+
"KEETA_TAKE-AWAY": number;
|
|
219
|
+
KEETA_DELIVERY: number;
|
|
220
|
+
BASE_PRICE: number;
|
|
221
|
+
};
|
|
222
222
|
is_discount_percentage: boolean;
|
|
223
223
|
sold_out: string[];
|
|
224
224
|
choose_expensive_segment_price: boolean;
|
|
@@ -232,7 +232,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
232
232
|
end_date: NativeDate;
|
|
233
233
|
is_discount_percentage: boolean;
|
|
234
234
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
235
|
-
|
|
235
|
+
price?: {
|
|
236
236
|
"POS_WALK-IN": number;
|
|
237
237
|
"POS_TAKE-AWAY": number;
|
|
238
238
|
POS_DELIVERY: number;
|
|
@@ -275,7 +275,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
275
275
|
KEETA_DELIVERY: number;
|
|
276
276
|
BASE_PRICE: number;
|
|
277
277
|
} | null | undefined;
|
|
278
|
-
|
|
278
|
+
discount_amount?: {
|
|
279
279
|
"POS_WALK-IN": number;
|
|
280
280
|
"POS_TAKE-AWAY": number;
|
|
281
281
|
POS_DELIVERY: number;
|
|
@@ -327,7 +327,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
327
327
|
end_date: NativeDate;
|
|
328
328
|
is_discount_percentage: boolean;
|
|
329
329
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
330
|
-
|
|
330
|
+
price?: {
|
|
331
331
|
"POS_WALK-IN": number;
|
|
332
332
|
"POS_TAKE-AWAY": number;
|
|
333
333
|
POS_DELIVERY: number;
|
|
@@ -370,7 +370,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
370
370
|
KEETA_DELIVERY: number;
|
|
371
371
|
BASE_PRICE: number;
|
|
372
372
|
} | null | undefined;
|
|
373
|
-
|
|
373
|
+
discount_amount?: {
|
|
374
374
|
"POS_WALK-IN": number;
|
|
375
375
|
"POS_TAKE-AWAY": number;
|
|
376
376
|
POS_DELIVERY: number;
|
|
@@ -422,7 +422,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
422
422
|
end_date: NativeDate;
|
|
423
423
|
is_discount_percentage: boolean;
|
|
424
424
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
425
|
-
|
|
425
|
+
price?: {
|
|
426
426
|
"POS_WALK-IN": number;
|
|
427
427
|
"POS_TAKE-AWAY": number;
|
|
428
428
|
POS_DELIVERY: number;
|
|
@@ -465,7 +465,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
465
465
|
KEETA_DELIVERY: number;
|
|
466
466
|
BASE_PRICE: number;
|
|
467
467
|
} | null | undefined;
|
|
468
|
-
|
|
468
|
+
discount_amount?: {
|
|
469
469
|
"POS_WALK-IN": number;
|
|
470
470
|
"POS_TAKE-AWAY": number;
|
|
471
471
|
POS_DELIVERY: number;
|
|
@@ -573,54 +573,11 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
573
573
|
} & {
|
|
574
574
|
_id: import("mongoose").Types.ObjectId;
|
|
575
575
|
name: string;
|
|
576
|
-
|
|
577
|
-
discount_amount: {
|
|
578
|
-
"POS_WALK-IN": number;
|
|
579
|
-
"POS_TAKE-AWAY": number;
|
|
580
|
-
POS_DELIVERY: number;
|
|
581
|
-
"POS_DINE-IN": number;
|
|
582
|
-
"POS_DRIVE-THRU": number;
|
|
583
|
-
POS_KIOSK: number;
|
|
584
|
-
"WEB_TAKE-AWAY": number;
|
|
585
|
-
WEB_DELIVERY: number;
|
|
586
|
-
"WEB_DINE-IN": number;
|
|
587
|
-
"APP_TAKE-AWAY": number;
|
|
588
|
-
APP_DELIVERY: number;
|
|
589
|
-
"APP_DINE-IN": number;
|
|
590
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
591
|
-
FOODPANDA_DELIVERY: number;
|
|
592
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
593
|
-
FOODPAPA_DELIVERY: number;
|
|
594
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
595
|
-
DOORDASH_DELIVERY: number;
|
|
596
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
597
|
-
"UBER-EATS_DELIVERY": number;
|
|
598
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
599
|
-
"MENU-LOG_DELIVERY": number;
|
|
600
|
-
"GFO_TAKE-AWAY": number;
|
|
601
|
-
GFO_DELIVERY: number;
|
|
602
|
-
"TALABAT_TAKE-AWAY": number;
|
|
603
|
-
TALABAT_DELIVERY: number;
|
|
604
|
-
"NOON_TAKE-AWAY": number;
|
|
605
|
-
NOON_DELIVERY: number;
|
|
606
|
-
"SMILES_TAKE-AWAY": number;
|
|
607
|
-
SMILES_DELIVERY: number;
|
|
608
|
-
"CAREEM_TAKE-AWAY": number;
|
|
609
|
-
CAREEM_DELIVERY: number;
|
|
610
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
611
|
-
DELIVEROO_DELIVERY: number;
|
|
612
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
613
|
-
ZOMATO_DELIVERY: number;
|
|
614
|
-
"EATEASY_TAKE-AWAY": number;
|
|
615
|
-
EATEASY_DELIVERY: number;
|
|
616
|
-
"KEETA_TAKE-AWAY": number;
|
|
617
|
-
KEETA_DELIVERY: number;
|
|
618
|
-
BASE_PRICE: number;
|
|
619
|
-
};
|
|
576
|
+
image_url: string;
|
|
620
577
|
createdAt: NativeDate;
|
|
621
578
|
updatedAt: NativeDate;
|
|
622
|
-
image_url: string;
|
|
623
579
|
brand_id: string;
|
|
580
|
+
tenants: string[];
|
|
624
581
|
active: boolean;
|
|
625
582
|
sort_id: number;
|
|
626
583
|
category_id: import("mongoose").Types.ObjectId;
|
|
@@ -764,6 +721,49 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
764
721
|
};
|
|
765
722
|
}>;
|
|
766
723
|
description: string;
|
|
724
|
+
discount_amount: {
|
|
725
|
+
"POS_WALK-IN": number;
|
|
726
|
+
"POS_TAKE-AWAY": number;
|
|
727
|
+
POS_DELIVERY: number;
|
|
728
|
+
"POS_DINE-IN": number;
|
|
729
|
+
"POS_DRIVE-THRU": number;
|
|
730
|
+
POS_KIOSK: number;
|
|
731
|
+
"WEB_TAKE-AWAY": number;
|
|
732
|
+
WEB_DELIVERY: number;
|
|
733
|
+
"WEB_DINE-IN": number;
|
|
734
|
+
"APP_TAKE-AWAY": number;
|
|
735
|
+
APP_DELIVERY: number;
|
|
736
|
+
"APP_DINE-IN": number;
|
|
737
|
+
"FOODPANDA_TAKE-AWAY": number;
|
|
738
|
+
FOODPANDA_DELIVERY: number;
|
|
739
|
+
"FOODPAPA_TAKE-AWAY": number;
|
|
740
|
+
FOODPAPA_DELIVERY: number;
|
|
741
|
+
"DOORDASH_TAKE-AWAY": number;
|
|
742
|
+
DOORDASH_DELIVERY: number;
|
|
743
|
+
"UBER-EATS_TAKE-AWAY": number;
|
|
744
|
+
"UBER-EATS_DELIVERY": number;
|
|
745
|
+
"MENU-LOG_TAKE-AWAY": number;
|
|
746
|
+
"MENU-LOG_DELIVERY": number;
|
|
747
|
+
"GFO_TAKE-AWAY": number;
|
|
748
|
+
GFO_DELIVERY: number;
|
|
749
|
+
"TALABAT_TAKE-AWAY": number;
|
|
750
|
+
TALABAT_DELIVERY: number;
|
|
751
|
+
"NOON_TAKE-AWAY": number;
|
|
752
|
+
NOON_DELIVERY: number;
|
|
753
|
+
"SMILES_TAKE-AWAY": number;
|
|
754
|
+
SMILES_DELIVERY: number;
|
|
755
|
+
"CAREEM_TAKE-AWAY": number;
|
|
756
|
+
CAREEM_DELIVERY: number;
|
|
757
|
+
"DELIVEROO_TAKE-AWAY": number;
|
|
758
|
+
DELIVEROO_DELIVERY: number;
|
|
759
|
+
"ZOMATO_TAKE-AWAY": number;
|
|
760
|
+
ZOMATO_DELIVERY: number;
|
|
761
|
+
"EATEASY_TAKE-AWAY": number;
|
|
762
|
+
EATEASY_DELIVERY: number;
|
|
763
|
+
"KEETA_TAKE-AWAY": number;
|
|
764
|
+
KEETA_DELIVERY: number;
|
|
765
|
+
BASE_PRICE: number;
|
|
766
|
+
};
|
|
767
767
|
is_discount_percentage: boolean;
|
|
768
768
|
sold_out: string[];
|
|
769
769
|
choose_expensive_segment_price: boolean;
|
|
@@ -777,7 +777,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
777
777
|
end_date: NativeDate;
|
|
778
778
|
is_discount_percentage: boolean;
|
|
779
779
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
780
|
-
|
|
780
|
+
price?: {
|
|
781
781
|
"POS_WALK-IN": number;
|
|
782
782
|
"POS_TAKE-AWAY": number;
|
|
783
783
|
POS_DELIVERY: number;
|
|
@@ -820,7 +820,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
820
820
|
KEETA_DELIVERY: number;
|
|
821
821
|
BASE_PRICE: number;
|
|
822
822
|
} | null | undefined;
|
|
823
|
-
|
|
823
|
+
discount_amount?: {
|
|
824
824
|
"POS_WALK-IN": number;
|
|
825
825
|
"POS_TAKE-AWAY": number;
|
|
826
826
|
POS_DELIVERY: number;
|
|
@@ -872,7 +872,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
872
872
|
end_date: NativeDate;
|
|
873
873
|
is_discount_percentage: boolean;
|
|
874
874
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
875
|
-
|
|
875
|
+
price?: {
|
|
876
876
|
"POS_WALK-IN": number;
|
|
877
877
|
"POS_TAKE-AWAY": number;
|
|
878
878
|
POS_DELIVERY: number;
|
|
@@ -915,7 +915,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
915
915
|
KEETA_DELIVERY: number;
|
|
916
916
|
BASE_PRICE: number;
|
|
917
917
|
} | null | undefined;
|
|
918
|
-
|
|
918
|
+
discount_amount?: {
|
|
919
919
|
"POS_WALK-IN": number;
|
|
920
920
|
"POS_TAKE-AWAY": number;
|
|
921
921
|
POS_DELIVERY: number;
|
|
@@ -967,7 +967,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
967
967
|
end_date: NativeDate;
|
|
968
968
|
is_discount_percentage: boolean;
|
|
969
969
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
970
|
-
|
|
970
|
+
price?: {
|
|
971
971
|
"POS_WALK-IN": number;
|
|
972
972
|
"POS_TAKE-AWAY": number;
|
|
973
973
|
POS_DELIVERY: number;
|
|
@@ -1010,7 +1010,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1010
1010
|
KEETA_DELIVERY: number;
|
|
1011
1011
|
BASE_PRICE: number;
|
|
1012
1012
|
} | null | undefined;
|
|
1013
|
-
|
|
1013
|
+
discount_amount?: {
|
|
1014
1014
|
"POS_WALK-IN": number;
|
|
1015
1015
|
"POS_TAKE-AWAY": number;
|
|
1016
1016
|
POS_DELIVERY: number;
|
|
@@ -1118,54 +1118,11 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1118
1118
|
} & {
|
|
1119
1119
|
_id: import("mongoose").Types.ObjectId;
|
|
1120
1120
|
name: string;
|
|
1121
|
-
|
|
1122
|
-
discount_amount: {
|
|
1123
|
-
"POS_WALK-IN": number;
|
|
1124
|
-
"POS_TAKE-AWAY": number;
|
|
1125
|
-
POS_DELIVERY: number;
|
|
1126
|
-
"POS_DINE-IN": number;
|
|
1127
|
-
"POS_DRIVE-THRU": number;
|
|
1128
|
-
POS_KIOSK: number;
|
|
1129
|
-
"WEB_TAKE-AWAY": number;
|
|
1130
|
-
WEB_DELIVERY: number;
|
|
1131
|
-
"WEB_DINE-IN": number;
|
|
1132
|
-
"APP_TAKE-AWAY": number;
|
|
1133
|
-
APP_DELIVERY: number;
|
|
1134
|
-
"APP_DINE-IN": number;
|
|
1135
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
1136
|
-
FOODPANDA_DELIVERY: number;
|
|
1137
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
1138
|
-
FOODPAPA_DELIVERY: number;
|
|
1139
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
1140
|
-
DOORDASH_DELIVERY: number;
|
|
1141
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
1142
|
-
"UBER-EATS_DELIVERY": number;
|
|
1143
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
1144
|
-
"MENU-LOG_DELIVERY": number;
|
|
1145
|
-
"GFO_TAKE-AWAY": number;
|
|
1146
|
-
GFO_DELIVERY: number;
|
|
1147
|
-
"TALABAT_TAKE-AWAY": number;
|
|
1148
|
-
TALABAT_DELIVERY: number;
|
|
1149
|
-
"NOON_TAKE-AWAY": number;
|
|
1150
|
-
NOON_DELIVERY: number;
|
|
1151
|
-
"SMILES_TAKE-AWAY": number;
|
|
1152
|
-
SMILES_DELIVERY: number;
|
|
1153
|
-
"CAREEM_TAKE-AWAY": number;
|
|
1154
|
-
CAREEM_DELIVERY: number;
|
|
1155
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
1156
|
-
DELIVEROO_DELIVERY: number;
|
|
1157
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
1158
|
-
ZOMATO_DELIVERY: number;
|
|
1159
|
-
"EATEASY_TAKE-AWAY": number;
|
|
1160
|
-
EATEASY_DELIVERY: number;
|
|
1161
|
-
"KEETA_TAKE-AWAY": number;
|
|
1162
|
-
KEETA_DELIVERY: number;
|
|
1163
|
-
BASE_PRICE: number;
|
|
1164
|
-
};
|
|
1121
|
+
image_url: string;
|
|
1165
1122
|
createdAt: NativeDate;
|
|
1166
1123
|
updatedAt: NativeDate;
|
|
1167
|
-
image_url: string;
|
|
1168
1124
|
brand_id: string;
|
|
1125
|
+
tenants: string[];
|
|
1169
1126
|
active: boolean;
|
|
1170
1127
|
sort_id: number;
|
|
1171
1128
|
category_id: import("mongoose").Types.ObjectId;
|
|
@@ -1309,6 +1266,49 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1309
1266
|
};
|
|
1310
1267
|
}>;
|
|
1311
1268
|
description: string;
|
|
1269
|
+
discount_amount: {
|
|
1270
|
+
"POS_WALK-IN": number;
|
|
1271
|
+
"POS_TAKE-AWAY": number;
|
|
1272
|
+
POS_DELIVERY: number;
|
|
1273
|
+
"POS_DINE-IN": number;
|
|
1274
|
+
"POS_DRIVE-THRU": number;
|
|
1275
|
+
POS_KIOSK: number;
|
|
1276
|
+
"WEB_TAKE-AWAY": number;
|
|
1277
|
+
WEB_DELIVERY: number;
|
|
1278
|
+
"WEB_DINE-IN": number;
|
|
1279
|
+
"APP_TAKE-AWAY": number;
|
|
1280
|
+
APP_DELIVERY: number;
|
|
1281
|
+
"APP_DINE-IN": number;
|
|
1282
|
+
"FOODPANDA_TAKE-AWAY": number;
|
|
1283
|
+
FOODPANDA_DELIVERY: number;
|
|
1284
|
+
"FOODPAPA_TAKE-AWAY": number;
|
|
1285
|
+
FOODPAPA_DELIVERY: number;
|
|
1286
|
+
"DOORDASH_TAKE-AWAY": number;
|
|
1287
|
+
DOORDASH_DELIVERY: number;
|
|
1288
|
+
"UBER-EATS_TAKE-AWAY": number;
|
|
1289
|
+
"UBER-EATS_DELIVERY": number;
|
|
1290
|
+
"MENU-LOG_TAKE-AWAY": number;
|
|
1291
|
+
"MENU-LOG_DELIVERY": number;
|
|
1292
|
+
"GFO_TAKE-AWAY": number;
|
|
1293
|
+
GFO_DELIVERY: number;
|
|
1294
|
+
"TALABAT_TAKE-AWAY": number;
|
|
1295
|
+
TALABAT_DELIVERY: number;
|
|
1296
|
+
"NOON_TAKE-AWAY": number;
|
|
1297
|
+
NOON_DELIVERY: number;
|
|
1298
|
+
"SMILES_TAKE-AWAY": number;
|
|
1299
|
+
SMILES_DELIVERY: number;
|
|
1300
|
+
"CAREEM_TAKE-AWAY": number;
|
|
1301
|
+
CAREEM_DELIVERY: number;
|
|
1302
|
+
"DELIVEROO_TAKE-AWAY": number;
|
|
1303
|
+
DELIVEROO_DELIVERY: number;
|
|
1304
|
+
"ZOMATO_TAKE-AWAY": number;
|
|
1305
|
+
ZOMATO_DELIVERY: number;
|
|
1306
|
+
"EATEASY_TAKE-AWAY": number;
|
|
1307
|
+
EATEASY_DELIVERY: number;
|
|
1308
|
+
"KEETA_TAKE-AWAY": number;
|
|
1309
|
+
KEETA_DELIVERY: number;
|
|
1310
|
+
BASE_PRICE: number;
|
|
1311
|
+
};
|
|
1312
1312
|
is_discount_percentage: boolean;
|
|
1313
1313
|
sold_out: string[];
|
|
1314
1314
|
choose_expensive_segment_price: boolean;
|
|
@@ -1322,7 +1322,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1322
1322
|
end_date: NativeDate;
|
|
1323
1323
|
is_discount_percentage: boolean;
|
|
1324
1324
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1325
|
-
|
|
1325
|
+
price?: {
|
|
1326
1326
|
"POS_WALK-IN": number;
|
|
1327
1327
|
"POS_TAKE-AWAY": number;
|
|
1328
1328
|
POS_DELIVERY: number;
|
|
@@ -1365,7 +1365,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1365
1365
|
KEETA_DELIVERY: number;
|
|
1366
1366
|
BASE_PRICE: number;
|
|
1367
1367
|
} | null | undefined;
|
|
1368
|
-
|
|
1368
|
+
discount_amount?: {
|
|
1369
1369
|
"POS_WALK-IN": number;
|
|
1370
1370
|
"POS_TAKE-AWAY": number;
|
|
1371
1371
|
POS_DELIVERY: number;
|
|
@@ -1417,7 +1417,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1417
1417
|
end_date: NativeDate;
|
|
1418
1418
|
is_discount_percentage: boolean;
|
|
1419
1419
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1420
|
-
|
|
1420
|
+
price?: {
|
|
1421
1421
|
"POS_WALK-IN": number;
|
|
1422
1422
|
"POS_TAKE-AWAY": number;
|
|
1423
1423
|
POS_DELIVERY: number;
|
|
@@ -1460,7 +1460,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1460
1460
|
KEETA_DELIVERY: number;
|
|
1461
1461
|
BASE_PRICE: number;
|
|
1462
1462
|
} | null | undefined;
|
|
1463
|
-
|
|
1463
|
+
discount_amount?: {
|
|
1464
1464
|
"POS_WALK-IN": number;
|
|
1465
1465
|
"POS_TAKE-AWAY": number;
|
|
1466
1466
|
POS_DELIVERY: number;
|
|
@@ -1512,7 +1512,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1512
1512
|
end_date: NativeDate;
|
|
1513
1513
|
is_discount_percentage: boolean;
|
|
1514
1514
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1515
|
-
|
|
1515
|
+
price?: {
|
|
1516
1516
|
"POS_WALK-IN": number;
|
|
1517
1517
|
"POS_TAKE-AWAY": number;
|
|
1518
1518
|
POS_DELIVERY: number;
|
|
@@ -1555,7 +1555,7 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1555
1555
|
KEETA_DELIVERY: number;
|
|
1556
1556
|
BASE_PRICE: number;
|
|
1557
1557
|
} | null | undefined;
|
|
1558
|
-
|
|
1558
|
+
discount_amount?: {
|
|
1559
1559
|
"POS_WALK-IN": number;
|
|
1560
1560
|
"POS_TAKE-AWAY": number;
|
|
1561
1561
|
POS_DELIVERY: number;
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./app_configs"), exports);
|
|
18
|
-
__exportStar(require("./applied_order_discounts"), exports);
|
|
19
18
|
__exportStar(require("./brands"), exports);
|
|
20
19
|
__exportStar(require("./categories"), exports);
|
|
21
20
|
__exportStar(require("./close_dates"), exports);
|
|
@@ -8,10 +8,10 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
discount_amount: number;
|
|
12
11
|
createdAt: NativeDate;
|
|
13
12
|
updatedAt: NativeDate;
|
|
14
13
|
description: string;
|
|
14
|
+
discount_amount: number;
|
|
15
15
|
ref_id: string;
|
|
16
16
|
customer_name: string;
|
|
17
17
|
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
@@ -36,10 +36,10 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
36
36
|
updatedAt: NativeDate;
|
|
37
37
|
} & {
|
|
38
38
|
_id: import("mongoose").Types.ObjectId;
|
|
39
|
-
discount_amount: number;
|
|
40
39
|
createdAt: NativeDate;
|
|
41
40
|
updatedAt: NativeDate;
|
|
42
41
|
description: string;
|
|
42
|
+
discount_amount: number;
|
|
43
43
|
ref_id: string;
|
|
44
44
|
customer_name: string;
|
|
45
45
|
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
@@ -64,10 +64,10 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
64
64
|
updatedAt: NativeDate;
|
|
65
65
|
} & {
|
|
66
66
|
_id: import("mongoose").Types.ObjectId;
|
|
67
|
-
discount_amount: number;
|
|
68
67
|
createdAt: NativeDate;
|
|
69
68
|
updatedAt: NativeDate;
|
|
70
69
|
description: string;
|
|
70
|
+
discount_amount: number;
|
|
71
71
|
ref_id: string;
|
|
72
72
|
customer_name: string;
|
|
73
73
|
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
@@ -8,9 +8,9 @@ export declare const InternalStaffSchema: Schema<any, import("mongoose").Model<a
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
image_url: string;
|
|
11
12
|
createdAt: NativeDate;
|
|
12
13
|
updatedAt: NativeDate;
|
|
13
|
-
image_url: string;
|
|
14
14
|
phone_number: string;
|
|
15
15
|
uid: string;
|
|
16
16
|
display_name: string;
|
|
@@ -24,9 +24,9 @@ export declare const InternalStaffSchema: Schema<any, import("mongoose").Model<a
|
|
|
24
24
|
updatedAt: NativeDate;
|
|
25
25
|
} & {
|
|
26
26
|
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
image_url: string;
|
|
27
28
|
createdAt: NativeDate;
|
|
28
29
|
updatedAt: NativeDate;
|
|
29
|
-
image_url: string;
|
|
30
30
|
phone_number: string;
|
|
31
31
|
uid: string;
|
|
32
32
|
display_name: string;
|
|
@@ -40,9 +40,9 @@ export declare const InternalStaffSchema: Schema<any, import("mongoose").Model<a
|
|
|
40
40
|
updatedAt: NativeDate;
|
|
41
41
|
} & {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
|
+
image_url: string;
|
|
43
44
|
createdAt: NativeDate;
|
|
44
45
|
updatedAt: NativeDate;
|
|
45
|
-
image_url: string;
|
|
46
46
|
phone_number: string;
|
|
47
47
|
uid: string;
|
|
48
48
|
display_name: string;
|
|
@@ -12,11 +12,11 @@ export declare const InventorySchema: Schema<any, import("mongoose").Model<any,
|
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
type: INVENTORY_ITEM_TYPE_ENUM;
|
|
14
14
|
name: string;
|
|
15
|
-
|
|
15
|
+
image_url: string;
|
|
16
16
|
createdAt: NativeDate;
|
|
17
17
|
updatedAt: NativeDate;
|
|
18
|
-
image_url: string;
|
|
19
18
|
active: boolean;
|
|
19
|
+
tenant_id: string;
|
|
20
20
|
unit: import("../../constants").INVENTORY_ITEM_UNIT_ENUM;
|
|
21
21
|
threshold_quantity: number;
|
|
22
22
|
quantity_left: number;
|
|
@@ -44,11 +44,11 @@ export declare const InventorySchema: Schema<any, import("mongoose").Model<any,
|
|
|
44
44
|
_id: import("mongoose").Types.ObjectId;
|
|
45
45
|
type: INVENTORY_ITEM_TYPE_ENUM;
|
|
46
46
|
name: string;
|
|
47
|
-
|
|
47
|
+
image_url: string;
|
|
48
48
|
createdAt: NativeDate;
|
|
49
49
|
updatedAt: NativeDate;
|
|
50
|
-
image_url: string;
|
|
51
50
|
active: boolean;
|
|
51
|
+
tenant_id: string;
|
|
52
52
|
unit: import("../../constants").INVENTORY_ITEM_UNIT_ENUM;
|
|
53
53
|
threshold_quantity: number;
|
|
54
54
|
quantity_left: number;
|
|
@@ -76,11 +76,11 @@ export declare const InventorySchema: Schema<any, import("mongoose").Model<any,
|
|
|
76
76
|
_id: import("mongoose").Types.ObjectId;
|
|
77
77
|
type: INVENTORY_ITEM_TYPE_ENUM;
|
|
78
78
|
name: string;
|
|
79
|
-
|
|
79
|
+
image_url: string;
|
|
80
80
|
createdAt: NativeDate;
|
|
81
81
|
updatedAt: NativeDate;
|
|
82
|
-
image_url: string;
|
|
83
82
|
active: boolean;
|
|
83
|
+
tenant_id: string;
|
|
84
84
|
unit: import("../../constants").INVENTORY_ITEM_UNIT_ENUM;
|
|
85
85
|
threshold_quantity: number;
|
|
86
86
|
quantity_left: number;
|
|
@@ -9,12 +9,12 @@ export declare const InventoryCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
subtitle: string;
|
|
16
15
|
active: boolean;
|
|
17
16
|
sort_id: number;
|
|
17
|
+
tenant_id: string;
|
|
18
18
|
ref_id: Types.ObjectId;
|
|
19
19
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
20
20
|
createdAt: NativeDate;
|
|
@@ -22,12 +22,12 @@ export declare const InventoryCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
22
22
|
} & {
|
|
23
23
|
_id: Types.ObjectId;
|
|
24
24
|
name: string;
|
|
25
|
-
tenant_id: string;
|
|
26
25
|
createdAt: NativeDate;
|
|
27
26
|
updatedAt: NativeDate;
|
|
28
27
|
subtitle: string;
|
|
29
28
|
active: boolean;
|
|
30
29
|
sort_id: number;
|
|
30
|
+
tenant_id: string;
|
|
31
31
|
ref_id: Types.ObjectId;
|
|
32
32
|
}>> & import("mongoose").FlatRecord<{
|
|
33
33
|
createdAt: NativeDate;
|
|
@@ -35,12 +35,12 @@ export declare const InventoryCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
35
35
|
} & {
|
|
36
36
|
_id: Types.ObjectId;
|
|
37
37
|
name: string;
|
|
38
|
-
tenant_id: string;
|
|
39
38
|
createdAt: NativeDate;
|
|
40
39
|
updatedAt: NativeDate;
|
|
41
40
|
subtitle: string;
|
|
42
41
|
active: boolean;
|
|
43
42
|
sort_id: number;
|
|
43
|
+
tenant_id: string;
|
|
44
44
|
ref_id: Types.ObjectId;
|
|
45
45
|
}> & Required<{
|
|
46
46
|
_id: Types.ObjectId;
|