@managesome/eposmatic-toolkit 0.4.89 → 0.4.92

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 (66) hide show
  1. package/esm/constants/ENUMS.js +1 -0
  2. package/esm/constants/enums/storage.js +23 -0
  3. package/esm/helpers/index.js +1 -0
  4. package/esm/helpers/order/generate-warehouse-internal-movement.js +3 -0
  5. package/esm/helpers/storage/index.js +1 -0
  6. package/esm/helpers/storage/upload-paths.js +384 -0
  7. package/esm/helpers/store/common-warehouse-internal-movement-actions.js +124 -4
  8. package/esm/helpers/utils/discount-amounts.js +64 -0
  9. package/esm/helpers/utils/index.js +2 -0
  10. package/esm/helpers/utils/internal-movement-items.js +30 -0
  11. package/esm/helpers/utils/tenant-purchase-order-engine.js +10 -18
  12. package/esm/helpers/utils/warehouse-purchase-order-engine.js +10 -18
  13. package/esm/schemas/models/index.js +1 -0
  14. package/esm/schemas/models/pending_uploads.js +102 -0
  15. package/esm/schemas/models/warehouse_internal_movements.js +54 -0
  16. package/esm/schemas/types/index.js +1 -0
  17. package/esm/schemas/types/pending_uploads.js +1 -0
  18. package/lib/constants/ENUMS.d.ts +1 -0
  19. package/lib/constants/ENUMS.js +1 -0
  20. package/lib/constants/enums/storage.d.ts +21 -0
  21. package/lib/constants/enums/storage.js +26 -0
  22. package/lib/helpers/index.d.ts +1 -0
  23. package/lib/helpers/index.js +1 -0
  24. package/lib/helpers/order/generate-warehouse-internal-movement.js +3 -0
  25. package/lib/helpers/storage/index.d.ts +1 -0
  26. package/lib/helpers/storage/index.js +17 -0
  27. package/lib/helpers/storage/upload-paths.d.ts +117 -0
  28. package/lib/helpers/storage/upload-paths.js +394 -0
  29. package/lib/helpers/store/common-warehouse-internal-movement-actions.d.ts +33 -1
  30. package/lib/helpers/store/common-warehouse-internal-movement-actions.js +126 -3
  31. package/lib/helpers/utils/discount-amounts.d.ts +50 -0
  32. package/lib/helpers/utils/discount-amounts.js +69 -0
  33. package/lib/helpers/utils/index.d.ts +2 -0
  34. package/lib/helpers/utils/index.js +2 -0
  35. package/lib/helpers/utils/internal-movement-items.d.ts +35 -0
  36. package/lib/helpers/utils/internal-movement-items.js +36 -0
  37. package/lib/helpers/utils/tenant-purchase-order-engine.js +9 -17
  38. package/lib/helpers/utils/warehouse-purchase-order-engine.js +9 -17
  39. package/lib/schemas/models/index.d.ts +1 -0
  40. package/lib/schemas/models/index.js +1 -0
  41. package/lib/schemas/models/inventories.d.ts +3 -3
  42. package/lib/schemas/models/inventory_transactions.d.ts +3 -3
  43. package/lib/schemas/models/item_transactions.d.ts +3 -3
  44. package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +3 -3
  45. package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +3 -3
  46. package/lib/schemas/models/orders.d.ts +120 -120
  47. package/lib/schemas/models/pending_uploads.d.ts +118 -0
  48. package/lib/schemas/models/pending_uploads.js +105 -0
  49. package/lib/schemas/models/tenant_hr_employees.d.ts +3 -3
  50. package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +3 -3
  51. package/lib/schemas/models/tenant_inventory_department_utilities.d.ts +3 -3
  52. package/lib/schemas/models/warehouse_internal_movements.d.ts +570 -0
  53. package/lib/schemas/models/warehouse_internal_movements.js +54 -0
  54. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +3 -3
  55. package/lib/schemas/models/warehouse_item_transactions.d.ts +3 -3
  56. package/lib/schemas/models/warehouse_items.d.ts +3 -3
  57. package/lib/schemas/types/index.d.ts +1 -0
  58. package/lib/schemas/types/index.js +1 -0
  59. package/lib/schemas/types/pending_uploads.d.ts +30 -0
  60. package/lib/schemas/types/pending_uploads.js +2 -0
  61. package/lib/schemas/types/warehouse_internal_movements.d.ts +17 -1
  62. package/lib/tests/pending-uploads-schema.test.d.ts +1 -0
  63. package/lib/tests/pending-uploads-schema.test.js +79 -0
  64. package/lib/tests/storage-upload-paths.test.d.ts +1 -0
  65. package/lib/tests/storage-upload-paths.test.js +198 -0
  66. package/package.json +1 -1
@@ -218,9 +218,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
218
218
  special_discount_name?: string | null | undefined;
219
219
  special_discount_reason?: string | null | undefined;
220
220
  special_reference_number?: string | null | undefined;
221
- loyalty_discount_reason?: string | null | undefined;
222
221
  voucher_discount_reason?: string | null | undefined;
223
222
  voucher_reference_number?: string | null | undefined;
223
+ loyalty_discount_reason?: string | null | undefined;
224
224
  };
225
225
  item_id: import("mongoose").Types.ObjectId;
226
226
  menu_id: import("mongoose").Types.ObjectId;
@@ -350,9 +350,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
350
350
  special_discount_name?: string | null | undefined;
351
351
  special_discount_reason?: string | null | undefined;
352
352
  special_reference_number?: string | null | undefined;
353
- loyalty_discount_reason?: string | null | undefined;
354
353
  voucher_discount_reason?: string | null | undefined;
355
354
  voucher_reference_number?: string | null | undefined;
355
+ loyalty_discount_reason?: string | null | undefined;
356
356
  };
357
357
  item_id: import("mongoose").Types.ObjectId;
358
358
  menu_id: import("mongoose").Types.ObjectId;
@@ -482,9 +482,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
482
482
  special_discount_name?: string | null | undefined;
483
483
  special_discount_reason?: string | null | undefined;
484
484
  special_reference_number?: string | null | undefined;
485
- loyalty_discount_reason?: string | null | undefined;
486
485
  voucher_discount_reason?: string | null | undefined;
487
486
  voucher_reference_number?: string | null | undefined;
487
+ loyalty_discount_reason?: string | null | undefined;
488
488
  };
489
489
  item_id: import("mongoose").Types.ObjectId;
490
490
  menu_id: import("mongoose").Types.ObjectId;
@@ -618,9 +618,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
618
618
  special_discount_name?: string | null | undefined;
619
619
  special_discount_reason?: string | null | undefined;
620
620
  special_reference_number?: string | null | undefined;
621
- loyalty_discount_reason?: string | null | undefined;
622
621
  voucher_discount_reason?: string | null | undefined;
623
622
  voucher_reference_number?: string | null | undefined;
623
+ loyalty_discount_reason?: string | null | undefined;
624
624
  };
625
625
  item_id: import("mongoose").Types.ObjectId;
626
626
  menu_id: import("mongoose").Types.ObjectId;
@@ -750,9 +750,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
750
750
  special_discount_name?: string | null | undefined;
751
751
  special_discount_reason?: string | null | undefined;
752
752
  special_reference_number?: string | null | undefined;
753
- loyalty_discount_reason?: string | null | undefined;
754
753
  voucher_discount_reason?: string | null | undefined;
755
754
  voucher_reference_number?: string | null | undefined;
755
+ loyalty_discount_reason?: string | null | undefined;
756
756
  };
757
757
  item_id: import("mongoose").Types.ObjectId;
758
758
  menu_id: import("mongoose").Types.ObjectId;
@@ -882,9 +882,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
882
882
  special_discount_name?: string | null | undefined;
883
883
  special_discount_reason?: string | null | undefined;
884
884
  special_reference_number?: string | null | undefined;
885
- loyalty_discount_reason?: string | null | undefined;
886
885
  voucher_discount_reason?: string | null | undefined;
887
886
  voucher_reference_number?: string | null | undefined;
887
+ loyalty_discount_reason?: string | null | undefined;
888
888
  };
889
889
  item_id: import("mongoose").Types.ObjectId;
890
890
  menu_id: import("mongoose").Types.ObjectId;
@@ -1018,9 +1018,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1018
1018
  special_discount_name?: string | null | undefined;
1019
1019
  special_discount_reason?: string | null | undefined;
1020
1020
  special_reference_number?: string | null | undefined;
1021
- loyalty_discount_reason?: string | null | undefined;
1022
1021
  voucher_discount_reason?: string | null | undefined;
1023
1022
  voucher_reference_number?: string | null | undefined;
1023
+ loyalty_discount_reason?: string | null | undefined;
1024
1024
  };
1025
1025
  item_id: import("mongoose").Types.ObjectId;
1026
1026
  menu_id: import("mongoose").Types.ObjectId;
@@ -1150,9 +1150,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1150
1150
  special_discount_name?: string | null | undefined;
1151
1151
  special_discount_reason?: string | null | undefined;
1152
1152
  special_reference_number?: string | null | undefined;
1153
- loyalty_discount_reason?: string | null | undefined;
1154
1153
  voucher_discount_reason?: string | null | undefined;
1155
1154
  voucher_reference_number?: string | null | undefined;
1155
+ loyalty_discount_reason?: string | null | undefined;
1156
1156
  };
1157
1157
  item_id: import("mongoose").Types.ObjectId;
1158
1158
  menu_id: import("mongoose").Types.ObjectId;
@@ -1282,9 +1282,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1282
1282
  special_discount_name?: string | null | undefined;
1283
1283
  special_discount_reason?: string | null | undefined;
1284
1284
  special_reference_number?: string | null | undefined;
1285
- loyalty_discount_reason?: string | null | undefined;
1286
1285
  voucher_discount_reason?: string | null | undefined;
1287
1286
  voucher_reference_number?: string | null | undefined;
1287
+ loyalty_discount_reason?: string | null | undefined;
1288
1288
  };
1289
1289
  item_id: import("mongoose").Types.ObjectId;
1290
1290
  menu_id: import("mongoose").Types.ObjectId;
