@managesome/eposmatic-toolkit 0.4.14 → 0.4.16
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/helpers/materialized-reports/index.js +1 -0
- package/esm/helpers/materialized-reports/materialized-report-drilldown-rows.js +162 -0
- package/esm/helpers/reporting-contract/report-contract.js +1 -0
- package/esm/schemas/models/index.js +1 -1
- package/esm/schemas/models/materialized_report_drilldown_rows.js +155 -0
- package/esm/schemas/types/index.js +1 -1
- package/esm/schemas/types/materialized_report_drilldown_rows.js +10 -0
- package/lib/helpers/materialized-reports/index.d.ts +1 -0
- package/lib/helpers/materialized-reports/index.js +1 -0
- package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.d.ts +40 -0
- package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.js +169 -0
- package/lib/helpers/reporting-contract/report-contract.d.ts +3 -0
- package/lib/helpers/reporting-contract/report-contract.js +1 -0
- 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 +1 -1
- package/lib/schemas/models/index.js +1 -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_report_drilldown_rows.d.ts +130 -0
- package/lib/schemas/models/materialized_report_drilldown_rows.js +158 -0
- 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 +1 -1
- package/lib/schemas/types/index.js +1 -1
- package/lib/schemas/types/materialized_report_drilldown_rows.d.ts +64 -0
- package/lib/schemas/types/materialized_report_drilldown_rows.js +13 -0
- package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.d.ts +1 -0
- package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.js +143 -0
- package/lib/tests/reporting-contract.test.js +7 -0
- package/package.json +1 -1
|
@@ -10,11 +10,11 @@ export declare const CategorySchema: Schema<any, import("mongoose").Model<any, a
|
|
|
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
|
subtitle: string;
|
|
19
19
|
active: boolean;
|
|
20
20
|
sort_id: number;
|
|
@@ -26,11 +26,11 @@ export declare const CategorySchema: Schema<any, import("mongoose").Model<any, a
|
|
|
26
26
|
} & {
|
|
27
27
|
_id: import("mongoose").Types.ObjectId;
|
|
28
28
|
name: string;
|
|
29
|
-
|
|
29
|
+
image_url: string;
|
|
30
30
|
createdAt: NativeDate;
|
|
31
31
|
updatedAt: NativeDate;
|
|
32
|
-
image_url: string;
|
|
33
32
|
brand_id: string;
|
|
33
|
+
tenants: string[];
|
|
34
34
|
subtitle: string;
|
|
35
35
|
active: boolean;
|
|
36
36
|
sort_id: number;
|
|
@@ -42,11 +42,11 @@ export declare const CategorySchema: Schema<any, import("mongoose").Model<any, a
|
|
|
42
42
|
} & {
|
|
43
43
|
_id: import("mongoose").Types.ObjectId;
|
|
44
44
|
name: string;
|
|
45
|
-
|
|
45
|
+
image_url: string;
|
|
46
46
|
createdAt: NativeDate;
|
|
47
47
|
updatedAt: NativeDate;
|
|
48
|
-
image_url: string;
|
|
49
48
|
brand_id: string;
|
|
49
|
+
tenants: string[];
|
|
50
50
|
subtitle: string;
|
|
51
51
|
active: boolean;
|
|
52
52
|
sort_id: number;
|
|
@@ -8,12 +8,12 @@ export declare const CloseDatesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
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;
|
|
14
13
|
start_time: number;
|
|
15
14
|
end_time: number;
|
|
16
15
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
16
|
+
tenant_id: string;
|
|
17
17
|
dates: NativeDate[];
|
|
18
18
|
custom_message: string;
|
|
19
19
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -21,12 +21,12 @@ export declare const CloseDatesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
21
21
|
updatedAt: NativeDate;
|
|
22
22
|
} & {
|
|
23
23
|
_id: import("mongoose").Types.ObjectId;
|
|
24
|
-
tenant_id: string;
|
|
25
24
|
createdAt: NativeDate;
|
|
26
25
|
updatedAt: NativeDate;
|
|
27
26
|
start_time: number;
|
|
28
27
|
end_time: number;
|
|
29
28
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
29
|
+
tenant_id: string;
|
|
30
30
|
dates: NativeDate[];
|
|
31
31
|
custom_message: string;
|
|
32
32
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -34,12 +34,12 @@ export declare const CloseDatesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
34
34
|
updatedAt: NativeDate;
|
|
35
35
|
} & {
|
|
36
36
|
_id: import("mongoose").Types.ObjectId;
|
|
37
|
-
tenant_id: string;
|
|
38
37
|
createdAt: NativeDate;
|
|
39
38
|
updatedAt: NativeDate;
|
|
40
39
|
start_time: number;
|
|
41
40
|
end_time: number;
|
|
42
41
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
42
|
+
tenant_id: string;
|
|
43
43
|
dates: NativeDate[];
|
|
44
44
|
custom_message: string;
|
|
45
45
|
}> & Required<{
|
|
@@ -10,11 +10,11 @@ export declare const CourseSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
default: boolean;
|
|
12
12
|
name: string;
|
|
13
|
-
tenant_id: string;
|
|
14
13
|
createdAt: NativeDate;
|
|
15
14
|
updatedAt: NativeDate;
|
|
16
15
|
active: boolean;
|
|
17
16
|
sort_id: number;
|
|
17
|
+
tenant_id: string;
|
|
18
18
|
included_categories: import("mongoose").Types.DocumentArray<{
|
|
19
19
|
category_id: import("mongoose").Types.ObjectId;
|
|
20
20
|
excluded_items: import("mongoose").Types.ObjectId[];
|
|
@@ -32,11 +32,11 @@ export declare const CourseSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
default: boolean;
|
|
34
34
|
name: string;
|
|
35
|
-
tenant_id: string;
|
|
36
35
|
createdAt: NativeDate;
|
|
37
36
|
updatedAt: NativeDate;
|
|
38
37
|
active: boolean;
|
|
39
38
|
sort_id: number;
|
|
39
|
+
tenant_id: string;
|
|
40
40
|
included_categories: import("mongoose").Types.DocumentArray<{
|
|
41
41
|
category_id: import("mongoose").Types.ObjectId;
|
|
42
42
|
excluded_items: import("mongoose").Types.ObjectId[];
|
|
@@ -54,11 +54,11 @@ export declare const CourseSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
54
54
|
_id: import("mongoose").Types.ObjectId;
|
|
55
55
|
default: boolean;
|
|
56
56
|
name: string;
|
|
57
|
-
tenant_id: string;
|
|
58
57
|
createdAt: NativeDate;
|
|
59
58
|
updatedAt: NativeDate;
|
|
60
59
|
active: boolean;
|
|
61
60
|
sort_id: number;
|
|
61
|
+
tenant_id: string;
|
|
62
62
|
included_categories: import("mongoose").Types.DocumentArray<{
|
|
63
63
|
category_id: import("mongoose").Types.ObjectId;
|
|
64
64
|
excluded_items: import("mongoose").Types.ObjectId[];
|
|
@@ -9,7 +9,6 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
type: import("../../constants").CUSTOMER_REDEMPTION_TYPE_ENUM;
|
|
12
|
-
createdAt_mins: number;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
brand_id: string;
|
|
@@ -18,13 +17,13 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
18
17
|
customer_phone: string;
|
|
19
18
|
customer_name: string;
|
|
20
19
|
redeemed_times: number;
|
|
20
|
+
createdAt_mins: number;
|
|
21
21
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
22
22
|
createdAt: NativeDate;
|
|
23
23
|
updatedAt: NativeDate;
|
|
24
24
|
} & {
|
|
25
25
|
_id: import("mongoose").Types.ObjectId;
|
|
26
26
|
type: import("../../constants").CUSTOMER_REDEMPTION_TYPE_ENUM;
|
|
27
|
-
createdAt_mins: number;
|
|
28
27
|
createdAt: NativeDate;
|
|
29
28
|
updatedAt: NativeDate;
|
|
30
29
|
brand_id: string;
|
|
@@ -33,13 +32,13 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
33
32
|
customer_phone: string;
|
|
34
33
|
customer_name: string;
|
|
35
34
|
redeemed_times: number;
|
|
35
|
+
createdAt_mins: number;
|
|
36
36
|
}>> & import("mongoose").FlatRecord<{
|
|
37
37
|
createdAt: NativeDate;
|
|
38
38
|
updatedAt: NativeDate;
|
|
39
39
|
} & {
|
|
40
40
|
_id: import("mongoose").Types.ObjectId;
|
|
41
41
|
type: import("../../constants").CUSTOMER_REDEMPTION_TYPE_ENUM;
|
|
42
|
-
createdAt_mins: number;
|
|
43
42
|
createdAt: NativeDate;
|
|
44
43
|
updatedAt: NativeDate;
|
|
45
44
|
brand_id: string;
|
|
@@ -48,6 +47,7 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
48
47
|
customer_phone: string;
|
|
49
48
|
customer_name: string;
|
|
50
49
|
redeemed_times: number;
|
|
50
|
+
createdAt_mins: number;
|
|
51
51
|
}> & Required<{
|
|
52
52
|
_id: import("mongoose").Types.ObjectId;
|
|
53
53
|
}> & {
|
|
@@ -8,11 +8,11 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
|
|
11
|
+
image_url: string;
|
|
12
12
|
createdAt: NativeDate;
|
|
13
13
|
updatedAt: NativeDate;
|
|
14
|
-
image_url: string;
|
|
15
14
|
brand_id: string;
|
|
15
|
+
tenants: string[];
|
|
16
16
|
active: boolean;
|
|
17
17
|
phone_number: string;
|
|
18
18
|
uid: string;
|
|
@@ -194,11 +194,11 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
|
|
|
194
194
|
updatedAt: NativeDate;
|
|
195
195
|
} & {
|
|
196
196
|
_id: import("mongoose").Types.ObjectId;
|
|
197
|
-
|
|
197
|
+
image_url: string;
|
|
198
198
|
createdAt: NativeDate;
|
|
199
199
|
updatedAt: NativeDate;
|
|
200
|
-
image_url: string;
|
|
201
200
|
brand_id: string;
|
|
201
|
+
tenants: string[];
|
|
202
202
|
active: boolean;
|
|
203
203
|
phone_number: string;
|
|
204
204
|
uid: string;
|
|
@@ -380,11 +380,11 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
|
|
|
380
380
|
updatedAt: NativeDate;
|
|
381
381
|
} & {
|
|
382
382
|
_id: import("mongoose").Types.ObjectId;
|
|
383
|
-
|
|
383
|
+
image_url: string;
|
|
384
384
|
createdAt: NativeDate;
|
|
385
385
|
updatedAt: NativeDate;
|
|
386
|
-
image_url: string;
|
|
387
386
|
brand_id: string;
|
|
387
|
+
tenants: string[];
|
|
388
388
|
active: boolean;
|
|
389
389
|
phone_number: string;
|
|
390
390
|
uid: string;
|
|
@@ -9,12 +9,12 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
14
|
-
createdAt_mins: number;
|
|
15
12
|
createdAt: NativeDate;
|
|
16
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
|
+
createdAt_mins: number;
|
|
17
16
|
distance_in_meters_from_store: number;
|
|
17
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
18
18
|
order_number: number;
|
|
19
19
|
rider_id: string;
|
|
20
20
|
rider_name: string;
|
|
@@ -66,12 +66,12 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<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
|
-
createdAt_mins: number;
|
|
72
69
|
createdAt: NativeDate;
|
|
73
70
|
updatedAt: NativeDate;
|
|
71
|
+
tenant_id: string;
|
|
72
|
+
createdAt_mins: number;
|
|
74
73
|
distance_in_meters_from_store: number;
|
|
74
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
75
75
|
order_number: number;
|
|
76
76
|
rider_id: string;
|
|
77
77
|
rider_name: string;
|
|
@@ -123,12 +123,12 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
123
123
|
updatedAt: NativeDate;
|
|
124
124
|
} & {
|
|
125
125
|
_id: import("mongoose").Types.ObjectId;
|
|
126
|
-
tenant_id: string;
|
|
127
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
128
|
-
createdAt_mins: number;
|
|
129
126
|
createdAt: NativeDate;
|
|
130
127
|
updatedAt: NativeDate;
|
|
128
|
+
tenant_id: string;
|
|
129
|
+
createdAt_mins: number;
|
|
131
130
|
distance_in_meters_from_store: number;
|
|
131
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
132
132
|
order_number: number;
|
|
133
133
|
rider_id: string;
|
|
134
134
|
rider_name: string;
|
|
@@ -9,10 +9,10 @@ export declare const DeliveryAreaSchema: Schema<any, import("mongoose").Model<an
|
|
|
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
|
active: boolean;
|
|
15
|
+
tenant_id: string;
|
|
16
16
|
city: string;
|
|
17
17
|
state: string;
|
|
18
18
|
lat: number;
|
|
@@ -93,10 +93,10 @@ export declare const DeliveryAreaSchema: Schema<any, import("mongoose").Model<an
|
|
|
93
93
|
} & {
|
|
94
94
|
_id: import("mongoose").Types.ObjectId;
|
|
95
95
|
name: string;
|
|
96
|
-
tenant_id: string;
|
|
97
96
|
createdAt: NativeDate;
|
|
98
97
|
updatedAt: NativeDate;
|
|
99
98
|
active: boolean;
|
|
99
|
+
tenant_id: string;
|
|
100
100
|
city: string;
|
|
101
101
|
state: string;
|
|
102
102
|
lat: number;
|
|
@@ -177,10 +177,10 @@ export declare const DeliveryAreaSchema: Schema<any, import("mongoose").Model<an
|
|
|
177
177
|
} & {
|
|
178
178
|
_id: import("mongoose").Types.ObjectId;
|
|
179
179
|
name: string;
|
|
180
|
-
tenant_id: string;
|
|
181
180
|
createdAt: NativeDate;
|
|
182
181
|
updatedAt: NativeDate;
|
|
183
182
|
active: boolean;
|
|
183
|
+
tenant_id: string;
|
|
184
184
|
city: string;
|
|
185
185
|
state: string;
|
|
186
186
|
lat: number;
|
|
@@ -9,33 +9,33 @@ export declare const DineInFloorsSchema: Schema<any, import("mongoose").Model<an
|
|
|
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
|
active: boolean;
|
|
16
15
|
sort_id: number;
|
|
16
|
+
tenant_id: string;
|
|
17
17
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
18
18
|
createdAt: NativeDate;
|
|
19
19
|
updatedAt: NativeDate;
|
|
20
20
|
} & {
|
|
21
21
|
_id: import("mongoose").Types.ObjectId;
|
|
22
22
|
name: string;
|
|
23
|
-
tenant_id: string;
|
|
24
23
|
createdAt: NativeDate;
|
|
25
24
|
updatedAt: NativeDate;
|
|
26
25
|
active: boolean;
|
|
27
26
|
sort_id: number;
|
|
27
|
+
tenant_id: string;
|
|
28
28
|
}>> & import("mongoose").FlatRecord<{
|
|
29
29
|
createdAt: NativeDate;
|
|
30
30
|
updatedAt: NativeDate;
|
|
31
31
|
} & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
name: string;
|
|
34
|
-
tenant_id: string;
|
|
35
34
|
createdAt: NativeDate;
|
|
36
35
|
updatedAt: NativeDate;
|
|
37
36
|
active: boolean;
|
|
38
37
|
sort_id: number;
|
|
38
|
+
tenant_id: string;
|
|
39
39
|
}> & Required<{
|
|
40
40
|
_id: import("mongoose").Types.ObjectId;
|
|
41
41
|
}> & {
|
|
@@ -9,11 +9,11 @@ export declare const DineinTablesSchema: Schema<any, import("mongoose").Model<an
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
14
12
|
createdAt: NativeDate;
|
|
15
13
|
updatedAt: NativeDate;
|
|
16
14
|
position: number[];
|
|
15
|
+
tenant_id: string;
|
|
16
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
18
18
|
num_of_seats: number;
|
|
19
19
|
table_type: import("../../constants").TABLE_TYPE_ENUM;
|
|
@@ -28,11 +28,11 @@ export declare const DineinTablesSchema: Schema<any, import("mongoose").Model<an
|
|
|
28
28
|
} & {
|
|
29
29
|
_id: import("mongoose").Types.ObjectId;
|
|
30
30
|
name: string;
|
|
31
|
-
tenant_id: string;
|
|
32
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
33
31
|
createdAt: NativeDate;
|
|
34
32
|
updatedAt: NativeDate;
|
|
35
33
|
position: number[];
|
|
34
|
+
tenant_id: string;
|
|
35
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
36
36
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
37
37
|
num_of_seats: number;
|
|
38
38
|
table_type: import("../../constants").TABLE_TYPE_ENUM;
|
|
@@ -47,11 +47,11 @@ export declare const DineinTablesSchema: Schema<any, import("mongoose").Model<an
|
|
|
47
47
|
} & {
|
|
48
48
|
_id: import("mongoose").Types.ObjectId;
|
|
49
49
|
name: string;
|
|
50
|
-
tenant_id: string;
|
|
51
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
52
50
|
createdAt: NativeDate;
|
|
53
51
|
updatedAt: NativeDate;
|
|
54
52
|
position: number[];
|
|
53
|
+
tenant_id: string;
|
|
54
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
55
55
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
56
56
|
num_of_seats: number;
|
|
57
57
|
table_type: import("../../constants").TABLE_TYPE_ENUM;
|
|
@@ -9,11 +9,11 @@ export declare const DineinTableFingerprintSchema: Schema<any, import("mongoose"
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
14
|
-
createdAt_mins: number;
|
|
15
12
|
createdAt: NativeDate;
|
|
16
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
|
+
createdAt_mins: number;
|
|
16
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
order_number: number;
|
|
18
18
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
num_of_seats: number;
|
|
@@ -27,11 +27,11 @@ export declare const DineinTableFingerprintSchema: Schema<any, import("mongoose"
|
|
|
27
27
|
} & {
|
|
28
28
|
_id: import("mongoose").Types.ObjectId;
|
|
29
29
|
name: string;
|
|
30
|
-
tenant_id: string;
|
|
31
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
32
|
-
createdAt_mins: number;
|
|
33
30
|
createdAt: NativeDate;
|
|
34
31
|
updatedAt: NativeDate;
|
|
32
|
+
tenant_id: string;
|
|
33
|
+
createdAt_mins: number;
|
|
34
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
35
35
|
order_number: number;
|
|
36
36
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
37
37
|
num_of_seats: number;
|
|
@@ -45,11 +45,11 @@ export declare const DineinTableFingerprintSchema: Schema<any, import("mongoose"
|
|
|
45
45
|
} & {
|
|
46
46
|
_id: import("mongoose").Types.ObjectId;
|
|
47
47
|
name: string;
|
|
48
|
-
tenant_id: string;
|
|
49
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
50
|
-
createdAt_mins: number;
|
|
51
48
|
createdAt: NativeDate;
|
|
52
49
|
updatedAt: NativeDate;
|
|
50
|
+
tenant_id: string;
|
|
51
|
+
createdAt_mins: number;
|
|
52
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
53
53
|
order_number: number;
|
|
54
54
|
dinein_floor_id: import("mongoose").Types.ObjectId;
|
|
55
55
|
num_of_seats: number;
|
|
@@ -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;
|