@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.
Files changed (119) hide show
  1. package/esm/schemas/models/index.js +0 -1
  2. package/esm/schemas/types/index.js +0 -1
  3. package/lib/schemas/models/brands.d.ts +6 -6
  4. package/lib/schemas/models/categories.d.ts +6 -6
  5. package/lib/schemas/models/close_dates.d.ts +3 -3
  6. package/lib/schemas/models/courses.d.ts +3 -3
  7. package/lib/schemas/models/customer_redemptions.d.ts +3 -3
  8. package/lib/schemas/models/customers.d.ts +6 -6
  9. package/lib/schemas/models/deliveries.d.ts +9 -9
  10. package/lib/schemas/models/delivery_areas.d.ts +3 -3
  11. package/lib/schemas/models/dinein_floors.d.ts +3 -3
  12. package/lib/schemas/models/dinein_tables.d.ts +6 -6
  13. package/lib/schemas/models/dinein_tables_fingerprints.d.ts +9 -9
  14. package/lib/schemas/models/discounts.d.ts +27 -27
  15. package/lib/schemas/models/expense_categories.d.ts +3 -3
  16. package/lib/schemas/models/expense_details.d.ts +12 -12
  17. package/lib/schemas/models/gift_cards.d.ts +3 -3
  18. package/lib/schemas/models/halfhalf_setup.d.ts +153 -153
  19. package/lib/schemas/models/index.d.ts +0 -1
  20. package/lib/schemas/models/index.js +0 -1
  21. package/lib/schemas/models/internal_invoices.d.ts +3 -3
  22. package/lib/schemas/models/internal_staffs.d.ts +3 -3
  23. package/lib/schemas/models/inventories.d.ts +6 -6
  24. package/lib/schemas/models/inventory_categories.d.ts +3 -3
  25. package/lib/schemas/models/inventory_transactions.d.ts +9 -9
  26. package/lib/schemas/models/item_transactions.d.ts +9 -9
  27. package/lib/schemas/models/items.d.ts +216 -216
  28. package/lib/schemas/models/marketing_fingerprints.d.ts +9 -9
  29. package/lib/schemas/models/materialized_credit_bills.d.ts +21 -21
  30. package/lib/schemas/models/materialized_tenant_cash_entries.d.ts +9 -9
  31. package/lib/schemas/models/materialized_tenant_cash_reports.d.ts +3 -3
  32. package/lib/schemas/models/materialized_tenant_delivery_entries.d.ts +3 -3
  33. package/lib/schemas/models/materialized_tenant_delivery_reports.d.ts +3 -3
  34. package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +24 -24
  35. package/lib/schemas/models/materialized_tenant_discount_reports.d.ts +3 -3
  36. package/lib/schemas/models/materialized_tenant_hourly_comparison_entries.d.ts +3 -3
  37. package/lib/schemas/models/materialized_tenant_hourly_comparison_reports.d.ts +3 -3
  38. package/lib/schemas/models/materialized_tenant_payments_comparison_entries.d.ts +3 -3
  39. package/lib/schemas/models/materialized_tenant_payments_comparison_reports.d.ts +3 -3
  40. package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +12 -12
  41. package/lib/schemas/models/materialized_tenant_prep_time_reports.d.ts +3 -3
  42. package/lib/schemas/models/materialized_tenant_reports_iterations.d.ts +3 -3
  43. package/lib/schemas/models/materialized_tenant_sales_comparison_entries.d.ts +9 -9
  44. package/lib/schemas/models/materialized_tenant_sales_comparison_reports.d.ts +3 -3
  45. package/lib/schemas/models/materialized_tenant_sales_overview_reports.d.ts +3 -3
  46. package/lib/schemas/models/menus.d.ts +21 -21
  47. package/lib/schemas/models/modifier_extras.d.ts +3 -3
  48. package/lib/schemas/models/offers.d.ts +24 -24
  49. package/lib/schemas/models/offers_fingerprints.d.ts +9 -9
  50. package/lib/schemas/models/operational_roles.d.ts +3 -3
  51. package/lib/schemas/models/orders.d.ts +18 -18
  52. package/lib/schemas/models/printer_settings.d.ts +3 -3
  53. package/lib/schemas/models/public_holidays.d.ts +3 -3
  54. package/lib/schemas/models/reservations.d.ts +6 -6
  55. package/lib/schemas/models/reviews.d.ts +12 -12
  56. package/lib/schemas/models/riders.d.ts +3 -3
  57. package/lib/schemas/models/specials.d.ts +48 -48
  58. package/lib/schemas/models/staff_shifts.d.ts +9 -9
  59. package/lib/schemas/models/tenant-activity-logs.d.ts +3 -3
  60. package/lib/schemas/models/tenant_active_jobs.d.ts +3 -3
  61. package/lib/schemas/models/tenant_calendar.d.ts +3 -3
  62. package/lib/schemas/models/tenant_cash_drawer_sessions.d.ts +36 -36
  63. package/lib/schemas/models/tenant_cash_drawers.d.ts +3 -3
  64. package/lib/schemas/models/tenant_cash_in_hand_transactions.d.ts +9 -9
  65. package/lib/schemas/models/tenant_cash_in_out.d.ts +9 -9
  66. package/lib/schemas/models/tenant_clients.d.ts +3 -3
  67. package/lib/schemas/models/tenant_day_sessions.d.ts +36 -36
  68. package/lib/schemas/models/tenant_hr_attendance_records.d.ts +3 -3
  69. package/lib/schemas/models/tenant_hr_biometric_enrollments.d.ts +3 -3
  70. package/lib/schemas/models/tenant_hr_departments.d.ts +3 -3
  71. package/lib/schemas/models/tenant_hr_documents.d.ts +3 -3
  72. package/lib/schemas/models/tenant_hr_employees.d.ts +24 -24
  73. package/lib/schemas/models/tenant_hr_leave_requests.d.ts +6 -6
  74. package/lib/schemas/models/tenant_hr_payrolls.d.ts +3 -3
  75. package/lib/schemas/models/tenant_hr_performance_reviews.d.ts +3 -3
  76. package/lib/schemas/models/tenant_hr_policies.d.ts +3 -3
  77. package/lib/schemas/models/tenant_hr_positions.d.ts +3 -3
  78. package/lib/schemas/models/tenant_hr_shift_schedules.d.ts +3 -3
  79. package/lib/schemas/models/tenant_hr_shifts.d.ts +3 -3
  80. package/lib/schemas/models/tenant_instore_shift_sessions.d.ts +36 -36
  81. package/lib/schemas/models/tenant_instore_shifts.d.ts +3 -3
  82. package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +9 -9
  83. package/lib/schemas/models/tenant_inventory_department_utilities.d.ts +6 -6
  84. package/lib/schemas/models/tenant_inventory_departments.d.ts +6 -6
  85. package/lib/schemas/models/tenant_inventory_entries.d.ts +3 -3
  86. package/lib/schemas/models/tenant_metadata.d.ts +3 -3
  87. package/lib/schemas/models/tenant_order_item_instructions.d.ts +3 -3
  88. package/lib/schemas/models/tenant_purchase_order_vendor_returns.d.ts +6 -6
  89. package/lib/schemas/models/tenant_purchase_orders.d.ts +6 -6
  90. package/lib/schemas/models/tenant_shifts.d.ts +3 -3
  91. package/lib/schemas/models/tenant_staffs.d.ts +24 -24
  92. package/lib/schemas/models/tenant_vendors.d.ts +3 -3
  93. package/lib/schemas/models/tenants.d.ts +3 -3
  94. package/lib/schemas/models/terminal_devices.d.ts +3 -3
  95. package/lib/schemas/models/tokens.d.ts +9 -9
  96. package/lib/schemas/models/void_order_items.d.ts +27 -27
  97. package/lib/schemas/models/vouchers.d.ts +3 -3
  98. package/lib/schemas/models/wallet_transactions.d.ts +9 -9
  99. package/lib/schemas/models/wallets.d.ts +3 -3
  100. package/lib/schemas/models/warehouse_categories.d.ts +3 -3
  101. package/lib/schemas/models/warehouse_communications.d.ts +3 -3
  102. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
  103. package/lib/schemas/models/warehouse_item_transactions.d.ts +6 -6
  104. package/lib/schemas/models/warehouse_items.d.ts +3 -3
  105. package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +3 -3
  106. package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +3 -3
  107. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +3 -3
  108. package/lib/schemas/models/warehouse_purchase_orders.d.ts +3 -3
  109. package/lib/schemas/models/warehouse_sale_deliveries.d.ts +3 -3
  110. package/lib/schemas/models/warehouse_sale_invoices.d.ts +3 -3
  111. package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +3 -3
  112. package/lib/schemas/models/warehouse_sale_orders.d.ts +3 -3
  113. package/lib/schemas/models/warehouse_staffs.d.ts +3 -3
  114. package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +21 -21
  115. package/lib/schemas/models/warehouse_void_sale_order_items.d.ts +21 -21
  116. package/lib/schemas/models/warehouses.d.ts +3 -3
  117. package/lib/schemas/types/index.d.ts +0 -1
  118. package/lib/schemas/types/index.js +0 -1
  119. package/package.json +1 -1