@@ -1425,9 +1425,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1425
1425
  special_discount_name?: string | null | undefined;
1426
1426
  special_discount_reason?: string | null | undefined;
1427
1427
  special_reference_number?: string | null | undefined;
1428
- loyalty_discount_reason?: string | null | undefined;
1429
1428
  voucher_discount_reason?: string | null | undefined;
1430
1429
  voucher_reference_number?: string | null | undefined;
1430
+ loyalty_discount_reason?: string | null | undefined;
1431
1431
  };
1432
1432
  item_id: import("mongoose").Types.ObjectId;
1433
1433
  menu_id: import("mongoose").Types.ObjectId;
@@ -1557,9 +1557,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1557
1557
  special_discount_name?: string | null | undefined;
1558
1558
  special_discount_reason?: string | null | undefined;
1559
1559
  special_reference_number?: string | null | undefined;
1560
- loyalty_discount_reason?: string | null | undefined;
1561
1560
  voucher_discount_reason?: string | null | undefined;
1562
1561
  voucher_reference_number?: string | null | undefined;
1562
+ loyalty_discount_reason?: string | null | undefined;
1563
1563
  };
1564
1564
  item_id: import("mongoose").Types.ObjectId;
1565
1565
  menu_id: import("mongoose").Types.ObjectId;
@@ -1689,9 +1689,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1689
1689
  special_discount_name?: string | null | undefined;
1690
1690
  special_discount_reason?: string | null | undefined;
1691
1691
  special_reference_number?: string | null | undefined;
1692
- loyalty_discount_reason?: string | null | undefined;
1693
1692
  voucher_discount_reason?: string | null | undefined;
1694
1693
  voucher_reference_number?: string | null | undefined;
1694
+ loyalty_discount_reason?: string | null | undefined;
1695
1695
  };
1696
1696
  item_id: import("mongoose").Types.ObjectId;
1697
1697
  menu_id: import("mongoose").Types.ObjectId;
@@ -1825,9 +1825,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1825
1825
  special_discount_name?: string | null | undefined;
1826
1826
  special_discount_reason?: string | null | undefined;
1827
1827
  special_reference_number?: string | null | undefined;
1828
- loyalty_discount_reason?: string | null | undefined;
1829
1828
  voucher_discount_reason?: string | null | undefined;
1830
1829
  voucher_reference_number?: string | null | undefined;
1830
+ loyalty_discount_reason?: string | null | undefined;
1831
1831
  };
1832
1832
  item_id: import("mongoose").Types.ObjectId;
1833
1833
  menu_id: import("mongoose").Types.ObjectId;
@@ -1957,9 +1957,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1957
1957
  special_discount_name?: string | null | undefined;
1958
1958
  special_discount_reason?: string | null | undefined;
1959
1959
  special_reference_number?: string | null | undefined;
1960
- loyalty_discount_reason?: string | null | undefined;
1961
1960
  voucher_discount_reason?: string | null | undefined;
1962
1961
  voucher_reference_number?: string | null | undefined;
1962
+ loyalty_discount_reason?: string | null | undefined;
1963
1963
  };
1964
1964
  item_id: import("mongoose").Types.ObjectId;
1965
1965
  menu_id: import("mongoose").Types.ObjectId;
@@ -2089,9 +2089,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2089
2089
  special_discount_name?: string | null | undefined;
2090
2090
  special_discount_reason?: string | null | undefined;
2091
2091
  special_reference_number?: string | null | undefined;
2092
- loyalty_discount_reason?: string | null | undefined;
2093
2092
  voucher_discount_reason?: string | null | undefined;
2094
2093
  voucher_reference_number?: string | null | undefined;
2094
+ loyalty_discount_reason?: string | null | undefined;
2095
2095
  };
2096
2096
  item_id: import("mongoose").Types.ObjectId;
2097
2097
  menu_id: import("mongoose").Types.ObjectId;
@@ -2225,9 +2225,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2225
2225
  special_discount_name?: string | null | undefined;
2226
2226
  special_discount_reason?: string | null | undefined;
2227
2227
  special_reference_number?: string | null | undefined;
2228
- loyalty_discount_reason?: string | null | undefined;
2229
2228
  voucher_discount_reason?: string | null | undefined;
2230
2229
  voucher_reference_number?: string | null | undefined;
2230
+ loyalty_discount_reason?: string | null | undefined;
2231
2231
  };
2232
2232
  item_id: import("mongoose").Types.ObjectId;
2233
2233
  menu_id: import("mongoose").Types.ObjectId;
@@ -2357,9 +2357,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2357
2357
  special_discount_name?: string | null | undefined;
2358
2358
  special_discount_reason?: string | null | undefined;
2359
2359
  special_reference_number?: string | null | undefined;
2360
- loyalty_discount_reason?: string | null | undefined;
2361
2360
  voucher_discount_reason?: string | null | undefined;
2362
2361
  voucher_reference_number?: string | null | undefined;
2362
+ loyalty_discount_reason?: string | null | undefined;
2363
2363
  };
2364
2364
  item_id: import("mongoose").Types.ObjectId;
2365
2365
  menu_id: import("mongoose").Types.ObjectId;
@@ -2489,9 +2489,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2489
2489
  special_discount_name?: string | null | undefined;
2490
2490
  special_discount_reason?: string | null | undefined;
2491
2491
  special_reference_number?: string | null | undefined;
2492
- loyalty_discount_reason?: string | null | undefined;
2493
2492
  voucher_discount_reason?: string | null | undefined;
2494
2493
  voucher_reference_number?: string | null | undefined;
2494
+ loyalty_discount_reason?: string | null | undefined;
2495
2495
  };
2496
2496
  item_id: import("mongoose").Types.ObjectId;
2497
2497
  menu_id: import("mongoose").Types.ObjectId;
@@ -2665,9 +2665,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2665
2665
  special_discount_name?: string | null | undefined;
2666
2666
  special_discount_reason?: string | null | undefined;
2667
2667
  special_reference_number?: string | null | undefined;
2668
- loyalty_discount_reason?: string | null | undefined;
2669
2668
  voucher_discount_reason?: string | null | undefined;
2670
2669
  voucher_reference_number?: string | null | undefined;
2670
+ loyalty_discount_reason?: string | null | undefined;
2671
2671
  } | null | undefined;
2672
2672
  total_discount_applied?: number | null | undefined;
2673
2673
  is_surcharge_percentage?: boolean | null | undefined;
@@ -2804,9 +2804,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2804
2804
  special_discount_name?: string | null | undefined;
2805
2805
  special_discount_reason?: string | null | undefined;
2806
2806
  special_reference_number?: string | null | undefined;
2807
- loyalty_discount_reason?: string | null | undefined;
2808
2807
  voucher_discount_reason?: string | null | undefined;
2809
2808
  voucher_reference_number?: string | null | undefined;
2809
+ loyalty_discount_reason?: string | null | undefined;
2810
2810
  };
2811
2811
  item_id: import("mongoose").Types.ObjectId;
2812
2812
  menu_id: import("mongoose").Types.ObjectId;
@@ -2936,9 +2936,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2936
2936
  special_discount_name?: string | null | undefined;
2937
2937
  special_discount_reason?: string | null | undefined;
2938
2938
  special_reference_number?: string | null | undefined;
2939
- loyalty_discount_reason?: string | null | undefined;
2940
2939
  voucher_discount_reason?: string | null | undefined;
2941
2940
  voucher_reference_number?: string | null | undefined;
2941
+ loyalty_discount_reason?: string | null | undefined;
2942
2942
  };
2943
2943
  item_id: import("mongoose").Types.ObjectId;
2944
2944
  menu_id: import("mongoose").Types.ObjectId;
@@ -3068,9 +3068,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3068
3068
  special_discount_name?: string | null | undefined;
3069
3069
  special_discount_reason?: string | null | undefined;
3070
3070
  special_reference_number?: string | null | undefined;
3071
- loyalty_discount_reason?: string | null | undefined;
3072
3071
  voucher_discount_reason?: string | null | undefined;
3073
3072
  voucher_reference_number?: string | null | undefined;
3073
+ loyalty_discount_reason?: string | null | undefined;
3074
3074
  };
3075
3075
  item_id: import("mongoose").Types.ObjectId;
3076
3076
  menu_id: import("mongoose").Types.ObjectId;
@@ -3204,9 +3204,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3204
3204
  special_discount_name?: string | null | undefined;
3205
3205
  special_discount_reason?: string | null | undefined;
3206
3206
  special_reference_number?: string | null | undefined;
3207
- loyalty_discount_reason?: string | null | undefined;
3208
3207
  voucher_discount_reason?: string | null | undefined;
3209
3208
  voucher_reference_number?: string | null | undefined;
3209
+ loyalty_discount_reason?: string | null | undefined;
3210
3210
  };
3211
3211
  item_id: import("mongoose").Types.ObjectId;
3212
3212
  menu_id: import("mongoose").Types.ObjectId;
@@ -3336,9 +3336,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3336
3336
  special_discount_name?: string | null | undefined;
3337
3337
  special_discount_reason?: string | null | undefined;
3338
3338
  special_reference_number?: string | null | undefined;
3339
- loyalty_discount_reason?: string | null | undefined;
3340
3339
  voucher_discount_reason?: string | null | undefined;
3341
3340
  voucher_reference_number?: string | null | undefined;
3341
+ loyalty_discount_reason?: string | null | undefined;
3342
3342
  };
3343
3343
  item_id: import("mongoose").Types.ObjectId;
3344
3344
  menu_id: import("mongoose").Types.ObjectId;
@@ -3468,9 +3468,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3468
3468
  special_discount_name?: string | null | undefined;
3469
3469
  special_discount_reason?: string | null | undefined;
3470
3470
  special_reference_number?: string | null | undefined;
3471
- loyalty_discount_reason?: string | null | undefined;
3472
3471
  voucher_discount_reason?: string | null | undefined;
3473
3472
  voucher_reference_number?: string | null | undefined;
3473
+ loyalty_discount_reason?: string | null | undefined;
3474
3474
  };
3475
3475
  item_id: import("mongoose").Types.ObjectId;
