@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
|
@@ -15,10 +15,10 @@ export declare const MaterializedTenantDeliveryEntriesSchema: Schema<any, import
|
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
17
|
} & {
|
|
18
|
-
tenant_id: string;
|
|
19
18
|
createdAt: NativeDate;
|
|
20
19
|
updatedAt: NativeDate;
|
|
21
20
|
brand_id: string;
|
|
21
|
+
tenant_id: string;
|
|
22
22
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
23
23
|
iteration: number;
|
|
24
24
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -33,10 +33,10 @@ export declare const MaterializedTenantDeliveryEntriesSchema: Schema<any, import
|
|
|
33
33
|
createdAt: NativeDate;
|
|
34
34
|
updatedAt: NativeDate;
|
|
35
35
|
} & {
|
|
36
|
-
tenant_id: string;
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
39
38
|
brand_id: string;
|
|
39
|
+
tenant_id: string;
|
|
40
40
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
41
41
|
iteration: number;
|
|
42
42
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -51,10 +51,10 @@ export declare const MaterializedTenantDeliveryEntriesSchema: Schema<any, import
|
|
|
51
51
|
createdAt: NativeDate;
|
|
52
52
|
updatedAt: NativeDate;
|
|
53
53
|
} & {
|
|
54
|
-
tenant_id: string;
|
|
55
54
|
createdAt: NativeDate;
|
|
56
55
|
updatedAt: NativeDate;
|
|
57
56
|
brand_id: string;
|
|
57
|
+
tenant_id: string;
|
|
58
58
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
59
59
|
iteration: number;
|
|
60
60
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -15,10 +15,10 @@ export declare const MaterializedTenantDeliveryReportSchema: Schema<any, import(
|
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
17
|
} & {
|
|
18
|
-
tenant_id: string;
|
|
19
18
|
createdAt: NativeDate;
|
|
20
19
|
updatedAt: NativeDate;
|
|
21
20
|
brand_id: string;
|
|
21
|
+
tenant_id: string;
|
|
22
22
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
23
23
|
iteration: number;
|
|
24
24
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -33,10 +33,10 @@ export declare const MaterializedTenantDeliveryReportSchema: Schema<any, import(
|
|
|
33
33
|
createdAt: NativeDate;
|
|
34
34
|
updatedAt: NativeDate;
|
|
35
35
|
} & {
|
|
36
|
-
tenant_id: string;
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
39
38
|
brand_id: string;
|
|
39
|
+
tenant_id: string;
|
|
40
40
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
41
41
|
iteration: number;
|
|
42
42
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -51,10 +51,10 @@ export declare const MaterializedTenantDeliveryReportSchema: Schema<any, import(
|
|
|
51
51
|
createdAt: NativeDate;
|
|
52
52
|
updatedAt: NativeDate;
|
|
53
53
|
} & {
|
|
54
|
-
tenant_id: string;
|
|
55
54
|
createdAt: NativeDate;
|
|
56
55
|
updatedAt: NativeDate;
|
|
57
56
|
brand_id: string;
|
|
57
|
+
tenant_id: string;
|
|
58
58
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
59
59
|
iteration: number;
|
|
60
60
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -21,20 +21,19 @@ declare const DiscountEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
21
21
|
_id: false;
|
|
22
22
|
}, {
|
|
23
23
|
name: string;
|
|
24
|
-
order_id: string;
|
|
25
|
-
discount_id: string;
|
|
26
|
-
platform: string;
|
|
27
|
-
reason: string;
|
|
28
|
-
reference_number: string;
|
|
29
|
-
staff_id: string;
|
|
30
|
-
staff_name: string;
|
|
31
24
|
payment_id: string;
|
|
25
|
+
order_id: string;
|
|
32
26
|
order_number: number;
|
|
33
27
|
amount: number;
|
|
34
28
|
is_percentage: boolean;
|
|
29
|
+
reason: string;
|
|
30
|
+
staff_id: string;
|
|
31
|
+
staff_name: string;
|
|
35
32
|
order_status: string;
|
|
33
|
+
platform: string;
|
|
36
34
|
slot: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SLOT_ENUM | null;
|
|
37
35
|
item_id: string;
|
|
36
|
+
discount_id: string;
|
|
38
37
|
sub_kind: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SUB_KIND_ENUM;
|
|
39
38
|
level: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_LEVEL_ENUM;
|
|
40
39
|
entry_key: string;
|
|
@@ -42,26 +41,26 @@ declare const DiscountEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
42
41
|
item_name: string;
|
|
43
42
|
rate: number;
|
|
44
43
|
item_value: number;
|
|
44
|
+
reference_number: string;
|
|
45
45
|
order_taker_id: string;
|
|
46
46
|
order_taker_name: string;
|
|
47
47
|
created_at: NativeDate;
|
|
48
48
|
local_hour: string;
|
|
49
49
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
50
50
|
name: string;
|
|
51
|
-
order_id: string;
|
|
52
|
-
discount_id: string;
|
|
53
|
-
platform: string;
|
|
54
|
-
reason: string;
|
|
55
|
-
reference_number: string;
|
|
56
|
-
staff_id: string;
|
|
57
|
-
staff_name: string;
|
|
58
51
|
payment_id: string;
|
|
52
|
+
order_id: string;
|
|
59
53
|
order_number: number;
|
|
60
54
|
amount: number;
|
|
61
55
|
is_percentage: boolean;
|
|
56
|
+
reason: string;
|
|
57
|
+
staff_id: string;
|
|
58
|
+
staff_name: string;
|
|
62
59
|
order_status: string;
|
|
60
|
+
platform: string;
|
|
63
61
|
slot: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SLOT_ENUM | null;
|
|
64
62
|
item_id: string;
|
|
63
|
+
discount_id: string;
|
|
65
64
|
sub_kind: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SUB_KIND_ENUM;
|
|
66
65
|
level: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_LEVEL_ENUM;
|
|
67
66
|
entry_key: string;
|
|
@@ -69,26 +68,26 @@ declare const DiscountEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
69
68
|
item_name: string;
|
|
70
69
|
rate: number;
|
|
71
70
|
item_value: number;
|
|
71
|
+
reference_number: string;
|
|
72
72
|
order_taker_id: string;
|
|
73
73
|
order_taker_name: string;
|
|
74
74
|
created_at: NativeDate;
|
|
75
75
|
local_hour: string;
|
|
76
76
|
}>> & import("mongoose").FlatRecord<{
|
|
77
77
|
name: string;
|
|
78
|
-
order_id: string;
|
|
79
|
-
discount_id: string;
|
|
80
|
-
platform: string;
|
|
81
|
-
reason: string;
|
|
82
|
-
reference_number: string;
|
|
83
|
-
staff_id: string;
|
|
84
|
-
staff_name: string;
|
|
85
78
|
payment_id: string;
|
|
79
|
+
order_id: string;
|
|
86
80
|
order_number: number;
|
|
87
81
|
amount: number;
|
|
88
82
|
is_percentage: boolean;
|
|
83
|
+
reason: string;
|
|
84
|
+
staff_id: string;
|
|
85
|
+
staff_name: string;
|
|
89
86
|
order_status: string;
|
|
87
|
+
platform: string;
|
|
90
88
|
slot: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SLOT_ENUM | null;
|
|
91
89
|
item_id: string;
|
|
90
|
+
discount_id: string;
|
|
92
91
|
sub_kind: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_SUB_KIND_ENUM;
|
|
93
92
|
level: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_DISCOUNT_LEVEL_ENUM;
|
|
94
93
|
entry_key: string;
|
|
@@ -96,6 +95,7 @@ declare const DiscountEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
96
95
|
item_name: string;
|
|
97
96
|
rate: number;
|
|
98
97
|
item_value: number;
|
|
98
|
+
reference_number: string;
|
|
99
99
|
order_taker_id: string;
|
|
100
100
|
order_taker_name: string;
|
|
101
101
|
created_at: NativeDate;
|
|
@@ -114,10 +114,10 @@ export declare const MaterializedTenantDiscountEntriesSchema: Schema<any, import
|
|
|
114
114
|
updatedAt: NativeDate;
|
|
115
115
|
} & {
|
|
116
116
|
_id: import("mongoose").Types.ObjectId;
|
|
117
|
-
tenant_id: string;
|
|
118
117
|
createdAt: NativeDate;
|
|
119
118
|
updatedAt: NativeDate;
|
|
120
119
|
brand_id: string;
|
|
120
|
+
tenant_id: string;
|
|
121
121
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
122
122
|
iteration: number;
|
|
123
123
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -132,10 +132,10 @@ export declare const MaterializedTenantDiscountEntriesSchema: Schema<any, import
|
|
|
132
132
|
updatedAt: NativeDate;
|
|
133
133
|
} & {
|
|
134
134
|
_id: import("mongoose").Types.ObjectId;
|
|
135
|
-
tenant_id: string;
|
|
136
135
|
createdAt: NativeDate;
|
|
137
136
|
updatedAt: NativeDate;
|
|
138
137
|
brand_id: string;
|
|
138
|
+
tenant_id: string;
|
|
139
139
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
140
140
|
iteration: number;
|
|
141
141
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -150,10 +150,10 @@ export declare const MaterializedTenantDiscountEntriesSchema: Schema<any, import
|
|
|
150
150
|
updatedAt: NativeDate;
|
|
151
151
|
} & {
|
|
152
152
|
_id: import("mongoose").Types.ObjectId;
|
|
153
|
-
tenant_id: string;
|
|
154
153
|
createdAt: NativeDate;
|
|
155
154
|
updatedAt: NativeDate;
|
|
156
155
|
brand_id: string;
|
|
156
|
+
tenant_id: string;
|
|
157
157
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
158
158
|
iteration: number;
|
|
159
159
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -30,10 +30,10 @@ export declare const MaterializedTenantDiscountReportSchema: Schema<any, import(
|
|
|
30
30
|
updatedAt: NativeDate;
|
|
31
31
|
} & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
|
-
tenant_id: string;
|
|
34
33
|
createdAt: NativeDate;
|
|
35
34
|
updatedAt: NativeDate;
|
|
36
35
|
brand_id: string;
|
|
36
|
+
tenant_id: string;
|
|
37
37
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
38
38
|
iteration: number;
|
|
39
39
|
scope_context: MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -68,10 +68,10 @@ export declare const MaterializedTenantDiscountReportSchema: Schema<any, import(
|
|
|
68
68
|
updatedAt: NativeDate;
|
|
69
69
|
} & {
|
|
70
70
|
_id: import("mongoose").Types.ObjectId;
|
|
71
|
-
tenant_id: string;
|
|
72
71
|
createdAt: NativeDate;
|
|
73
72
|
updatedAt: NativeDate;
|
|
74
73
|
brand_id: string;
|
|
74
|
+
tenant_id: string;
|
|
75
75
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
76
76
|
iteration: number;
|
|
77
77
|
scope_context: MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -106,10 +106,10 @@ export declare const MaterializedTenantDiscountReportSchema: Schema<any, import(
|
|
|
106
106
|
updatedAt: NativeDate;
|
|
107
107
|
} & {
|
|
108
108
|
_id: import("mongoose").Types.ObjectId;
|
|
109
|
-
tenant_id: string;
|
|
110
109
|
createdAt: NativeDate;
|
|
111
110
|
updatedAt: NativeDate;
|
|
112
111
|
brand_id: string;
|
|
112
|
+
tenant_id: string;
|
|
113
113
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
114
114
|
iteration: number;
|
|
115
115
|
scope_context: MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -18,10 +18,10 @@ export declare const MaterializedTenantHourlyComparisonEntriesSchema: Schema<any
|
|
|
18
18
|
updatedAt: NativeDate;
|
|
19
19
|
} & {
|
|
20
20
|
_id: import("mongoose").Types.ObjectId;
|
|
21
|
-
tenant_id: string;
|
|
22
21
|
createdAt: NativeDate;
|
|
23
22
|
updatedAt: NativeDate;
|
|
24
23
|
brand_id: string;
|
|
24
|
+
tenant_id: string;
|
|
25
25
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
26
26
|
iteration: number;
|
|
27
27
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -36,10 +36,10 @@ export declare const MaterializedTenantHourlyComparisonEntriesSchema: Schema<any
|
|
|
36
36
|
updatedAt: NativeDate;
|
|
37
37
|
} & {
|
|
38
38
|
_id: import("mongoose").Types.ObjectId;
|
|
39
|
-
tenant_id: string;
|
|
40
39
|
createdAt: NativeDate;
|
|
41
40
|
updatedAt: NativeDate;
|
|
42
41
|
brand_id: string;
|
|
42
|
+
tenant_id: string;
|
|
43
43
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
44
44
|
iteration: number;
|
|
45
45
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -54,10 +54,10 @@ export declare const MaterializedTenantHourlyComparisonEntriesSchema: Schema<any
|
|
|
54
54
|
updatedAt: NativeDate;
|
|
55
55
|
} & {
|
|
56
56
|
_id: import("mongoose").Types.ObjectId;
|
|
57
|
-
tenant_id: string;
|
|
58
57
|
createdAt: NativeDate;
|
|
59
58
|
updatedAt: NativeDate;
|
|
60
59
|
brand_id: string;
|
|
60
|
+
tenant_id: string;
|
|
61
61
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
62
62
|
iteration: number;
|
|
63
63
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -21,10 +21,10 @@ export declare const MaterializedTenantHourlyComparisonReportSchema: Schema<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
|
brand_id: string;
|
|
27
|
+
tenant_id: string;
|
|
28
28
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
29
29
|
iteration: number;
|
|
30
30
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -40,10 +40,10 @@ export declare const MaterializedTenantHourlyComparisonReportSchema: Schema<any,
|
|
|
40
40
|
updatedAt: NativeDate;
|
|
41
41
|
} & {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
|
-
tenant_id: string;
|
|
44
43
|
createdAt: NativeDate;
|
|
45
44
|
updatedAt: NativeDate;
|
|
46
45
|
brand_id: string;
|
|
46
|
+
tenant_id: string;
|
|
47
47
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
48
48
|
iteration: number;
|
|
49
49
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -59,10 +59,10 @@ export declare const MaterializedTenantHourlyComparisonReportSchema: Schema<any,
|
|
|
59
59
|
updatedAt: NativeDate;
|
|
60
60
|
} & {
|
|
61
61
|
_id: import("mongoose").Types.ObjectId;
|
|
62
|
-
tenant_id: string;
|
|
63
62
|
createdAt: NativeDate;
|
|
64
63
|
updatedAt: NativeDate;
|
|
65
64
|
brand_id: string;
|
|
65
|
+
tenant_id: string;
|
|
66
66
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
67
67
|
iteration: number;
|
|
68
68
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -14,10 +14,10 @@ export declare const MaterializedTenantPaymentsComparisonEntriesSchema: Schema<a
|
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
15
|
} & {
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
|
-
tenant_id: string;
|
|
18
17
|
createdAt: NativeDate;
|
|
19
18
|
updatedAt: NativeDate;
|
|
20
19
|
brand_id: string;
|
|
20
|
+
tenant_id: string;
|
|
21
21
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
22
22
|
iteration: number;
|
|
23
23
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -32,10 +32,10 @@ export declare const MaterializedTenantPaymentsComparisonEntriesSchema: Schema<a
|
|
|
32
32
|
updatedAt: NativeDate;
|
|
33
33
|
} & {
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
35
|
-
tenant_id: string;
|
|
36
35
|
createdAt: NativeDate;
|
|
37
36
|
updatedAt: NativeDate;
|
|
38
37
|
brand_id: string;
|
|
38
|
+
tenant_id: string;
|
|
39
39
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
40
40
|
iteration: number;
|
|
41
41
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -50,10 +50,10 @@ export declare const MaterializedTenantPaymentsComparisonEntriesSchema: Schema<a
|
|
|
50
50
|
updatedAt: NativeDate;
|
|
51
51
|
} & {
|
|
52
52
|
_id: import("mongoose").Types.ObjectId;
|
|
53
|
-
tenant_id: string;
|
|
54
53
|
createdAt: NativeDate;
|
|
55
54
|
updatedAt: NativeDate;
|
|
56
55
|
brand_id: string;
|
|
56
|
+
tenant_id: string;
|
|
57
57
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
58
58
|
iteration: number;
|
|
59
59
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -18,10 +18,10 @@ export declare const MaterializedTenantPaymentsComparisonReportSchema: Schema<an
|
|
|
18
18
|
updatedAt: NativeDate;
|
|
19
19
|
} & {
|
|
20
20
|
_id: import("mongoose").Types.ObjectId;
|
|
21
|
-
tenant_id: string;
|
|
22
21
|
createdAt: NativeDate;
|
|
23
22
|
updatedAt: NativeDate;
|
|
24
23
|
brand_id: string;
|
|
24
|
+
tenant_id: string;
|
|
25
25
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
26
26
|
iteration: number;
|
|
27
27
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -37,10 +37,10 @@ export declare const MaterializedTenantPaymentsComparisonReportSchema: Schema<an
|
|
|
37
37
|
updatedAt: NativeDate;
|
|
38
38
|
} & {
|
|
39
39
|
_id: import("mongoose").Types.ObjectId;
|
|
40
|
-
tenant_id: string;
|
|
41
40
|
createdAt: NativeDate;
|
|
42
41
|
updatedAt: NativeDate;
|
|
43
42
|
brand_id: string;
|
|
43
|
+
tenant_id: string;
|
|
44
44
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
45
45
|
iteration: number;
|
|
46
46
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -56,10 +56,10 @@ export declare const MaterializedTenantPaymentsComparisonReportSchema: Schema<an
|
|
|
56
56
|
updatedAt: NativeDate;
|
|
57
57
|
} & {
|
|
58
58
|
_id: import("mongoose").Types.ObjectId;
|
|
59
|
-
tenant_id: string;
|
|
60
59
|
createdAt: NativeDate;
|
|
61
60
|
updatedAt: NativeDate;
|
|
62
61
|
brand_id: string;
|
|
62
|
+
tenant_id: string;
|
|
63
63
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
64
64
|
iteration: number;
|
|
65
65
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -23,13 +23,13 @@ export declare const MATERIALIZED_TENANT_PREP_TIME_ENTRIES_SCHEMA_VERSION = 1;
|
|
|
23
23
|
declare const PrepTimeEntrySchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
24
24
|
_id: false;
|
|
25
25
|
}, {
|
|
26
|
+
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
26
27
|
order_id: string;
|
|
27
|
-
|
|
28
|
+
order_number: number;
|
|
28
29
|
staff_id: string;
|
|
29
30
|
staff_name: string;
|
|
30
|
-
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
31
|
-
order_number: number;
|
|
32
31
|
order_status: string;
|
|
32
|
+
platform: string;
|
|
33
33
|
item_id: string;
|
|
34
34
|
is_ready: boolean;
|
|
35
35
|
prep_started_at: NativeDate;
|
|
@@ -44,13 +44,13 @@ declare const PrepTimeEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
44
44
|
ready_at: NativeDate;
|
|
45
45
|
delta_minutes: number;
|
|
46
46
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
47
|
+
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
47
48
|
order_id: string;
|
|
48
|
-
|
|
49
|
+
order_number: number;
|
|
49
50
|
staff_id: string;
|
|
50
51
|
staff_name: string;
|
|
51
|
-
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
52
|
-
order_number: number;
|
|
53
52
|
order_status: string;
|
|
53
|
+
platform: string;
|
|
54
54
|
item_id: string;
|
|
55
55
|
is_ready: boolean;
|
|
56
56
|
prep_started_at: NativeDate;
|
|
@@ -65,13 +65,13 @@ declare const PrepTimeEntrySchema: Schema<any, import("mongoose").Model<any, any
|
|
|
65
65
|
ready_at: NativeDate;
|
|
66
66
|
delta_minutes: number;
|
|
67
67
|
}>> & import("mongoose").FlatRecord<{
|
|
68
|
+
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
68
69
|
order_id: string;
|
|
69
|
-
|
|
70
|
+
order_number: number;
|
|
70
71
|
staff_id: string;
|
|
71
72
|
staff_name: string;
|
|
72
|
-
anchor: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_PREP_TIME_ANCHOR_ENUM;
|
|
73
|
-
order_number: number;
|
|
74
73
|
order_status: string;
|
|
74
|
+
platform: string;
|
|
75
75
|
item_id: string;
|
|
76
76
|
is_ready: boolean;
|
|
77
77
|
prep_started_at: NativeDate;
|
|
@@ -99,10 +99,10 @@ export declare const MaterializedTenantPrepTimeEntriesSchema: Schema<any, import
|
|
|
99
99
|
createdAt: NativeDate;
|
|
100
100
|
updatedAt: NativeDate;
|
|
101
101
|
} & {
|
|
102
|
-
tenant_id: string;
|
|
103
102
|
createdAt: NativeDate;
|
|
104
103
|
updatedAt: NativeDate;
|
|
105
104
|
brand_id: string;
|
|
105
|
+
tenant_id: string;
|
|
106
106
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
107
107
|
iteration: number;
|
|
108
108
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -116,10 +116,10 @@ export declare const MaterializedTenantPrepTimeEntriesSchema: Schema<any, import
|
|
|
116
116
|
createdAt: NativeDate;
|
|
117
117
|
updatedAt: NativeDate;
|
|
118
118
|
} & {
|
|
119
|
-
tenant_id: string;
|
|
120
119
|
createdAt: NativeDate;
|
|
121
120
|
updatedAt: NativeDate;
|
|
122
121
|
brand_id: string;
|
|
122
|
+
tenant_id: string;
|
|
123
123
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
124
124
|
iteration: number;
|
|
125
125
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -133,10 +133,10 @@ export declare const MaterializedTenantPrepTimeEntriesSchema: Schema<any, import
|
|
|
133
133
|
createdAt: NativeDate;
|
|
134
134
|
updatedAt: NativeDate;
|
|
135
135
|
} & {
|
|
136
|
-
tenant_id: string;
|
|
137
136
|
createdAt: NativeDate;
|
|
138
137
|
updatedAt: NativeDate;
|
|
139
138
|
brand_id: string;
|
|
139
|
+
tenant_id: string;
|
|
140
140
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
141
141
|
iteration: number;
|
|
142
142
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -30,10 +30,10 @@ export declare const MaterializedTenantPrepTimeReportSchema: Schema<any, import(
|
|
|
30
30
|
createdAt: NativeDate;
|
|
31
31
|
updatedAt: NativeDate;
|
|
32
32
|
} & {
|
|
33
|
-
tenant_id: string;
|
|
34
33
|
createdAt: NativeDate;
|
|
35
34
|
updatedAt: NativeDate;
|
|
36
35
|
brand_id: string;
|
|
36
|
+
tenant_id: string;
|
|
37
37
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
38
38
|
iteration: number;
|
|
39
39
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -48,10 +48,10 @@ export declare const MaterializedTenantPrepTimeReportSchema: Schema<any, import(
|
|
|
48
48
|
createdAt: NativeDate;
|
|
49
49
|
updatedAt: NativeDate;
|
|
50
50
|
} & {
|
|
51
|
-
tenant_id: string;
|
|
52
51
|
createdAt: NativeDate;
|
|
53
52
|
updatedAt: NativeDate;
|
|
54
53
|
brand_id: string;
|
|
54
|
+
tenant_id: string;
|
|
55
55
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
56
56
|
iteration: number;
|
|
57
57
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -66,10 +66,10 @@ export declare const MaterializedTenantPrepTimeReportSchema: Schema<any, import(
|
|
|
66
66
|
createdAt: NativeDate;
|
|
67
67
|
updatedAt: NativeDate;
|
|
68
68
|
} & {
|
|
69
|
-
tenant_id: string;
|
|
70
69
|
createdAt: NativeDate;
|
|
71
70
|
updatedAt: NativeDate;
|
|
72
71
|
brand_id: string;
|
|
72
|
+
tenant_id: string;
|
|
73
73
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
74
74
|
iteration: number;
|
|
75
75
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -20,9 +20,9 @@ export declare const MaterializedTenantReportIterationSchema: Schema<any, import
|
|
|
20
20
|
updatedAt: NativeDate;
|
|
21
21
|
} & {
|
|
22
22
|
_id: import("mongoose").Types.ObjectId;
|
|
23
|
-
reason: string;
|
|
24
23
|
createdAt: NativeDate;
|
|
25
24
|
updatedAt: NativeDate;
|
|
25
|
+
reason: string;
|
|
26
26
|
iteration: number;
|
|
27
27
|
schema_version: number;
|
|
28
28
|
report_type: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_TYPE_ENUM;
|
|
@@ -33,9 +33,9 @@ export declare const MaterializedTenantReportIterationSchema: Schema<any, import
|
|
|
33
33
|
updatedAt: NativeDate;
|
|
34
34
|
} & {
|
|
35
35
|
_id: import("mongoose").Types.ObjectId;
|
|
36
|
-
reason: string;
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
38
|
+
reason: string;
|
|
39
39
|
iteration: number;
|
|
40
40
|
schema_version: number;
|
|
41
41
|
report_type: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_TYPE_ENUM;
|
|
@@ -46,9 +46,9 @@ export declare const MaterializedTenantReportIterationSchema: Schema<any, import
|
|
|
46
46
|
updatedAt: NativeDate;
|
|
47
47
|
} & {
|
|
48
48
|
_id: import("mongoose").Types.ObjectId;
|
|
49
|
-
reason: string;
|
|
50
49
|
createdAt: NativeDate;
|
|
51
50
|
updatedAt: NativeDate;
|
|
51
|
+
reason: string;
|
|
52
52
|
iteration: number;
|
|
53
53
|
schema_version: number;
|
|
54
54
|
report_type: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_TYPE_ENUM;
|
|
@@ -17,29 +17,29 @@ export { MATERIALIZED_TENANT_SALES_COMPARISON_ENTRIES_SCHEMA_VERSION };
|
|
|
17
17
|
declare const SalesComparisonEntrySchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
18
18
|
_id: false;
|
|
19
19
|
}, {
|
|
20
|
-
order_id: string;
|
|
21
|
-
platform: string;
|
|
22
20
|
discount_amount: number;
|
|
21
|
+
order_id: string;
|
|
23
22
|
order_number: number;
|
|
24
23
|
order_status: string;
|
|
24
|
+
platform: string;
|
|
25
25
|
net_amount: number;
|
|
26
26
|
item_count: number;
|
|
27
27
|
time: string;
|
|
28
28
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
29
|
-
order_id: string;
|
|
30
|
-
platform: string;
|
|
31
29
|
discount_amount: number;
|
|
30
|
+
order_id: string;
|
|
32
31
|
order_number: number;
|
|
33
32
|
order_status: string;
|
|
33
|
+
platform: string;
|
|
34
34
|
net_amount: number;
|
|
35
35
|
item_count: number;
|
|
36
36
|
time: string;
|
|
37
37
|
}>> & import("mongoose").FlatRecord<{
|
|
38
|
-
order_id: string;
|
|
39
|
-
platform: string;
|
|
40
38
|
discount_amount: number;
|
|
39
|
+
order_id: string;
|
|
41
40
|
order_number: number;
|
|
42
41
|
order_status: string;
|
|
42
|
+
platform: string;
|
|
43
43
|
net_amount: number;
|
|
44
44
|
item_count: number;
|
|
45
45
|
time: string;
|
|
@@ -57,10 +57,10 @@ export declare const MaterializedTenantSalesComparisonEntriesSchema: Schema<any,
|
|
|
57
57
|
updatedAt: NativeDate;
|
|
58
58
|
} & {
|
|
59
59
|
_id: import("mongoose").Types.ObjectId;
|
|
60
|
-
tenant_id: string;
|
|
61
60
|
createdAt: NativeDate;
|
|
62
61
|
updatedAt: NativeDate;
|
|
63
62
|
brand_id: string;
|
|
63
|
+
tenant_id: string;
|
|
64
64
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
65
65
|
iteration: number;
|
|
66
66
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -75,10 +75,10 @@ export declare const MaterializedTenantSalesComparisonEntriesSchema: Schema<any,
|
|
|
75
75
|
updatedAt: NativeDate;
|
|
76
76
|
} & {
|
|
77
77
|
_id: import("mongoose").Types.ObjectId;
|
|
78
|
-
tenant_id: string;
|
|
79
78
|
createdAt: NativeDate;
|
|
80
79
|
updatedAt: NativeDate;
|
|
81
80
|
brand_id: string;
|
|
81
|
+
tenant_id: string;
|
|
82
82
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
83
83
|
iteration: number;
|
|
84
84
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -93,10 +93,10 @@ export declare const MaterializedTenantSalesComparisonEntriesSchema: Schema<any,
|
|
|
93
93
|
updatedAt: NativeDate;
|
|
94
94
|
} & {
|
|
95
95
|
_id: import("mongoose").Types.ObjectId;
|
|
96
|
-
tenant_id: string;
|
|
97
96
|
createdAt: NativeDate;
|
|
98
97
|
updatedAt: NativeDate;
|
|
99
98
|
brand_id: string;
|
|
99
|
+
tenant_id: string;
|
|
100
100
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
101
101
|
iteration: number;
|
|
102
102
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -74,10 +74,10 @@ export declare const MaterializedTenantSalesComparisonReportSchema: Schema<any,
|
|
|
74
74
|
updatedAt: NativeDate;
|
|
75
75
|
} & {
|
|
76
76
|
_id: import("mongoose").Types.ObjectId;
|
|
77
|
-
tenant_id: string;
|
|
78
77
|
createdAt: NativeDate;
|
|
79
78
|
updatedAt: NativeDate;
|
|
80
79
|
brand_id: string;
|
|
80
|
+
tenant_id: string;
|
|
81
81
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
82
82
|
iteration: number;
|
|
83
83
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -93,10 +93,10 @@ export declare const MaterializedTenantSalesComparisonReportSchema: Schema<any,
|
|
|
93
93
|
updatedAt: NativeDate;
|
|
94
94
|
} & {
|
|
95
95
|
_id: import("mongoose").Types.ObjectId;
|
|
96
|
-
tenant_id: string;
|
|
97
96
|
createdAt: NativeDate;
|
|
98
97
|
updatedAt: NativeDate;
|
|
99
98
|
brand_id: string;
|
|
99
|
+
tenant_id: string;
|
|
100
100
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
101
101
|
iteration: number;
|
|
102
102
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|
|
@@ -112,10 +112,10 @@ export declare const MaterializedTenantSalesComparisonReportSchema: Schema<any,
|
|
|
112
112
|
updatedAt: NativeDate;
|
|
113
113
|
} & {
|
|
114
114
|
_id: import("mongoose").Types.ObjectId;
|
|
115
|
-
tenant_id: string;
|
|
116
115
|
createdAt: NativeDate;
|
|
117
116
|
updatedAt: NativeDate;
|
|
118
117
|
brand_id: string;
|
|
118
|
+
tenant_id: string;
|
|
119
119
|
day_index: import("../../constants/ENUMS").DAY_INDEX_ENUM | null;
|
|
120
120
|
iteration: number;
|
|
121
121
|
scope_context: import("../../constants/MATERIALIZED_REPORTS").MATERIALIZED_REPORT_SCOPE_ENUM;
|