@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
|
@@ -8,9 +8,9 @@ export declare const RiderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
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
|
lat: number;
|
|
15
15
|
lng: number;
|
|
16
16
|
phone_number: string;
|
|
@@ -27,9 +27,9 @@ export declare const RiderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
27
27
|
updatedAt: NativeDate;
|
|
28
28
|
} & {
|
|
29
29
|
_id: import("mongoose").Types.ObjectId;
|
|
30
|
+
image_url: string;
|
|
30
31
|
createdAt: NativeDate;
|
|
31
32
|
updatedAt: NativeDate;
|
|
32
|
-
image_url: string;
|
|
33
33
|
lat: number;
|
|
34
34
|
lng: number;
|
|
35
35
|
phone_number: string;
|
|
@@ -46,9 +46,9 @@ export declare const RiderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
46
46
|
updatedAt: NativeDate;
|
|
47
47
|
} & {
|
|
48
48
|
_id: import("mongoose").Types.ObjectId;
|
|
49
|
+
image_url: string;
|
|
49
50
|
createdAt: NativeDate;
|
|
50
51
|
updatedAt: NativeDate;
|
|
51
|
-
image_url: string;
|
|
52
52
|
lat: number;
|
|
53
53
|
lng: number;
|
|
54
54
|
phone_number: string;
|
|
@@ -155,8 +155,16 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
155
155
|
} & {
|
|
156
156
|
_id: import("mongoose").Types.ObjectId;
|
|
157
157
|
name: string;
|
|
158
|
+
image_url: string;
|
|
159
|
+
createdAt: NativeDate;
|
|
160
|
+
updatedAt: NativeDate;
|
|
161
|
+
brand_id: string;
|
|
158
162
|
tenants: string[];
|
|
159
|
-
|
|
163
|
+
active: boolean;
|
|
164
|
+
sort_id: number;
|
|
165
|
+
category_id: import("mongoose").Types.ObjectId;
|
|
166
|
+
description: string;
|
|
167
|
+
price: {
|
|
160
168
|
"POS_WALK-IN": number;
|
|
161
169
|
"POS_TAKE-AWAY": number;
|
|
162
170
|
POS_DELIVERY: number;
|
|
@@ -199,15 +207,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
199
207
|
KEETA_DELIVERY: number;
|
|
200
208
|
BASE_PRICE: number;
|
|
201
209
|
};
|
|
202
|
-
|
|
203
|
-
updatedAt: NativeDate;
|
|
204
|
-
image_url: string;
|
|
205
|
-
brand_id: string;
|
|
206
|
-
active: boolean;
|
|
207
|
-
sort_id: number;
|
|
208
|
-
category_id: import("mongoose").Types.ObjectId;
|
|
209
|
-
description: string;
|
|
210
|
-
price: {
|
|
210
|
+
discount_amount: {
|
|
211
211
|
"POS_WALK-IN": number;
|
|
212
212
|
"POS_TAKE-AWAY": number;
|
|
213
213
|
POS_DELIVERY: number;
|
|
@@ -262,7 +262,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
262
262
|
end_date: NativeDate;
|
|
263
263
|
is_discount_percentage: boolean;
|
|
264
264
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
265
|
-
|
|
265
|
+
price?: {
|
|
266
266
|
"POS_WALK-IN": number;
|
|
267
267
|
"POS_TAKE-AWAY": number;
|
|
268
268
|
POS_DELIVERY: number;
|
|
@@ -305,7 +305,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
305
305
|
KEETA_DELIVERY: number;
|
|
306
306
|
BASE_PRICE: number;
|
|
307
307
|
} | null | undefined;
|
|
308
|
-
|
|
308
|
+
discount_amount?: {
|
|
309
309
|
"POS_WALK-IN": number;
|
|
310
310
|
"POS_TAKE-AWAY": number;
|
|
311
311
|
POS_DELIVERY: number;
|
|
@@ -357,7 +357,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
357
357
|
end_date: NativeDate;
|
|
358
358
|
is_discount_percentage: boolean;
|
|
359
359
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
360
|
-
|
|
360
|
+
price?: {
|
|
361
361
|
"POS_WALK-IN": number;
|
|
362
362
|
"POS_TAKE-AWAY": number;
|
|
363
363
|
POS_DELIVERY: number;
|
|
@@ -400,7 +400,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
400
400
|
KEETA_DELIVERY: number;
|
|
401
401
|
BASE_PRICE: number;
|
|
402
402
|
} | null | undefined;
|
|
403
|
-
|
|
403
|
+
discount_amount?: {
|
|
404
404
|
"POS_WALK-IN": number;
|
|
405
405
|
"POS_TAKE-AWAY": number;
|
|
406
406
|
POS_DELIVERY: number;
|
|
@@ -452,7 +452,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
452
452
|
end_date: NativeDate;
|
|
453
453
|
is_discount_percentage: boolean;
|
|
454
454
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
455
|
-
|
|
455
|
+
price?: {
|
|
456
456
|
"POS_WALK-IN": number;
|
|
457
457
|
"POS_TAKE-AWAY": number;
|
|
458
458
|
POS_DELIVERY: number;
|
|
@@ -495,7 +495,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
495
495
|
KEETA_DELIVERY: number;
|
|
496
496
|
BASE_PRICE: number;
|
|
497
497
|
} | null | undefined;
|
|
498
|
-
|
|
498
|
+
discount_amount?: {
|
|
499
499
|
"POS_WALK-IN": number;
|
|
500
500
|
"POS_TAKE-AWAY": number;
|
|
501
501
|
POS_DELIVERY: number;
|
|
@@ -992,8 +992,16 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
992
992
|
} & {
|
|
993
993
|
_id: import("mongoose").Types.ObjectId;
|
|
994
994
|
name: string;
|
|
995
|
+
image_url: string;
|
|
996
|
+
createdAt: NativeDate;
|
|
997
|
+
updatedAt: NativeDate;
|
|
998
|
+
brand_id: string;
|
|
995
999
|
tenants: string[];
|
|
996
|
-
|
|
1000
|
+
active: boolean;
|
|
1001
|
+
sort_id: number;
|
|
1002
|
+
category_id: import("mongoose").Types.ObjectId;
|
|
1003
|
+
description: string;
|
|
1004
|
+
price: {
|
|
997
1005
|
"POS_WALK-IN": number;
|
|
998
1006
|
"POS_TAKE-AWAY": number;
|
|
999
1007
|
POS_DELIVERY: number;
|
|
@@ -1036,15 +1044,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1036
1044
|
KEETA_DELIVERY: number;
|
|
1037
1045
|
BASE_PRICE: number;
|
|
1038
1046
|
};
|
|
1039
|
-
|
|
1040
|
-
updatedAt: NativeDate;
|
|
1041
|
-
image_url: string;
|
|
1042
|
-
brand_id: string;
|
|
1043
|
-
active: boolean;
|
|
1044
|
-
sort_id: number;
|
|
1045
|
-
category_id: import("mongoose").Types.ObjectId;
|
|
1046
|
-
description: string;
|
|
1047
|
-
price: {
|
|
1047
|
+
discount_amount: {
|
|
1048
1048
|
"POS_WALK-IN": number;
|
|
1049
1049
|
"POS_TAKE-AWAY": number;
|
|
1050
1050
|
POS_DELIVERY: number;
|
|
@@ -1099,7 +1099,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1099
1099
|
end_date: NativeDate;
|
|
1100
1100
|
is_discount_percentage: boolean;
|
|
1101
1101
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1102
|
-
|
|
1102
|
+
price?: {
|
|
1103
1103
|
"POS_WALK-IN": number;
|
|
1104
1104
|
"POS_TAKE-AWAY": number;
|
|
1105
1105
|
POS_DELIVERY: number;
|
|
@@ -1142,7 +1142,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1142
1142
|
KEETA_DELIVERY: number;
|
|
1143
1143
|
BASE_PRICE: number;
|
|
1144
1144
|
} | null | undefined;
|
|
1145
|
-
|
|
1145
|
+
discount_amount?: {
|
|
1146
1146
|
"POS_WALK-IN": number;
|
|
1147
1147
|
"POS_TAKE-AWAY": number;
|
|
1148
1148
|
POS_DELIVERY: number;
|
|
@@ -1194,7 +1194,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1194
1194
|
end_date: NativeDate;
|
|
1195
1195
|
is_discount_percentage: boolean;
|
|
1196
1196
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1197
|
-
|
|
1197
|
+
price?: {
|
|
1198
1198
|
"POS_WALK-IN": number;
|
|
1199
1199
|
"POS_TAKE-AWAY": number;
|
|
1200
1200
|
POS_DELIVERY: number;
|
|
@@ -1237,7 +1237,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1237
1237
|
KEETA_DELIVERY: number;
|
|
1238
1238
|
BASE_PRICE: number;
|
|
1239
1239
|
} | null | undefined;
|
|
1240
|
-
|
|
1240
|
+
discount_amount?: {
|
|
1241
1241
|
"POS_WALK-IN": number;
|
|
1242
1242
|
"POS_TAKE-AWAY": number;
|
|
1243
1243
|
POS_DELIVERY: number;
|
|
@@ -1289,7 +1289,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1289
1289
|
end_date: NativeDate;
|
|
1290
1290
|
is_discount_percentage: boolean;
|
|
1291
1291
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1292
|
-
|
|
1292
|
+
price?: {
|
|
1293
1293
|
"POS_WALK-IN": number;
|
|
1294
1294
|
"POS_TAKE-AWAY": number;
|
|
1295
1295
|
POS_DELIVERY: number;
|
|
@@ -1332,7 +1332,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1332
1332
|
KEETA_DELIVERY: number;
|
|
1333
1333
|
BASE_PRICE: number;
|
|
1334
1334
|
} | null | undefined;
|
|
1335
|
-
|
|
1335
|
+
discount_amount?: {
|
|
1336
1336
|
"POS_WALK-IN": number;
|
|
1337
1337
|
"POS_TAKE-AWAY": number;
|
|
1338
1338
|
POS_DELIVERY: number;
|
|
@@ -1829,8 +1829,16 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1829
1829
|
} & {
|
|
1830
1830
|
_id: import("mongoose").Types.ObjectId;
|
|
1831
1831
|
name: string;
|
|
1832
|
+
image_url: string;
|
|
1833
|
+
createdAt: NativeDate;
|
|
1834
|
+
updatedAt: NativeDate;
|
|
1835
|
+
brand_id: string;
|
|
1832
1836
|
tenants: string[];
|
|
1833
|
-
|
|
1837
|
+
active: boolean;
|
|
1838
|
+
sort_id: number;
|
|
1839
|
+
category_id: import("mongoose").Types.ObjectId;
|
|
1840
|
+
description: string;
|
|
1841
|
+
price: {
|
|
1834
1842
|
"POS_WALK-IN": number;
|
|
1835
1843
|
"POS_TAKE-AWAY": number;
|
|
1836
1844
|
POS_DELIVERY: number;
|
|
@@ -1873,15 +1881,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1873
1881
|
KEETA_DELIVERY: number;
|
|
1874
1882
|
BASE_PRICE: number;
|
|
1875
1883
|
};
|
|
1876
|
-
|
|
1877
|
-
updatedAt: NativeDate;
|
|
1878
|
-
image_url: string;
|
|
1879
|
-
brand_id: string;
|
|
1880
|
-
active: boolean;
|
|
1881
|
-
sort_id: number;
|
|
1882
|
-
category_id: import("mongoose").Types.ObjectId;
|
|
1883
|
-
description: string;
|
|
1884
|
-
price: {
|
|
1884
|
+
discount_amount: {
|
|
1885
1885
|
"POS_WALK-IN": number;
|
|
1886
1886
|
"POS_TAKE-AWAY": number;
|
|
1887
1887
|
POS_DELIVERY: number;
|
|
@@ -1936,7 +1936,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1936
1936
|
end_date: NativeDate;
|
|
1937
1937
|
is_discount_percentage: boolean;
|
|
1938
1938
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
1939
|
-
|
|
1939
|
+
price?: {
|
|
1940
1940
|
"POS_WALK-IN": number;
|
|
1941
1941
|
"POS_TAKE-AWAY": number;
|
|
1942
1942
|
POS_DELIVERY: number;
|
|
@@ -1979,7 +1979,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1979
1979
|
KEETA_DELIVERY: number;
|
|
1980
1980
|
BASE_PRICE: number;
|
|
1981
1981
|
} | null | undefined;
|
|
1982
|
-
|
|
1982
|
+
discount_amount?: {
|
|
1983
1983
|
"POS_WALK-IN": number;
|
|
1984
1984
|
"POS_TAKE-AWAY": number;
|
|
1985
1985
|
POS_DELIVERY: number;
|
|
@@ -2031,7 +2031,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2031
2031
|
end_date: NativeDate;
|
|
2032
2032
|
is_discount_percentage: boolean;
|
|
2033
2033
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
2034
|
-
|
|
2034
|
+
price?: {
|
|
2035
2035
|
"POS_WALK-IN": number;
|
|
2036
2036
|
"POS_TAKE-AWAY": number;
|
|
2037
2037
|
POS_DELIVERY: number;
|
|
@@ -2074,7 +2074,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2074
2074
|
KEETA_DELIVERY: number;
|
|
2075
2075
|
BASE_PRICE: number;
|
|
2076
2076
|
} | null | undefined;
|
|
2077
|
-
|
|
2077
|
+
discount_amount?: {
|
|
2078
2078
|
"POS_WALK-IN": number;
|
|
2079
2079
|
"POS_TAKE-AWAY": number;
|
|
2080
2080
|
POS_DELIVERY: number;
|
|
@@ -2126,7 +2126,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2126
2126
|
end_date: NativeDate;
|
|
2127
2127
|
is_discount_percentage: boolean;
|
|
2128
2128
|
excluded_platforms: import("../..").PLATFORMS_ENUM[];
|
|
2129
|
-
|
|
2129
|
+
price?: {
|
|
2130
2130
|
"POS_WALK-IN": number;
|
|
2131
2131
|
"POS_TAKE-AWAY": number;
|
|
2132
2132
|
POS_DELIVERY: number;
|
|
@@ -2169,7 +2169,7 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2169
2169
|
KEETA_DELIVERY: number;
|
|
2170
2170
|
BASE_PRICE: number;
|
|
2171
2171
|
} | null | undefined;
|
|
2172
|
-
|
|
2172
|
+
discount_amount?: {
|
|
2173
2173
|
"POS_WALK-IN": number;
|
|
2174
2174
|
"POS_TAKE-AWAY": number;
|
|
2175
2175
|
POS_DELIVERY: number;
|
|
@@ -8,11 +8,11 @@ export declare const StaffShiftsSchema: Schema<any, import("mongoose").Model<any
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
|
-
staff_id: string;
|
|
13
|
-
createdAt_mins: number;
|
|
14
11
|
createdAt: NativeDate;
|
|
15
12
|
updatedAt: NativeDate;
|
|
13
|
+
tenant_id: string;
|
|
14
|
+
createdAt_mins: number;
|
|
15
|
+
staff_id: string;
|
|
16
16
|
clocked_in: NativeDate;
|
|
17
17
|
clocked_out: NativeDate;
|
|
18
18
|
break_time: import("mongoose").Types.DocumentArray<{
|
|
@@ -30,11 +30,11 @@ export declare const StaffShiftsSchema: Schema<any, import("mongoose").Model<any
|
|
|
30
30
|
updatedAt: NativeDate;
|
|
31
31
|
} & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
|
-
tenant_id: string;
|
|
34
|
-
staff_id: string;
|
|
35
|
-
createdAt_mins: number;
|
|
36
33
|
createdAt: NativeDate;
|
|
37
34
|
updatedAt: NativeDate;
|
|
35
|
+
tenant_id: string;
|
|
36
|
+
createdAt_mins: number;
|
|
37
|
+
staff_id: string;
|
|
38
38
|
clocked_in: NativeDate;
|
|
39
39
|
clocked_out: NativeDate;
|
|
40
40
|
break_time: import("mongoose").Types.DocumentArray<{
|
|
@@ -52,11 +52,11 @@ export declare const StaffShiftsSchema: Schema<any, import("mongoose").Model<any
|
|
|
52
52
|
updatedAt: NativeDate;
|
|
53
53
|
} & {
|
|
54
54
|
_id: import("mongoose").Types.ObjectId;
|
|
55
|
-
tenant_id: string;
|
|
56
|
-
staff_id: string;
|
|
57
|
-
createdAt_mins: number;
|
|
58
55
|
createdAt: NativeDate;
|
|
59
56
|
updatedAt: NativeDate;
|
|
57
|
+
tenant_id: string;
|
|
58
|
+
createdAt_mins: number;
|
|
59
|
+
staff_id: string;
|
|
60
60
|
clocked_in: NativeDate;
|
|
61
61
|
clocked_out: NativeDate;
|
|
62
62
|
break_time: import("mongoose").Types.DocumentArray<{
|
|
@@ -9,9 +9,9 @@ export declare const TenantActivityLogSchema: Schema<any, import("mongoose").Mod
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
15
|
title: string;
|
|
16
16
|
entity_type: import("../../constants").TENANT_ACTIVITY_LOG_ENTITY_TYPE_ENUM;
|
|
17
17
|
entity_id: string;
|
|
@@ -45,9 +45,9 @@ export declare const TenantActivityLogSchema: Schema<any, import("mongoose").Mod
|
|
|
45
45
|
updatedAt: NativeDate;
|
|
46
46
|
} & {
|
|
47
47
|
_id: import("mongoose").Types.ObjectId;
|
|
48
|
-
tenant_id: string;
|
|
49
48
|
createdAt: NativeDate;
|
|
50
49
|
updatedAt: NativeDate;
|
|
50
|
+
tenant_id: string;
|
|
51
51
|
title: string;
|
|
52
52
|
entity_type: import("../../constants").TENANT_ACTIVITY_LOG_ENTITY_TYPE_ENUM;
|
|
53
53
|
entity_id: string;
|
|
@@ -81,9 +81,9 @@ export declare const TenantActivityLogSchema: Schema<any, import("mongoose").Mod
|
|
|
81
81
|
updatedAt: NativeDate;
|
|
82
82
|
} & {
|
|
83
83
|
_id: import("mongoose").Types.ObjectId;
|
|
84
|
-
tenant_id: string;
|
|
85
84
|
createdAt: NativeDate;
|
|
86
85
|
updatedAt: NativeDate;
|
|
86
|
+
tenant_id: string;
|
|
87
87
|
title: string;
|
|
88
88
|
entity_type: import("../../constants").TENANT_ACTIVITY_LOG_ENTITY_TYPE_ENUM;
|
|
89
89
|
entity_id: string;
|
|
@@ -9,9 +9,9 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
|
|
|
9
9
|
} & {
|
|
10
10
|
localDate: string;
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
15
|
progress: number;
|
|
16
16
|
completed_at: NativeDate;
|
|
17
17
|
jobs_status: Map<string, boolean>;
|
|
@@ -25,9 +25,9 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
|
|
|
25
25
|
} & {
|
|
26
26
|
localDate: string;
|
|
27
27
|
_id: import("mongoose").Types.ObjectId;
|
|
28
|
-
tenant_id: string;
|
|
29
28
|
createdAt: NativeDate;
|
|
30
29
|
updatedAt: NativeDate;
|
|
30
|
+
tenant_id: string;
|
|
31
31
|
progress: number;
|
|
32
32
|
completed_at: NativeDate;
|
|
33
33
|
jobs_status: Map<string, boolean>;
|
|
@@ -41,9 +41,9 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
|
|
|
41
41
|
} & {
|
|
42
42
|
localDate: string;
|
|
43
43
|
_id: import("mongoose").Types.ObjectId;
|
|
44
|
-
tenant_id: string;
|
|
45
44
|
createdAt: NativeDate;
|
|
46
45
|
updatedAt: NativeDate;
|
|
46
|
+
tenant_id: string;
|
|
47
47
|
progress: number;
|
|
48
48
|
completed_at: NativeDate;
|
|
49
49
|
jobs_status: Map<string, boolean>;
|
|
@@ -9,9 +9,9 @@ export declare const TenantCalendarSchema: Schema<any, import("mongoose").Model<
|
|
|
9
9
|
} & {
|
|
10
10
|
localYear: number;
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
15
|
days: Map<string, {
|
|
16
16
|
total_orders: number;
|
|
17
17
|
cancelled_orders_amount: number;
|
|
@@ -29,9 +29,9 @@ export declare const TenantCalendarSchema: Schema<any, import("mongoose").Model<
|
|
|
29
29
|
} & {
|
|
30
30
|
localYear: number;
|
|
31
31
|
_id: import("mongoose").Types.ObjectId;
|
|
32
|
-
tenant_id: string;
|
|
33
32
|
createdAt: NativeDate;
|
|
34
33
|
updatedAt: NativeDate;
|
|
34
|
+
tenant_id: string;
|
|
35
35
|
days: Map<string, {
|
|
36
36
|
total_orders: number;
|
|
37
37
|
cancelled_orders_amount: number;
|
|
@@ -49,9 +49,9 @@ export declare const TenantCalendarSchema: Schema<any, import("mongoose").Model<
|
|
|
49
49
|
} & {
|
|
50
50
|
localYear: number;
|
|
51
51
|
_id: import("mongoose").Types.ObjectId;
|
|
52
|
-
tenant_id: string;
|
|
53
52
|
createdAt: NativeDate;
|
|
54
53
|
updatedAt: NativeDate;
|
|
54
|
+
tenant_id: string;
|
|
55
55
|
days: Map<string, {
|
|
56
56
|
total_orders: number;
|
|
57
57
|
cancelled_orders_amount: number;
|