3476
3476
  menu_id: import("mongoose").Types.ObjectId;
@@ -3604,9 +3604,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3604
3604
  special_discount_name?: string | null | undefined;
3605
3605
  special_discount_reason?: string | null | undefined;
3606
3606
  special_reference_number?: string | null | undefined;
3607
- loyalty_discount_reason?: string | null | undefined;
3608
3607
  voucher_discount_reason?: string | null | undefined;
3609
3608
  voucher_reference_number?: string | null | undefined;
3609
+ loyalty_discount_reason?: string | null | undefined;
3610
3610
  };
3611
3611
  item_id: import("mongoose").Types.ObjectId;
3612
3612
  menu_id: import("mongoose").Types.ObjectId;
@@ -3736,9 +3736,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3736
3736
  special_discount_name?: string | null | undefined;
3737
3737
  special_discount_reason?: string | null | undefined;
3738
3738
  special_reference_number?: string | null | undefined;
3739
- loyalty_discount_reason?: string | null | undefined;
3740
3739
  voucher_discount_reason?: string | null | undefined;
3741
3740
  voucher_reference_number?: string | null | undefined;
3741
+ loyalty_discount_reason?: string | null | undefined;
3742
3742
  };
3743
3743
  item_id: import("mongoose").Types.ObjectId;
3744
3744
  menu_id: import("mongoose").Types.ObjectId;
@@ -3868,9 +3868,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3868
3868
  special_discount_name?: string | null | undefined;
3869
3869
  special_discount_reason?: string | null | undefined;
3870
3870
  special_reference_number?: string | null | undefined;
3871
- loyalty_discount_reason?: string | null | undefined;
3872
3871
  voucher_discount_reason?: string | null | undefined;
3873
3872
  voucher_reference_number?: string | null | undefined;
3873
+ loyalty_discount_reason?: string | null | undefined;
3874
3874
  };
3875
3875
  item_id: import("mongoose").Types.ObjectId;
3876
3876
  menu_id: import("mongoose").Types.ObjectId;
@@ -4044,9 +4044,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4044
4044
  special_discount_name?: string | null | undefined;
4045
4045
  special_discount_reason?: string | null | undefined;
4046
4046
  special_reference_number?: string | null | undefined;
4047
- loyalty_discount_reason?: string | null | undefined;
4048
4047
  voucher_discount_reason?: string | null | undefined;
4049
4048
  voucher_reference_number?: string | null | undefined;
4049
+ loyalty_discount_reason?: string | null | undefined;
4050
4050
  } | null | undefined;
4051
4051
  total_discount_applied?: number | null | undefined;
4052
4052
  is_surcharge_percentage?: boolean | null | undefined;
@@ -4183,9 +4183,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4183
4183
  special_discount_name?: string | null | undefined;
4184
4184
  special_discount_reason?: string | null | undefined;
4185
4185
  special_reference_number?: string | null | undefined;
4186
- loyalty_discount_reason?: string | null | undefined;
4187
4186
  voucher_discount_reason?: string | null | undefined;
4188
4187
  voucher_reference_number?: string | null | undefined;
4188
+ loyalty_discount_reason?: string | null | undefined;
4189
4189
  };
4190
4190
  item_id: import("mongoose").Types.ObjectId;
4191
4191
  menu_id: import("mongoose").Types.ObjectId;
@@ -4315,9 +4315,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4315
4315
  special_discount_name?: string | null | undefined;
4316
4316
  special_discount_reason?: string | null | undefined;
4317
4317
  special_reference_number?: string | null | undefined;
4318
- loyalty_discount_reason?: string | null | undefined;
4319
4318
  voucher_discount_reason?: string | null | undefined;
4320
4319
  voucher_reference_number?: string | null | undefined;
4320
+ loyalty_discount_reason?: string | null | undefined;
4321
4321
  };
4322
4322
  item_id: import("mongoose").Types.ObjectId;
4323
4323
  menu_id: import("mongoose").Types.ObjectId;
@@ -4447,9 +4447,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4447
4447
  special_discount_name?: string | null | undefined;
4448
4448
  special_discount_reason?: string | null | undefined;
4449
4449
  special_reference_number?: string | null | undefined;
4450
- loyalty_discount_reason?: string | null | undefined;
4451
4450
  voucher_discount_reason?: string | null | undefined;
4452
4451
  voucher_reference_number?: string | null | undefined;
4452
+ loyalty_discount_reason?: string | null | undefined;
4453
4453
  };
4454
4454
  item_id: import("mongoose").Types.ObjectId;
4455
4455
  menu_id: import("mongoose").Types.ObjectId;
@@ -4583,9 +4583,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4583
4583
  special_discount_name?: string | null | undefined;
4584
4584
  special_discount_reason?: string | null | undefined;
4585
4585
  special_reference_number?: string | null | undefined;
4586
- loyalty_discount_reason?: string | null | undefined;
4587
4586
  voucher_discount_reason?: string | null | undefined;
4588
4587
  voucher_reference_number?: string | null | undefined;
4588
+ loyalty_discount_reason?: string | null | undefined;
4589
4589
  };
4590
4590
  item_id: import("mongoose").Types.ObjectId;
4591
4591
  menu_id: import("mongoose").Types.ObjectId;
@@ -4715,9 +4715,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4715
4715
  special_discount_name?: string | null | undefined;
4716
4716
  special_discount_reason?: string | null | undefined;
4717
4717
  special_reference_number?: string | null | undefined;
4718
- loyalty_discount_reason?: string | null | undefined;
4719
4718
  voucher_discount_reason?: string | null | undefined;
4720
4719
  voucher_reference_number?: string | null | undefined;
4720
+ loyalty_discount_reason?: string | null | undefined;
4721
4721
  };
4722
4722
  item_id: import("mongoose").Types.ObjectId;
4723
4723
  menu_id: import("mongoose").Types.ObjectId;
@@ -4847,9 +4847,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4847
4847
  special_discount_name?: string | null | undefined;
4848
4848
  special_discount_reason?: string | null | undefined;
4849
4849
  special_reference_number?: string | null | undefined;
4850
- loyalty_discount_reason?: string | null | undefined;
4851
4850
  voucher_discount_reason?: string | null | undefined;
4852
4851
  voucher_reference_number?: string | null | undefined;
4852
+ loyalty_discount_reason?: string | null | undefined;
4853
4853
  };
4854
4854
  item_id: import("mongoose").Types.ObjectId;
4855
4855
  menu_id: import("mongoose").Types.ObjectId;
@@ -4983,9 +4983,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4983
4983
  special_discount_name?: string | null | undefined;
4984
4984
  special_discount_reason?: string | null | undefined;
4985
4985
  special_reference_number?: string | null | undefined;
4986
- loyalty_discount_reason?: string | null | undefined;
4987
4986
  voucher_discount_reason?: string | null | undefined;
4988
4987
  voucher_reference_number?: string | null | undefined;
4988
+ loyalty_discount_reason?: string | null | undefined;
4989
4989
  };
4990
4990
  item_id: import("mongoose").Types.ObjectId;
4991
4991
  menu_id: import("mongoose").Types.ObjectId;
@@ -5115,9 +5115,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5115
5115
  special_discount_name?: string | null | undefined;
5116
5116
  special_discount_reason?: string | null | undefined;
5117
5117
  special_reference_number?: string | null | undefined;
5118
- loyalty_discount_reason?: string | null | undefined;
5119
5118
  voucher_discount_reason?: string | null | undefined;
5120
5119
  voucher_reference_number?: string | null | undefined;
5120
+ loyalty_discount_reason?: string | null | undefined;
5121
5121
  };
5122
5122
  item_id: import("mongoose").Types.ObjectId;
5123
5123
  menu_id: import("mongoose").Types.ObjectId;
@@ -5247,9 +5247,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5247
5247
  special_discount_name?: string | null | undefined;
5248
5248
  special_discount_reason?: string | null | undefined;
5249
5249
  special_reference_number?: string | null | undefined;
5250
- loyalty_discount_reason?: string | null | undefined;
5251
5250
  voucher_discount_reason?: string | null | undefined;
5252
5251
  voucher_reference_number?: string | null | undefined;
5252
+ loyalty_discount_reason?: string | null | undefined;
5253
5253
  };
5254
5254
  item_id: import("mongoose").Types.ObjectId;
5255
5255
  menu_id: import("mongoose").Types.ObjectId;
@@ -5423,9 +5423,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5423
5423
  special_discount_name?: string | null | undefined;
5424
5424
  special_discount_reason?: string | null | undefined;
5425
5425
  special_reference_number?: string | null | undefined;
5426
- loyalty_discount_reason?: string | null | undefined;
5427
5426
  voucher_discount_reason?: string | null | undefined;
5428
5427
  voucher_reference_number?: string | null | undefined;
5428
+ loyalty_discount_reason?: string | null | undefined;
5429
5429
  } | null | undefined;
5430
5430
  total_discount_applied?: number | null | undefined;
5431
5431
  is_surcharge_percentage?: boolean | null | undefined;
@@ -5650,9 +5650,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5650
5650
  special_discount_name?: string | null | undefined;
5651
5651
  special_discount_reason?: string | null | undefined;
5652
5652
  special_reference_number?: string | null | undefined;
5653
- loyalty_discount_reason?: string | null | undefined;
5654
5653
  voucher_discount_reason?: string | null | undefined;
5655
5654
  voucher_reference_number?: string | null | undefined;
5655
+ loyalty_discount_reason?: string | null | undefined;
5656
5656
  } | null | undefined;
5657
5657
  total_discount_applied?: number | null | undefined;
5658
5658
  is_surcharge_percentage?: boolean | null | undefined;
@@ -5794,9 +5794,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5794
5794
  special_discount_name?: string | null | undefined;
5795
5795
  special_discount_reason?: string | null | undefined;
5796
5796
  special_reference_number?: string | null | undefined;
5797
- loyalty_discount_reason?: string | null | undefined;
5798
5797
  voucher_discount_reason?: string | null | undefined;
5799
5798
  voucher_reference_number?: string | null | undefined;
