@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.
- package/lib/helpers/store/cart-actions.d.ts +14 -0
- package/lib/helpers/utils/offer-apply-helpers.d.ts +14 -0
- package/lib/helpers/utils/time-helpers.d.ts +16 -0
- package/lib/helpers/utils/time-helpers.js +57 -4
- package/lib/schemas/models/internal_invoices.d.ts +3 -3
- package/lib/schemas/models/orders.d.ts +153 -111
- package/lib/schemas/models/orders.js +79 -0
- package/lib/schemas/models/tenant_cash_drawer_sessions.d.ts +9 -9
- package/lib/schemas/models/tenant_cash_in_out.d.ts +9 -9
- package/lib/schemas/models/tenant_day_sessions.d.ts +38 -38
- package/lib/schemas/models/tenant_instore_shift_sessions.d.ts +42 -42
- package/lib/schemas/models/tenant_purchase_orders.d.ts +36 -36
- package/lib/schemas/models/tenants.d.ts +60 -60
- package/lib/schemas/models/vouchers.d.ts +3 -3
- package/lib/schemas/models/warehouse_communications.d.ts +3 -3
- package/lib/schemas/models/warehouse_internal_movements.d.ts +6 -6
- package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +63 -63
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +42 -42
- package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +69 -69
- package/lib/schemas/models/warehouse_sale_orders.d.ts +45 -45
- package/lib/schemas/models/warehouses.d.ts +12 -12
- package/lib/schemas/types/orders.d.ts +2 -1
- package/package.json +1 -1
|
@@ -153,9 +153,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
153
153
|
}>;
|
|
154
154
|
price: number;
|
|
155
155
|
order_number: number;
|
|
156
|
-
|
|
157
|
-
amount_earned: number;
|
|
158
|
-
grand_total: number;
|
|
156
|
+
warehouse_id: string;
|
|
159
157
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
160
158
|
updatedAt: NativeDate;
|
|
161
159
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -298,20 +296,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
298
296
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
299
297
|
}>;
|
|
300
298
|
price: number;
|
|
301
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
302
|
-
amount_earned: number;
|
|
303
|
-
grand_total: number;
|
|
304
299
|
staff_details: {
|
|
305
300
|
staff_id: string;
|
|
306
301
|
staff_name?: string | null | undefined;
|
|
307
302
|
staff_mobile?: string | null | undefined;
|
|
308
303
|
staff_email?: string | null | undefined;
|
|
309
304
|
};
|
|
310
|
-
|
|
311
|
-
|
|
305
|
+
amount_earned: number;
|
|
306
|
+
grand_total: number;
|
|
307
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
312
308
|
is_gst_inclusive?: boolean | null | undefined;
|
|
313
309
|
gst?: number | null | undefined;
|
|
314
310
|
gst_amount?: number | null | undefined;
|
|
311
|
+
special_instructions?: string | null | undefined;
|
|
312
|
+
tax_number?: string | null | undefined;
|
|
315
313
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
316
314
|
updatedAt: NativeDate;
|
|
317
315
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -454,20 +452,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
454
452
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
455
453
|
}>;
|
|
456
454
|
price: number;
|
|
457
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
458
|
-
amount_earned: number;
|
|
459
|
-
grand_total: number;
|
|
460
455
|
staff_details: {
|
|
461
456
|
staff_id: string;
|
|
462
457
|
staff_name?: string | null | undefined;
|
|
463
458
|
staff_mobile?: string | null | undefined;
|
|
464
459
|
staff_email?: string | null | undefined;
|
|
465
460
|
};
|
|
466
|
-
|
|
467
|
-
|
|
461
|
+
amount_earned: number;
|
|
462
|
+
grand_total: number;
|
|
463
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
468
464
|
is_gst_inclusive?: boolean | null | undefined;
|
|
469
465
|
gst?: number | null | undefined;
|
|
470
466
|
gst_amount?: number | null | undefined;
|
|
467
|
+
special_instructions?: string | null | undefined;
|
|
468
|
+
tax_number?: string | null | undefined;
|
|
471
469
|
}> & {
|
|
472
470
|
updatedAt: NativeDate;
|
|
473
471
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -610,39 +608,41 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
610
608
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
611
609
|
}>;
|
|
612
610
|
price: number;
|
|
613
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
614
|
-
amount_earned: number;
|
|
615
|
-
grand_total: number;
|
|
616
611
|
staff_details: {
|
|
617
612
|
staff_id: string;
|
|
618
613
|
staff_name?: string | null | undefined;
|
|
619
614
|
staff_mobile?: string | null | undefined;
|
|
620
615
|
staff_email?: string | null | undefined;
|
|
621
616
|
};
|
|
622
|
-
|
|
623
|
-
|
|
617
|
+
amount_earned: number;
|
|
618
|
+
grand_total: number;
|
|
619
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
624
620
|
is_gst_inclusive?: boolean | null | undefined;
|
|
625
621
|
gst?: number | null | undefined;
|
|
626
622
|
gst_amount?: number | null | undefined;
|
|
623
|
+
special_instructions?: string | null | undefined;
|
|
624
|
+
tax_number?: string | null | undefined;
|
|
627
625
|
}>;
|
|
628
626
|
is_deleted: boolean;
|
|
629
627
|
order_status_updated_at: NativeDate;
|
|
630
|
-
warehouse_id: string;
|
|
631
628
|
staff_details: {
|
|
632
629
|
staff_id: string;
|
|
633
630
|
staff_name?: string | null | undefined;
|
|
634
631
|
staff_mobile?: string | null | undefined;
|
|
635
632
|
staff_email?: string | null | undefined;
|
|
636
633
|
};
|
|
634
|
+
amount_earned: number;
|
|
635
|
+
grand_total: number;
|
|
636
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
637
637
|
payment_terms: number;
|
|
638
638
|
cancel_reason?: string | null | undefined;
|
|
639
|
-
special_instructions?: string | null | undefined;
|
|
640
|
-
tax_number?: string | null | undefined;
|
|
641
639
|
delete_reason?: string | null | undefined;
|
|
642
640
|
is_reopened?: boolean | null | undefined;
|
|
643
641
|
is_gst_inclusive?: boolean | null | undefined;
|
|
644
642
|
gst?: number | null | undefined;
|
|
645
643
|
gst_amount?: number | null | undefined;
|
|
644
|
+
special_instructions?: string | null | undefined;
|
|
645
|
+
tax_number?: string | null | undefined;
|
|
646
646
|
vendor_name?: string | null | undefined;
|
|
647
647
|
vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
648
648
|
requested_vendors?: Map<string, {
|
|
@@ -802,9 +802,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
802
802
|
}>;
|
|
803
803
|
price: number;
|
|
804
804
|
order_number: number;
|
|
805
|
-
|
|
806
|
-
amount_earned: number;
|
|
807
|
-
grand_total: number;
|
|
805
|
+
warehouse_id: string;
|
|
808
806
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
809
807
|
updatedAt: NativeDate;
|
|
810
808
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -947,20 +945,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
947
945
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
948
946
|
}>;
|
|
949
947
|
price: number;
|
|
950
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
951
|
-
amount_earned: number;
|
|
952
|
-
grand_total: number;
|
|
953
948
|
staff_details: {
|
|
954
949
|
staff_id: string;
|
|
955
950
|
staff_name?: string | null | undefined;
|
|
956
951
|
staff_mobile?: string | null | undefined;
|
|
957
952
|
staff_email?: string | null | undefined;
|
|
958
953
|
};
|
|
959
|
-
|
|
960
|
-
|
|
954
|
+
amount_earned: number;
|
|
955
|
+
grand_total: number;
|
|
956
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
961
957
|
is_gst_inclusive?: boolean | null | undefined;
|
|
962
958
|
gst?: number | null | undefined;
|
|
963
959
|
gst_amount?: number | null | undefined;
|
|
960
|
+
special_instructions?: string | null | undefined;
|
|
961
|
+
tax_number?: string | null | undefined;
|
|
964
962
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
965
963
|
updatedAt: NativeDate;
|
|
966
964
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1103,20 +1101,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1103
1101
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1104
1102
|
}>;
|
|
1105
1103
|
price: number;
|
|
1106
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1107
|
-
amount_earned: number;
|
|
1108
|
-
grand_total: number;
|
|
1109
1104
|
staff_details: {
|
|
1110
1105
|
staff_id: string;
|
|
1111
1106
|
staff_name?: string | null | undefined;
|
|
1112
1107
|
staff_mobile?: string | null | undefined;
|
|
1113
1108
|
staff_email?: string | null | undefined;
|
|
1114
1109
|
};
|
|
1115
|
-
|
|
1116
|
-
|
|
1110
|
+
amount_earned: number;
|
|
1111
|
+
grand_total: number;
|
|
1112
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1117
1113
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1118
1114
|
gst?: number | null | undefined;
|
|
1119
1115
|
gst_amount?: number | null | undefined;
|
|
1116
|
+
special_instructions?: string | null | undefined;
|
|
1117
|
+
tax_number?: string | null | undefined;
|
|
1120
1118
|
}> & {
|
|
1121
1119
|
updatedAt: NativeDate;
|
|
1122
1120
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1259,39 +1257,41 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1259
1257
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1260
1258
|
}>;
|
|
1261
1259
|
price: number;
|
|
1262
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1263
|
-
amount_earned: number;
|
|
1264
|
-
grand_total: number;
|
|
1265
1260
|
staff_details: {
|
|
1266
1261
|
staff_id: string;
|
|
1267
1262
|
staff_name?: string | null | undefined;
|
|
1268
1263
|
staff_mobile?: string | null | undefined;
|
|
1269
1264
|
staff_email?: string | null | undefined;
|
|
1270
1265
|
};
|
|
1271
|
-
|
|
1272
|
-
|
|
1266
|
+
amount_earned: number;
|
|
1267
|
+
grand_total: number;
|
|
1268
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1273
1269
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1274
1270
|
gst?: number | null | undefined;
|
|
1275
1271
|
gst_amount?: number | null | undefined;
|
|
1272
|
+
special_instructions?: string | null | undefined;
|
|
1273
|
+
tax_number?: string | null | undefined;
|
|
1276
1274
|
}>;
|
|
1277
1275
|
is_deleted: boolean;
|
|
1278
1276
|
order_status_updated_at: NativeDate;
|
|
1279
|
-
warehouse_id: string;
|
|
1280
1277
|
staff_details: {
|
|
1281
1278
|
staff_id: string;
|
|
1282
1279
|
staff_name?: string | null | undefined;
|
|
1283
1280
|
staff_mobile?: string | null | undefined;
|
|
1284
1281
|
staff_email?: string | null | undefined;
|
|
1285
1282
|
};
|
|
1283
|
+
amount_earned: number;
|
|
1284
|
+
grand_total: number;
|
|
1285
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1286
1286
|
payment_terms: number;
|
|
1287
1287
|
cancel_reason?: string | null | undefined;
|
|
1288
|
-
special_instructions?: string | null | undefined;
|
|
1289
|
-
tax_number?: string | null | undefined;
|
|
1290
1288
|
delete_reason?: string | null | undefined;
|
|
1291
1289
|
is_reopened?: boolean | null | undefined;
|
|
1292
1290
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1293
1291
|
gst?: number | null | undefined;
|
|
1294
1292
|
gst_amount?: number | null | undefined;
|
|
1293
|
+
special_instructions?: string | null | undefined;
|
|
1294
|
+
tax_number?: string | null | undefined;
|
|
1295
1295
|
vendor_name?: string | null | undefined;
|
|
1296
1296
|
vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1297
1297
|
requested_vendors?: Map<string, {
|
|
@@ -1451,9 +1451,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1451
1451
|
}>;
|
|
1452
1452
|
price: number;
|
|
1453
1453
|
order_number: number;
|
|
1454
|
-
|
|
1455
|
-
amount_earned: number;
|
|
1456
|
-
grand_total: number;
|
|
1454
|
+
warehouse_id: string;
|
|
1457
1455
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
1458
1456
|
updatedAt: NativeDate;
|
|
1459
1457
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1596,20 +1594,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1596
1594
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1597
1595
|
}>;
|
|
1598
1596
|
price: number;
|
|
1599
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1600
|
-
amount_earned: number;
|
|
1601
|
-
grand_total: number;
|
|
1602
1597
|
staff_details: {
|
|
1603
1598
|
staff_id: string;
|
|
1604
1599
|
staff_name?: string | null | undefined;
|
|
1605
1600
|
staff_mobile?: string | null | undefined;
|
|
1606
1601
|
staff_email?: string | null | undefined;
|
|
1607
1602
|
};
|
|
1608
|
-
|
|
1609
|
-
|
|
1603
|
+
amount_earned: number;
|
|
1604
|
+
grand_total: number;
|
|
1605
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1610
1606
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1611
1607
|
gst?: number | null | undefined;
|
|
1612
1608
|
gst_amount?: number | null | undefined;
|
|
1609
|
+
special_instructions?: string | null | undefined;
|
|
1610
|
+
tax_number?: string | null | undefined;
|
|
1613
1611
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
1614
1612
|
updatedAt: NativeDate;
|
|
1615
1613
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1752,20 +1750,20 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1752
1750
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1753
1751
|
}>;
|
|
1754
1752
|
price: number;
|
|
1755
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1756
|
-
amount_earned: number;
|
|
1757
|
-
grand_total: number;
|
|
1758
1753
|
staff_details: {
|
|
1759
1754
|
staff_id: string;
|
|
1760
1755
|
staff_name?: string | null | undefined;
|
|
1761
1756
|
staff_mobile?: string | null | undefined;
|
|
1762
1757
|
staff_email?: string | null | undefined;
|
|
1763
1758
|
};
|
|
1764
|
-
|
|
1765
|
-
|
|
1759
|
+
amount_earned: number;
|
|
1760
|
+
grand_total: number;
|
|
1761
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1766
1762
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1767
1763
|
gst?: number | null | undefined;
|
|
1768
1764
|
gst_amount?: number | null | undefined;
|
|
1765
|
+
special_instructions?: string | null | undefined;
|
|
1766
|
+
tax_number?: string | null | undefined;
|
|
1769
1767
|
}> & {
|
|
1770
1768
|
updatedAt: NativeDate;
|
|
1771
1769
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1908,39 +1906,41 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1908
1906
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1909
1907
|
}>;
|
|
1910
1908
|
price: number;
|
|
1911
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1912
|
-
amount_earned: number;
|
|
1913
|
-
grand_total: number;
|
|
1914
1909
|
staff_details: {
|
|
1915
1910
|
staff_id: string;
|
|
1916
1911
|
staff_name?: string | null | undefined;
|
|
1917
1912
|
staff_mobile?: string | null | undefined;
|
|
1918
1913
|
staff_email?: string | null | undefined;
|
|
1919
1914
|
};
|
|
1920
|
-
|
|
1921
|
-
|
|
1915
|
+
amount_earned: number;
|
|
1916
|
+
grand_total: number;
|
|
1917
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1922
1918
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1923
1919
|
gst?: number | null | undefined;
|
|
1924
1920
|
gst_amount?: number | null | undefined;
|
|
1921
|
+
special_instructions?: string | null | undefined;
|
|
1922
|
+
tax_number?: string | null | undefined;
|
|
1925
1923
|
}>;
|
|
1926
1924
|
is_deleted: boolean;
|
|
1927
1925
|
order_status_updated_at: NativeDate;
|
|
1928
|
-
warehouse_id: string;
|
|
1929
1926
|
staff_details: {
|
|
1930
1927
|
staff_id: string;
|
|
1931
1928
|
staff_name?: string | null | undefined;
|
|
1932
1929
|
staff_mobile?: string | null | undefined;
|
|
1933
1930
|
staff_email?: string | null | undefined;
|
|
1934
1931
|
};
|
|
1932
|
+
amount_earned: number;
|
|
1933
|
+
grand_total: number;
|
|
1934
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
|
|
1935
1935
|
payment_terms: number;
|
|
1936
1936
|
cancel_reason?: string | null | undefined;
|
|
1937
|
-
special_instructions?: string | null | undefined;
|
|
1938
|
-
tax_number?: string | null | undefined;
|
|
1939
1937
|
delete_reason?: string | null | undefined;
|
|
1940
1938
|
is_reopened?: boolean | null | undefined;
|
|
1941
1939
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1942
1940
|
gst?: number | null | undefined;
|
|
1943
1941
|
gst_amount?: number | null | undefined;
|
|
1942
|
+
special_instructions?: string | null | undefined;
|
|
1943
|
+
tax_number?: string | null | undefined;
|
|
1944
1944
|
vendor_name?: string | null | undefined;
|
|
1945
1945
|
vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1946
1946
|
requested_vendors?: Map<string, {
|
|
@@ -214,11 +214,7 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
214
214
|
refund_reason?: string | null | undefined;
|
|
215
215
|
note?: string | null | undefined;
|
|
216
216
|
}>;
|
|
217
|
-
|
|
218
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
219
|
-
tax_number: string;
|
|
220
|
-
amount_earned: number;
|
|
221
|
-
grand_total: number;
|
|
217
|
+
warehouse_id: string;
|
|
222
218
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
223
219
|
updatedAt: NativeDate;
|
|
224
220
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -423,10 +419,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
423
419
|
note?: string | null | undefined;
|
|
424
420
|
}>;
|
|
425
421
|
special_instructions: string;
|
|
426
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
427
|
-
tax_number: string;
|
|
428
422
|
amount_earned: number;
|
|
429
423
|
grand_total: number;
|
|
424
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
425
|
+
tax_number: string;
|
|
430
426
|
staff_details?: {
|
|
431
427
|
staff_id: string;
|
|
432
428
|
staff_name: string;
|
|
@@ -640,10 +636,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
640
636
|
note?: string | null | undefined;
|
|
641
637
|
}>;
|
|
642
638
|
special_instructions: string;
|
|
643
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
644
|
-
tax_number: string;
|
|
645
639
|
amount_earned: number;
|
|
646
640
|
grand_total: number;
|
|
641
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
642
|
+
tax_number: string;
|
|
647
643
|
staff_details?: {
|
|
648
644
|
staff_id: string;
|
|
649
645
|
staff_name: string;
|
|
@@ -857,10 +853,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
857
853
|
note?: string | null | undefined;
|
|
858
854
|
}>;
|
|
859
855
|
special_instructions: string;
|
|
860
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
861
|
-
tax_number: string;
|
|
862
856
|
amount_earned: number;
|
|
863
857
|
grand_total: number;
|
|
858
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
859
|
+
tax_number: string;
|
|
864
860
|
staff_details?: {
|
|
865
861
|
staff_id: string;
|
|
866
862
|
staff_name: string;
|
|
@@ -874,7 +870,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
874
870
|
amount_collected: number;
|
|
875
871
|
is_deleted: boolean;
|
|
876
872
|
order_status_updated_at: NativeDate;
|
|
877
|
-
warehouse_id: string;
|
|
878
873
|
order_settled_at: NativeDate;
|
|
879
874
|
order_settled_at_mins: number;
|
|
880
875
|
staff_details: {
|
|
@@ -883,16 +878,21 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
883
878
|
staff_mobile: string;
|
|
884
879
|
staff_email: string;
|
|
885
880
|
};
|
|
881
|
+
special_instructions: string;
|
|
882
|
+
amount_earned: number;
|
|
883
|
+
grand_total: number;
|
|
884
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
885
|
+
tax_number: string;
|
|
886
886
|
vendor_name: string;
|
|
887
887
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
888
888
|
cancel_reason?: string | null | undefined;
|
|
889
|
+
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
889
890
|
delete_reason?: string | null | undefined;
|
|
890
891
|
is_reopened?: boolean | null | undefined;
|
|
891
|
-
deferred_settlement?: boolean | null | undefined;
|
|
892
|
-
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
893
892
|
is_gst_inclusive?: boolean | null | undefined;
|
|
894
893
|
gst?: number | null | undefined;
|
|
895
894
|
gst_amount?: number | null | undefined;
|
|
895
|
+
deferred_settlement?: boolean | null | undefined;
|
|
896
896
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
897
897
|
createdAt: NativeDate;
|
|
898
898
|
updatedAt: NativeDate;
|
|
@@ -1103,11 +1103,7 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1103
1103
|
refund_reason?: string | null | undefined;
|
|
1104
1104
|
note?: string | null | undefined;
|
|
1105
1105
|
}>;
|
|
1106
|
-
|
|
1107
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1108
|
-
tax_number: string;
|
|
1109
|
-
amount_earned: number;
|
|
1110
|
-
grand_total: number;
|
|
1106
|
+
warehouse_id: string;
|
|
1111
1107
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
1112
1108
|
updatedAt: NativeDate;
|
|
1113
1109
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1312,10 +1308,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1312
1308
|
note?: string | null | undefined;
|
|
1313
1309
|
}>;
|
|
1314
1310
|
special_instructions: string;
|
|
1315
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1316
|
-
tax_number: string;
|
|
1317
1311
|
amount_earned: number;
|
|
1318
1312
|
grand_total: number;
|
|
1313
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1314
|
+
tax_number: string;
|
|
1319
1315
|
staff_details?: {
|
|
1320
1316
|
staff_id: string;
|
|
1321
1317
|
staff_name: string;
|
|
@@ -1529,10 +1525,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1529
1525
|
note?: string | null | undefined;
|
|
1530
1526
|
}>;
|
|
1531
1527
|
special_instructions: string;
|
|
1532
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1533
|
-
tax_number: string;
|
|
1534
1528
|
amount_earned: number;
|
|
1535
1529
|
grand_total: number;
|
|
1530
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1531
|
+
tax_number: string;
|
|
1536
1532
|
staff_details?: {
|
|
1537
1533
|
staff_id: string;
|
|
1538
1534
|
staff_name: string;
|
|
@@ -1746,10 +1742,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1746
1742
|
note?: string | null | undefined;
|
|
1747
1743
|
}>;
|
|
1748
1744
|
special_instructions: string;
|
|
1749
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1750
|
-
tax_number: string;
|
|
1751
1745
|
amount_earned: number;
|
|
1752
1746
|
grand_total: number;
|
|
1747
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1748
|
+
tax_number: string;
|
|
1753
1749
|
staff_details?: {
|
|
1754
1750
|
staff_id: string;
|
|
1755
1751
|
staff_name: string;
|
|
@@ -1763,7 +1759,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1763
1759
|
amount_collected: number;
|
|
1764
1760
|
is_deleted: boolean;
|
|
1765
1761
|
order_status_updated_at: NativeDate;
|
|
1766
|
-
warehouse_id: string;
|
|
1767
1762
|
order_settled_at: NativeDate;
|
|
1768
1763
|
order_settled_at_mins: number;
|
|
1769
1764
|
staff_details: {
|
|
@@ -1772,16 +1767,21 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1772
1767
|
staff_mobile: string;
|
|
1773
1768
|
staff_email: string;
|
|
1774
1769
|
};
|
|
1770
|
+
special_instructions: string;
|
|
1771
|
+
amount_earned: number;
|
|
1772
|
+
grand_total: number;
|
|
1773
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1774
|
+
tax_number: string;
|
|
1775
1775
|
vendor_name: string;
|
|
1776
1776
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
1777
1777
|
cancel_reason?: string | null | undefined;
|
|
1778
|
+
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1778
1779
|
delete_reason?: string | null | undefined;
|
|
1779
1780
|
is_reopened?: boolean | null | undefined;
|
|
1780
|
-
deferred_settlement?: boolean | null | undefined;
|
|
1781
|
-
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1782
1781
|
is_gst_inclusive?: boolean | null | undefined;
|
|
1783
1782
|
gst?: number | null | undefined;
|
|
1784
1783
|
gst_amount?: number | null | undefined;
|
|
1784
|
+
deferred_settlement?: boolean | null | undefined;
|
|
1785
1785
|
}>> & import("mongoose").FlatRecord<{
|
|
1786
1786
|
createdAt: NativeDate;
|
|
1787
1787
|
updatedAt: NativeDate;
|
|
@@ -1992,11 +1992,7 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1992
1992
|
refund_reason?: string | null | undefined;
|
|
1993
1993
|
note?: string | null | undefined;
|
|
1994
1994
|
}>;
|
|
1995
|
-
|
|
1996
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
1997
|
-
tax_number: string;
|
|
1998
|
-
amount_earned: number;
|
|
1999
|
-
grand_total: number;
|
|
1995
|
+
warehouse_id: string;
|
|
2000
1996
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
2001
1997
|
updatedAt: NativeDate;
|
|
2002
1998
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -2201,10 +2197,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2201
2197
|
note?: string | null | undefined;
|
|
2202
2198
|
}>;
|
|
2203
2199
|
special_instructions: string;
|
|
2204
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2205
|
-
tax_number: string;
|
|
2206
2200
|
amount_earned: number;
|
|
2207
2201
|
grand_total: number;
|
|
2202
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2203
|
+
tax_number: string;
|
|
2208
2204
|
staff_details?: {
|
|
2209
2205
|
staff_id: string;
|
|
2210
2206
|
staff_name: string;
|
|
@@ -2418,10 +2414,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2418
2414
|
note?: string | null | undefined;
|
|
2419
2415
|
}>;
|
|
2420
2416
|
special_instructions: string;
|
|
2421
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2422
|
-
tax_number: string;
|
|
2423
2417
|
amount_earned: number;
|
|
2424
2418
|
grand_total: number;
|
|
2419
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2420
|
+
tax_number: string;
|
|
2425
2421
|
staff_details?: {
|
|
2426
2422
|
staff_id: string;
|
|
2427
2423
|
staff_name: string;
|
|
@@ -2635,10 +2631,10 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2635
2631
|
note?: string | null | undefined;
|
|
2636
2632
|
}>;
|
|
2637
2633
|
special_instructions: string;
|
|
2638
|
-
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2639
|
-
tax_number: string;
|
|
2640
2634
|
amount_earned: number;
|
|
2641
2635
|
grand_total: number;
|
|
2636
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2637
|
+
tax_number: string;
|
|
2642
2638
|
staff_details?: {
|
|
2643
2639
|
staff_id: string;
|
|
2644
2640
|
staff_name: string;
|
|
@@ -2652,7 +2648,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2652
2648
|
amount_collected: number;
|
|
2653
2649
|
is_deleted: boolean;
|
|
2654
2650
|
order_status_updated_at: NativeDate;
|
|
2655
|
-
warehouse_id: string;
|
|
2656
2651
|
order_settled_at: NativeDate;
|
|
2657
2652
|
order_settled_at_mins: number;
|
|
2658
2653
|
staff_details: {
|
|
@@ -2661,16 +2656,21 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2661
2656
|
staff_mobile: string;
|
|
2662
2657
|
staff_email: string;
|
|
2663
2658
|
};
|
|
2659
|
+
special_instructions: string;
|
|
2660
|
+
amount_earned: number;
|
|
2661
|
+
grand_total: number;
|
|
2662
|
+
order_status: WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
|
|
2663
|
+
tax_number: string;
|
|
2664
2664
|
vendor_name: string;
|
|
2665
2665
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
2666
2666
|
cancel_reason?: string | null | undefined;
|
|
2667
|
+
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
2667
2668
|
delete_reason?: string | null | undefined;
|
|
2668
2669
|
is_reopened?: boolean | null | undefined;
|
|
2669
|
-
deferred_settlement?: boolean | null | undefined;
|
|
2670
|
-
rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
2671
2670
|
is_gst_inclusive?: boolean | null | undefined;
|
|
2672
2671
|
gst?: number | null | undefined;
|
|
2673
2672
|
gst_amount?: number | null | undefined;
|
|
2673
|
+
deferred_settlement?: boolean | null | undefined;
|
|
2674
2674
|
}> & Required<{
|
|
2675
2675
|
_id: import("mongoose").Types.ObjectId;
|
|
2676
2676
|
}> & {
|