@managesome/eposmatic-toolkit 0.2.551 → 0.2.553

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.
@@ -153,11 +153,9 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
153
153
  }>;
154
154
  price: number;
155
155
  order_number: number;
156
- special_instructions: string;
157
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
158
- tax_number: string;
159
- amount_earned: number;
160
- grand_total: number;
156
+ warehouse_id: string;
157
+ client_name: string;
158
+ client_id: import("mongoose").Types.ObjectId;
161
159
  iterations: import("mongoose").Types.DocumentArray<{
162
160
  updatedAt: NativeDate;
163
161
  categories: import("mongoose").Types.DocumentArray<{
@@ -300,17 +298,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
300
298
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
301
299
  }>;
302
300
  price: number;
303
- special_instructions: string;
304
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
305
- tax_number: string;
306
- amount_earned: number;
307
- grand_total: number;
308
301
  staff_details: {
309
302
  staff_id: string;
310
303
  staff_name: string;
311
304
  staff_mobile: string;
312
305
  staff_email: string;
313
306
  };
307
+ special_instructions: string;
308
+ amount_earned: number;
309
+ grand_total: number;
310
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
311
+ tax_number: string;
314
312
  is_gst_inclusive?: boolean | null | undefined;
315
313
  gst?: number | null | undefined;
316
314
  gst_amount?: number | null | undefined;
@@ -456,17 +454,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
456
454
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
457
455
  }>;
458
456
  price: number;
459
- special_instructions: string;
460
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
461
- tax_number: string;
462
- amount_earned: number;
463
- grand_total: number;
464
457
  staff_details: {
465
458
  staff_id: string;
466
459
  staff_name: string;
467
460
  staff_mobile: string;
468
461
  staff_email: string;
469
462
  };
463
+ special_instructions: string;
464
+ amount_earned: number;
465
+ grand_total: number;
466
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
467
+ tax_number: string;
470
468
  is_gst_inclusive?: boolean | null | undefined;
471
469
  gst?: number | null | undefined;
472
470
  gst_amount?: number | null | undefined;
@@ -612,32 +610,34 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
612
610
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
613
611
  }>;
614
612
  price: number;
615
- special_instructions: string;
616
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
617
- tax_number: string;
618
- amount_earned: number;
619
- grand_total: number;
620
613
  staff_details: {
621
614
  staff_id: string;
622
615
  staff_name: string;
623
616
  staff_mobile: string;
624
617
  staff_email: string;
625
618
  };
619
+ special_instructions: string;
620
+ amount_earned: number;
621
+ grand_total: number;
622
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
623
+ tax_number: string;
626
624
  is_gst_inclusive?: boolean | null | undefined;
627
625
  gst?: number | null | undefined;
628
626
  gst_amount?: number | null | undefined;
629
627
  }>;
630
628
  is_deleted: boolean;
631
629
  order_status_updated_at: NativeDate;
632
- warehouse_id: string;
633
- client_name: string;
634
- client_id: import("mongoose").Types.ObjectId;
635
630
  staff_details: {
636
631
  staff_id: string;
637
632
  staff_name: string;
638
633
  staff_mobile: string;
639
634
  staff_email: string;
640
635
  };
636
+ special_instructions: string;
637
+ amount_earned: number;
638
+ grand_total: number;
639
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
640
+ tax_number: string;
641
641
  payment_terms: number;
642
642
  cancel_reason?: string | null | undefined;
643
643
  delete_reason?: string | null | undefined;
@@ -802,11 +802,9 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
802
802
  }>;
803
803
  price: number;
804
804
  order_number: number;