5799
+ loyalty_discount_reason?: string | null | undefined;
5800
5800
  };
5801
5801
  item_id: import("mongoose").Types.ObjectId;
5802
5802
  menu_id: import("mongoose").Types.ObjectId;
@@ -5926,9 +5926,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5926
5926
  special_discount_name?: string | null | undefined;
5927
5927
  special_discount_reason?: string | null | undefined;
5928
5928
  special_reference_number?: string | null | undefined;
5929
- loyalty_discount_reason?: string | null | undefined;
5930
5929
  voucher_discount_reason?: string | null | undefined;
5931
5930
  voucher_reference_number?: string | null | undefined;
5931
+ loyalty_discount_reason?: string | null | undefined;
5932
5932
  };
5933
5933
  item_id: import("mongoose").Types.ObjectId;
5934
5934
  menu_id: import("mongoose").Types.ObjectId;
@@ -6058,9 +6058,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6058
6058
  special_discount_name?: string | null | undefined;
6059
6059
  special_discount_reason?: string | null | undefined;
6060
6060
  special_reference_number?: string | null | undefined;
6061
- loyalty_discount_reason?: string | null | undefined;
6062
6061
  voucher_discount_reason?: string | null | undefined;
6063
6062
  voucher_reference_number?: string | null | undefined;
6063
+ loyalty_discount_reason?: string | null | undefined;
6064
6064
  };
6065
6065
  item_id: import("mongoose").Types.ObjectId;
6066
6066
  menu_id: import("mongoose").Types.ObjectId;
@@ -6194,9 +6194,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6194
6194
  special_discount_name?: string | null | undefined;
6195
6195
  special_discount_reason?: string | null | undefined;
6196
6196
  special_reference_number?: string | null | undefined;
6197
- loyalty_discount_reason?: string | null | undefined;
6198
6197
  voucher_discount_reason?: string | null | undefined;
6199
6198
  voucher_reference_number?: string | null | undefined;
6199
+ loyalty_discount_reason?: string | null | undefined;
6200
6200
  };
6201
6201
  item_id: import("mongoose").Types.ObjectId;
6202
6202
  menu_id: import("mongoose").Types.ObjectId;
@@ -6326,9 +6326,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6326
6326
  special_discount_name?: string | null | undefined;
6327
6327
  special_discount_reason?: string | null | undefined;
6328
6328
  special_reference_number?: string | null | undefined;
6329
- loyalty_discount_reason?: string | null | undefined;
6330
6329
  voucher_discount_reason?: string | null | undefined;
6331
6330
  voucher_reference_number?: string | null | undefined;
6331
+ loyalty_discount_reason?: string | null | undefined;
6332
6332
  };
6333
6333
  item_id: import("mongoose").Types.ObjectId;
6334
6334
  menu_id: import("mongoose").Types.ObjectId;
@@ -6458,9 +6458,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6458
6458
  special_discount_name?: string | null | undefined;
6459
6459
  special_discount_reason?: string | null | undefined;
6460
6460
  special_reference_number?: string | null | undefined;
6461
- loyalty_discount_reason?: string | null | undefined;
6462
6461
  voucher_discount_reason?: string | null | undefined;
6463
6462
  voucher_reference_number?: string | null | undefined;
6463
+ loyalty_discount_reason?: string | null | undefined;
6464
6464
  };
6465
6465
  item_id: import("mongoose").Types.ObjectId;
6466
6466
  menu_id: import("mongoose").Types.ObjectId;
@@ -6594,9 +6594,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6594
6594
  special_discount_name?: string | null | undefined;
6595
6595
  special_discount_reason?: string | null | undefined;
6596
6596
  special_reference_number?: string | null | undefined;
6597
- loyalty_discount_reason?: string | null | undefined;
6598
6597
  voucher_discount_reason?: string | null | undefined;
6599
6598
  voucher_reference_number?: string | null | undefined;
6599
+ loyalty_discount_reason?: string | null | undefined;
6600
6600
  };
6601
6601
  item_id: import("mongoose").Types.ObjectId;
6602
6602
  menu_id: import("mongoose").Types.ObjectId;
@@ -6726,9 +6726,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6726
6726
  special_discount_name?: string | null | undefined;
6727
6727
  special_discount_reason?: string | null | undefined;
6728
6728
  special_reference_number?: string | null | undefined;
6729
- loyalty_discount_reason?: string | null | undefined;
6730
6729
  voucher_discount_reason?: string | null | undefined;
6731
6730
  voucher_reference_number?: string | null | undefined;
6731
+ loyalty_discount_reason?: string | null | undefined;
6732
6732
  };
6733
6733
  item_id: import("mongoose").Types.ObjectId;
6734
6734
  menu_id: import("mongoose").Types.ObjectId;
@@ -6858,9 +6858,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6858
6858
  special_discount_name?: string | null | undefined;
6859
6859
  special_discount_reason?: string | null | undefined;
6860
6860
  special_reference_number?: string | null | undefined;
6861
- loyalty_discount_reason?: string | null | undefined;
6862
6861
  voucher_discount_reason?: string | null | undefined;
6863
6862
  voucher_reference_number?: string | null | undefined;
6863
+ loyalty_discount_reason?: string | null | undefined;
6864
6864
  };
6865
6865
  item_id: import("mongoose").Types.ObjectId;
6866
6866
  menu_id: import("mongoose").Types.ObjectId;
@@ -7001,9 +7001,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7001
7001
  special_discount_name?: string | null | undefined;
7002
7002
  special_discount_reason?: string | null | undefined;
7003
7003
  special_reference_number?: string | null | undefined;
7004
- loyalty_discount_reason?: string | null | undefined;
7005
7004
  voucher_discount_reason?: string | null | undefined;
7006
7005
  voucher_reference_number?: string | null | undefined;
7006
+ loyalty_discount_reason?: string | null | undefined;
7007
7007
  };
7008
7008
  item_id: import("mongoose").Types.ObjectId;
7009
7009
  menu_id: import("mongoose").Types.ObjectId;
@@ -7133,9 +7133,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7133
7133
  special_discount_name?: string | null | undefined;
7134
7134
  special_discount_reason?: string | null | undefined;
7135
7135
  special_reference_number?: string | null | undefined;
7136
- loyalty_discount_reason?: string | null | undefined;
7137
7136
  voucher_discount_reason?: string | null | undefined;
7138
7137
  voucher_reference_number?: string | null | undefined;
7138
+ loyalty_discount_reason?: string | null | undefined;
7139
7139
  };
7140
7140
  item_id: import("mongoose").Types.ObjectId;
7141
7141
  menu_id: import("mongoose").Types.ObjectId;
@@ -7265,9 +7265,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7265
7265
  special_discount_name?: string | null | undefined;
7266
7266
  special_discount_reason?: string | null | undefined;
7267
7267
  special_reference_number?: string | null | undefined;
7268
- loyalty_discount_reason?: string | null | undefined;
7269
7268
  voucher_discount_reason?: string | null | undefined;
7270
7269
  voucher_reference_number?: string | null | undefined;
7270
+ loyalty_discount_reason?: string | null | undefined;
7271
7271
  };
7272
7272
  item_id: import("mongoose").Types.ObjectId;
7273
7273
  menu_id: import("mongoose").Types.ObjectId;
@@ -7401,9 +7401,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7401
7401
  special_discount_name?: string | null | undefined;
7402
7402
  special_discount_reason?: string | null | undefined;
7403
7403
  special_reference_number?: string | null | undefined;
7404
- loyalty_discount_reason?: string | null | undefined;
7405
7404
  voucher_discount_reason?: string | null | undefined;
7406
7405
  voucher_reference_number?: string | null | undefined;
7406
+ loyalty_discount_reason?: string | null | undefined;
7407
7407
  };
7408
7408
  item_id: import("mongoose").Types.ObjectId;
7409
7409
  menu_id: import("mongoose").Types.ObjectId;
@@ -7533,9 +7533,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7533
7533
  special_discount_name?: string | null | undefined;
7534
7534
  special_discount_reason?: string | null | undefined;
7535
7535
  special_reference_number?: string | null | undefined;
7536
- loyalty_discount_reason?: string | null | undefined;
7537
7536
  voucher_discount_reason?: string | null | undefined;
7538
7537
  voucher_reference_number?: string | null | undefined;
7538
+ loyalty_discount_reason?: string | null | undefined;
7539
7539
  };
7540
7540
  item_id: import("mongoose").Types.ObjectId;
7541
7541
  menu_id: import("mongoose").Types.ObjectId;
@@ -7665,9 +7665,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7665
7665
  special_discount_name?: string | null | undefined;
7666
7666
  special_discount_reason?: string | null | undefined;
7667
7667
  special_reference_number?: string | null | undefined;
7668
- loyalty_discount_reason?: string | null | undefined;
7669
7668
  voucher_discount_reason?: string | null | undefined;
7670
7669
  voucher_reference_number?: string | null | undefined;
7670
+ loyalty_discount_reason?: string | null | undefined;
7671
7671
  };
7672
7672
  item_id: import("mongoose").Types.ObjectId;
7673
7673
  menu_id: import("mongoose").Types.ObjectId;
@@ -7801,9 +7801,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7801
7801
  special_discount_name?: string | null | undefined;
7802
7802
  special_discount_reason?: string | null | undefined;
7803
7803
  special_reference_number?: string | null | undefined;
7804
- loyalty_discount_reason?: string | null | undefined;
7805
7804
  voucher_discount_reason?: string | null | undefined;
7806
7805
  voucher_reference_number?: string | null | undefined;
7806
+ loyalty_discount_reason?: string | null | undefined;
7807
7807
  };
7808
7808
  item_id: import("mongoose").Types.ObjectId;
7809
7809
  menu_id: import("mongoose").Types.ObjectId;
@@ -7933,9 +7933,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7933
7933
  special_discount_name?: string | null | undefined;
7934
7934
  special_discount_reason?: string | null | undefined;
7935
7935
  special_reference_number?: string | null | undefined;
7936
- loyalty_discount_reason?: string | null | undefined;
7937
7936
  voucher_discount_reason?: string | null | undefined;
7938
7937
  voucher_reference_number?: string | null | undefined;
