@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.
Files changed (137) hide show
  1. package/esm/helpers/materialized-reports/index.js +1 -0
  2. package/esm/helpers/materialized-reports/materialized-report-drilldown-rows.js +162 -0
  3. package/esm/helpers/reporting-contract/report-contract.js +1 -0
  4. package/esm/schemas/models/index.js +1 -1
  5. package/esm/schemas/models/materialized_report_drilldown_rows.js +155 -0
  6. package/esm/schemas/types/index.js +1 -1
  7. package/esm/schemas/types/materialized_report_drilldown_rows.js +10 -0
  8. package/lib/helpers/materialized-reports/index.d.ts +1 -0
  9. package/lib/helpers/materialized-reports/index.js +1 -0
  10. package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.d.ts +40 -0
  11. package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.js +169 -0
  12. package/lib/helpers/reporting-contract/report-contract.d.ts +3 -0
  13. package/lib/helpers/reporting-contract/report-contract.js +1 -0
  14. package/lib/schemas/models/brands.d.ts +6 -6
  15. package/lib/schemas/models/categories.d.ts +6 -6
  16. package/lib/schemas/models/close_dates.d.ts +3 -3
  17. package/lib/schemas/models/courses.d.ts +3 -3
  18. package/lib/schemas/models/customer_redemptions.d.ts +3 -3
  19. package/lib/schemas/models/customers.d.ts +6 -6
  20. package/lib/schemas/models/deliveries.d.ts +9 -9
  21. package/lib/schemas/models/delivery_areas.d.ts +3 -3
  22. package/lib/schemas/models/dinein_floors.d.ts +3 -3
  23. package/lib/schemas/models/dinein_tables.d.ts +6 -6
  24. package/lib/schemas/models/dinein_tables_fingerprints.d.ts +9 -9
  25. package/lib/schemas/models/discounts.d.ts +27 -27
  26. package/lib/schemas/models/expense_categories.d.ts +3 -3
  27. package/lib/schemas/models/expense_details.d.ts +12 -12
  28. package/lib/schemas/models/gift_cards.d.ts +3 -3
  29. package/lib/schemas/models/halfhalf_setup.d.ts +153 -153
  30. package/lib/schemas/models/index.d.ts +1 -1
  31. package/lib/schemas/models/index.js +1 -1
  32. package/lib/schemas/models/internal_invoices.d.ts +3 -3
  33. package/lib/schemas/models/internal_staffs.d.ts +3 -3
  34. package/lib/schemas/models/inventories.d.ts +6 -6
  35. package/lib/schemas/models/inventory_categories.d.ts +3 -3
  36. package/lib/schemas/models/inventory_transactions.d.ts +9 -9
  37. package/lib/schemas/models/item_transactions.d.ts +9 -9
  38. package/lib/schemas/models/items.d.ts +216 -216
  39. package/lib/schemas/models/marketing_fingerprints.d.ts +9 -9
  40. package/lib/schemas/models/materialized_credit_bills.d.ts +21 -21
  41. package/lib/schemas/models/materialized_report_drilldown_rows.d.ts +130 -0
  42. package/lib/schemas/models/materialized_report_drilldown_rows.js +158 -0
  43. package/lib/schemas/models/materialized_tenant_cash_entries.d.ts +9 -9
  44. package/lib/schemas/models/materialized_tenant_cash_reports.d.ts +3 -3
  45. package/lib/schemas/models/materialized_tenant_delivery_entries.d.ts +3 -3
  46. package/lib/schemas/models/materialized_tenant_delivery_reports.d.ts +3 -3
  47. package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +24 -24
  48. package/lib/schemas/models/materialized_tenant_discount_reports.d.ts +3 -3
  49. package/lib/schemas/models/materialized_tenant_hourly_comparison_entries.d.ts +3 -3
  50. package/lib/schemas/models/materialized_tenant_hourly_comparison_reports.d.ts +3 -3
  51. package/lib/schemas/models/materialized_tenant_payments_comparison_entries.d.ts +3 -3
  52. package/lib/schemas/models/materialized_tenant_payments_comparison_reports.d.ts +3 -3
  53. package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +12 -12
  54. package/lib/schemas/models/materialized_tenant_prep_time_reports.d.ts +3 -3
  55. package/lib/schemas/models/materialized_tenant_reports_iterations.d.ts +3 -3
  56. package/lib/schemas/models/materialized_tenant_sales_comparison_entries.d.ts +9 -9
  57. package/lib/schemas/models/materialized_tenant_sales_comparison_reports.d.ts +3 -3
  58. package/lib/schemas/models/materialized_tenant_sales_overview_reports.d.ts +3 -3
  59. package/lib/schemas/models/menus.d.ts +21 -21
  60. package/lib/schemas/models/modifier_extras.d.ts +3 -3
  61. package/lib/schemas/models/offers.d.ts +24 -24
  62. package/lib/schemas/models/offers_fingerprints.d.ts +9 -9
  63. package/lib/schemas/models/operational_roles.d.ts +3 -3
  64. package/lib/schemas/models/orders.d.ts +18 -18
  65. package/lib/schemas/models/printer_settings.d.ts +3 -3
  66. package/lib/schemas/models/public_holidays.d.ts +3 -3
  67. package/lib/schemas/models/reservations.d.ts +6 -6
  68. package/lib/schemas/models/reviews.d.ts +12 -12
  69. package/lib/schemas/models/riders.d.ts +3 -3
  70. package/lib/schemas/models/specials.d.ts +48 -48
  71. package/lib/schemas/models/staff_shifts.d.ts +9 -9
  72. package/lib/schemas/models/tenant-activity-logs.d.ts +3 -3
  73. package/lib/schemas/models/tenant_active_jobs.d.ts +3 -3
  74. package/lib/schemas/models/tenant_calendar.d.ts +3 -3
  75. package/lib/schemas/models/tenant_cash_drawer_sessions.d.ts +36 -36
  76. package/lib/schemas/models/tenant_cash_drawers.d.ts +3 -3
  77. package/lib/schemas/models/tenant_cash_in_hand_transactions.d.ts +9 -9
  78. package/lib/schemas/models/tenant_cash_in_out.d.ts +9 -9
  79. package/lib/schemas/models/tenant_clients.d.ts +3 -3
  80. package/lib/schemas/models/tenant_day_sessions.d.ts +36 -36
  81. package/lib/schemas/models/tenant_hr_attendance_records.d.ts +3 -3
  82. package/lib/schemas/models/tenant_hr_biometric_enrollments.d.ts +3 -3
  83. package/lib/schemas/models/tenant_hr_departments.d.ts +3 -3
  84. package/lib/schemas/models/tenant_hr_documents.d.ts +3 -3
  85. package/lib/schemas/models/tenant_hr_employees.d.ts +24 -24
  86. package/lib/schemas/models/tenant_hr_leave_requests.d.ts +6 -6
  87. package/lib/schemas/models/tenant_hr_payrolls.d.ts +3 -3
  88. package/lib/schemas/models/tenant_hr_performance_reviews.d.ts +3 -3
  89. package/lib/schemas/models/tenant_hr_policies.d.ts +3 -3
  90. package/lib/schemas/models/tenant_hr_positions.d.ts +3 -3
  91. package/lib/schemas/models/tenant_hr_shift_schedules.d.ts +3 -3
  92. package/lib/schemas/models/tenant_hr_shifts.d.ts +3 -3
  93. package/lib/schemas/models/tenant_instore_shift_sessions.d.ts +36 -36
  94. package/lib/schemas/models/tenant_instore_shifts.d.ts +3 -3
  95. package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +9 -9
  96. package/lib/schemas/models/tenant_inventory_department_utilities.d.ts +6 -6
  97. package/lib/schemas/models/tenant_inventory_departments.d.ts +6 -6
  98. package/lib/schemas/models/tenant_inventory_entries.d.ts +3 -3
  99. package/lib/schemas/models/tenant_metadata.d.ts +3 -3
  100. package/lib/schemas/models/tenant_order_item_instructions.d.ts +3 -3
  101. package/lib/schemas/models/tenant_purchase_order_vendor_returns.d.ts +6 -6
  102. package/lib/schemas/models/tenant_purchase_orders.d.ts +6 -6
  103. package/lib/schemas/models/tenant_shifts.d.ts +3 -3
  104. package/lib/schemas/models/tenant_staffs.d.ts +24 -24
  105. package/lib/schemas/models/tenant_vendors.d.ts +3 -3
  106. package/lib/schemas/models/tenants.d.ts +3 -3
  107. package/lib/schemas/models/terminal_devices.d.ts +3 -3
  108. package/lib/schemas/models/tokens.d.ts +9 -9
  109. package/lib/schemas/models/void_order_items.d.ts +27 -27
  110. package/lib/schemas/models/vouchers.d.ts +3 -3
  111. package/lib/schemas/models/wallet_transactions.d.ts +9 -9
  112. package/lib/schemas/models/wallets.d.ts +3 -3
  113. package/lib/schemas/models/warehouse_categories.d.ts +3 -3
  114. package/lib/schemas/models/warehouse_communications.d.ts +3 -3
  115. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
  116. package/lib/schemas/models/warehouse_item_transactions.d.ts +6 -6
  117. package/lib/schemas/models/warehouse_items.d.ts +3 -3
  118. package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +3 -3
  119. package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +3 -3
  120. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +3 -3
  121. package/lib/schemas/models/warehouse_purchase_orders.d.ts +3 -3
  122. package/lib/schemas/models/warehouse_sale_deliveries.d.ts +3 -3
  123. package/lib/schemas/models/warehouse_sale_invoices.d.ts +3 -3
  124. package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +3 -3
  125. package/lib/schemas/models/warehouse_sale_orders.d.ts +3 -3
  126. package/lib/schemas/models/warehouse_staffs.d.ts +3 -3
  127. package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +21 -21
  128. package/lib/schemas/models/warehouse_void_sale_order_items.d.ts +21 -21
  129. package/lib/schemas/models/warehouses.d.ts +3 -3
  130. package/lib/schemas/types/index.d.ts +1 -1
  131. package/lib/schemas/types/index.js +1 -1
  132. package/lib/schemas/types/materialized_report_drilldown_rows.d.ts +64 -0
  133. package/lib/schemas/types/materialized_report_drilldown_rows.js +13 -0
  134. package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.d.ts +1 -0
  135. package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.js +143 -0
  136. package/lib/tests/reporting-contract.test.js +7 -0
  137. package/package.json +1 -1