805
- special_instructions: string;
806
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
807
- tax_number: string;
808
- amount_earned: number;
809
- grand_total: number;
805
+ warehouse_id: string;
806
+ client_name: string;
807
+ client_id: import("mongoose").Types.ObjectId;
810
808
  iterations: import("mongoose").Types.DocumentArray<{
811
809
  updatedAt: NativeDate;
812
810
  categories: import("mongoose").Types.DocumentArray<{
@@ -949,17 +947,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
949
947
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
950
948
  }>;
951
949
  price: number;
952
- special_instructions: string;
953
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
954
- tax_number: string;
955
- amount_earned: number;
956
- grand_total: number;
957
950
  staff_details: {
958
951
  staff_id: string;
959
952
  staff_name: string;
960
953
  staff_mobile: string;
961
954
  staff_email: string;
962
955
  };
956
+ special_instructions: string;
957
+ amount_earned: number;
958
+ grand_total: number;
959
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
960
+ tax_number: string;
963
961
  is_gst_inclusive?: boolean | null | undefined;
964
962
  gst?: number | null | undefined;
965
963
  gst_amount?: number | null | undefined;
@@ -1105,17 +1103,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1105
1103
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
1106
1104
  }>;
1107
1105
  price: number;
1108
- special_instructions: string;
1109
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1110
- tax_number: string;
1111
- amount_earned: number;
1112
- grand_total: number;
1113
1106
  staff_details: {
1114
1107
  staff_id: string;
1115
1108
  staff_name: string;
1116
1109
  staff_mobile: string;
1117
1110
  staff_email: string;
1118
1111
  };
1112
+ special_instructions: string;
1113
+ amount_earned: number;
1114
+ grand_total: number;
1115
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1116
+ tax_number: string;
1119
1117
  is_gst_inclusive?: boolean | null | undefined;
1120
1118
  gst?: number | null | undefined;
1121
1119
  gst_amount?: number | null | undefined;
@@ -1261,32 +1259,34 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1261
1259
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
1262
1260
  }>;
1263
1261
  price: number;
1264
- special_instructions: string;
1265
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1266
- tax_number: string;
1267
- amount_earned: number;
1268
- grand_total: number;
1269
1262
  staff_details: {
1270
1263
  staff_id: string;
1271
1264
  staff_name: string;
1272
1265
  staff_mobile: string;
1273
1266
  staff_email: string;
1274
1267
  };
1268
+ special_instructions: string;
1269
+ amount_earned: number;
1270
+ grand_total: number;
1271
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1272
+ tax_number: string;
1275
1273
  is_gst_inclusive?: boolean | null | undefined;
1276
1274
  gst?: number | null | undefined;
1277
1275
  gst_amount?: number | null | undefined;
1278
1276
  }>;
1279
1277
  is_deleted: boolean;
1280
1278
  order_status_updated_at: NativeDate;
1281
- warehouse_id: string;
1282
- client_name: string;
1283
- client_id: import("mongoose").Types.ObjectId;
1284
1279
  staff_details: {
1285
1280
  staff_id: string;
1286
1281
  staff_name: string;
1287
1282
  staff_mobile: string;
1288
1283
  staff_email: string;
1289
1284
  };
1285
+ special_instructions: string;
1286
+ amount_earned: number;
1287
+ grand_total: number;
1288
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1289
+ tax_number: string;
1290
1290
  payment_terms: number;
1291
1291
  cancel_reason?: string | null | undefined;
1292
1292
  delete_reason?: string | null | undefined;
@@ -1451,11 +1451,9 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1451
1451
  }>;
1452
1452
  price: number;
1453
1453
  order_number: number;
1454
- special_instructions: string;
1455
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1456
- tax_number: string;
1457
- amount_earned: number;
1458
- grand_total: number;
1454
+ warehouse_id: string;
1455
+ client_name: string;
1456
+ client_id: import("mongoose").Types.ObjectId;
1459
1457
  iterations: import("mongoose").Types.DocumentArray<{
1460
1458
  updatedAt: NativeDate;
1461
1459
  categories: import("mongoose").Types.DocumentArray<{
@@ -1598,17 +1596,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1598
1596
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
1599
1597
  }>;
1600
1598
  price: number;
1601
- special_instructions: string;
1602
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1603
- tax_number: string;
1604
- amount_earned: number;
1605
- grand_total: number;
1606
1599
  staff_details: {
1607
1600
  staff_id: string;
1608
1601
  staff_name: string;
1609
1602
  staff_mobile: string;
1610
1603
  staff_email: string;
1611
1604
  };
1605
+ special_instructions: string;
1606
+ amount_earned: number;
1607
+ grand_total: number;
1608
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1609
+ tax_number: string;
1612
1610
  is_gst_inclusive?: boolean | null | undefined;
1613
1611
  gst?: number | null | undefined;
1614
1612
  gst_amount?: number | null | undefined;
@@ -1754,17 +1752,17 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1754
1752
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
1755
1753
  }>;