7938
+ loyalty_discount_reason?: string | null | undefined;
7939
7939
  };
7940
7940
  item_id: import("mongoose").Types.ObjectId;
7941
7941
  menu_id: import("mongoose").Types.ObjectId;
@@ -8065,9 +8065,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8065
8065
  special_discount_name?: string | null | undefined;
8066
8066
  special_discount_reason?: string | null | undefined;
8067
8067
  special_reference_number?: string | null | undefined;
8068
- loyalty_discount_reason?: string | null | undefined;
8069
8068
  voucher_discount_reason?: string | null | undefined;
8070
8069
  voucher_reference_number?: string | null | undefined;
8070
+ loyalty_discount_reason?: string | null | undefined;
8071
8071
  };
8072
8072
  item_id: import("mongoose").Types.ObjectId;
8073
8073
  menu_id: import("mongoose").Types.ObjectId;
@@ -8241,9 +8241,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8241
8241
  special_discount_name?: string | null | undefined;
8242
8242
  special_discount_reason?: string | null | undefined;
8243
8243
  special_reference_number?: string | null | undefined;
8244
- loyalty_discount_reason?: string | null | undefined;
8245
8244
  voucher_discount_reason?: string | null | undefined;
8246
8245
  voucher_reference_number?: string | null | undefined;
8246
+ loyalty_discount_reason?: string | null | undefined;
8247
8247
  } | null | undefined;
8248
8248
  total_discount_applied?: number | null | undefined;
8249
8249
  is_surcharge_percentage?: boolean | null | undefined;
@@ -8380,9 +8380,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8380
8380
  special_discount_name?: string | null | undefined;
8381
8381
  special_discount_reason?: string | null | undefined;
8382
8382
  special_reference_number?: string | null | undefined;
8383
- loyalty_discount_reason?: string | null | undefined;
8384
8383
  voucher_discount_reason?: string | null | undefined;
8385
8384
  voucher_reference_number?: string | null | undefined;
8385
+ loyalty_discount_reason?: string | null | undefined;
8386
8386
  };
8387
8387
  item_id: import("mongoose").Types.ObjectId;
8388
8388
  menu_id: import("mongoose").Types.ObjectId;
@@ -8512,9 +8512,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8512
8512
  special_discount_name?: string | null | undefined;
8513
8513
  special_discount_reason?: string | null | undefined;
8514
8514
  special_reference_number?: string | null | undefined;
8515
- loyalty_discount_reason?: string | null | undefined;
8516
8515
  voucher_discount_reason?: string | null | undefined;
8517
8516
  voucher_reference_number?: string | null | undefined;
8517
+ loyalty_discount_reason?: string | null | undefined;
8518
8518
  };
8519
8519
  item_id: import("mongoose").Types.ObjectId;
8520
8520
  menu_id: import("mongoose").Types.ObjectId;
@@ -8644,9 +8644,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8644
8644
  special_discount_name?: string | null | undefined;
8645
8645
  special_discount_reason?: string | null | undefined;
8646
8646
  special_reference_number?: string | null | undefined;
8647
- loyalty_discount_reason?: string | null | undefined;
8648
8647
  voucher_discount_reason?: string | null | undefined;
8649
8648
  voucher_reference_number?: string | null | undefined;
8649
+ loyalty_discount_reason?: string | null | undefined;
8650
8650
  };
8651
8651
  item_id: import("mongoose").Types.ObjectId;
8652
8652
  menu_id: import("mongoose").Types.ObjectId;
@@ -8780,9 +8780,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8780
8780
  special_discount_name?: string | null | undefined;
8781
8781
  special_discount_reason?: string | null | undefined;
8782
8782
  special_reference_number?: string | null | undefined;
8783
- loyalty_discount_reason?: string | null | undefined;
8784
8783
  voucher_discount_reason?: string | null | undefined;
8785
8784
  voucher_reference_number?: string | null | undefined;
8785
+ loyalty_discount_reason?: string | null | undefined;
8786
8786
  };
8787
8787
  item_id: import("mongoose").Types.ObjectId;
8788
8788
  menu_id: import("mongoose").Types.ObjectId;
@@ -8912,9 +8912,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8912
8912
  special_discount_name?: string | null | undefined;
8913
8913
  special_discount_reason?: string | null | undefined;
8914
8914
  special_reference_number?: string | null | undefined;
8915
- loyalty_discount_reason?: string | null | undefined;
8916
8915
  voucher_discount_reason?: string | null | undefined;
8917
8916
  voucher_reference_number?: string | null | undefined;
8917
+ loyalty_discount_reason?: string | null | undefined;
8918
8918
  };
8919
8919
  item_id: import("mongoose").Types.ObjectId;
8920
8920
  menu_id: import("mongoose").Types.ObjectId;
@@ -9044,9 +9044,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9044
9044
  special_discount_name?: string | null | undefined;
9045
9045
  special_discount_reason?: string | null | undefined;
9046
9046
  special_reference_number?: string | null | undefined;
9047
- loyalty_discount_reason?: string | null | undefined;
9048
9047
  voucher_discount_reason?: string | null | undefined;
9049
9048
  voucher_reference_number?: string | null | undefined;
9049
+ loyalty_discount_reason?: string | null | undefined;
9050
9050
  };
9051
9051
  item_id: import("mongoose").Types.ObjectId;
9052
9052
  menu_id: import("mongoose").Types.ObjectId;
@@ -9180,9 +9180,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9180
9180
  special_discount_name?: string | null | undefined;
9181
9181
  special_discount_reason?: string | null | undefined;
9182
9182
  special_reference_number?: string | null | undefined;
9183
- loyalty_discount_reason?: string | null | undefined;
9184
9183
  voucher_discount_reason?: string | null | undefined;
9185
9184
  voucher_reference_number?: string | null | undefined;
9185
+ loyalty_discount_reason?: string | null | undefined;
9186
9186
  };
9187
9187
  item_id: import("mongoose").Types.ObjectId;
9188
9188
  menu_id: import("mongoose").Types.ObjectId;
@@ -9312,9 +9312,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9312
9312
  special_discount_name?: string | null | undefined;
9313
9313
  special_discount_reason?: string | null | undefined;
9314
9314
  special_reference_number?: string | null | undefined;
9315
- loyalty_discount_reason?: string | null | undefined;
9316
9315
  voucher_discount_reason?: string | null | undefined;
9317
9316
  voucher_reference_number?: string | null | undefined;
9317
+ loyalty_discount_reason?: string | null | undefined;
9318
9318
  };
9319
9319
  item_id: import("mongoose").Types.ObjectId;
9320
9320
  menu_id: import("mongoose").Types.ObjectId;
@@ -9444,9 +9444,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9444
9444
  special_discount_name?: string | null | undefined;
9445
9445
  special_discount_reason?: string | null | undefined;
9446
9446
  special_reference_number?: string | null | undefined;
9447
- loyalty_discount_reason?: string | null | undefined;
9448
9447
  voucher_discount_reason?: string | null | undefined;
9449
9448
  voucher_reference_number?: string | null | undefined;
9449
+ loyalty_discount_reason?: string | null | undefined;
9450
9450
  };
9451
9451
  item_id: import("mongoose").Types.ObjectId;
9452
9452
  menu_id: import("mongoose").Types.ObjectId;
@@ -9620,9 +9620,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9620
9620
  special_discount_name?: string | null | undefined;
9621
9621
  special_discount_reason?: string | null | undefined;
9622
9622
  special_reference_number?: string | null | undefined;
9623
- loyalty_discount_reason?: string | null | undefined;
9624
9623
  voucher_discount_reason?: string | null | undefined;
9625
9624
  voucher_reference_number?: string | null | undefined;
9625
+ loyalty_discount_reason?: string | null | undefined;
9626
9626
  } | null | undefined;
9627
9627
  total_discount_applied?: number | null | undefined;
9628
9628
  is_surcharge_percentage?: boolean | null | undefined;
@@ -9759,9 +9759,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9759
9759
  special_discount_name?: string | null | undefined;
9760
9760
  special_discount_reason?: string | null | undefined;
9761
9761
  special_reference_number?: string | null | undefined;
9762
- loyalty_discount_reason?: string | null | undefined;
9763
9762
  voucher_discount_reason?: string | null | undefined;
9764
9763
  voucher_reference_number?: string | null | undefined;
9764
+ loyalty_discount_reason?: string | null | undefined;
9765
9765
  };
9766
9766
  item_id: import("mongoose").Types.ObjectId;
9767
9767
  menu_id: import("mongoose").Types.ObjectId;
@@ -9891,9 +9891,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9891
9891
  special_discount_name?: string | null | undefined;
9892
9892
  special_discount_reason?: string | null | undefined;
9893
9893
  special_reference_number?: string | null | undefined;
9894
- loyalty_discount_reason?: string | null | undefined;
9895
9894
  voucher_discount_reason?: string | null | undefined;
9896
9895
  voucher_reference_number?: string | null | undefined;
9896
+ loyalty_discount_reason?: string | null | undefined;
9897
9897
  };
9898
9898
  item_id: import("mongoose").Types.ObjectId;
9899
9899
  menu_id: import("mongoose").Types.ObjectId;
@@ -10023,9 +10023,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10023
10023
  special_discount_name?: string | null | undefined;
10024
10024
  special_discount_reason?: string | null | undefined;
10025
10025
  special_reference_number?: string | null | undefined;
10026
- loyalty_discount_reason?: string | null | undefined;
10027
10026
  voucher_discount_reason?: string | null | undefined;
10028
10027
  voucher_reference_number?: string | null | undefined;
10028
+ loyalty_discount_reason?: string | null | undefined;
10029
10029
  };
10030
10030
  item_id: import("mongoose").Types.ObjectId;
10031
10031
  menu_id: import("mongoose").Types.ObjectId;
@@ -10159,9 +10159,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10159
10159
  special_discount_name?: string | null | undefined;
10160
10160
  special_discount_reason?: string | null | undefined;
10161
10161
  special_reference_number?: string | null | undefined;
10162
- loyalty_discount_reason?: string | null | undefined;
10163
10162
  voucher_discount_reason?: string | null | undefined;