@@ -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[];
@@ -10,11 +10,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
10
10
  } & {
11
11
  _id: import("mongoose").Types.ObjectId;
12
12
  name: string;
13
- tenants: string[];
13
+ image_url: string;
14
14
  createdAt: NativeDate;
15
15
  updatedAt: NativeDate;
16
- image_url: string;
17
16
  brand_id: string;
17
+ tenants: string[];
18
18
  active: boolean;
19
19
  sort_id: number;
20
20
  description: string;
@@ -31,7 +31,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
31
31
  end_date: NativeDate;
32
32
  is_discount_percentage: boolean;
33
33
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
34
- discount_amount?: {
34
+ price?: {
35
35
  "POS_WALK-IN": number;
36
36
  "POS_TAKE-AWAY": number;
37
37
  POS_DELIVERY: number;
@@ -74,7 +74,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
74
74
  KEETA_DELIVERY: number;
75
75
  BASE_PRICE: number;
76
76
  } | null | undefined;
77
- price?: {
77
+ discount_amount?: {
78
78
  "POS_WALK-IN": number;
79
79
  "POS_TAKE-AWAY": number;
80
80
  POS_DELIVERY: number;
@@ -126,7 +126,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
126
126
  end_date: NativeDate;
127
127
  is_discount_percentage: boolean;
128
128
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
129
- discount_amount?: {
129
+ price?: {
130
130
  "POS_WALK-IN": number;
131
131
  "POS_TAKE-AWAY": number;
132
132
  POS_DELIVERY: number;
@@ -169,7 +169,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
169
169
  KEETA_DELIVERY: number;
170
170
  BASE_PRICE: number;
171
171
  } | null | undefined;
172
- price?: {
172
+ discount_amount?: {
173
173
  "POS_WALK-IN": number;
174
174
  "POS_TAKE-AWAY": number;
175
175
  POS_DELIVERY: number;
@@ -221,7 +221,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
221
221
  end_date: NativeDate;
222
222
  is_discount_percentage: boolean;
223
223
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
224
- discount_amount?: {
224
+ price?: {
225
225
  "POS_WALK-IN": number;
226
226
  "POS_TAKE-AWAY": number;
227
227
  POS_DELIVERY: number;
@@ -264,7 +264,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
264
264
  KEETA_DELIVERY: number;
265
265
  BASE_PRICE: number;
266
266
  } | null | undefined;
267
- price?: {
267
+ discount_amount?: {
268
268
  "POS_WALK-IN": number;
269
269
  "POS_TAKE-AWAY": number;
270
270
  POS_DELIVERY: number;
@@ -406,11 +406,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
406
406
  } & {
407
407
  _id: import("mongoose").Types.ObjectId;
408
408
  name: string;
409
- tenants: string[];
409
+ image_url: string;
410
410
  createdAt: NativeDate;
411
411
  updatedAt: NativeDate;
412
- image_url: string;
413
412
  brand_id: string;
413
+ tenants: string[];
414
414
  active: boolean;
415
415
  sort_id: number;
416
416
  description: string;
@@ -427,7 +427,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
427
427
  end_date: NativeDate;
428
428
  is_discount_percentage: boolean;
429
429
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
430
- discount_amount?: {
430
+ price?: {
431
431
  "POS_WALK-IN": number;
432
432
  "POS_TAKE-AWAY": number;
433
433
  POS_DELIVERY: number;
@@ -470,7 +470,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
470
470
  KEETA_DELIVERY: number;
471
471
  BASE_PRICE: number;
472
472
  } | null | undefined;
473
- price?: {
473
+ discount_amount?: {
474
474
  "POS_WALK-IN": number;
475
475
  "POS_TAKE-AWAY": number;
476
476
  POS_DELIVERY: number;
@@ -522,7 +522,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
522
522
  end_date: NativeDate;
523
523
  is_discount_percentage: boolean;
524
524
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
525
- discount_amount?: {
525
+ price?: {
526
526
  "POS_WALK-IN": number;
527
527
  "POS_TAKE-AWAY": number;
528
528
  POS_DELIVERY: number;
@@ -565,7 +565,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
565
565
  KEETA_DELIVERY: number;
566
566
  BASE_PRICE: number;
567
567
  } | null | undefined;
568
- price?: {
568
+ discount_amount?: {
569
569
  "POS_WALK-IN": number;
570
570
  "POS_TAKE-AWAY": number;
571
571
  POS_DELIVERY: number;
@@ -617,7 +617,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
617
617
  end_date: NativeDate;
618
618
  is_discount_percentage: boolean;
619
619
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
620
- discount_amount?: {
620
+ price?: {
621
621
  "POS_WALK-IN": number;
622
622
  "POS_TAKE-AWAY": number;
623
623
  POS_DELIVERY: number;
@@ -660,7 +660,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
660
660
  KEETA_DELIVERY: number;
661
661
  BASE_PRICE: number;
662
662
  } | null | undefined;
663
- price?: {
663
+ discount_amount?: {
664
664
  "POS_WALK-IN": number;
665
665
  "POS_TAKE-AWAY": number;
666
666
  POS_DELIVERY: number;
@@ -802,11 +802,11 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
802
802
  } & {
803
803
  _id: import("mongoose").Types.ObjectId;
804
804
  name: string;
805
- tenants: string[];
805
+ image_url: string;
806
806
  createdAt: NativeDate;
807
807
  updatedAt: NativeDate;
808
- image_url: string;
809
808
  brand_id: string;
809
+ tenants: string[];
810
810
  active: boolean;
811
811
  sort_id: number;
812
812
  description: string;
@@ -823,7 +823,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
823
823
  end_date: NativeDate;
824
824
  is_discount_percentage: boolean;
825
825
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
826
- discount_amount?: {
826
+ price?: {
827
827
  "POS_WALK-IN": number;
828
828
  "POS_TAKE-AWAY": number;
829
829
  POS_DELIVERY: number;
@@ -866,7 +866,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
866
866
  KEETA_DELIVERY: number;
867
867
  BASE_PRICE: number;
868
868
  } | null | undefined;
869
- price?: {
869
+ discount_amount?: {
870
870
  "POS_WALK-IN": number;
871
871
  "POS_TAKE-AWAY": number;
872
872
  POS_DELIVERY: number;
@@ -918,7 +918,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
918
918
  end_date: NativeDate;
919
919
  is_discount_percentage: boolean;
920
920
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
921
- discount_amount?: {
921
+ price?: {
922
922
  "POS_WALK-IN": number;
923
923
  "POS_TAKE-AWAY": number;
924
924
  POS_DELIVERY: number;
@@ -961,7 +961,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
961
961
  KEETA_DELIVERY: number;
962
962
  BASE_PRICE: number;
963
963
  } | null | undefined;
964
- price?: {
964
+ discount_amount?: {
965
965
  "POS_WALK-IN": number;
966
966
  "POS_TAKE-AWAY": number;
967
967
  POS_DELIVERY: number;
@@ -1013,7 +1013,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
1013
1013
  end_date: NativeDate;
1014
1014
  is_discount_percentage: boolean;
1015
1015
  excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
1016
- discount_amount?: {
1016
+ price?: {
1017
1017
  "POS_WALK-IN": number;
1018
1018
  "POS_TAKE-AWAY": number;
1019
1019
  POS_DELIVERY: number;
@@ -1056,7 +1056,7 @@ export declare const OfferSchema: Schema<any, import("mongoose").Model<any, any,
1056
1056
  KEETA_DELIVERY: number;
1057
1057
  BASE_PRICE: number;
1058
1058
  } | null | undefined;
1059
- price?: {
1059
+ discount_amount?: {
1060
1060
  "POS_WALK-IN": number;
1061
1061
  "POS_TAKE-AWAY": number;
1062
1062
  POS_DELIVERY: number;
@@ -8,39 +8,39 @@ export declare const OfferFingerprintSchema: Schema<any, import("mongoose").Mode
8
8
  updatedAt: NativeDate;
9
9
  } & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
- tenant_id: string;
12
- order_id: import("mongoose").Types.ObjectId;
13
- createdAt_mins: number;
14
11
  createdAt: NativeDate;
15
12
  updatedAt: NativeDate;
13
+ tenant_id: string;
16
14
  customer_phone: string;
17
15
  customer_name: string;
16
+ createdAt_mins: number;
17
+ order_id: import("mongoose").Types.ObjectId;
18
18
  offer_id: import("mongoose").Types.ObjectId;
19
19
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
20
20
  createdAt: NativeDate;
21
21
  updatedAt: NativeDate;
22
22
  } & {
23
23
  _id: import("mongoose").Types.ObjectId;
24
- tenant_id: string;
25
- order_id: import("mongoose").Types.ObjectId;
26
- createdAt_mins: number;
27
24
  createdAt: NativeDate;
28
25
  updatedAt: NativeDate;
26
+ tenant_id: string;
29
27
  customer_phone: string;
30
28
  customer_name: string;
29
+ createdAt_mins: number;
30
+ order_id: import("mongoose").Types.ObjectId;
31
31
  offer_id: import("mongoose").Types.ObjectId;
32
32
  }>> & import("mongoose").FlatRecord<{
33
33
  createdAt: NativeDate;
34
34
  updatedAt: NativeDate;
35
35
  } & {
36
36
  _id: import("mongoose").Types.ObjectId;
37
- tenant_id: string;
38
- order_id: import("mongoose").Types.ObjectId;
39
- createdAt_mins: number;
40
37
  createdAt: NativeDate;
41
38
  updatedAt: NativeDate;
39
+ tenant_id: string;
42
40
  customer_phone: string;
43
41
  customer_name: string;
42
+ createdAt_mins: number;
43
+ order_id: import("mongoose").Types.ObjectId;
44
44
  offer_id: import("mongoose").Types.ObjectId;
45
45
  }> & Required<{
46
46
  _id: import("mongoose").Types.ObjectId;
@@ -8,9 +8,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
8
8
  updatedAt: NativeDate;
9
9
  } & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
- tenant_id: string;
12
11
  createdAt: NativeDate;
13
12
  updatedAt: NativeDate;
13
+ tenant_id: string;
14
14
  roles: {
15
15
  SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
16
16
  MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];
@@ -92,9 +92,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
92
92
  updatedAt: NativeDate;
93
93
  } & {
94
94
  _id: import("mongoose").Types.ObjectId;
95
- tenant_id: string;
96
95
  createdAt: NativeDate;
97
96
  updatedAt: NativeDate;
97
+ tenant_id: string;
98
98
  roles: {
99
99
  SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
100
100
  MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];
@@ -176,9 +176,9 @@ export declare const OperationalRolesSchema: Schema<any, import("mongoose").Mode
176
176
  updatedAt: NativeDate;
177
177
  } & {
178
178
  _id: import("mongoose").Types.ObjectId;
179
- tenant_id: string;
180
179
  createdAt: NativeDate;
181
180
  updatedAt: NativeDate;
181
+ tenant_id: string;
182
182
  roles: {
183
183
  SUPER_ADMIN: import("../../constants").USER_PERMISSIONS_ENUM[];
184
184
  MODERATOR: import("../../constants").USER_PERMISSIONS_ENUM[];