@managesome/eposmatic-toolkit 0.4.13 → 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
|
@@ -10,11 +10,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
name: string;
|
|
13
|
-
|
|
13
|
+
image_url: string;
|
|
14
14
|
createdAt: NativeDate;
|
|
15
15
|
updatedAt: NativeDate;
|
|
16
|
-
image_url: string;
|
|
17
16
|
brand_id: string;
|
|
17
|
+
tenants: string[];
|
|
18
18
|
active: boolean;
|
|
19
19
|
sort_id: number;
|
|
20
20
|
description: string;
|
|
@@ -31,7 +31,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
31
31
|
end_date: NativeDate;
|
|
32
32
|
is_discount_percentage: boolean;
|
|
33
33
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
34
|
-
|
|
34
|
+
price?: {
|
|
35
35
|
"POS_WALK-IN": number;
|
|
36
36
|
"POS_TAKE-AWAY": number;
|
|
37
37
|
POS_DELIVERY: number;
|
|
@@ -74,7 +74,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
74
74
|
KEETA_DELIVERY: number;
|
|
75
75
|
BASE_PRICE: number;
|
|
76
76
|
} | null | undefined;
|
|
77
|
-
|
|
77
|
+
discount_amount?: {
|
|
78
78
|
"POS_WALK-IN": number;
|
|
79
79
|
"POS_TAKE-AWAY": number;
|
|
80
80
|
POS_DELIVERY: number;
|
|
@@ -126,7 +126,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
126
126
|
end_date: NativeDate;
|
|
127
127
|
is_discount_percentage: boolean;
|
|
128
128
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
129
|
-
|
|
129
|
+
price?: {
|
|
130
130
|
"POS_WALK-IN": number;
|
|
131
131
|
"POS_TAKE-AWAY": number;
|
|
132
132
|
POS_DELIVERY: number;
|
|
@@ -169,7 +169,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
169
169
|
KEETA_DELIVERY: number;
|
|
170
170
|
BASE_PRICE: number;
|
|
171
171
|
} | null | undefined;
|
|
172
|
-
|
|
172
|
+
discount_amount?: {
|
|
173
173
|
"POS_WALK-IN": number;
|
|
174
174
|
"POS_TAKE-AWAY": number;
|
|
175
175
|
POS_DELIVERY: number;
|
|
@@ -221,7 +221,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
221
221
|
end_date: NativeDate;
|
|
222
222
|
is_discount_percentage: boolean;
|
|
223
223
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
224
|
-
|
|
224
|
+
price?: {
|
|
225
225
|
"POS_WALK-IN": number;
|
|
226
226
|
"POS_TAKE-AWAY": number;
|
|
227
227
|
POS_DELIVERY: number;
|
|
@@ -264,7 +264,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
264
264
|
KEETA_DELIVERY: number;
|
|
265
265
|
BASE_PRICE: number;
|
|
266
266
|
} | null | undefined;
|
|
267
|
-
|
|
267
|
+
discount_amount?: {
|
|
268
268
|
"POS_WALK-IN": number;
|
|
269
269
|
"POS_TAKE-AWAY": number;
|
|
270
270
|
POS_DELIVERY: number;
|
|
@@ -406,11 +406,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
406
406
|
} & {
|
|
407
407
|
_id: import("mongoose").Types.ObjectId;
|
|
408
408
|
name: string;
|
|
409
|
-
|
|
409
|
+
image_url: string;
|
|
410
410
|
createdAt: NativeDate;
|
|
411
411
|
updatedAt: NativeDate;
|
|
412
|
-
image_url: string;
|
|
413
412
|
brand_id: string;
|
|
413
|
+
tenants: string[];
|
|
414
414
|
active: boolean;
|
|
415
415
|
sort_id: number;
|
|
416
416
|
description: string;
|
|
@@ -427,7 +427,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
427
427
|
end_date: NativeDate;
|
|
428
428
|
is_discount_percentage: boolean;
|
|
429
429
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
430
|
-
|
|
430
|
+
price?: {
|
|
431
431
|
"POS_WALK-IN": number;
|
|
432
432
|
"POS_TAKE-AWAY": number;
|
|
433
433
|
POS_DELIVERY: number;
|
|
@@ -470,7 +470,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
470
470
|
KEETA_DELIVERY: number;
|
|
471
471
|
BASE_PRICE: number;
|
|
472
472
|
} | null | undefined;
|
|
473
|
-
|
|
473
|
+
discount_amount?: {
|
|
474
474
|
"POS_WALK-IN": number;
|
|
475
475
|
"POS_TAKE-AWAY": number;
|
|
476
476
|
POS_DELIVERY: number;
|
|
@@ -522,7 +522,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
522
522
|
end_date: NativeDate;
|
|
523
523
|
is_discount_percentage: boolean;
|
|
524
524
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
525
|
-
|
|
525
|
+
price?: {
|
|
526
526
|
"POS_WALK-IN": number;
|
|
527
527
|
"POS_TAKE-AWAY": number;
|
|
528
528
|
POS_DELIVERY: number;
|
|
@@ -565,7 +565,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
565
565
|
KEETA_DELIVERY: number;
|
|
566
566
|
BASE_PRICE: number;
|
|
567
567
|
} | null | undefined;
|
|
568
|
-
|
|
568
|
+
discount_amount?: {
|
|
569
569
|
"POS_WALK-IN": number;
|
|
570
570
|
"POS_TAKE-AWAY": number;
|
|
571
571
|
POS_DELIVERY: number;
|
|
@@ -617,7 +617,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
617
617
|
end_date: NativeDate;
|
|
618
618
|
is_discount_percentage: boolean;
|
|
619
619
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
620
|
-
|
|
620
|
+
price?: {
|
|
621
621
|
"POS_WALK-IN": number;
|
|
622
622
|
"POS_TAKE-AWAY": number;
|
|
623
623
|
POS_DELIVERY: number;
|
|
@@ -660,7 +660,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
660
660
|
KEETA_DELIVERY: number;
|
|
661
661
|
BASE_PRICE: number;
|
|
662
662
|
} | null | undefined;
|
|
663
|
-
|
|
663
|
+
discount_amount?: {
|
|
664
664
|
"POS_WALK-IN": number;
|
|
665
665
|
"POS_TAKE-AWAY": number;
|
|
666
666
|
POS_DELIVERY: number;
|
|
@@ -802,11 +802,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
802
802
|
} & {
|
|
803
803
|
_id: import("mongoose").Types.ObjectId;
|
|
804
804
|
name: string;
|
|
805
|
-
|
|
805
|
+
image_url: string;
|
|
806
806
|
createdAt: NativeDate;
|
|
807
807
|
updatedAt: NativeDate;
|
|
808
|
-
image_url: string;
|
|
809
808
|
brand_id: string;
|
|
809
|
+
tenants: string[];
|
|
810
810
|
active: boolean;
|
|
811
811
|
sort_id: number;
|
|
812
812
|
description: string;
|
|
@@ -823,7 +823,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
823
823
|
end_date: NativeDate;
|
|
824
824
|
is_discount_percentage: boolean;
|
|
825
825
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
826
|
-
|
|
826
|
+
price?: {
|
|
827
827
|
"POS_WALK-IN": number;
|
|
828
828
|
"POS_TAKE-AWAY": number;
|
|
829
829
|
POS_DELIVERY: number;
|
|
@@ -866,7 +866,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
866
866
|
KEETA_DELIVERY: number;
|
|
867
867
|
BASE_PRICE: number;
|
|
868
868
|
} | null | undefined;
|
|
869
|
-
|
|
869
|
+
discount_amount?: {
|
|
870
870
|
"POS_WALK-IN": number;
|
|
871
871
|
"POS_TAKE-AWAY": number;
|
|
872
872
|
POS_DELIVERY: number;
|
|
@@ -918,7 +918,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
918
918
|
end_date: NativeDate;
|
|
919
919
|
is_discount_percentage: boolean;
|
|
920
920
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
921
|
-
|
|
921
|
+
price?: {
|
|
922
922
|
"POS_WALK-IN": number;
|
|
923
923
|
"POS_TAKE-AWAY": number;
|
|
924
924
|
POS_DELIVERY: number;
|
|
@@ -961,7 +961,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
961
961
|
KEETA_DELIVERY: number;
|
|
962
962
|
BASE_PRICE: number;
|
|
963
963
|
} | null | undefined;
|
|
964
|
-
|
|
964
|
+
discount_amount?: {
|
|
965
965
|
"POS_WALK-IN": number;
|
|
966
966
|
"POS_TAKE-AWAY": number;
|
|
967
967
|
POS_DELIVERY: number;
|
|
@@ -1013,7 +1013,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
1013
1013
|
end_date: NativeDate;
|
|
1014
1014
|
is_discount_percentage: boolean;
|
|
1015
1015
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
1016
|
-
|
|
1016
|
+
price?: {
|
|
1017
1017
|
"POS_WALK-IN": number;
|
|
1018
1018
|
"POS_TAKE-AWAY": number;
|
|
1019
1019
|
POS_DELIVERY: number;
|
|
@@ -1056,7 +1056,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
1056
1056
|
KEETA_DELIVERY: number;
|
|
1057
1057
|
BASE_PRICE: number;
|
|
1058
1058
|
} | null | undefined;
|
|
1059
|
-
|
|
1059
|
+
discount_amount?: {
|
|
1060
1060
|
"POS_WALK-IN": number;
|
|
1061
1061
|
"POS_TAKE-AWAY": number;
|
|
1062
1062
|
POS_DELIVERY: number;
|
|
@@ -8,39 +8,39 @@ export declare const OfferFingerprintSchema: Schema<any, import("mongoose").Mode
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
13
|
-
createdAt_mins: number;
|
|
14
11
|
createdAt: NativeDate;
|
|
15
12
|
updatedAt: NativeDate;
|
|
13
|
+
tenant_id: string;
|
|
16
14
|
customer_phone: string;
|
|
17
15
|
customer_name: string;
|
|
16
|
+
createdAt_mins: number;
|
|
17
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
18
18
|
offer_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
20
20
|
createdAt: NativeDate;
|
|
21
21
|
updatedAt: NativeDate;
|
|
22
22
|
} & {
|
|
23
23
|
_id: import("mongoose").Types.ObjectId;
|
|
24
|
-
tenant_id: string;
|
|
25
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
26
|
-
createdAt_mins: number;
|
|
27
24
|
createdAt: NativeDate;
|
|
28
25
|
updatedAt: NativeDate;
|
|
26
|
+
tenant_id: string;
|
|
29
27
|
customer_phone: string;
|
|
30
28
|
customer_name: string;
|
|
29
|
+
createdAt_mins: number;
|
|
30
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
31
31
|
offer_id: import("mongoose").Types.ObjectId;
|
|
32
32
|
}>> & import("mongoose").FlatRecord<{
|
|
33
33
|
createdAt: NativeDate;
|
|
34
34
|
updatedAt: NativeDate;
|
|
35
35
|
} & {
|
|
36
36
|
_id: import("mongoose").Types.ObjectId;
|
|
37
|
-
tenant_id: string;
|
|
38
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
39
|
-
createdAt_mins: number;
|
|
40
37
|
createdAt: NativeDate;
|
|
41
38
|
updatedAt: NativeDate;
|
|
39
|
+
tenant_id: string;
|
|
42
40
|
customer_phone: string;
|
|
43
41
|
customer_name: string;
|
|
42
|
+
createdAt_mins: number;
|
|
43
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
44
44
|
offer_id: import("mongoose").Types.ObjectId;
|
|
45
45
|
}> & Required<{
|
|
46
46
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -8,9 +8,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
11
|
createdAt: NativeDate;
|
|
13
12
|
updatedAt: NativeDate;
|
|
13
|
+
tenant_id: string;
|
|
14
14
|
roles: {
|
|
15
15
|
SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
16
16
|
MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
@@ -92,9 +92,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
|
|
|
92
92
|
updatedAt: NativeDate;
|
|
93
93
|
} & {
|
|
94
94
|
_id: import("mongoose").Types.ObjectId;
|
|
95
|
-
tenant_id: string;
|
|
96
95
|
createdAt: NativeDate;
|
|
97
96
|
updatedAt: NativeDate;
|
|
97
|
+
tenant_id: string;
|
|
98
98
|
roles: {
|
|
99
99
|
SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
100
100
|
MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
@@ -176,9 +176,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
|
|
|
176
176
|
updatedAt: NativeDate;
|
|
177
177
|
} & {
|
|
178
178
|
_id: import("mongoose").Types.ObjectId;
|
|
179
|
-
tenant_id: string;
|
|
180
179
|
createdAt: NativeDate;
|
|
181
180
|
updatedAt: NativeDate;
|
|
181
|
+
tenant_id: string;
|
|
182
182
|
roles: {
|
|
183
183
|
SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
184
184
|
MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];
|
|
@@ -101,9 +101,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
101
101
|
updatedAt: NativeDate;
|
|
102
102
|
} & {
|
|
103
103
|
_id: import("mongoose").Types.ObjectId;
|
|
104
|
-
tenant_id: string;
|
|
105
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
106
|
-
createdAt_mins: number;
|
|
107
104
|
createdAt: NativeDate;
|
|
108
105
|
updatedAt: NativeDate;
|
|
109
106
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1308,9 +1305,10 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
1308
1305
|
}>;
|
|
1309
1306
|
}>;
|
|
1310
1307
|
price: number;
|
|
1308
|
+
tenant_id: string;
|
|
1309
|
+
createdAt_mins: number;
|
|
1311
1310
|
order_number: number;
|
|
1312
1311
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
1313
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
1314
1312
|
updatedAt: NativeDate;
|
|
1315
1313
|
categories: import("mongoose").Types.DocumentArray<{
|
|
1316
1314
|
name: string;
|
|
@@ -2588,6 +2586,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
2588
2586
|
tax_amount: number;
|
|
2589
2587
|
amount_earned: number;
|
|
2590
2588
|
grand_total: number;
|
|
2589
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
2591
2590
|
dinein_details?: {
|
|
2592
2591
|
start_time: NativeDate;
|
|
2593
2592
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -2689,7 +2688,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
2689
2688
|
adjustment_reason?: string | null | undefined;
|
|
2690
2689
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
2691
2690
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
2692
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
2693
2691
|
updatedAt: NativeDate;
|
|
2694
2692
|
categories: import("mongoose").Types.DocumentArray<{
|
|
2695
2693
|
name: string;
|
|
@@ -3967,6 +3965,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
3967
3965
|
tax_amount: number;
|
|
3968
3966
|
amount_earned: number;
|
|
3969
3967
|
grand_total: number;
|
|
3968
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
3970
3969
|
dinein_details?: {
|
|
3971
3970
|
start_time: NativeDate;
|
|
3972
3971
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -4068,7 +4067,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
4068
4067
|
adjustment_reason?: string | null | undefined;
|
|
4069
4068
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
4070
4069
|
}> & {
|
|
4071
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
4072
4070
|
updatedAt: NativeDate;
|
|
4073
4071
|
categories: import("mongoose").Types.DocumentArray<{
|
|
4074
4072
|
name: string;
|
|
@@ -5346,6 +5344,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
5346
5344
|
tax_amount: number;
|
|
5347
5345
|
amount_earned: number;
|
|
5348
5346
|
grand_total: number;
|
|
5347
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
5349
5348
|
dinein_details?: {
|
|
5350
5349
|
start_time: NativeDate;
|
|
5351
5350
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -5522,6 +5521,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
5522
5521
|
amount_earned: number;
|
|
5523
5522
|
grand_total: number;
|
|
5524
5523
|
pos_id: string;
|
|
5524
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
5525
5525
|
amount_collected: number;
|
|
5526
5526
|
is_deleted: boolean;
|
|
5527
5527
|
order_status_updated_at: NativeDate;
|
|
@@ -5677,9 +5677,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
5677
5677
|
updatedAt: NativeDate;
|
|
5678
5678
|
} & {
|
|
5679
5679
|
_id: import("mongoose").Types.ObjectId;
|
|
5680
|
-
tenant_id: string;
|
|
5681
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
5682
|
-
createdAt_mins: number;
|
|
5683
5680
|
createdAt: NativeDate;
|
|
5684
5681
|
updatedAt: NativeDate;
|
|
5685
5682
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -6884,9 +6881,10 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
6884
6881
|
}>;
|
|
6885
6882
|
}>;
|
|
6886
6883
|
price: number;
|
|
6884
|
+
tenant_id: string;
|
|
6885
|
+
createdAt_mins: number;
|
|
6887
6886
|
order_number: number;
|
|
6888
6887
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
6889
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
6890
6888
|
updatedAt: NativeDate;
|
|
6891
6889
|
categories: import("mongoose").Types.DocumentArray<{
|
|
6892
6890
|
name: string;
|
|
@@ -8164,6 +8162,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
8164
8162
|
tax_amount: number;
|
|
8165
8163
|
amount_earned: number;
|
|
8166
8164
|
grand_total: number;
|
|
8165
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
8167
8166
|
dinein_details?: {
|
|
8168
8167
|
start_time: NativeDate;
|
|
8169
8168
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -8265,7 +8264,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
8265
8264
|
adjustment_reason?: string | null | undefined;
|
|
8266
8265
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
8267
8266
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
8268
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
8269
8267
|
updatedAt: NativeDate;
|
|
8270
8268
|
categories: import("mongoose").Types.DocumentArray<{
|
|
8271
8269
|
name: string;
|
|
@@ -9543,6 +9541,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
9543
9541
|
tax_amount: number;
|
|
9544
9542
|
amount_earned: number;
|
|
9545
9543
|
grand_total: number;
|
|
9544
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
9546
9545
|
dinein_details?: {
|
|
9547
9546
|
start_time: NativeDate;
|
|
9548
9547
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -9644,7 +9643,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
9644
9643
|
adjustment_reason?: string | null | undefined;
|
|
9645
9644
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
9646
9645
|
}> & {
|
|
9647
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
9648
9646
|
updatedAt: NativeDate;
|
|
9649
9647
|
categories: import("mongoose").Types.DocumentArray<{
|
|
9650
9648
|
name: string;
|
|
@@ -10922,6 +10920,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
10922
10920
|
tax_amount: number;
|
|
10923
10921
|
amount_earned: number;
|
|
10924
10922
|
grand_total: number;
|
|
10923
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
10925
10924
|
dinein_details?: {
|
|
10926
10925
|
start_time: NativeDate;
|
|
10927
10926
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -11098,6 +11097,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
11098
11097
|
amount_earned: number;
|
|
11099
11098
|
grand_total: number;
|
|
11100
11099
|
pos_id: string;
|
|
11100
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
11101
11101
|
amount_collected: number;
|
|
11102
11102
|
is_deleted: boolean;
|
|
11103
11103
|
order_status_updated_at: NativeDate;
|
|
@@ -11253,9 +11253,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
11253
11253
|
updatedAt: NativeDate;
|
|
11254
11254
|
} & {
|
|
11255
11255
|
_id: import("mongoose").Types.ObjectId;
|
|
11256
|
-
tenant_id: string;
|
|
11257
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
11258
|
-
createdAt_mins: number;
|
|
11259
11256
|
createdAt: NativeDate;
|
|
11260
11257
|
updatedAt: NativeDate;
|
|
11261
11258
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -12460,9 +12457,10 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
12460
12457
|
}>;
|
|
12461
12458
|
}>;
|
|
12462
12459
|
price: number;
|
|
12460
|
+
tenant_id: string;
|
|
12461
|
+
createdAt_mins: number;
|
|
12463
12462
|
order_number: number;
|
|
12464
12463
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
12465
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
12466
12464
|
updatedAt: NativeDate;
|
|
12467
12465
|
categories: import("mongoose").Types.DocumentArray<{
|
|
12468
12466
|
name: string;
|
|
@@ -13740,6 +13738,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
13740
13738
|
tax_amount: number;
|
|
13741
13739
|
amount_earned: number;
|
|
13742
13740
|
grand_total: number;
|
|
13741
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
13743
13742
|
dinein_details?: {
|
|
13744
13743
|
start_time: NativeDate;
|
|
13745
13744
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -13841,7 +13840,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
13841
13840
|
adjustment_reason?: string | null | undefined;
|
|
13842
13841
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
13843
13842
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
13844
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
13845
13843
|
updatedAt: NativeDate;
|
|
13846
13844
|
categories: import("mongoose").Types.DocumentArray<{
|
|
13847
13845
|
name: string;
|
|
@@ -15119,6 +15117,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
15119
15117
|
tax_amount: number;
|
|
15120
15118
|
amount_earned: number;
|
|
15121
15119
|
grand_total: number;
|
|
15120
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
15122
15121
|
dinein_details?: {
|
|
15123
15122
|
start_time: NativeDate;
|
|
15124
15123
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -15220,7 +15219,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
15220
15219
|
adjustment_reason?: string | null | undefined;
|
|
15221
15220
|
tax_invoice_provider_charges?: number | null | undefined;
|
|
15222
15221
|
}> & {
|
|
15223
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
15224
15222
|
updatedAt: NativeDate;
|
|
15225
15223
|
categories: import("mongoose").Types.DocumentArray<{
|
|
15226
15224
|
name: string;
|
|
@@ -16498,6 +16496,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
16498
16496
|
tax_amount: number;
|
|
16499
16497
|
amount_earned: number;
|
|
16500
16498
|
grand_total: number;
|
|
16499
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
16501
16500
|
dinein_details?: {
|
|
16502
16501
|
start_time: NativeDate;
|
|
16503
16502
|
courses: import("mongoose").Types.DocumentArray<{
|
|
@@ -16674,6 +16673,7 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
16674
16673
|
amount_earned: number;
|
|
16675
16674
|
grand_total: number;
|
|
16676
16675
|
pos_id: string;
|
|
16676
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
16677
16677
|
amount_collected: number;
|
|
16678
16678
|
is_deleted: boolean;
|
|
16679
16679
|
order_status_updated_at: NativeDate;
|
|
@@ -10,9 +10,9 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
|
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
name: string;
|
|
13
|
-
tenant_id: string;
|
|
14
13
|
createdAt: NativeDate;
|
|
15
14
|
updatedAt: NativeDate;
|
|
15
|
+
tenant_id: string;
|
|
16
16
|
pos_id: string;
|
|
17
17
|
target: string;
|
|
18
18
|
interface_type: PRINTER_INTERFACE_ENUM;
|
|
@@ -81,9 +81,9 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
|
|
|
81
81
|
} & {
|
|
82
82
|
_id: import("mongoose").Types.ObjectId;
|
|
83
83
|
name: string;
|
|
84
|
-
tenant_id: string;
|
|
85
84
|
createdAt: NativeDate;
|
|
86
85
|
updatedAt: NativeDate;
|
|
86
|
+
tenant_id: string;
|
|
87
87
|
pos_id: string;
|
|
88
88
|
target: string;
|
|
89
89
|
interface_type: PRINTER_INTERFACE_ENUM;
|
|
@@ -152,9 +152,9 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
|
|
|
152
152
|
} & {
|
|
153
153
|
_id: import("mongoose").Types.ObjectId;
|
|
154
154
|
name: string;
|
|
155
|
-
tenant_id: string;
|
|
156
155
|
createdAt: NativeDate;
|
|
157
156
|
updatedAt: NativeDate;
|
|
157
|
+
tenant_id: string;
|
|
158
158
|
pos_id: string;
|
|
159
159
|
target: string;
|
|
160
160
|
interface_type: PRINTER_INTERFACE_ENUM;
|
|
@@ -9,11 +9,11 @@ export declare const PublicHolidaySchema: Schema<any, import("mongoose").Model<a
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
description: string;
|
|
16
15
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
16
|
+
tenant_id: string;
|
|
17
17
|
dates: NativeDate[];
|
|
18
18
|
is_surcharge_percentage: boolean;
|
|
19
19
|
surcharge: {
|
|
@@ -65,11 +65,11 @@ export declare const PublicHolidaySchema: Schema<any, import("mongoose").Model<a
|
|
|
65
65
|
} & {
|
|
66
66
|
_id: import("mongoose").Types.ObjectId;
|
|
67
67
|
name: string;
|
|
68
|
-
tenant_id: string;
|
|
69
68
|
createdAt: NativeDate;
|
|
70
69
|
updatedAt: NativeDate;
|
|
71
70
|
description: string;
|
|
72
71
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
72
|
+
tenant_id: string;
|
|
73
73
|
dates: NativeDate[];
|
|
74
74
|
is_surcharge_percentage: boolean;
|
|
75
75
|
surcharge: {
|
|
@@ -121,11 +121,11 @@ export declare const PublicHolidaySchema: Schema<any, import("mongoose").Model<a
|
|
|
121
121
|
} & {
|
|
122
122
|
_id: import("mongoose").Types.ObjectId;
|
|
123
123
|
name: string;
|
|
124
|
-
tenant_id: string;
|
|
125
124
|
createdAt: NativeDate;
|
|
126
125
|
updatedAt: NativeDate;
|
|
127
126
|
description: string;
|
|
128
127
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
128
|
+
tenant_id: string;
|
|
129
129
|
dates: NativeDate[];
|
|
130
130
|
is_surcharge_percentage: boolean;
|
|
131
131
|
surcharge: {
|
|
@@ -9,12 +9,12 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
createdAt_mins: number;
|
|
14
12
|
createdAt: NativeDate;
|
|
15
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
16
15
|
customer_phone: string;
|
|
17
16
|
customer_name: string;
|
|
17
|
+
createdAt_mins: number;
|
|
18
18
|
num_of_guests: number;
|
|
19
19
|
special_instructions: string;
|
|
20
20
|
reservation_time: NativeDate;
|
|
@@ -38,12 +38,12 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
38
38
|
updatedAt: NativeDate;
|
|
39
39
|
} & {
|
|
40
40
|
_id: import("mongoose").Types.ObjectId;
|
|
41
|
-
tenant_id: string;
|
|
42
|
-
createdAt_mins: number;
|
|
43
41
|
createdAt: NativeDate;
|
|
44
42
|
updatedAt: NativeDate;
|
|
43
|
+
tenant_id: string;
|
|
45
44
|
customer_phone: string;
|
|
46
45
|
customer_name: string;
|
|
46
|
+
createdAt_mins: number;
|
|
47
47
|
num_of_guests: number;
|
|
48
48
|
special_instructions: string;
|
|
49
49
|
reservation_time: NativeDate;
|
|
@@ -67,12 +67,12 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
67
67
|
updatedAt: NativeDate;
|
|
68
68
|
} & {
|
|
69
69
|
_id: import("mongoose").Types.ObjectId;
|
|
70
|
-
tenant_id: string;
|
|
71
|
-
createdAt_mins: number;
|
|
72
70
|
createdAt: NativeDate;
|
|
73
71
|
updatedAt: NativeDate;
|
|
72
|
+
tenant_id: string;
|
|
74
73
|
customer_phone: string;
|
|
75
74
|
customer_name: string;
|
|
75
|
+
createdAt_mins: number;
|
|
76
76
|
num_of_guests: number;
|
|
77
77
|
special_instructions: string;
|
|
78
78
|
reservation_time: NativeDate;
|
|
@@ -8,15 +8,15 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
13
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
14
|
-
createdAt_mins: number;
|
|
15
11
|
createdAt: NativeDate;
|
|
16
12
|
updatedAt: NativeDate;
|
|
13
|
+
tenant_id: string;
|
|
17
14
|
customer_phone: string;
|
|
18
15
|
customer_name: string;
|
|
16
|
+
createdAt_mins: number;
|
|
17
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
19
18
|
order_number: number;
|
|
19
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
20
20
|
rating: number;
|
|
21
21
|
review: string;
|
|
22
22
|
average_rating: number;
|
|
@@ -37,15 +37,15 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
37
37
|
updatedAt: NativeDate;
|
|
38
38
|
} & {
|
|
39
39
|
_id: import("mongoose").Types.ObjectId;
|
|
40
|
-
tenant_id: string;
|
|
41
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
42
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
43
|
-
createdAt_mins: number;
|
|
44
40
|
createdAt: NativeDate;
|
|
45
41
|
updatedAt: NativeDate;
|
|
42
|
+
tenant_id: string;
|
|
46
43
|
customer_phone: string;
|
|
47
44
|
customer_name: string;
|
|
45
|
+
createdAt_mins: number;
|
|
46
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
48
47
|
order_number: number;
|
|
48
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
49
49
|
rating: number;
|
|
50
50
|
review: string;
|
|
51
51
|
average_rating: number;
|
|
@@ -66,15 +66,15 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
66
66
|
updatedAt: NativeDate;
|
|
67
67
|
} & {
|
|
68
68
|
_id: import("mongoose").Types.ObjectId;
|
|
69
|
-
tenant_id: string;
|
|
70
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
71
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
72
|
-
createdAt_mins: number;
|
|
73
69
|
createdAt: NativeDate;
|
|
74
70
|
updatedAt: NativeDate;
|
|
71
|
+
tenant_id: string;
|
|
75
72
|
customer_phone: string;
|
|
76
73
|
customer_name: string;
|
|
74
|
+
createdAt_mins: number;
|
|
75
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
77
76
|
order_number: number;
|
|
77
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
78
78
|
rating: number;
|
|
79
79
|
review: string;
|
|
80
80
|
average_rating: number;
|