10164
10163
  voucher_reference_number?: string | null | undefined;
10164
+ loyalty_discount_reason?: string | null | undefined;
10165
10165
  };
10166
10166
  item_id: import("mongoose").Types.ObjectId;
10167
10167
  menu_id: import("mongoose").Types.ObjectId;
@@ -10291,9 +10291,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10291
10291
  special_discount_name?: string | null | undefined;
10292
10292
  special_discount_reason?: string | null | undefined;
10293
10293
  special_reference_number?: string | null | undefined;
10294
- loyalty_discount_reason?: string | null | undefined;
10295
10294
  voucher_discount_reason?: string | null | undefined;
10296
10295
  voucher_reference_number?: string | null | undefined;
10296
+ loyalty_discount_reason?: string | null | undefined;
10297
10297
  };
10298
10298
  item_id: import("mongoose").Types.ObjectId;
10299
10299
  menu_id: import("mongoose").Types.ObjectId;
@@ -10423,9 +10423,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10423
10423
  special_discount_name?: string | null | undefined;
10424
10424
  special_discount_reason?: string | null | undefined;
10425
10425
  special_reference_number?: string | null | undefined;
10426
- loyalty_discount_reason?: string | null | undefined;
10427
10426
  voucher_discount_reason?: string | null | undefined;
10428
10427
  voucher_reference_number?: string | null | undefined;
10428
+ loyalty_discount_reason?: string | null | undefined;
10429
10429
  };
10430
10430
  item_id: import("mongoose").Types.ObjectId;
10431
10431
  menu_id: import("mongoose").Types.ObjectId;
@@ -10559,9 +10559,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10559
10559
  special_discount_name?: string | null | undefined;
10560
10560
  special_discount_reason?: string | null | undefined;
10561
10561
  special_reference_number?: string | null | undefined;
10562
- loyalty_discount_reason?: string | null | undefined;
10563
10562
  voucher_discount_reason?: string | null | undefined;
10564
10563
  voucher_reference_number?: string | null | undefined;
10564
+ loyalty_discount_reason?: string | null | undefined;
10565
10565
  };
10566
10566
  item_id: import("mongoose").Types.ObjectId;
10567
10567
  menu_id: import("mongoose").Types.ObjectId;
@@ -10691,9 +10691,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10691
10691
  special_discount_name?: string | null | undefined;
10692
10692
  special_discount_reason?: string | null | undefined;
10693
10693
  special_reference_number?: string | null | undefined;
10694
- loyalty_discount_reason?: string | null | undefined;
10695
10694
  voucher_discount_reason?: string | null | undefined;
10696
10695
  voucher_reference_number?: string | null | undefined;
10696
+ loyalty_discount_reason?: string | null | undefined;
10697
10697
  };
10698
10698
  item_id: import("mongoose").Types.ObjectId;
10699
10699
  menu_id: import("mongoose").Types.ObjectId;
@@ -10823,9 +10823,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10823
10823
  special_discount_name?: string | null | undefined;
10824
10824
  special_discount_reason?: string | null | undefined;
10825
10825
  special_reference_number?: string | null | undefined;
10826
- loyalty_discount_reason?: string | null | undefined;
10827
10826
  voucher_discount_reason?: string | null | undefined;
10828
10827
  voucher_reference_number?: string | null | undefined;
10828
+ loyalty_discount_reason?: string | null | undefined;
10829
10829
  };
10830
10830
  item_id: import("mongoose").Types.ObjectId;
10831
10831
  menu_id: import("mongoose").Types.ObjectId;
@@ -10999,9 +10999,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10999
10999
  special_discount_name?: string | null | undefined;
11000
11000
  special_discount_reason?: string | null | undefined;
11001
11001
  special_reference_number?: string | null | undefined;
11002
- loyalty_discount_reason?: string | null | undefined;
11003
11002
  voucher_discount_reason?: string | null | undefined;
11004
11003
  voucher_reference_number?: string | null | undefined;
11004
+ loyalty_discount_reason?: string | null | undefined;
11005
11005
  } | null | undefined;
11006
11006
  total_discount_applied?: number | null | undefined;
11007
11007
  is_surcharge_percentage?: boolean | null | undefined;
@@ -11226,9 +11226,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11226
11226
  special_discount_name?: string | null | undefined;
11227
11227
  special_discount_reason?: string | null | undefined;
11228
11228
  special_reference_number?: string | null | undefined;
11229
- loyalty_discount_reason?: string | null | undefined;
11230
11229
  voucher_discount_reason?: string | null | undefined;
11231
11230
  voucher_reference_number?: string | null | undefined;
11231
+ loyalty_discount_reason?: string | null | undefined;
11232
11232
  } | null | undefined;
11233
11233
  total_discount_applied?: number | null | undefined;
11234
11234
  is_surcharge_percentage?: boolean | null | undefined;
@@ -11370,9 +11370,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11370
11370
  special_discount_name?: string | null | undefined;
11371
11371
  special_discount_reason?: string | null | undefined;
11372
11372
  special_reference_number?: string | null | undefined;
11373
- loyalty_discount_reason?: string | null | undefined;
11374
11373
  voucher_discount_reason?: string | null | undefined;
11375
11374
  voucher_reference_number?: string | null | undefined;
11375
+ loyalty_discount_reason?: string | null | undefined;
11376
11376
  };
11377
11377
  item_id: import("mongoose").Types.ObjectId;
11378
11378
  menu_id: import("mongoose").Types.ObjectId;
@@ -11502,9 +11502,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11502
11502
  special_discount_name?: string | null | undefined;
11503
11503
  special_discount_reason?: string | null | undefined;
11504
11504
  special_reference_number?: string | null | undefined;
11505
- loyalty_discount_reason?: string | null | undefined;
11506
11505
  voucher_discount_reason?: string | null | undefined;
11507
11506
  voucher_reference_number?: string | null | undefined;
11507
+ loyalty_discount_reason?: string | null | undefined;
11508
11508
  };
11509
11509
  item_id: import("mongoose").Types.ObjectId;
11510
11510
  menu_id: import("mongoose").Types.ObjectId;
@@ -11634,9 +11634,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11634
11634
  special_discount_name?: string | null | undefined;
11635
11635
  special_discount_reason?: string | null | undefined;
11636
11636
  special_reference_number?: string | null | undefined;
11637
- loyalty_discount_reason?: string | null | undefined;
11638
11637
  voucher_discount_reason?: string | null | undefined;
11639
11638
  voucher_reference_number?: string | null | undefined;
11639
+ loyalty_discount_reason?: string | null | undefined;
11640
11640
  };
11641
11641
  item_id: import("mongoose").Types.ObjectId;
11642
11642
  menu_id: import("mongoose").Types.ObjectId;
@@ -11770,9 +11770,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11770
11770
  special_discount_name?: string | null | undefined;
11771
11771
  special_discount_reason?: string | null | undefined;
11772
11772
  special_reference_number?: string | null | undefined;
11773
- loyalty_discount_reason?: string | null | undefined;
11774
11773
  voucher_discount_reason?: string | null | undefined;
11775
11774
  voucher_reference_number?: string | null | undefined;
11775
+ loyalty_discount_reason?: string | null | undefined;
11776
11776
  };
11777
11777
  item_id: import("mongoose").Types.ObjectId;
11778
11778
  menu_id: import("mongoose").Types.ObjectId;
@@ -11902,9 +11902,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11902
11902
  special_discount_name?: string | null | undefined;
11903
11903
  special_discount_reason?: string | null | undefined;
11904
11904
  special_reference_number?: string | null | undefined;
11905
- loyalty_discount_reason?: string | null | undefined;
11906
11905
  voucher_discount_reason?: string | null | undefined;
11907
11906
  voucher_reference_number?: string | null | undefined;
11907
+ loyalty_discount_reason?: string | null | undefined;
11908
11908
  };
11909
11909
  item_id: import("mongoose").Types.ObjectId;
11910
11910
  menu_id: import("mongoose").Types.ObjectId;
@@ -12034,9 +12034,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12034
12034
  special_discount_name?: string | null | undefined;
12035
12035
  special_discount_reason?: string | null | undefined;
12036
12036
  special_reference_number?: string | null | undefined;
12037
- loyalty_discount_reason?: string | null | undefined;
12038
12037
  voucher_discount_reason?: string | null | undefined;
12039
12038
  voucher_reference_number?: string | null | undefined;
12039
+ loyalty_discount_reason?: string | null | undefined;
12040
12040
  };
12041
12041
  item_id: import("mongoose").Types.ObjectId;
12042
12042
  menu_id: import("mongoose").Types.ObjectId;
@@ -12170,9 +12170,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12170
12170
  special_discount_name?: string | null | undefined;
12171
12171
  special_discount_reason?: string | null | undefined;
12172
12172
  special_reference_number?: string | null | undefined;
12173
- loyalty_discount_reason?: string | null | undefined;
12174
12173
  voucher_discount_reason?: string | null | undefined;
12175
12174
  voucher_reference_number?: string | null | undefined;
12175
+ loyalty_discount_reason?: string | null | undefined;
12176
12176
  };
12177
12177
  item_id: import("mongoose").Types.ObjectId;
12178
12178
  menu_id: import("mongoose").Types.ObjectId;
@@ -12302,9 +12302,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12302
12302
  special_discount_name?: string | null | undefined;
12303
12303
  special_discount_reason?: string | null | undefined;
12304
12304
  special_reference_number?: string | null | undefined;
12305
- loyalty_discount_reason?: string | null | undefined;
12306
12305
  voucher_discount_reason?: string | null | undefined;
12307
12306
  voucher_reference_number?: string | null | undefined;
12307
+ loyalty_discount_reason?: string | null | undefined;
12308
12308
  };
12309
12309
  item_id: import("mongoose").Types.ObjectId;
12310
12310
  menu_id: import("mongoose").Types.ObjectId;
@@ -12434,9 +12434,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12434
12434
  special_discount_name?: string | null | undefined;
12435
12435
  special_discount_reason?: string | null | undefined;
12436
12436
  special_reference_number?: string | null | undefined;
