@managesome/eposmatic-toolkit 0.2.511 → 0.2.513

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.
@@ -404,10 +404,10 @@ export interface IWorker_UpdateWarehouseLotSerialOnCancelPurchaseOrder {
404
404
  uid: string;
405
405
  }
406
406
  export interface ILotSerialMovementDoc {
407
- inventory_code?: string;
408
- lot_number?: string;
409
- serial_number?: string;
410
- quantity?: number;
407
+ inventory_code?: string | null;
408
+ lot_number?: string | null;
409
+ serial_number?: string | null;
410
+ quantity?: number | null;
411
411
  }
412
412
  export interface IWorker_UpdateWarehouseInventoryOnSaleOrderDeliveryStatus {
413
413
  saleOrder: IWarehouseSaleOrder;
@@ -20,6 +20,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
20
20
  received_qty: number;
21
21
  notes?: string | null | undefined;
22
22
  unit_price?: number | null | undefined;
23
+ dispatched_qty?: number | null | undefined;
23
24
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
24
25
  _id: import("mongoose").Types.ObjectId;
25
26
  inventory_code: string;
@@ -29,6 +30,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
29
30
  received_qty: number;
30
31
  notes?: string | null | undefined;
31
32
  unit_price?: number | null | undefined;
33
+ dispatched_qty?: number | null | undefined;
32
34
  }> & {
33
35
  _id: import("mongoose").Types.ObjectId;
34
36
  inventory_code: string;
@@ -38,6 +40,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
38
40
  received_qty: number;
39
41
  notes?: string | null | undefined;
40
42
  unit_price?: number | null | undefined;
43
+ dispatched_qty?: number | null | undefined;
41
44
  }>;
42
45
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
43
46
  ref_id: string;
@@ -205,6 +208,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
205
208
  received_qty: number;
206
209
  notes?: string | null | undefined;
207
210
  unit_price?: number | null | undefined;
211
+ dispatched_qty?: number | null | undefined;
208
212
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
209
213
  _id: import("mongoose").Types.ObjectId;
210
214
  inventory_code: string;
@@ -214,6 +218,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
214
218
  received_qty: number;
215
219
  notes?: string | null | undefined;
216
220
  unit_price?: number | null | undefined;
221
+ dispatched_qty?: number | null | undefined;
217
222
  }> & {
218
223
  _id: import("mongoose").Types.ObjectId;
219
224
  inventory_code: string;
@@ -223,6 +228,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
223
228
  received_qty: number;
224
229
  notes?: string | null | undefined;
225
230
  unit_price?: number | null | undefined;
231
+ dispatched_qty?: number | null | undefined;
226
232
  }>;
227
233
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
228
234
  ref_id: string;
@@ -390,6 +396,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
390
396
  received_qty: number;
391
397
  notes?: string | null | undefined;
392
398
  unit_price?: number | null | undefined;
399
+ dispatched_qty?: number | null | undefined;
393
400
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
394
401
  _id: import("mongoose").Types.ObjectId;
395
402
  inventory_code: string;
@@ -399,6 +406,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
399
406
  received_qty: number;
400
407
  notes?: string | null | undefined;
401
408
  unit_price?: number | null | undefined;
409
+ dispatched_qty?: number | null | undefined;
402
410
  }> & {
403
411
  _id: import("mongoose").Types.ObjectId;
404
412
  inventory_code: string;
@@ -408,6 +416,7 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
408
416
  received_qty: number;
409
417
  notes?: string | null | undefined;
410
418
  unit_price?: number | null | undefined;
419
+ dispatched_qty?: number | null | undefined;
411
420
  }>;
412
421
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
413
422
  ref_id: string;
@@ -45,6 +45,11 @@ const WarehouseInternalMovementItemSchema = new mongoose_1.Schema({
45
45
  min: 0,
46
46
  required: true,
47
47
  },
48
+ dispatched_qty: {
49
+ type: Number,
50
+ min: 0,
51
+ required: false,
52
+ },
48
53
  received_qty: {
49
54
  type: Number,
50
55
  min: 0,
@@ -10,6 +10,7 @@ export interface IWarehouseInternalMovementItem {
10
10
  inventory_code: string;
11
11
  item_name: string;
12
12
  quantity: number;
13
+ dispatched_qty?: number | null;
13
14
  received_qty: number;
14
15
  unit_price?: number;
15
16
  notes?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.511",
3
+ "version": "0.2.513",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",