1756
1754
  price: number;
1757
- special_instructions: string;
1758
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1759
- tax_number: string;
1760
- amount_earned: number;
1761
- grand_total: number;
1762
1755
  staff_details: {
1763
1756
  staff_id: string;
1764
1757
  staff_name: string;
1765
1758
  staff_mobile: string;
1766
1759
  staff_email: string;
1767
1760
  };
1761
+ special_instructions: string;
1762
+ amount_earned: number;
1763
+ grand_total: number;
1764
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1765
+ tax_number: string;
1768
1766
  is_gst_inclusive?: boolean | null | undefined;
1769
1767
  gst?: number | null | undefined;
1770
1768
  gst_amount?: number | null | undefined;
@@ -1910,32 +1908,34 @@ export declare const SaleOrderRFQSchema: Schema<any, import("mongoose").Model<an
1910
1908
  category_id?: import("mongoose").Types.ObjectId | null | undefined;
1911
1909
  }>;
1912
1910
  price: number;
1913
- special_instructions: string;
1914
- order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1915
- tax_number: string;
1916
- amount_earned: number;
1917
- grand_total: number;
1918
1911
  staff_details: {
1919
1912
  staff_id: string;
1920
1913
  staff_name: string;
1921
1914
  staff_mobile: string;
1922
1915
  staff_email: string;
1923
1916
  };
1917
+ special_instructions: string;
1918
+ amount_earned: number;
1919
+ grand_total: number;
1920
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1921
+ tax_number: string;
1924
1922
  is_gst_inclusive?: boolean | null | undefined;
1925
1923
  gst?: number | null | undefined;
1926
1924
  gst_amount?: number | null | undefined;
1927
1925
  }>;
1928
1926
  is_deleted: boolean;
1929
1927
  order_status_updated_at: NativeDate;
1930
- warehouse_id: string;
1931
- client_name: string;
1932
- client_id: import("mongoose").Types.ObjectId;
1933
1928
  staff_details: {
1934
1929
  staff_id: string;
1935
1930
  staff_name: string;
1936
1931
  staff_mobile: string;
1937
1932
  staff_email: string;
1938
1933
  };
1934
+ special_instructions: string;
1935
+ amount_earned: number;
1936
+ grand_total: number;
1937
+ order_status: WAREHOUSE_SALE_ORDER_RFQ_STATUS_ENUM;
1938
+ tax_number: string;
1939
1939
  payment_terms: number;
1940
1940
  cancel_reason?: string | null | undefined;
1941
1941
  delete_reason?: string | null | undefined;
@@ -153,11 +153,9 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
153
153
  }>;
154
154
  price: number;
155
155
  order_number: number;