12437
- loyalty_discount_reason?: string | null | undefined;
12438
12437
  voucher_discount_reason?: string | null | undefined;
12439
12438
  voucher_reference_number?: string | null | undefined;
12439
+ loyalty_discount_reason?: string | null | undefined;
12440
12440
  };
12441
12441
  item_id: import("mongoose").Types.ObjectId;
12442
12442
  menu_id: import("mongoose").Types.ObjectId;
@@ -12577,9 +12577,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12577
12577
  special_discount_name?: string | null | undefined;
12578
12578
  special_discount_reason?: string | null | undefined;
12579
12579
  special_reference_number?: string | null | undefined;
12580
- loyalty_discount_reason?: string | null | undefined;
12581
12580
  voucher_discount_reason?: string | null | undefined;
12582
12581
  voucher_reference_number?: string | null | undefined;
12582
+ loyalty_discount_reason?: string | null | undefined;
12583
12583
  };
12584
12584
  item_id: import("mongoose").Types.ObjectId;
12585
12585
  menu_id: import("mongoose").Types.ObjectId;
@@ -12709,9 +12709,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12709
12709
  special_discount_name?: string | null | undefined;
12710
12710
  special_discount_reason?: string | null | undefined;
12711
12711
  special_reference_number?: string | null | undefined;
12712
- loyalty_discount_reason?: string | null | undefined;
12713
12712
  voucher_discount_reason?: string | null | undefined;
12714
12713
  voucher_reference_number?: string | null | undefined;
12714
+ loyalty_discount_reason?: string | null | undefined;
12715
12715
  };
12716
12716
  item_id: import("mongoose").Types.ObjectId;
12717
12717
  menu_id: import("mongoose").Types.ObjectId;
@@ -12841,9 +12841,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12841
12841
  special_discount_name?: string | null | undefined;
12842
12842
  special_discount_reason?: string | null | undefined;
12843
12843
  special_reference_number?: string | null | undefined;
12844
- loyalty_discount_reason?: string | null | undefined;
12845
12844
  voucher_discount_reason?: string | null | undefined;
12846
12845
  voucher_reference_number?: string | null | undefined;
12846
+ loyalty_discount_reason?: string | null | undefined;
12847
12847
  };
12848
12848
  item_id: import("mongoose").Types.ObjectId;
12849
12849
  menu_id: import("mongoose").Types.ObjectId;
@@ -12977,9 +12977,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12977
12977
  special_discount_name?: string | null | undefined;
12978
12978
  special_discount_reason?: string | null | undefined;
12979
12979
  special_reference_number?: string | null | undefined;
12980
- loyalty_discount_reason?: string | null | undefined;
12981
12980
  voucher_discount_reason?: string | null | undefined;
12982
12981
  voucher_reference_number?: string | null | undefined;
12982
+ loyalty_discount_reason?: string | null | undefined;
12983
12983
  };
12984
12984
  item_id: import("mongoose").Types.ObjectId;
12985
12985
  menu_id: import("mongoose").Types.ObjectId;
@@ -13109,9 +13109,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13109
13109
  special_discount_name?: string | null | undefined;
13110
13110
  special_discount_reason?: string | null | undefined;
13111
13111
  special_reference_number?: string | null | undefined;
13112
- loyalty_discount_reason?: string | null | undefined;
13113
13112
  voucher_discount_reason?: string | null | undefined;
13114
13113
  voucher_reference_number?: string | null | undefined;
13114
+ loyalty_discount_reason?: string | null | undefined;
13115
13115
  };
13116
13116
  item_id: import("mongoose").Types.ObjectId;
13117
13117
  menu_id: import("mongoose").Types.ObjectId;
@@ -13241,9 +13241,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13241
13241
  special_discount_name?: string | null | undefined;
13242
13242
  special_discount_reason?: string | null | undefined;
13243
13243
  special_reference_number?: string | null | undefined;
13244
- loyalty_discount_reason?: string | null | undefined;
13245
13244
  voucher_discount_reason?: string | null | undefined;
13246
13245
  voucher_reference_number?: string | null | undefined;
13246
+ loyalty_discount_reason?: string | null | undefined;
13247
13247
  };
13248
13248
  item_id: import("mongoose").Types.ObjectId;
13249
13249
  menu_id: import("mongoose").Types.ObjectId;
@@ -13377,9 +13377,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13377
13377
  special_discount_name?: string | null | undefined;
13378
13378
  special_discount_reason?: string | null | undefined;
13379
13379
  special_reference_number?: string | null | undefined;
13380
- loyalty_discount_reason?: string | null | undefined;
13381
13380
  voucher_discount_reason?: string | null | undefined;
13382
13381
  voucher_reference_number?: string | null | undefined;
13382
+ loyalty_discount_reason?: string | null | undefined;
13383
13383
  };
13384
13384
  item_id: import("mongoose").Types.ObjectId;
13385
13385
  menu_id: import("mongoose").Types.ObjectId;
@@ -13509,9 +13509,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13509
13509
  special_discount_name?: string | null | undefined;
13510
13510
  special_discount_reason?: string | null | undefined;
13511
13511
  special_reference_number?: string | null | undefined;
13512
- loyalty_discount_reason?: string | null | undefined;
13513
13512
  voucher_discount_reason?: string | null | undefined;
13514
13513
  voucher_reference_number?: string | null | undefined;
13514
+ loyalty_discount_reason?: string | null | undefined;
13515
13515
  };
13516
13516
  item_id: import("mongoose").Types.ObjectId;
13517
13517
  menu_id: import("mongoose").Types.ObjectId;
@@ -13641,9 +13641,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13641
13641
  special_discount_name?: string | null | undefined;
13642
13642
  special_discount_reason?: string | null | undefined;
13643
13643
  special_reference_number?: string | null | undefined;
13644
- loyalty_discount_reason?: string | null | undefined;
13645
13644
  voucher_discount_reason?: string | null | undefined;
13646
13645
  voucher_reference_number?: string | null | undefined;
13646
+ loyalty_discount_reason?: string | null | undefined;
13647
13647
  };
13648
13648
  item_id: import("mongoose").Types.ObjectId;
13649
13649
  menu_id: import("mongoose").Types.ObjectId;
@@ -13817,9 +13817,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13817
13817
  special_discount_name?: string | null | undefined;
13818
13818
  special_discount_reason?: string | null | undefined;
13819
13819
  special_reference_number?: string | null | undefined;
13820
- loyalty_discount_reason?: string | null | undefined;
13821
13820
  voucher_discount_reason?: string | null | undefined;
13822
13821
  voucher_reference_number?: string | null | undefined;
13822
+ loyalty_discount_reason?: string | null | undefined;
13823
13823
  } | null | undefined;
13824
13824
  total_discount_applied?: number | null | undefined;
13825
13825
  is_surcharge_percentage?: boolean | null | undefined;
@@ -13956,9 +13956,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13956
13956
  special_discount_name?: string | null | undefined;
13957
13957
  special_discount_reason?: string | null | undefined;
13958
13958
  special_reference_number?: string | null | undefined;
13959
- loyalty_discount_reason?: string | null | undefined;
13960
13959
  voucher_discount_reason?: string | null | undefined;
13961
13960
  voucher_reference_number?: string | null | undefined;
13961
+ loyalty_discount_reason?: string | null | undefined;
13962
13962
  };
13963
13963
  item_id: import("mongoose").Types.ObjectId;
13964
13964
  menu_id: import("mongoose").Types.ObjectId;
@@ -14088,9 +14088,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14088
14088
  special_discount_name?: string | null | undefined;
14089
14089
  special_discount_reason?: string | null | undefined;
14090
14090
  special_reference_number?: string | null | undefined;
14091
- loyalty_discount_reason?: string | null | undefined;
14092
14091
  voucher_discount_reason?: string | null | undefined;
14093
14092
  voucher_reference_number?: string | null | undefined;
14093
+ loyalty_discount_reason?: string | null | undefined;
14094
14094
  };
14095
14095
  item_id: import("mongoose").Types.ObjectId;
14096
14096
  menu_id: import("mongoose").Types.ObjectId;
@@ -14220,9 +14220,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14220
14220
  special_discount_name?: string | null | undefined;
14221
14221
  special_discount_reason?: string | null | undefined;
14222
14222
  special_reference_number?: string | null | undefined;
14223
- loyalty_discount_reason?: string | null | undefined;
14224
14223
  voucher_discount_reason?: string | null | undefined;
14225
14224
  voucher_reference_number?: string | null | undefined;
14225
+ loyalty_discount_reason?: string | null | undefined;
14226
14226
  };
14227
14227
  item_id: import("mongoose").Types.ObjectId;
14228
14228
  menu_id: import("mongoose").Types.ObjectId;
@@ -14356,9 +14356,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14356
14356
  special_discount_name?: string | null | undefined;
14357
14357
  special_discount_reason?: string | null | undefined;
14358
14358
  special_reference_number?: string | null | undefined;
14359
- loyalty_discount_reason?: string | null | undefined;
14360
14359
  voucher_discount_reason?: string | null | undefined;
14361
14360
  voucher_reference_number?: string | null | undefined;
14361
+ loyalty_discount_reason?: string | null | undefined;
14362
14362
  };
14363
14363
  item_id: import("mongoose").Types.ObjectId;
14364
14364
  menu_id: import("mongoose").Types.ObjectId;
@@ -14488,9 +14488,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14488
14488
  special_discount_name?: string | null | undefined;
14489
14489
  special_discount_reason?: string | null | undefined;
14490
14490
  special_reference_number?: string | null | undefined;
14491
- loyalty_discount_reason?: string | null | undefined;
14492
14491
  voucher_discount_reason?: string | null | undefined;
14493
14492
  voucher_reference_number?: string | null | undefined;
14493
+ loyalty_discount_reason?: string | null | undefined;
14494
14494
  };
14495
14495
  item_id: import("mongoose").Types.ObjectId;
14496
14496
  menu_id: import("mongoose").Types.ObjectId;
@@ -14620,9 +14620,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14620
14620
  special_discount_name?: string | null | undefined;