@@ -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
- platform: string;
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
- platform: string;
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
- platform: string;
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;
@@ -34,10 +34,10 @@ export declare const MaterializedTenantSalesOverviewReportSchema: Schema<any, im
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
  brand_id: string;
40
+ tenant_id: string;
41
41
  day_index: import("../../constants").DAY_INDEX_ENUM | null;
42
42
  iteration: number;
43
43
  scope_context: import("../../constants").MATERIALIZED_REPORT_SCOPE_ENUM;
@@ -149,10 +149,10 @@ export declare const MaterializedTenantSalesOverviewReportSchema: Schema<any, im
149
149
  updatedAt: NativeDate;
150
150
  } & {
151
151
  _id: import("mongoose").Types.ObjectId;
152
- tenant_id: string;
153
152
  createdAt: NativeDate;
154
153
  updatedAt: NativeDate;
155
154
  brand_id: string;
155
+ tenant_id: string;
156
156
  day_index: import("../../constants").DAY_INDEX_ENUM | null;
157
157
  iteration: number;
158
158
  scope_context: import("../../constants").MATERIALIZED_REPORT_SCOPE_ENUM;
@@ -264,10 +264,10 @@ export declare const MaterializedTenantSalesOverviewReportSchema: Schema<any, im
264
264
  updatedAt: NativeDate;
265
265
  } & {
266
266
  _id: import("mongoose").Types.ObjectId;
267
- tenant_id: string;
268
267
  createdAt: NativeDate;
269
268
  updatedAt: NativeDate;
270
269
  brand_id: string;
270
+ tenant_id: string;
271
271
  day_index: import("../../constants").DAY_INDEX_ENUM | null;
272
272
  iteration: number;
273
273
  scope_context: import("../../constants").MATERIALIZED_REPORT_SCOPE_ENUM;
@@ -10,13 +10,13 @@ export declare const MenuSchema: 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
  subtitle: string;
17
16
  active: boolean;
18
17
  sort_id: number;
19
18
  included_platforms: import("../..").PLATFORMS_ENUM[];
19
+ tenant_id: string;
20
20
  included_categories: import("mongoose").Types.DocumentArray<{
21
21
  category_id: import("mongoose").Types.ObjectId;
22
22
  excluded_items: import("mongoose").Types.ObjectId[];
@@ -36,7 +36,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
36
36
  end_date: NativeDate;
37
37
  is_discount_percentage: boolean;
38
38
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
39
- discount_amount?: {
39
+ price?: {
40
40
  "POS_WALK-IN": number;
41
41
  "POS_TAKE-AWAY": number;
42
42
  POS_DELIVERY: number;
@@ -79,7 +79,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
79
79
  KEETA_DELIVERY: number;
80
80
  BASE_PRICE: number;
81
81
  } | null | undefined;
82
- price?: {
82
+ discount_amount?: {
83
83
  "POS_WALK-IN": number;
84
84
  "POS_TAKE-AWAY": number;
85
85
  POS_DELIVERY: number;
@@ -131,7 +131,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
131
131
  end_date: NativeDate;
132
132
  is_discount_percentage: boolean;
133
133
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
134
- discount_amount?: {
134
+ price?: {
135
135
  "POS_WALK-IN": number;
136
136
  "POS_TAKE-AWAY": number;
137
137
  POS_DELIVERY: number;
@@ -174,7 +174,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
174
174
  KEETA_DELIVERY: number;
175
175
  BASE_PRICE: number;
176
176
  } | null | undefined;
177
- price?: {
177
+ discount_amount?: {
178
178
  "POS_WALK-IN": number;
179
179
  "POS_TAKE-AWAY": number;
180
180
  POS_DELIVERY: number;
@@ -226,7 +226,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
226
226
  end_date: NativeDate;
227
227
  is_discount_percentage: boolean;
228
228
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
229
- discount_amount?: {
229
+ price?: {
230
230
  "POS_WALK-IN": number;
231
231
  "POS_TAKE-AWAY": number;
232
232
  POS_DELIVERY: number;
@@ -269,7 +269,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
269
269
  KEETA_DELIVERY: number;
270
270
  BASE_PRICE: number;
271
271
  } | null | undefined;
272
- price?: {
272
+ discount_amount?: {
273
273
  "POS_WALK-IN": number;
274
274
  "POS_TAKE-AWAY": number;
275
275
  POS_DELIVERY: number;
@@ -320,13 +320,13 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
320
320
  _id: import("mongoose").Types.ObjectId;
321
321
  default: boolean;
322
322
  name: string;
323
- tenant_id: string;
324
323
  createdAt: NativeDate;
325
324
  updatedAt: NativeDate;
326
325
  subtitle: string;
327
326
  active: boolean;
328
327
  sort_id: number;
329
328
  included_platforms: import("../..").PLATFORMS_ENUM[];
329
+ tenant_id: string;
330
330
  included_categories: import("mongoose").Types.DocumentArray<{
331
331
  category_id: import("mongoose").Types.ObjectId;
332
332
  excluded_items: import("mongoose").Types.ObjectId[];
@@ -346,7 +346,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
346
346
  end_date: NativeDate;
347
347
  is_discount_percentage: boolean;
348
348
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
349
- discount_amount?: {
349
+ price?: {
350
350
  "POS_WALK-IN": number;
351
351
  "POS_TAKE-AWAY": number;
352
352
  POS_DELIVERY: number;
@@ -389,7 +389,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
389
389
  KEETA_DELIVERY: number;
390
390
  BASE_PRICE: number;
391
391
  } | null | undefined;
392
- price?: {
392
+ discount_amount?: {
393
393
  "POS_WALK-IN": number;
394
394
  "POS_TAKE-AWAY": number;
395
395
  POS_DELIVERY: number;
@@ -441,7 +441,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
441
441
  end_date: NativeDate;
442
442
  is_discount_percentage: boolean;
443
443
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
444
- discount_amount?: {
444
+ price?: {
445
445
  "POS_WALK-IN": number;
446
446
  "POS_TAKE-AWAY": number;
447
447
  POS_DELIVERY: number;
@@ -484,7 +484,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
484
484
  KEETA_DELIVERY: number;
485
485
  BASE_PRICE: number;
486
486
  } | null | undefined;
487
- price?: {
487
+ discount_amount?: {
488
488
  "POS_WALK-IN": number;
489
489
  "POS_TAKE-AWAY": number;
490
490
  POS_DELIVERY: number;
@@ -536,7 +536,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
536
536
  end_date: NativeDate;
537
537
  is_discount_percentage: boolean;
538
538
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
539
- discount_amount?: {
539
+ price?: {
540
540
  "POS_WALK-IN": number;
541
541
  "POS_TAKE-AWAY": number;
542
542
  POS_DELIVERY: number;
@@ -579,7 +579,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
579
579
  KEETA_DELIVERY: number;
580
580
  BASE_PRICE: number;
581
581
  } | null | undefined;
582
- price?: {
582
+ discount_amount?: {
583
583
  "POS_WALK-IN": number;
584
584
  "POS_TAKE-AWAY": number;
585
585
  POS_DELIVERY: number;
@@ -630,13 +630,13 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
630
630
  _id: import("mongoose").Types.ObjectId;
631
631
  default: boolean;
632
632
  name: string;
633
- tenant_id: string;
634
633
  createdAt: NativeDate;
635
634
  updatedAt: NativeDate;
636
635
  subtitle: string;
637
636
  active: boolean;
638
637
  sort_id: number;
639
638
  included_platforms: import("../..").PLATFORMS_ENUM[];
639
+ tenant_id: string;
640
640
  included_categories: import("mongoose").Types.DocumentArray<{
641
641
  category_id: import("mongoose").Types.ObjectId;
642
642
  excluded_items: import("mongoose").Types.ObjectId[];
@@ -656,7 +656,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
656
656
  end_date: NativeDate;
657
657
  is_discount_percentage: boolean;
658
658
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
659
- discount_amount?: {
659
+ price?: {
660
660
  "POS_WALK-IN": number;
661
661
  "POS_TAKE-AWAY": number;
662
662
  POS_DELIVERY: number;
@@ -699,7 +699,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
699
699
  KEETA_DELIVERY: number;
700
700
  BASE_PRICE: number;
701
701
  } | null | undefined;
702
- price?: {
702
+ discount_amount?: {
703
703
  "POS_WALK-IN": number;
704
704
  "POS_TAKE-AWAY": number;
705
705
  POS_DELIVERY: number;
@@ -751,7 +751,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
751
751
  end_date: NativeDate;
752
752
  is_discount_percentage: boolean;
753
753
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
754
- discount_amount?: {
754
+ price?: {
755
755
  "POS_WALK-IN": number;
756
756
  "POS_TAKE-AWAY": number;
757
757
  POS_DELIVERY: number;
@@ -794,7 +794,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
794
794
  KEETA_DELIVERY: number;
795
795
  BASE_PRICE: number;
796
796
  } | null | undefined;
797
- price?: {
797
+ discount_amount?: {
798
798
  "POS_WALK-IN": number;
799
799
  "POS_TAKE-AWAY": number;
800
800
  POS_DELIVERY: number;
@@ -846,7 +846,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
846
846
  end_date: NativeDate;
847
847
  is_discount_percentage: boolean;
848
848
  excluded_platforms: import("../..").PLATFORMS_ENUM[];
849
- discount_amount?: {
849
+ price?: {
850
850
  "POS_WALK-IN": number;
851
851
  "POS_TAKE-AWAY": number;
852
852
  POS_DELIVERY: number;
@@ -889,7 +889,7 @@ export declare const MenuSchema: Schema<any, import("mongoose").Model<any, any,
889
889
  KEETA_DELIVERY: number;
890
890
  BASE_PRICE: number;
891
891
  } | null | undefined;
892
- price?: {
892
+ discount_amount?: {
893
893
  "POS_WALK-IN": number;
894
894
  "POS_TAKE-AWAY": number;
895
895
  POS_DELIVERY: number;
@@ -9,9 +9,9 @@ export declare const ModifierExtraSchema: Schema<any, import("mongoose").Model<a
9
9
  } & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
11
  name: string;
12
- tenants: string[];
13
12
  createdAt: NativeDate;
14
13
  updatedAt: NativeDate;
14
+ tenants: string[];
15
15
  sort_id: number;
16
16
  description: string;
17
17
  sold_out: string[];
@@ -183,9 +183,9 @@ export declare const ModifierExtraSchema: Schema<any, import("mongoose").Model<a
183
183
  } & {
184
184
  _id: import("mongoose").Types.ObjectId;
185
185
  name: string;
186
- tenants: string[];
187
186
  createdAt: NativeDate;
188
187
  updatedAt: NativeDate;
188
+ tenants: string[];
189
189
  sort_id: number;
190
190
  description: string;
191
191
  sold_out: string[];
@@ -357,9 +357,9 @@ export declare const ModifierExtraSchema: Schema<any, import("mongoose").Model<a
357
357
  } & {
358
358
  _id: import("mongoose").Types.ObjectId;
359
359
  name: string;
360
- tenants: string[];
361
360
  createdAt: NativeDate;
362
361
  updatedAt: NativeDate;
362
+ tenants: string[];
363
363
  sort_id: number;
364
364
  description: string;
365
365
  sold_out: string[];