@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,9 +10,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
name: string;
|
|
13
|
-
tenant_id: string;
|
|
14
|
-
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
15
|
-
reason: string;
|
|
16
13
|
createdAt: NativeDate;
|
|
17
14
|
updatedAt: NativeDate;
|
|
18
15
|
active: boolean;
|
|
@@ -61,7 +58,10 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
61
58
|
BASE_PRICE: number;
|
|
62
59
|
};
|
|
63
60
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
61
|
+
tenant_id: string;
|
|
62
|
+
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
64
63
|
is_percentage: boolean;
|
|
64
|
+
reason: string;
|
|
65
65
|
ask_reference_number: boolean;
|
|
66
66
|
max_percentage?: {
|
|
67
67
|
"POS_WALK-IN": number;
|
|
@@ -158,7 +158,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
158
158
|
end_date: NativeDate;
|
|
159
159
|
is_discount_percentage: boolean;
|
|
160
160
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
161
|
-
|
|
161
|
+
price?: {
|
|
162
162
|
"POS_WALK-IN": number;
|
|
163
163
|
"POS_TAKE-AWAY": number;
|
|
164
164
|
POS_DELIVERY: number;
|
|
@@ -201,7 +201,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
201
201
|
KEETA_DELIVERY: number;
|
|
202
202
|
BASE_PRICE: number;
|
|
203
203
|
} | null | undefined;
|
|
204
|
-
|
|
204
|
+
discount_amount?: {
|
|
205
205
|
"POS_WALK-IN": number;
|
|
206
206
|
"POS_TAKE-AWAY": number;
|
|
207
207
|
POS_DELIVERY: number;
|
|
@@ -253,7 +253,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
253
253
|
end_date: NativeDate;
|
|
254
254
|
is_discount_percentage: boolean;
|
|
255
255
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
256
|
-
|
|
256
|
+
price?: {
|
|
257
257
|
"POS_WALK-IN": number;
|
|
258
258
|
"POS_TAKE-AWAY": number;
|
|
259
259
|
POS_DELIVERY: number;
|
|
@@ -296,7 +296,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
296
296
|
KEETA_DELIVERY: number;
|
|
297
297
|
BASE_PRICE: number;
|
|
298
298
|
} | null | undefined;
|
|
299
|
-
|
|
299
|
+
discount_amount?: {
|
|
300
300
|
"POS_WALK-IN": number;
|
|
301
301
|
"POS_TAKE-AWAY": number;
|
|
302
302
|
POS_DELIVERY: number;
|
|
@@ -348,7 +348,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
348
348
|
end_date: NativeDate;
|
|
349
349
|
is_discount_percentage: boolean;
|
|
350
350
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
351
|
-
|
|
351
|
+
price?: {
|
|
352
352
|
"POS_WALK-IN": number;
|
|
353
353
|
"POS_TAKE-AWAY": number;
|
|
354
354
|
POS_DELIVERY: number;
|
|
@@ -391,7 +391,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
391
391
|
KEETA_DELIVERY: number;
|
|
392
392
|
BASE_PRICE: number;
|
|
393
393
|
} | null | undefined;
|
|
394
|
-
|
|
394
|
+
discount_amount?: {
|
|
395
395
|
"POS_WALK-IN": number;
|
|
396
396
|
"POS_TAKE-AWAY": number;
|
|
397
397
|
POS_DELIVERY: number;
|
|
@@ -442,9 +442,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
442
442
|
} & {
|
|
443
443
|
_id: import("mongoose").Types.ObjectId;
|
|
444
444
|
name: string;
|
|
445
|
-
tenant_id: string;
|
|
446
|
-
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
447
|
-
reason: string;
|
|
448
445
|
createdAt: NativeDate;
|
|
449
446
|
updatedAt: NativeDate;
|
|
450
447
|
active: boolean;
|
|
@@ -493,7 +490,10 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
493
490
|
BASE_PRICE: number;
|
|
494
491
|
};
|
|
495
492
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
493
|
+
tenant_id: string;
|
|
494
|
+
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
496
495
|
is_percentage: boolean;
|
|
496
|
+
reason: string;
|
|
497
497
|
ask_reference_number: boolean;
|
|
498
498
|
max_percentage?: {
|
|
499
499
|
"POS_WALK-IN": number;
|
|
@@ -590,7 +590,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
590
590
|
end_date: NativeDate;
|
|
591
591
|
is_discount_percentage: boolean;
|
|
592
592
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
593
|
-
|
|
593
|
+
price?: {
|
|
594
594
|
"POS_WALK-IN": number;
|
|
595
595
|
"POS_TAKE-AWAY": number;
|
|
596
596
|
POS_DELIVERY: number;
|
|
@@ -633,7 +633,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
633
633
|
KEETA_DELIVERY: number;
|
|
634
634
|
BASE_PRICE: number;
|
|
635
635
|
} | null | undefined;
|
|
636
|
-
|
|
636
|
+
discount_amount?: {
|
|
637
637
|
"POS_WALK-IN": number;
|
|
638
638
|
"POS_TAKE-AWAY": number;
|
|
639
639
|
POS_DELIVERY: number;
|
|
@@ -685,7 +685,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
685
685
|
end_date: NativeDate;
|
|
686
686
|
is_discount_percentage: boolean;
|
|
687
687
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
688
|
-
|
|
688
|
+
price?: {
|
|
689
689
|
"POS_WALK-IN": number;
|
|
690
690
|
"POS_TAKE-AWAY": number;
|
|
691
691
|
POS_DELIVERY: number;
|
|
@@ -728,7 +728,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
728
728
|
KEETA_DELIVERY: number;
|
|
729
729
|
BASE_PRICE: number;
|
|
730
730
|
} | null | undefined;
|
|
731
|
-
|
|
731
|
+
discount_amount?: {
|
|
732
732
|
"POS_WALK-IN": number;
|
|
733
733
|
"POS_TAKE-AWAY": number;
|
|
734
734
|
POS_DELIVERY: number;
|
|
@@ -780,7 +780,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
780
780
|
end_date: NativeDate;
|
|
781
781
|
is_discount_percentage: boolean;
|
|
782
782
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
783
|
-
|
|
783
|
+
price?: {
|
|
784
784
|
"POS_WALK-IN": number;
|
|
785
785
|
"POS_TAKE-AWAY": number;
|
|
786
786
|
POS_DELIVERY: number;
|
|
@@ -823,7 +823,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
823
823
|
KEETA_DELIVERY: number;
|
|
824
824
|
BASE_PRICE: number;
|
|
825
825
|
} | null | undefined;
|
|
826
|
-
|
|
826
|
+
discount_amount?: {
|
|
827
827
|
"POS_WALK-IN": number;
|
|
828
828
|
"POS_TAKE-AWAY": number;
|
|
829
829
|
POS_DELIVERY: number;
|
|
@@ -874,9 +874,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
874
874
|
} & {
|
|
875
875
|
_id: import("mongoose").Types.ObjectId;
|
|
876
876
|
name: string;
|
|
877
|
-
tenant_id: string;
|
|
878
|
-
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
879
|
-
reason: string;
|
|
880
877
|
createdAt: NativeDate;
|
|
881
878
|
updatedAt: NativeDate;
|
|
882
879
|
active: boolean;
|
|
@@ -925,7 +922,10 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
925
922
|
BASE_PRICE: number;
|
|
926
923
|
};
|
|
927
924
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
925
|
+
tenant_id: string;
|
|
926
|
+
applicability: DISCOUNT_APPLICABILITY_ENUM;
|
|
928
927
|
is_percentage: boolean;
|
|
928
|
+
reason: string;
|
|
929
929
|
ask_reference_number: boolean;
|
|
930
930
|
max_percentage?: {
|
|
931
931
|
"POS_WALK-IN": number;
|
|
@@ -1022,7 +1022,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1022
1022
|
end_date: NativeDate;
|
|
1023
1023
|
is_discount_percentage: boolean;
|
|
1024
1024
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
1025
|
-
|
|
1025
|
+
price?: {
|
|
1026
1026
|
"POS_WALK-IN": number;
|
|
1027
1027
|
"POS_TAKE-AWAY": number;
|
|
1028
1028
|
POS_DELIVERY: number;
|
|
@@ -1065,7 +1065,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1065
1065
|
KEETA_DELIVERY: number;
|
|
1066
1066
|
BASE_PRICE: number;
|
|
1067
1067
|
} | null | undefined;
|
|
1068
|
-
|
|
1068
|
+
discount_amount?: {
|
|
1069
1069
|
"POS_WALK-IN": number;
|
|
1070
1070
|
"POS_TAKE-AWAY": number;
|
|
1071
1071
|
POS_DELIVERY: number;
|
|
@@ -1117,7 +1117,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1117
1117
|
end_date: NativeDate;
|
|
1118
1118
|
is_discount_percentage: boolean;
|
|
1119
1119
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
1120
|
-
|
|
1120
|
+
price?: {
|
|
1121
1121
|
"POS_WALK-IN": number;
|
|
1122
1122
|
"POS_TAKE-AWAY": number;
|
|
1123
1123
|
POS_DELIVERY: number;
|
|
@@ -1160,7 +1160,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1160
1160
|
KEETA_DELIVERY: number;
|
|
1161
1161
|
BASE_PRICE: number;
|
|
1162
1162
|
} | null | undefined;
|
|
1163
|
-
|
|
1163
|
+
discount_amount?: {
|
|
1164
1164
|
"POS_WALK-IN": number;
|
|
1165
1165
|
"POS_TAKE-AWAY": number;
|
|
1166
1166
|
POS_DELIVERY: number;
|
|
@@ -1212,7 +1212,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1212
1212
|
end_date: NativeDate;
|
|
1213
1213
|
is_discount_percentage: boolean;
|
|
1214
1214
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
1215
|
-
|
|
1215
|
+
price?: {
|
|
1216
1216
|
"POS_WALK-IN": number;
|
|
1217
1217
|
"POS_TAKE-AWAY": number;
|
|
1218
1218
|
POS_DELIVERY: number;
|
|
@@ -1255,7 +1255,7 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1255
1255
|
KEETA_DELIVERY: number;
|
|
1256
1256
|
BASE_PRICE: number;
|
|
1257
1257
|
} | null | undefined;
|
|
1258
|
-
|
|
1258
|
+
discount_amount?: {
|
|
1259
1259
|
"POS_WALK-IN": number;
|
|
1260
1260
|
"POS_TAKE-AWAY": number;
|
|
1261
1261
|
POS_DELIVERY: number;
|
|
@@ -9,11 +9,11 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
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
|
sort_id: number;
|
|
16
15
|
description: string;
|
|
16
|
+
tenant_id: string;
|
|
17
17
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
18
18
|
_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
name: string;
|
|
@@ -33,11 +33,11 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
33
33
|
} & {
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
35
35
|
name: string;
|
|
36
|
-
tenant_id: string;
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
39
38
|
sort_id: number;
|
|
40
39
|
description: string;
|
|
40
|
+
tenant_id: string;
|
|
41
41
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
43
|
name: string;
|
|
@@ -57,11 +57,11 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
57
57
|
} & {
|
|
58
58
|
_id: import("mongoose").Types.ObjectId;
|
|
59
59
|
name: string;
|
|
60
|
-
tenant_id: string;
|
|
61
60
|
createdAt: NativeDate;
|
|
62
61
|
updatedAt: NativeDate;
|
|
63
62
|
sort_id: number;
|
|
64
63
|
description: string;
|
|
64
|
+
tenant_id: string;
|
|
65
65
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
66
66
|
_id: import("mongoose").Types.ObjectId;
|
|
67
67
|
name: string;
|
|
@@ -8,19 +8,19 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
|
-
staff_id: string;
|
|
13
|
-
staff_name: string;
|
|
14
|
-
createdAt_mins: number;
|
|
15
11
|
createdAt: NativeDate;
|
|
16
12
|
updatedAt: NativeDate;
|
|
17
13
|
description: string;
|
|
14
|
+
tenant_id: string;
|
|
15
|
+
createdAt_mins: number;
|
|
18
16
|
amount: number;
|
|
19
17
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
20
18
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
21
19
|
payment_method: string;
|
|
22
20
|
date_incurred: NativeDate;
|
|
23
21
|
date_incurred_mins: number;
|
|
22
|
+
staff_id: string;
|
|
23
|
+
staff_name: string;
|
|
24
24
|
receipt_image?: string | null | undefined;
|
|
25
25
|
recurring?: {
|
|
26
26
|
end_date: NativeDate;
|
|
@@ -32,19 +32,19 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
32
32
|
updatedAt: NativeDate;
|
|
33
33
|
} & {
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
35
|
-
tenant_id: string;
|
|
36
|
-
staff_id: string;
|
|
37
|
-
staff_name: string;
|
|
38
|
-
createdAt_mins: number;
|
|
39
35
|
createdAt: NativeDate;
|
|
40
36
|
updatedAt: NativeDate;
|
|
41
37
|
description: string;
|
|
38
|
+
tenant_id: string;
|
|
39
|
+
createdAt_mins: number;
|
|
42
40
|
amount: number;
|
|
43
41
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
44
42
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
45
43
|
payment_method: string;
|
|
46
44
|
date_incurred: NativeDate;
|
|
47
45
|
date_incurred_mins: number;
|
|
46
|
+
staff_id: string;
|
|
47
|
+
staff_name: string;
|
|
48
48
|
receipt_image?: string | null | undefined;
|
|
49
49
|
recurring?: {
|
|
50
50
|
end_date: NativeDate;
|
|
@@ -56,19 +56,19 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
56
56
|
updatedAt: NativeDate;
|
|
57
57
|
} & {
|
|
58
58
|
_id: import("mongoose").Types.ObjectId;
|
|
59
|
-
tenant_id: string;
|
|
60
|
-
staff_id: string;
|
|
61
|
-
staff_name: string;
|
|
62
|
-
createdAt_mins: number;
|
|
63
59
|
createdAt: NativeDate;
|
|
64
60
|
updatedAt: NativeDate;
|
|
65
61
|
description: string;
|
|
62
|
+
tenant_id: string;
|
|
63
|
+
createdAt_mins: number;
|
|
66
64
|
amount: number;
|
|
67
65
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
68
66
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
69
67
|
payment_method: string;
|
|
70
68
|
date_incurred: NativeDate;
|
|
71
69
|
date_incurred_mins: number;
|
|
70
|
+
staff_id: string;
|
|
71
|
+
staff_name: string;
|
|
72
72
|
receipt_image?: string | null | undefined;
|
|
73
73
|
recurring?: {
|
|
74
74
|
end_date: NativeDate;
|
|
@@ -11,10 +11,10 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
11
11
|
code: string;
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
name: string;
|
|
14
|
-
tenants: string[];
|
|
15
14
|
createdAt: NativeDate;
|
|
16
15
|
updatedAt: NativeDate;
|
|
17
16
|
brand_id: string;
|
|
17
|
+
tenants: string[];
|
|
18
18
|
active: boolean;
|
|
19
19
|
description: string;
|
|
20
20
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|
|
@@ -145,10 +145,10 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
145
145
|
code: string;
|
|
146
146
|
_id: import("mongoose").Types.ObjectId;
|
|
147
147
|
name: string;
|
|
148
|
-
tenants: string[];
|
|
149
148
|
createdAt: NativeDate;
|
|
150
149
|
updatedAt: NativeDate;
|
|
151
150
|
brand_id: string;
|
|
151
|
+
tenants: string[];
|
|
152
152
|
active: boolean;
|
|
153
153
|
description: string;
|
|
154
154
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|
|
@@ -279,10 +279,10 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
279
279
|
code: string;
|
|
280
280
|
_id: import("mongoose").Types.ObjectId;
|
|
281
281
|
name: string;
|
|
282
|
-
tenants: string[];
|
|
283
282
|
createdAt: NativeDate;
|
|
284
283
|
updatedAt: NativeDate;
|
|
285
284
|
brand_id: string;
|
|
285
|
+
tenants: string[];
|
|
286
286
|
active: boolean;
|
|
287
287
|
description: string;
|
|
288
288
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|