14621
14621
  special_discount_reason?: string | null | undefined;
14622
14622
  special_reference_number?: string | null | undefined;
14623
- loyalty_discount_reason?: string | null | undefined;
14624
14623
  voucher_discount_reason?: string | null | undefined;
14625
14624
  voucher_reference_number?: string | null | undefined;
14625
+ loyalty_discount_reason?: string | null | undefined;
14626
14626
  };
14627
14627
  item_id: import("mongoose").Types.ObjectId;
14628
14628
  menu_id: import("mongoose").Types.ObjectId;
@@ -14756,9 +14756,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14756
14756
  special_discount_name?: string | null | undefined;
14757
14757
  special_discount_reason?: string | null | undefined;
14758
14758
  special_reference_number?: string | null | undefined;
14759
- loyalty_discount_reason?: string | null | undefined;
14760
14759
  voucher_discount_reason?: string | null | undefined;
14761
14760
  voucher_reference_number?: string | null | undefined;
14761
+ loyalty_discount_reason?: string | null | undefined;
14762
14762
  };
14763
14763
  item_id: import("mongoose").Types.ObjectId;
14764
14764
  menu_id: import("mongoose").Types.ObjectId;
@@ -14888,9 +14888,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
14888
14888
  special_discount_name?: string | null | undefined;
14889
14889
  special_discount_reason?: string | null | undefined;
14890
14890
  special_reference_number?: string | null | undefined;
14891
- loyalty_discount_reason?: string | null | undefined;
14892
14891
  voucher_discount_reason?: string | null | undefined;
14893
14892
  voucher_reference_number?: string | null | undefined;
14893
+ loyalty_discount_reason?: string | null | undefined;
14894
14894
  };
14895
14895
  item_id: import("mongoose").Types.ObjectId;
14896
14896
  menu_id: import("mongoose").Types.ObjectId;
@@ -15020,9 +15020,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15020
15020
  special_discount_name?: string | null | undefined;
15021
15021
  special_discount_reason?: string | null | undefined;
15022
15022
  special_reference_number?: string | null | undefined;
15023
- loyalty_discount_reason?: string | null | undefined;
15024
15023
  voucher_discount_reason?: string | null | undefined;
15025
15024
  voucher_reference_number?: string | null | undefined;
15025
+ loyalty_discount_reason?: string | null | undefined;
15026
15026
  };
15027
15027
  item_id: import("mongoose").Types.ObjectId;
15028
15028
  menu_id: import("mongoose").Types.ObjectId;
@@ -15196,9 +15196,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15196
15196
  special_discount_name?: string | null | undefined;
15197
15197
  special_discount_reason?: string | null | undefined;
15198
15198
  special_reference_number?: string | null | undefined;
15199
- loyalty_discount_reason?: string | null | undefined;
15200
15199
  voucher_discount_reason?: string | null | undefined;
15201
15200
  voucher_reference_number?: string | null | undefined;
15201
+ loyalty_discount_reason?: string | null | undefined;
15202
15202
  } | null | undefined;
15203
15203
  total_discount_applied?: number | null | undefined;
15204
15204
  is_surcharge_percentage?: boolean | null | undefined;
@@ -15335,9 +15335,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15335
15335
  special_discount_name?: string | null | undefined;
15336
15336
  special_discount_reason?: string | null | undefined;
15337
15337
  special_reference_number?: string | null | undefined;
15338
- loyalty_discount_reason?: string | null | undefined;
15339
15338
  voucher_discount_reason?: string | null | undefined;
15340
15339
  voucher_reference_number?: string | null | undefined;
15340
+ loyalty_discount_reason?: string | null | undefined;
15341
15341
  };
15342
15342
  item_id: import("mongoose").Types.ObjectId;
15343
15343
  menu_id: import("mongoose").Types.ObjectId;
@@ -15467,9 +15467,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15467
15467
  special_discount_name?: string | null | undefined;
15468
15468
  special_discount_reason?: string | null | undefined;
15469
15469
  special_reference_number?: string | null | undefined;
15470
- loyalty_discount_reason?: string | null | undefined;
15471
15470
  voucher_discount_reason?: string | null | undefined;
15472
15471
  voucher_reference_number?: string | null | undefined;
15472
+ loyalty_discount_reason?: string | null | undefined;
15473
15473
  };
15474
15474
  item_id: import("mongoose").Types.ObjectId;
15475
15475
  menu_id: import("mongoose").Types.ObjectId;
@@ -15599,9 +15599,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15599
15599
  special_discount_name?: string | null | undefined;
15600
15600
  special_discount_reason?: string | null | undefined;
15601
15601
  special_reference_number?: string | null | undefined;
15602
- loyalty_discount_reason?: string | null | undefined;
15603
15602
  voucher_discount_reason?: string | null | undefined;
15604
15603
  voucher_reference_number?: string | null | undefined;
15604
+ loyalty_discount_reason?: string | null | undefined;
15605
15605
  };
15606
15606
  item_id: import("mongoose").Types.ObjectId;
15607
15607
  menu_id: import("mongoose").Types.ObjectId;
@@ -15735,9 +15735,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15735
15735
  special_discount_name?: string | null | undefined;
15736
15736
  special_discount_reason?: string | null | undefined;
15737
15737
  special_reference_number?: string | null | undefined;
15738
- loyalty_discount_reason?: string | null | undefined;
15739
15738
  voucher_discount_reason?: string | null | undefined;
15740
15739
  voucher_reference_number?: string | null | undefined;
15740
+ loyalty_discount_reason?: string | null | undefined;
15741
15741
  };
15742
15742
  item_id: import("mongoose").Types.ObjectId;
15743
15743
  menu_id: import("mongoose").Types.ObjectId;
@@ -15867,9 +15867,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15867
15867
  special_discount_name?: string | null | undefined;
15868
15868
  special_discount_reason?: string | null | undefined;
15869
15869
  special_reference_number?: string | null | undefined;
15870
- loyalty_discount_reason?: string | null | undefined;
15871
15870
  voucher_discount_reason?: string | null | undefined;
15872
15871
  voucher_reference_number?: string | null | undefined;
15872
+ loyalty_discount_reason?: string | null | undefined;
15873
15873
  };
15874
15874
  item_id: import("mongoose").Types.ObjectId;
15875
15875
  menu_id: import("mongoose").Types.ObjectId;
@@ -15999,9 +15999,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15999
15999
  special_discount_name?: string | null | undefined;
16000
16000
  special_discount_reason?: string | null | undefined;
16001
16001
  special_reference_number?: string | null | undefined;
16002
- loyalty_discount_reason?: string | null | undefined;
16003
16002
  voucher_discount_reason?: string | null | undefined;
16004
16003
  voucher_reference_number?: string | null | undefined;
16004
+ loyalty_discount_reason?: string | null | undefined;
16005
16005
  };
16006
16006
  item_id: import("mongoose").Types.ObjectId;
16007
16007
  menu_id: import("mongoose").Types.ObjectId;
@@ -16135,9 +16135,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
16135
16135
  special_discount_name?: string | null | undefined;
16136
16136
  special_discount_reason?: string | null | undefined;
16137
16137
  special_reference_number?: string | null | undefined;
16138
- loyalty_discount_reason?: string | null | undefined;
16139
16138
  voucher_discount_reason?: string | null | undefined;
16140
16139
  voucher_reference_number?: string | null | undefined;
16140
+ loyalty_discount_reason?: string | null | undefined;
16141
16141
  };
16142
16142
  item_id: import("mongoose").Types.ObjectId;
16143
16143
  menu_id: import("mongoose").Types.ObjectId;
@@ -16267,9 +16267,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
16267
16267
  special_discount_name?: string | null | undefined;
16268
16268
  special_discount_reason?: string | null | undefined;
16269
16269
  special_reference_number?: string | null | undefined;
16270
- loyalty_discount_reason?: string | null | undefined;
16271
16270
  voucher_discount_reason?: string | null | undefined;
16272
16271
  voucher_reference_number?: string | null | undefined;
16272
+ loyalty_discount_reason?: string | null | undefined;
16273
16273
  };
16274
16274
  item_id: import("mongoose").Types.ObjectId;
16275
16275
  menu_id: import("mongoose").Types.ObjectId;
@@ -16399,9 +16399,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
16399
16399
  special_discount_name?: string | null | undefined;
16400
16400
  special_discount_reason?: string | null | undefined;
16401
16401
  special_reference_number?: string | null | undefined;
16402
- loyalty_discount_reason?: string | null | undefined;
16403
16402
  voucher_discount_reason?: string | null | undefined;
16404
16403
  voucher_reference_number?: string | null | undefined;
16404
+ loyalty_discount_reason?: string | null | undefined;
16405
16405
  };
16406
16406
  item_id: import("mongoose").Types.ObjectId;
16407
16407
  menu_id: import("mongoose").Types.ObjectId;
@@ -16575,9 +16575,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
16575
16575
  special_discount_name?: string | null | undefined;
16576
16576
  special_discount_reason?: string | null | undefined;
16577
16577
  special_reference_number?: string | null | undefined;
16578
- loyalty_discount_reason?: string | null | undefined;
16579
16578
  voucher_discount_reason?: string | null | undefined;
16580
16579
  voucher_reference_number?: string | null | undefined;
16580
+ loyalty_discount_reason?: string | null | undefined;
16581
16581
  } | null | undefined;
16582
16582
  total_discount_applied?: number | null | undefined;
16583
16583
  is_surcharge_percentage?: boolean | null | undefined;
@@ -16802,9 +16802,9 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
16802
16802
  special_discount_name?: string | null | undefined;
16803
16803
  special_discount_reason?: string | null | undefined;
16804
16804
  special_reference_number?: string | null | undefined;
16805
- loyalty_discount_reason?: string | null | undefined;
16806
16805
  voucher_discount_reason?: string | null | undefined;
16807
16806
  voucher_reference_number?: string | null | undefined;
16807
+ loyalty_discount_reason?: string | null | undefined;
16808
16808
  } | null | undefined;
16809
16809
  total_discount_applied?: number | null | undefined;
16810
16810
  is_surcharge_percentage?: boolean | null | undefined;