156
- special_instructions: string;
157
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
158
- tax_number: string;
159
- amount_earned: number;
160
- grand_total: number;
156
+ warehouse_id: string;
157
+ client_name: string;
158
+ client_id: import("mongoose").Types.ObjectId;
161
159
  iterations: import("mongoose").Types.DocumentArray<{
162
160
  updatedAt: NativeDate;
163
161
  categories: import("mongoose").Types.DocumentArray<{
@@ -301,10 +299,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
301
299
  }>;
302
300
  price: number;
303
301
  special_instructions: string;
304
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
305
- tax_number: string;
306
302
  amount_earned: number;
307
303
  grand_total: number;
304
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
305
+ tax_number: string;
308
306
  staff_details?: {
309
307
  staff_id: string;
310
308
  staff_name: string;
@@ -457,10 +455,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
457
455
  }>;
458
456
  price: number;
459
457
  special_instructions: string;
460
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
461
- tax_number: string;
462
458
  amount_earned: number;
463
459
  grand_total: number;
460
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
461
+ tax_number: string;
464
462
  staff_details?: {
465
463
  staff_id: string;
466
464
  staff_name: string;
@@ -613,10 +611,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
613
611
  }>;
614
612
  price: number;
615
613
  special_instructions: string;
616
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
617
- tax_number: string;
618
614
  amount_earned: number;
619
615
  grand_total: number;
616
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
617
+ tax_number: string;
620
618
  staff_details?: {
621
619
  staff_id: string;
622
620
  staff_name: string;
@@ -630,9 +628,6 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
630
628
  amount_collected: number;
631
629
  is_deleted: boolean;
632
630
  order_status_updated_at: NativeDate;
633
- warehouse_id: string;
634
- client_name: string;
635
- client_id: import("mongoose").Types.ObjectId;
636
631
  order_settled_at: NativeDate;
637
632
  order_settled_at_mins: number;
638
633
  staff_details: {
@@ -641,10 +636,15 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
641
636
  staff_mobile: string;
642
637
  staff_email: string;
643
638
  };
639
+ special_instructions: string;
640
+ amount_earned: number;
641
+ grand_total: number;
642
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
643
+ tax_number: string;
644
644
  cancel_reason?: string | null | undefined;
645
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
645
646
  delete_reason?: string | null | undefined;
646
647
  is_reopened?: boolean | null | undefined;
647
- rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
648
648
  is_gst_inclusive?: boolean | null | undefined;
649
649
  gst?: number | null | undefined;
650
650
  gst_amount?: number | null | undefined;
@@ -797,11 +797,9 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
797
797
  }>;
798
798
  price: number;
799
799
  order_number: number;
800
- special_instructions: string;
801
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
802
- tax_number: string;
803
- amount_earned: number;
804
- grand_total: number;
800
+ warehouse_id: string;
801
+ client_name: string;
802
+ client_id: import("mongoose").Types.ObjectId;
805
803
  iterations: import("mongoose").Types.DocumentArray<{
806
804
  updatedAt: NativeDate;
807
805
  categories: import("mongoose").Types.DocumentArray<{
@@ -945,10 +943,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
945
943
  }>;
946
944
  price: number;
947
945
  special_instructions: string;
948
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
949
- tax_number: string;
950
946
  amount_earned: number;
951
947
  grand_total: number;
948
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
949
+ tax_number: string;
952
950
  staff_details?: {
953
951
  staff_id: string;
954
952
  staff_name: string;
@@ -1101,10 +1099,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1101
1099
  }>;
1102
1100
  price: number;
1103
1101
  special_instructions: string;
1104
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1105
- tax_number: string;
1106
1102
  amount_earned: number;
1107
1103
  grand_total: number;
1104
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1105
+ tax_number: string;
1108
1106
  staff_details?: {
1109
1107
  staff_id: string;
1110
1108
  staff_name: string;
@@ -1257,10 +1255,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1257
1255
  }>;
1258
1256
  price: number;
1259
1257
  special_instructions: string;
1260
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1261
- tax_number: string;
1262
1258
  amount_earned: number;
1263
1259
  grand_total: number;
1260
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1261
+ tax_number: string;
1264
1262
  staff_details?: {
1265
1263
  staff_id: string;
1266
1264
  staff_name: string;
@@ -1274,9 +1272,6 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1274
1272
  amount_collected: number;
1275
1273
  is_deleted: boolean;
1276
1274
  order_status_updated_at: NativeDate;
1277
- warehouse_id: string;
1278
- client_name: string;
1279
- client_id: import("mongoose").Types.ObjectId;
1280
1275
  order_settled_at: NativeDate;
1281
1276
  order_settled_at_mins: number;
1282
1277
  staff_details: {
@@ -1285,10 +1280,15 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1285
1280
  staff_mobile: string;
1286
1281
  staff_email: string;
1287
1282
  };
1283
+ special_instructions: string;
1284
+ amount_earned: number;
1285
+ grand_total: number;
1286
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1287
+ tax_number: string;
1288
1288
  cancel_reason?: string | null | undefined;
1289
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
1289
1290
  delete_reason?: string | null | undefined;
1290
1291
  is_reopened?: boolean | null | undefined;
1291
- rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
1292
1292
  is_gst_inclusive?: boolean | null | undefined;
1293
1293
  gst?: number | null | undefined;
1294
1294
  gst_amount?: number | null | undefined;
@@ -1441,11 +1441,9 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1441
1441
  }>;
1442
1442
  price: number;
1443
1443
  order_number: number;
1444
- special_instructions: string;
1445
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1446
- tax_number: string;
1447
- amount_earned: number;
1448
- grand_total: number;
1444
+ warehouse_id: string;
1445
+ client_name: string;
1446
+ client_id: import("mongoose").Types.ObjectId;
1449
1447
  iterations: import("mongoose").Types.DocumentArray<{
1450
1448
  updatedAt: NativeDate;
1451
1449
  categories: import("mongoose").Types.DocumentArray<{
@@ -1589,10 +1587,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1589
1587
  }>;
1590
1588
  price: number;
1591
1589
  special_instructions: string;
1592
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1593
- tax_number: string;
1594
1590
  amount_earned: number;
1595
1591
  grand_total: number;
1592
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1593
+ tax_number: string;
1596
1594
  staff_details?: {
1597
1595
  staff_id: string;
1598
1596
  staff_name: string;
@@ -1745,10 +1743,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1745
1743
  }>;
1746
1744
  price: number;
1747
1745
  special_instructions: string;
1748
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1749
- tax_number: string;
1750
1746
  amount_earned: number;
1751
1747
  grand_total: number;
1748
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1749
+ tax_number: string;
1752
1750
  staff_details?: {
1753
1751
  staff_id: string;
1754
1752
  staff_name: string;
@@ -1901,10 +1899,10 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1901
1899
  }>;
1902
1900
  price: number;
1903
1901
  special_instructions: string;
1904
- order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1905
- tax_number: string;
1906
1902
  amount_earned: number;
1907
1903
  grand_total: number;
1904
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1905
+ tax_number: string;
1908
1906
  staff_details?: {
1909
1907
  staff_id: string;
1910
1908
  staff_name: string;
@@ -1918,9 +1916,6 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1918
1916
  amount_collected: number;
1919
1917
  is_deleted: boolean;
1920
1918
  order_status_updated_at: NativeDate;
1921
- warehouse_id: string;
1922
- client_name: string;
1923
- client_id: import("mongoose").Types.ObjectId;
1924
1919
  order_settled_at: NativeDate;
1925
1920
  order_settled_at_mins: number;
1926
1921
  staff_details: {
@@ -1929,10 +1924,15 @@ export declare const WarehouseSaleOrdersSchema: Schema<any, import("mongoose").M
1929
1924
  staff_mobile: string;
1930
1925
  staff_email: string;
1931
1926
  };
1927
+ special_instructions: string;
1928
+ amount_earned: number;
1929
+ grand_total: number;
1930
+ order_status: WAREHOUSE_SALES_ORDER_STATUS_ENUM;
1931
+ tax_number: string;
1932
1932
  cancel_reason?: string | null | undefined;
1933
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
1933
1934
  delete_reason?: string | null | undefined;
1934
1935
  is_reopened?: boolean | null | undefined;
1935
- rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
1936
1936
  is_gst_inclusive?: boolean | null | undefined;
1937
1937
  gst?: number | null | undefined;
1938
1938
  gst_amount?: number | null | undefined;
@@ -16,10 +16,6 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
16
16
  brand_id: string;
17
17
  active: boolean;
18
18
  country_code: COUNTRY_CODE_ENUM;
19
- public_business_name: string;
20
- brand_color: string;
21
- country_name: COUNTRY_NAME_ENUM;
22
- coordinates: number[];
23
19
  currency_symbol: CURRENCY_SYMBOL_ENUM;
24
20
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
25
21
  support_email: string;
@@ -28,7 +24,11 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
28
24
  currency_code: CURRENCY_CODE_ENUM;
29
25
  currency_name: CURRENCY_NAME_ENUM;
30
26
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
27
+ country_name: COUNTRY_NAME_ENUM;
31
28
  country_flag: COUNTRY_FLAG_ENUM;
29
+ coordinates: number[];
30
+ brand_color: string;
31
+ public_business_name: string;
32
32
  im_card_gst: number;
33
33
  im_cash_gst: number;
34
34
  default_im_gst_type: GST_TYPE_ENUM;
@@ -70,10 +70,6 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
70
70
  brand_id: string;
71
71
  active: boolean;
72
72
  country_code: COUNTRY_CODE_ENUM;
73
- public_business_name: string;
74
- brand_color: string;
75
- country_name: COUNTRY_NAME_ENUM;
76
- coordinates: number[];
77
73
  currency_symbol: CURRENCY_SYMBOL_ENUM;
78
74
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
79
75
  support_email: string;
@@ -82,7 +78,11 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
82
78
  currency_code: CURRENCY_CODE_ENUM;
83
79
  currency_name: CURRENCY_NAME_ENUM;
84
80
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
81
+ country_name: COUNTRY_NAME_ENUM;
85
82
  country_flag: COUNTRY_FLAG_ENUM;
83
+ coordinates: number[];
84
+ brand_color: string;
85
+ public_business_name: string;
86
86
  im_card_gst: number;
87
87
  im_cash_gst: number;
88
88
  default_im_gst_type: GST_TYPE_ENUM;
@@ -124,10 +124,6 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
124
124
  brand_id: string;
125
125
  active: boolean;
126
126
  country_code: COUNTRY_CODE_ENUM;
127
- public_business_name: string;
128
- brand_color: string;
129
- country_name: COUNTRY_NAME_ENUM;
130
- coordinates: number[];
131
127
  currency_symbol: CURRENCY_SYMBOL_ENUM;
132
128
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
133
129
  support_email: string;
@@ -136,7 +132,11 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
136
132
  currency_code: CURRENCY_CODE_ENUM;
137
133
  currency_name: CURRENCY_NAME_ENUM;
138
134
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
135
+ country_name: COUNTRY_NAME_ENUM;
139
136
  country_flag: COUNTRY_FLAG_ENUM;
137
+ coordinates: number[];
138
+ brand_color: string;
139
+ public_business_name: string;
140
140
  im_card_gst: number;
141
141
  im_cash_gst: number;
142
142
  default_im_gst_type: GST_TYPE_ENUM;
@@ -1,4 +1,5 @@
1
1
  import { GIFT_CARD_REWARD_TYPE_ENUM, ORDER_ITEM_TYPE_ENUM, ORDER_STATUS_ENUM, PAYMENT_METHOD_EXPECTED_ENUM, PAYMENT_PROVIDERS_ENUM, PAYMENT_STATUS_ENUM, PAYMENT_TYPE_ENUM, PLATFORMS_ENUM, SPLIT_BILL_TYPE_ENUM } from '../../constants';
2
+ import { ILocalTimeFields } from '../../helpers';
2
3
  export interface IOrderCourse {
3
4
  name: string;
4
5
  course_id: string;
@@ -184,7 +185,7 @@ export interface IOrderPayment {
184
185
  payment_id: string | null;
185
186
  note?: string | null;
186
187
  }
187
- export interface IOrder extends CommonOptionalFields {
188
+ export interface IOrder extends CommonOptionalFields, Partial<ILocalTimeFields> {
188
189
  _id: string;
189
190
  tenant_id: string;
190
191
  source_tenant_id?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.551",
3
+ "version": "0.2.553",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",