synunu-libs 1.0.129 → 1.0.131

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 (41) hide show
  1. package/dist/constants/patterns.constant.d.ts +14 -0
  2. package/dist/constants/patterns.constant.d.ts.map +1 -1
  3. package/dist/constants/patterns.constant.js +2 -0
  4. package/dist/constants/patterns.constant.js.map +1 -1
  5. package/dist/constants/permission.constant.d.ts +12 -0
  6. package/dist/constants/permission.constant.d.ts.map +1 -1
  7. package/dist/constants/permission.constant.js +2 -0
  8. package/dist/constants/permission.constant.js.map +1 -1
  9. package/dist/dto/index.d.ts +6 -0
  10. package/dist/dto/index.d.ts.map +1 -1
  11. package/dist/dto/index.js +6 -0
  12. package/dist/dto/index.js.map +1 -1
  13. package/dist/dto/inventory-inbound.dto.d.ts +18 -0
  14. package/dist/dto/inventory-inbound.dto.d.ts.map +1 -0
  15. package/dist/dto/inventory-inbound.dto.js +62 -0
  16. package/dist/dto/inventory-inbound.dto.js.map +1 -0
  17. package/dist/dto/inventory-outbound.dto.d.ts +18 -0
  18. package/dist/dto/inventory-outbound.dto.d.ts.map +1 -0
  19. package/dist/dto/inventory-outbound.dto.js +62 -0
  20. package/dist/dto/inventory-outbound.dto.js.map +1 -0
  21. package/dist/dto/receive-inventory-component.dto.d.ts +16 -0
  22. package/dist/dto/receive-inventory-component.dto.d.ts.map +1 -0
  23. package/dist/dto/receive-inventory-component.dto.js +69 -0
  24. package/dist/dto/receive-inventory-component.dto.js.map +1 -0
  25. package/dist/dto/receive-inventory-line-item.dto.d.ts +35 -0
  26. package/dist/dto/receive-inventory-line-item.dto.d.ts.map +1 -0
  27. package/dist/dto/receive-inventory-line-item.dto.js +142 -0
  28. package/dist/dto/receive-inventory-line-item.dto.js.map +1 -0
  29. package/dist/dto/receive-inventory.dto.d.ts +28 -13
  30. package/dist/dto/receive-inventory.dto.d.ts.map +1 -1
  31. package/dist/dto/receive-inventory.dto.js +84 -25
  32. package/dist/dto/receive-inventory.dto.js.map +1 -1
  33. package/dist/enum/index.d.ts +1 -0
  34. package/dist/enum/index.d.ts.map +1 -1
  35. package/dist/enum/index.js +1 -0
  36. package/dist/enum/index.js.map +1 -1
  37. package/dist/enum/receive-inventory.enum.d.ts +6 -0
  38. package/dist/enum/receive-inventory.enum.d.ts.map +1 -0
  39. package/dist/enum/receive-inventory.enum.js +12 -0
  40. package/dist/enum/receive-inventory.enum.js.map +1 -0
  41. package/package.json +1 -1
@@ -337,6 +337,20 @@ export declare const MESSAGE_PATTERNS: {
337
337
  readonly UPDATE: `${string}_update`;
338
338
  readonly DELETE: `${string}_delete`;
339
339
  } & ExtraPatterns<never>;
340
+ readonly INVENTORY_INBOUNDS: {
341
+ readonly FIND_ALL: `${string}_find_all`;
342
+ readonly FIND_BY_ID: `${string}_find_by_id`;
343
+ readonly CREATE: `${string}_create`;
344
+ readonly UPDATE: `${string}_update`;
345
+ readonly DELETE: `${string}_delete`;
346
+ } & ExtraPatterns<never>;
347
+ readonly INVENTORY_OUTBOUNDS: {
348
+ readonly FIND_ALL: `${string}_find_all`;
349
+ readonly FIND_BY_ID: `${string}_find_by_id`;
350
+ readonly CREATE: `${string}_create`;
351
+ readonly UPDATE: `${string}_update`;
352
+ readonly DELETE: `${string}_delete`;
353
+ } & ExtraPatterns<never>;
340
354
  };
341
355
  readonly SETTING_SERVICE: {
342
356
  readonly SETTING: {
@@ -1 +1 @@
1
- {"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6InB,CAAC"}
1
+ {"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJnB,CAAC"}
@@ -117,6 +117,8 @@ exports.MESSAGE_PATTERNS = {
117
117
  INVENTORY_ITEMS: crudPatterns("inventoryItems"),
118
118
  INVENTORY_LEVELS: crudPatterns("inventoryLevels"),
119
119
  PURCHASE_ORDERS: crudPatterns("purchaseOrders"),
120
+ INVENTORY_INBOUNDS: crudPatterns("inventoryInbounds"),
121
+ INVENTORY_OUTBOUNDS: crudPatterns("inventoryOutbounds"),
120
122
  },
121
123
  SETTING_SERVICE: {
122
124
  SETTING: crudPatterns("setting", {
@@ -1 +1 @@
1
- {"version":3,"file":"patterns.constant.js","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,YAAY,CACnB,MAAc,EACd,KAAwB;IAExB,MAAM,IAAI,GAAG;QACX,QAAQ,EAAE,GAAG,MAAM,WAAW;QAC9B,UAAU,EAAE,GAAG,MAAM,aAAa;QAClC,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAC1B,CAAC;AACrB,CAAC;AAEY,QAAA,gBAAgB,GAAG;IAC9B,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,YAAY;YACnB,aAAa,EAAE,oBAAoB;YACnC,aAAa,EAAE,oBAAoB;SACpC;QACD,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,aAAa,EAAE,oBAAoB;YACnC,gBAAgB,EAAE,uBAAuB;YACzC,eAAe,EAAE,sBAAsB;YACvC,cAAc,EAAE,qBAAqB;SACtC,CAAC;QACF,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,YAAY,EAAE,mBAAmB;SAClC,CAAC;QACF,UAAU,EAAE,YAAY,CAAC,YAAY,EAAE;YACrC,WAAW,EAAE,wBAAwB;YACrC,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,4BAA4B;YAC7C,eAAe,EAAE,4BAA4B;SAC9C,CAAC;QACF,YAAY,EAAE,YAAY,CAAC,cAAc,EAAE;YACzC,YAAY,EAAE,2BAA2B;YACzC,YAAY,EAAE,2BAA2B;YACzC,cAAc,EAA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Ae,EAAE,mCAAmC;YACpD,WAAW,EAAE,+BAA+B;SAC7C,CAAC;QACF,iBAAiB,EAAE,YAAY,CAAC,kBAAkB,EAAE;YAClD,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,4BAA4B;YACxC,aAAa,EAAE,+BAA+B;YAC9C,YAAY,EAAE,8BAA8B;YAC5C,OAAO,EAAE,yBAAyB;YAClC,YAAY,EAAE,8BAA8B;SAC7C,CAAC;QACF,eAAe,EAAE,YAAY,CAAC,gBAAgB,CAAC;QAC/C,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAAC;QACjD,eAAe,EAAE,YAAY,CAAC,gBAAgB,CAAC;QAE/C,kBAAkB,EAAE,YAAY,CAAC,mBAAmB,CAAC;QAErD,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,CAAC;KAC1D;IAEC,eAAe,EAAE;QACf,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,WAAW,EAAE,qBAAqB;YAClC,YAAY,EAAE,sBAAsB;SACrC,CAAC;QACF,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;KAC7B;CACO,CAAC"}
@@ -308,6 +308,18 @@ export declare const PERMISSIONS: {
308
308
  readonly UPDATE: `${string}:update`;
309
309
  readonly DELETE: `${string}:delete`;
310
310
  } & ExtraPermissions<never>;
311
+ readonly INVENTORY_INBOUNDS: {
312
+ readonly READ: `${string}:read`;
313
+ readonly CREATE: `${string}:create`;
314
+ readonly UPDATE: `${string}:update`;
315
+ readonly DELETE: `${string}:delete`;
316
+ } & ExtraPermissions<never>;
317
+ readonly INVENTORY_OUTBOUNDS: {
318
+ readonly READ: `${string}:read`;
319
+ readonly CREATE: `${string}:create`;
320
+ readonly UPDATE: `${string}:update`;
321
+ readonly DELETE: `${string}:delete`;
322
+ } & ExtraPermissions<never>;
311
323
  };
312
324
  readonly SETTINGS: {
313
325
  readonly THEMES: "themes";
@@ -1 +1 @@
1
- {"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAiB5D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHd,CAAC"}
1
+ {"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAiB5D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHd,CAAC"}
@@ -99,6 +99,8 @@ exports.PERMISSIONS = {
99
99
  INVENTORY_ITEMS: crudPermissions("inventoryItems"),
100
100
  INVENTORY_LEVELS: crudPermissions("inventoryLevels"),
101
101
  PURCHASE_ORDERS: crudPermissions("purchaseOrders"),
102
+ INVENTORY_INBOUNDS: crudPermissions("inventoryInbounds"),
103
+ INVENTORY_OUTBOUNDS: crudPermissions("inventoryOutbounds"),
102
104
  },
103
105
  SETTINGS: {
104
106
  THEMES: "themes",
@@ -1 +1 @@
1
- {"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CACvB,CAAC;AACxB,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,QAAQ,EAAE,eAAe,CAAC,UAAU,EAAE;YACpC,cAAc,EAAE,yBAAyB;SAC1C,CAAC;QACF,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,YAAY,EAAE,eAAe,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;QACR,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
1
+ {"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CACvB,CAAC;AACxB,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa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yB;YAClC,YAAY,EAAE,8BAA8B;SAC7C,CAAC;QACF,eAAe,EAAE,eAAe,CAAC,gBAAgB,CAAC;QAClD,gBAAgB,EAAE,eAAe,CAAC,iBAAiB,CAAC;QACpD,eAAe,EAAE,eAAe,CAAC,gBAAgB,CAAC;QAClD,kBAAkB,EAAE,eAAe,CAAC,mBAAmB,CAAC;QACxD,mBAAmB,EAAE,eAAe,CAAC,oBAAoB,CAAC;KAC3D;IAED,QAAQ,EAAE;QACR,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
@@ -12,8 +12,10 @@ export * from "./customer-tag.dto";
12
12
  export * from "./customer.dto";
13
13
  export * from "./date-range.input";
14
14
  export * from "./inventory-adjustment.dto";
15
+ export * from "./inventory-inbound.dto";
15
16
  export * from "./inventory-item.dto";
16
17
  export * from "./inventory-level.dto";
18
+ export * from "./inventory-outbound.dto";
17
19
  export * from "./inventory-storage.dto";
18
20
  export * from "./label-template.dto";
19
21
  export * from "./membership.dto";
@@ -31,7 +33,11 @@ export * from "./profile.dto";
31
33
  export * from "./province.dto";
32
34
  export * from "./publication.dto";
33
35
  export * from "./purchase-order.dto";
36
+ export * from "./purchase-order-line-item.dto";
37
+ export * from "./purchase-order-component.dto";
34
38
  export * from "./receive-inventory.dto";
39
+ export * from "./receive-inventory-line-item.dto";
40
+ export * from "./receive-inventory-component.dto";
35
41
  export * from "./roles.dto";
36
42
  export * from "./supplier.dto";
37
43
  export * from "./tag.dto";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1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,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
package/dist/dto/index.js CHANGED
@@ -29,8 +29,10 @@ __exportStar(require("./customer-tag.dto"), exports);
29
29
  __exportStar(require("./customer.dto"), exports);
30
30
  __exportStar(require("./date-range.input"), exports);
31
31
  __exportStar(require("./inventory-adjustment.dto"), exports);
32
+ __exportStar(require("./inventory-inbound.dto"), exports);
32
33
  __exportStar(require("./inventory-item.dto"), exports);
33
34
  __exportStar(require("./inventory-level.dto"), exports);
35
+ __exportStar(require("./inventory-outbound.dto"), exports);
34
36
  __exportStar(require("./inventory-storage.dto"), exports);
35
37
  __exportStar(require("./label-template.dto"), exports);
36
38
  __exportStar(require("./membership.dto"), exports);
@@ -48,7 +50,11 @@ __exportStar(require("./profile.dto"), exports);
48
50
  __exportStar(require("./province.dto"), exports);
49
51
  __exportStar(require("./publication.dto"), exports);
50
52
  __exportStar(require("./purchase-order.dto"), exports);
53
+ __exportStar(require("./purchase-order-line-item.dto"), exports);
54
+ __exportStar(require("./purchase-order-component.dto"), exports);
51
55
  __exportStar(require("./receive-inventory.dto"), exports);
56
+ __exportStar(require("./receive-inventory-line-item.dto"), exports);
57
+ __exportStar(require("./receive-inventory-component.dto"), exports);
52
58
  __exportStar(require("./roles.dto"), exports);
53
59
  __exportStar(require("./supplier.dto"), exports);
54
60
  __exportStar(require("./tag.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,gDAA8B;AAC9B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2DAAyC;AACzC,0DAAwC;AAC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AClD,8CAA4B;AAC5B,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B"}
@@ -0,0 +1,18 @@
1
+ import { DateRangeInput } from "./date-range.input";
2
+ import { OrderByInput } from "./order-by.input";
3
+ export declare class CreateInventoryInboundInput {
4
+ name: string;
5
+ description?: string;
6
+ }
7
+ export declare class InventoryInboundFilterInput {
8
+ searchKey?: string;
9
+ orderBy?: OrderByInput[];
10
+ createdAt?: DateRangeInput;
11
+ updatedAt?: DateRangeInput;
12
+ }
13
+ declare const UpdateInventoryInboundInput_base: import("@nestjs/common").Type<Partial<CreateInventoryInboundInput>>;
14
+ export declare class UpdateInventoryInboundInput extends UpdateInventoryInboundInput_base {
15
+ _id: string;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=inventory-inbound.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-inbound.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-inbound.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,2BAA2B;IAEtC,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,2BAA2B;IAEtC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,2BAA4B,SAAQ,gCAEhD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateInventoryInboundInput = exports.InventoryInboundFilterInput = exports.CreateInventoryInboundInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const date_range_input_1 = require("./date-range.input");
15
+ const order_by_input_1 = require("./order-by.input");
16
+ let CreateInventoryInboundInput = class CreateInventoryInboundInput {
17
+ };
18
+ exports.CreateInventoryInboundInput = CreateInventoryInboundInput;
19
+ __decorate([
20
+ (0, graphql_1.Field)(),
21
+ __metadata("design:type", String)
22
+ ], CreateInventoryInboundInput.prototype, "name", void 0);
23
+ __decorate([
24
+ (0, graphql_1.Field)({ nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], CreateInventoryInboundInput.prototype, "description", void 0);
27
+ exports.CreateInventoryInboundInput = CreateInventoryInboundInput = __decorate([
28
+ (0, graphql_1.InputType)()
29
+ ], CreateInventoryInboundInput);
30
+ let InventoryInboundFilterInput = class InventoryInboundFilterInput {
31
+ };
32
+ exports.InventoryInboundFilterInput = InventoryInboundFilterInput;
33
+ __decorate([
34
+ (0, graphql_1.Field)(() => String, { nullable: true }),
35
+ __metadata("design:type", String)
36
+ ], InventoryInboundFilterInput.prototype, "searchKey", void 0);
37
+ __decorate([
38
+ (0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
39
+ __metadata("design:type", Array)
40
+ ], InventoryInboundFilterInput.prototype, "orderBy", void 0);
41
+ __decorate([
42
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
43
+ __metadata("design:type", date_range_input_1.DateRangeInput)
44
+ ], InventoryInboundFilterInput.prototype, "createdAt", void 0);
45
+ __decorate([
46
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
47
+ __metadata("design:type", date_range_input_1.DateRangeInput)
48
+ ], InventoryInboundFilterInput.prototype, "updatedAt", void 0);
49
+ exports.InventoryInboundFilterInput = InventoryInboundFilterInput = __decorate([
50
+ (0, graphql_1.InputType)()
51
+ ], InventoryInboundFilterInput);
52
+ let UpdateInventoryInboundInput = class UpdateInventoryInboundInput extends (0, graphql_1.PartialType)(CreateInventoryInboundInput) {
53
+ };
54
+ exports.UpdateInventoryInboundInput = UpdateInventoryInboundInput;
55
+ __decorate([
56
+ (0, graphql_1.Field)(() => String),
57
+ __metadata("design:type", String)
58
+ ], UpdateInventoryInboundInput.prototype, "_id", void 0);
59
+ exports.UpdateInventoryInboundInput = UpdateInventoryInboundInput = __decorate([
60
+ (0, graphql_1.InputType)()
61
+ ], UpdateInventoryInboundInput);
62
+ //# sourceMappingURL=inventory-inbound.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-inbound.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-inbound.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAMvC,CAAA;AANY,kEAA2B;AAEtC;IADC,IAAA,eAAK,GAAE;;yDACK;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACL;sCALV,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAMvC;AAGM,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAYvC,CAAA;AAZY,kEAA2B;AAEtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;8DAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;8DAAC;sCAXhB,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAYvC;AAGM,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,IAAA,qBAAW,EAC1D,2BAA2B,CAC5B;CAGA,CAAA;AALY,kEAA2B;AAItC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACR;sCAJD,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAKvC"}
@@ -0,0 +1,18 @@
1
+ import { DateRangeInput } from "./date-range.input";
2
+ import { OrderByInput } from "./order-by.input";
3
+ export declare class CreateInventoryOutboundInput {
4
+ name: string;
5
+ description?: string;
6
+ }
7
+ export declare class InventoryOutboundFilterInput {
8
+ searchKey?: string;
9
+ orderBy?: OrderByInput[];
10
+ createdAt?: DateRangeInput;
11
+ updatedAt?: DateRangeInput;
12
+ }
13
+ declare const UpdateInventoryOutboundInput_base: import("@nestjs/common").Type<Partial<CreateInventoryOutboundInput>>;
14
+ export declare class UpdateInventoryOutboundInput extends UpdateInventoryOutboundInput_base {
15
+ _id: string;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=inventory-outbound.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-outbound.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-outbound.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,4BAA4B;IAEvC,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,4BAA4B;IAEvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,4BAA6B,SAAQ,iCAEjD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateInventoryOutboundInput = exports.InventoryOutboundFilterInput = exports.CreateInventoryOutboundInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const date_range_input_1 = require("./date-range.input");
15
+ const order_by_input_1 = require("./order-by.input");
16
+ let CreateInventoryOutboundInput = class CreateInventoryOutboundInput {
17
+ };
18
+ exports.CreateInventoryOutboundInput = CreateInventoryOutboundInput;
19
+ __decorate([
20
+ (0, graphql_1.Field)(),
21
+ __metadata("design:type", String)
22
+ ], CreateInventoryOutboundInput.prototype, "name", void 0);
23
+ __decorate([
24
+ (0, graphql_1.Field)({ nullable: true }),
25
+ __metadata("design:type", String)
26
+ ], CreateInventoryOutboundInput.prototype, "description", void 0);
27
+ exports.CreateInventoryOutboundInput = CreateInventoryOutboundInput = __decorate([
28
+ (0, graphql_1.InputType)()
29
+ ], CreateInventoryOutboundInput);
30
+ let InventoryOutboundFilterInput = class InventoryOutboundFilterInput {
31
+ };
32
+ exports.InventoryOutboundFilterInput = InventoryOutboundFilterInput;
33
+ __decorate([
34
+ (0, graphql_1.Field)(() => String, { nullable: true }),
35
+ __metadata("design:type", String)
36
+ ], InventoryOutboundFilterInput.prototype, "searchKey", void 0);
37
+ __decorate([
38
+ (0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
39
+ __metadata("design:type", Array)
40
+ ], InventoryOutboundFilterInput.prototype, "orderBy", void 0);
41
+ __decorate([
42
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
43
+ __metadata("design:type", date_range_input_1.DateRangeInput)
44
+ ], InventoryOutboundFilterInput.prototype, "createdAt", void 0);
45
+ __decorate([
46
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
47
+ __metadata("design:type", date_range_input_1.DateRangeInput)
48
+ ], InventoryOutboundFilterInput.prototype, "updatedAt", void 0);
49
+ exports.InventoryOutboundFilterInput = InventoryOutboundFilterInput = __decorate([
50
+ (0, graphql_1.InputType)()
51
+ ], InventoryOutboundFilterInput);
52
+ let UpdateInventoryOutboundInput = class UpdateInventoryOutboundInput extends (0, graphql_1.PartialType)(CreateInventoryOutboundInput) {
53
+ };
54
+ exports.UpdateInventoryOutboundInput = UpdateInventoryOutboundInput;
55
+ __decorate([
56
+ (0, graphql_1.Field)(() => String),
57
+ __metadata("design:type", String)
58
+ ], UpdateInventoryOutboundInput.prototype, "_id", void 0);
59
+ exports.UpdateInventoryOutboundInput = UpdateInventoryOutboundInput = __decorate([
60
+ (0, graphql_1.InputType)()
61
+ ], UpdateInventoryOutboundInput);
62
+ //# sourceMappingURL=inventory-outbound.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-outbound.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-outbound.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAGzC,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAMxC,CAAA;AANY,oEAA4B;AAEvC;IADC,IAAA,eAAK,GAAE;;0DACK;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACL;uCALV,4BAA4B;IADxC,IAAA,mBAAS,GAAE;GACC,4BAA4B,CAMxC;AAGM,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAYxC,CAAA;AAZY,oEAA4B;AAEvC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;+DAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;+DAAC;uCAXhB,4BAA4B;IADxC,IAAA,mBAAS,GAAE;GACC,4BAA4B,CAYxC;AAGM,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,IAAA,qBAAW,EAC3D,4BAA4B,CAC7B;CAGA,CAAA;AALY,oEAA4B;AAIvC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yDACR;uCAJD,4BAA4B;IADxC,IAAA,mBAAS,GAAE;GACC,4BAA4B,CAKxC"}
@@ -0,0 +1,16 @@
1
+ import { EProductType } from "../enum";
2
+ export declare class ReceiveInventoryComponentInput {
3
+ id: string;
4
+ productId: string;
5
+ variantId: string;
6
+ inventoryItemId: string;
7
+ name?: string;
8
+ title?: string;
9
+ sku?: string;
10
+ barcode?: string;
11
+ type: EProductType;
12
+ ratio: number;
13
+ receivedQuantity?: number;
14
+ rejectedQuantity?: number;
15
+ }
16
+ //# sourceMappingURL=receive-inventory-component.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory-component.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory-component.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,qBACa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,eAAe,EAAE,MAAM,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,YAAY,CAAC;IAGnB,KAAK,EAAE,MAAM,CAAC;IAGd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReceiveInventoryComponentInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const enum_1 = require("../enum");
15
+ let ReceiveInventoryComponentInput = class ReceiveInventoryComponentInput {
16
+ };
17
+ exports.ReceiveInventoryComponentInput = ReceiveInventoryComponentInput;
18
+ __decorate([
19
+ (0, graphql_1.Field)(() => String),
20
+ __metadata("design:type", String)
21
+ ], ReceiveInventoryComponentInput.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, graphql_1.Field)(() => graphql_1.ID),
24
+ __metadata("design:type", String)
25
+ ], ReceiveInventoryComponentInput.prototype, "productId", void 0);
26
+ __decorate([
27
+ (0, graphql_1.Field)(() => graphql_1.ID),
28
+ __metadata("design:type", String)
29
+ ], ReceiveInventoryComponentInput.prototype, "variantId", void 0);
30
+ __decorate([
31
+ (0, graphql_1.Field)(() => String),
32
+ __metadata("design:type", String)
33
+ ], ReceiveInventoryComponentInput.prototype, "inventoryItemId", void 0);
34
+ __decorate([
35
+ (0, graphql_1.Field)({ nullable: true }),
36
+ __metadata("design:type", String)
37
+ ], ReceiveInventoryComponentInput.prototype, "name", void 0);
38
+ __decorate([
39
+ (0, graphql_1.Field)({ nullable: true }),
40
+ __metadata("design:type", String)
41
+ ], ReceiveInventoryComponentInput.prototype, "title", void 0);
42
+ __decorate([
43
+ (0, graphql_1.Field)({ nullable: true }),
44
+ __metadata("design:type", String)
45
+ ], ReceiveInventoryComponentInput.prototype, "sku", void 0);
46
+ __decorate([
47
+ (0, graphql_1.Field)({ nullable: true }),
48
+ __metadata("design:type", String)
49
+ ], ReceiveInventoryComponentInput.prototype, "barcode", void 0);
50
+ __decorate([
51
+ (0, graphql_1.Field)(() => enum_1.EProductType, { defaultValue: enum_1.EProductType.NORMAL }),
52
+ __metadata("design:type", String)
53
+ ], ReceiveInventoryComponentInput.prototype, "type", void 0);
54
+ __decorate([
55
+ (0, graphql_1.Field)(() => graphql_1.Float),
56
+ __metadata("design:type", Number)
57
+ ], ReceiveInventoryComponentInput.prototype, "ratio", void 0);
58
+ __decorate([
59
+ (0, graphql_1.Field)(() => graphql_1.Int, { defaultValue: 0 }),
60
+ __metadata("design:type", Number)
61
+ ], ReceiveInventoryComponentInput.prototype, "receivedQuantity", void 0);
62
+ __decorate([
63
+ (0, graphql_1.Field)(() => graphql_1.Int, { defaultValue: 0 }),
64
+ __metadata("design:type", Number)
65
+ ], ReceiveInventoryComponentInput.prototype, "rejectedQuantity", void 0);
66
+ exports.ReceiveInventoryComponentInput = ReceiveInventoryComponentInput = __decorate([
67
+ (0, graphql_1.InputType)()
68
+ ], ReceiveInventoryComponentInput);
69
+ //# sourceMappingURL=receive-inventory-component.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory-component.dto.js","sourceRoot":"","sources":["../../src/dto/receive-inventory-component.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,kCAAuC;AAGhC,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;CAoC1C,CAAA;AApCY,wEAA8B;AAEzC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACT;AAGX;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;iEACE;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;iEACE;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uEACI;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACX;AAGf;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACb;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACT;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,mBAAY,EAAE,EAAE,YAAY,EAAE,mBAAY,CAAC,MAAM,EAAE,CAAC;;4DAC9C;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAK,CAAC;;6DACL;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;wEACZ;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;wEACZ;yCAnCf,8BAA8B;IAD1C,IAAA,mBAAS,GAAE;GACC,8BAA8B,CAoC1C"}
@@ -0,0 +1,35 @@
1
+ import { ReceiveInventoryComponentInput } from "./receive-inventory-component.dto";
2
+ import { EProductType, EDiscountType } from "../enum";
3
+ export declare class ReceiveInventoryLineItemInput {
4
+ id: string;
5
+ productId: string;
6
+ variantId: string;
7
+ inventoryItemId: string;
8
+ name?: string;
9
+ title?: string;
10
+ variantTitle?: string;
11
+ sku?: string;
12
+ barcode?: string;
13
+ unit?: string;
14
+ type: EProductType;
15
+ price: number;
16
+ quantity: number;
17
+ receivedQuantity?: number;
18
+ rejectedQuantity?: number;
19
+ discountValue?: number;
20
+ discountType?: EDiscountType;
21
+ taxTitle?: string;
22
+ taxRate?: number;
23
+ excludedTaxPrice?: number;
24
+ lineAmount?: number;
25
+ excludedTaxLineAmount?: number;
26
+ discountAmount?: number;
27
+ excludedTaxDistributedDiscountAmount?: number;
28
+ lineAmountForTaxCalculating?: number;
29
+ taxAmount?: number;
30
+ totalLineAmountAfterTax?: number;
31
+ note?: string;
32
+ position?: number;
33
+ components?: ReceiveInventoryComponentInput[];
34
+ }
35
+ //# sourceMappingURL=receive-inventory-line-item.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory-line-item.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory-line-item.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEtD,qBACa,6BAA6B;IAExC,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,eAAe,EAAE,MAAM,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,YAAY,CAAC;IAGnB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,YAAY,CAAC,EAAE,aAAa,CAAC;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAG/B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,oCAAoC,CAAC,EAAE,MAAM,CAAC;IAG9C,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAGrC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAGjC,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC/C"}
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReceiveInventoryLineItemInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const receive_inventory_component_dto_1 = require("./receive-inventory-component.dto");
15
+ const enum_1 = require("../enum");
16
+ let ReceiveInventoryLineItemInput = class ReceiveInventoryLineItemInput {
17
+ };
18
+ exports.ReceiveInventoryLineItemInput = ReceiveInventoryLineItemInput;
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => String),
21
+ __metadata("design:type", String)
22
+ ], ReceiveInventoryLineItemInput.prototype, "id", void 0);
23
+ __decorate([
24
+ (0, graphql_1.Field)(() => graphql_1.ID),
25
+ __metadata("design:type", String)
26
+ ], ReceiveInventoryLineItemInput.prototype, "productId", void 0);
27
+ __decorate([
28
+ (0, graphql_1.Field)(() => graphql_1.ID),
29
+ __metadata("design:type", String)
30
+ ], ReceiveInventoryLineItemInput.prototype, "variantId", void 0);
31
+ __decorate([
32
+ (0, graphql_1.Field)(() => String),
33
+ __metadata("design:type", String)
34
+ ], ReceiveInventoryLineItemInput.prototype, "inventoryItemId", void 0);
35
+ __decorate([
36
+ (0, graphql_1.Field)({ nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], ReceiveInventoryLineItemInput.prototype, "name", void 0);
39
+ __decorate([
40
+ (0, graphql_1.Field)({ nullable: true }),
41
+ __metadata("design:type", String)
42
+ ], ReceiveInventoryLineItemInput.prototype, "title", void 0);
43
+ __decorate([
44
+ (0, graphql_1.Field)({ nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], ReceiveInventoryLineItemInput.prototype, "variantTitle", void 0);
47
+ __decorate([
48
+ (0, graphql_1.Field)({ nullable: true }),
49
+ __metadata("design:type", String)
50
+ ], ReceiveInventoryLineItemInput.prototype, "sku", void 0);
51
+ __decorate([
52
+ (0, graphql_1.Field)({ nullable: true }),
53
+ __metadata("design:type", String)
54
+ ], ReceiveInventoryLineItemInput.prototype, "barcode", void 0);
55
+ __decorate([
56
+ (0, graphql_1.Field)({ nullable: true }),
57
+ __metadata("design:type", String)
58
+ ], ReceiveInventoryLineItemInput.prototype, "unit", void 0);
59
+ __decorate([
60
+ (0, graphql_1.Field)(() => enum_1.EProductType, { defaultValue: enum_1.EProductType.NORMAL }),
61
+ __metadata("design:type", String)
62
+ ], ReceiveInventoryLineItemInput.prototype, "type", void 0);
63
+ __decorate([
64
+ (0, graphql_1.Field)(() => graphql_1.Int),
65
+ __metadata("design:type", Number)
66
+ ], ReceiveInventoryLineItemInput.prototype, "price", void 0);
67
+ __decorate([
68
+ (0, graphql_1.Field)(() => graphql_1.Int),
69
+ __metadata("design:type", Number)
70
+ ], ReceiveInventoryLineItemInput.prototype, "quantity", void 0);
71
+ __decorate([
72
+ (0, graphql_1.Field)(() => graphql_1.Int, { defaultValue: 0 }),
73
+ __metadata("design:type", Number)
74
+ ], ReceiveInventoryLineItemInput.prototype, "receivedQuantity", void 0);
75
+ __decorate([
76
+ (0, graphql_1.Field)(() => graphql_1.Int, { defaultValue: 0 }),
77
+ __metadata("design:type", Number)
78
+ ], ReceiveInventoryLineItemInput.prototype, "rejectedQuantity", void 0);
79
+ __decorate([
80
+ (0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
81
+ __metadata("design:type", Number)
82
+ ], ReceiveInventoryLineItemInput.prototype, "discountValue", void 0);
83
+ __decorate([
84
+ (0, graphql_1.Field)(() => enum_1.EDiscountType, { nullable: true }),
85
+ __metadata("design:type", String)
86
+ ], ReceiveInventoryLineItemInput.prototype, "discountType", void 0);
87
+ __decorate([
88
+ (0, graphql_1.Field)({ nullable: true }),
89
+ __metadata("design:type", String)
90
+ ], ReceiveInventoryLineItemInput.prototype, "taxTitle", void 0);
91
+ __decorate([
92
+ (0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
93
+ __metadata("design:type", Number)
94
+ ], ReceiveInventoryLineItemInput.prototype, "taxRate", void 0);
95
+ __decorate([
96
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
97
+ __metadata("design:type", Number)
98
+ ], ReceiveInventoryLineItemInput.prototype, "excludedTaxPrice", void 0);
99
+ __decorate([
100
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
101
+ __metadata("design:type", Number)
102
+ ], ReceiveInventoryLineItemInput.prototype, "lineAmount", void 0);
103
+ __decorate([
104
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
105
+ __metadata("design:type", Number)
106
+ ], ReceiveInventoryLineItemInput.prototype, "excludedTaxLineAmount", void 0);
107
+ __decorate([
108
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
109
+ __metadata("design:type", Number)
110
+ ], ReceiveInventoryLineItemInput.prototype, "discountAmount", void 0);
111
+ __decorate([
112
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
113
+ __metadata("design:type", Number)
114
+ ], ReceiveInventoryLineItemInput.prototype, "excludedTaxDistributedDiscountAmount", void 0);
115
+ __decorate([
116
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
117
+ __metadata("design:type", Number)
118
+ ], ReceiveInventoryLineItemInput.prototype, "lineAmountForTaxCalculating", void 0);
119
+ __decorate([
120
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
121
+ __metadata("design:type", Number)
122
+ ], ReceiveInventoryLineItemInput.prototype, "taxAmount", void 0);
123
+ __decorate([
124
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
125
+ __metadata("design:type", Number)
126
+ ], ReceiveInventoryLineItemInput.prototype, "totalLineAmountAfterTax", void 0);
127
+ __decorate([
128
+ (0, graphql_1.Field)({ nullable: true }),
129
+ __metadata("design:type", String)
130
+ ], ReceiveInventoryLineItemInput.prototype, "note", void 0);
131
+ __decorate([
132
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
133
+ __metadata("design:type", Number)
134
+ ], ReceiveInventoryLineItemInput.prototype, "position", void 0);
135
+ __decorate([
136
+ (0, graphql_1.Field)(() => [receive_inventory_component_dto_1.ReceiveInventoryComponentInput], { nullable: true }),
137
+ __metadata("design:type", Array)
138
+ ], ReceiveInventoryLineItemInput.prototype, "components", void 0);
139
+ exports.ReceiveInventoryLineItemInput = ReceiveInventoryLineItemInput = __decorate([
140
+ (0, graphql_1.InputType)()
141
+ ], ReceiveInventoryLineItemInput);
142
+ //# sourceMappingURL=receive-inventory-line-item.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory-line-item.dto.js","sourceRoot":"","sources":["../../src/dto/receive-inventory-line-item.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,uFAAmF;AACnF,kCAAsD;AAG/C,IAA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;;8EACJ;AAGjC;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACZ;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACnB;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,gEAA8B,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACpB;wCAzFnC,6BAA6B;IADzC,IAAA,mBAAS,GAAE;GACC,6BAA6B,CA0FzC"}
@@ -1,22 +1,37 @@
1
- import { UserType } from "../enum";
2
1
  import { DateRangeInput } from "./date-range.input";
3
2
  import { OrderByInput } from "./order-by.input";
3
+ import { ReceiveInventoryLineItemInput } from "./receive-inventory-line-item.dto";
4
+ import { EDiscountType, EReceiveInventoryStatus } from "../enum";
4
5
  export declare class CreateReceiveInventoryInput {
5
- key: string;
6
- label: string;
7
- icon?: string;
8
- rootPath?: string;
9
- path?: string;
10
- userType?: UserType;
11
- order?: number;
12
- visible?: boolean;
13
- permissions?: string[];
14
- parent?: string;
15
- isActive?: boolean;
6
+ code?: string;
7
+ purchaseOrderId?: string;
8
+ supplierId?: string;
9
+ branchId?: string;
10
+ organizationId?: string;
11
+ createAccountId?: string;
12
+ createAccountName?: string;
13
+ assigneeAccountId?: string;
14
+ assigneeAccountName?: string;
15
+ receivedOn?: Date;
16
+ status?: EReceiveInventoryStatus;
17
+ lineItems: ReceiveInventoryLineItemInput[];
18
+ tags?: string[];
19
+ note?: string;
20
+ reference?: string;
21
+ discountValue?: number;
22
+ discountType?: EDiscountType;
23
+ taxIncluded?: boolean;
24
+ totalQuantity?: number;
25
+ totalLineAmount?: number;
26
+ totalDiscounts?: number;
27
+ totalTax?: number;
28
+ totalPrice?: number;
29
+ currency?: string;
30
+ currencyDecimalDigits?: number;
31
+ appId?: string;
16
32
  }
17
33
  export declare class ReceiveInventoryFilterInput {
18
34
  searchKey?: string;
19
- language?: string;
20
35
  orderBy?: OrderByInput[];
21
36
  createdAt?: DateRangeInput;
22
37
  updatedAt?: DateRangeInput;
@@ -1 +1 @@
1
- {"version":3,"file":"receive-inventory.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,2BAA2B;IAEtC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBACa,2BAA2B;IAEtC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,2BAA4B,SAAQ,gCAEhD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
1
+ {"version":3,"file":"receive-inventory.dto.d.ts","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EA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AAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,2BAA4B,SAAQ,gCAEhD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -11,56 +11,119 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UpdateReceiveInventoryInput = exports.ReceiveInventoryFilterInput = exports.CreateReceiveInventoryInput = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
- const enum_1 = require("../enum");
15
14
  const date_range_input_1 = require("./date-range.input");
16
15
  const order_by_input_1 = require("./order-by.input");
16
+ const receive_inventory_line_item_dto_1 = require("./receive-inventory-line-item.dto");
17
+ const enum_1 = require("../enum");
17
18
  let CreateReceiveInventoryInput = class CreateReceiveInventoryInput {
18
19
  };
19
20
  exports.CreateReceiveInventoryInput = CreateReceiveInventoryInput;
20
21
  __decorate([
21
- (0, graphql_1.Field)(),
22
+ (0, graphql_1.Field)(() => String, { nullable: true }),
22
23
  __metadata("design:type", String)
23
- ], CreateReceiveInventoryInput.prototype, "key", void 0);
24
+ ], CreateReceiveInventoryInput.prototype, "code", void 0);
25
+ __decorate([
26
+ (0, graphql_1.Field)(() => String, { nullable: true }),
27
+ __metadata("design:type", String)
28
+ ], CreateReceiveInventoryInput.prototype, "purchaseOrderId", void 0);
29
+ __decorate([
30
+ (0, graphql_1.Field)(() => String, { nullable: true }),
31
+ __metadata("design:type", String)
32
+ ], CreateReceiveInventoryInput.prototype, "supplierId", void 0);
33
+ __decorate([
34
+ (0, graphql_1.Field)(() => String, { nullable: true }),
35
+ __metadata("design:type", String)
36
+ ], CreateReceiveInventoryInput.prototype, "branchId", void 0);
37
+ __decorate([
38
+ (0, graphql_1.Field)(() => String, { nullable: true }),
39
+ __metadata("design:type", String)
40
+ ], CreateReceiveInventoryInput.prototype, "organizationId", void 0);
41
+ __decorate([
42
+ (0, graphql_1.Field)(() => String, { nullable: true }),
43
+ __metadata("design:type", String)
44
+ ], CreateReceiveInventoryInput.prototype, "createAccountId", void 0);
24
45
  __decorate([
25
46
  (0, graphql_1.Field)({ nullable: true }),
26
47
  __metadata("design:type", String)
27
- ], CreateReceiveInventoryInput.prototype, "label", void 0);
48
+ ], CreateReceiveInventoryInput.prototype, "createAccountName", void 0);
49
+ __decorate([
50
+ (0, graphql_1.Field)(() => String, { nullable: true }),
51
+ __metadata("design:type", String)
52
+ ], CreateReceiveInventoryInput.prototype, "assigneeAccountId", void 0);
28
53
  __decorate([
29
54
  (0, graphql_1.Field)({ nullable: true }),
30
55
  __metadata("design:type", String)
31
- ], CreateReceiveInventoryInput.prototype, "icon", void 0);
56
+ ], CreateReceiveInventoryInput.prototype, "assigneeAccountName", void 0);
32
57
  __decorate([
33
58
  (0, graphql_1.Field)({ nullable: true }),
59
+ __metadata("design:type", Date)
60
+ ], CreateReceiveInventoryInput.prototype, "receivedOn", void 0);
61
+ __decorate([
62
+ (0, graphql_1.Field)(() => enum_1.EReceiveInventoryStatus, {
63
+ defaultValue: enum_1.EReceiveInventoryStatus.PENDING,
64
+ }),
34
65
  __metadata("design:type", String)
35
- ], CreateReceiveInventoryInput.prototype, "rootPath", void 0);
66
+ ], CreateReceiveInventoryInput.prototype, "status", void 0);
67
+ __decorate([
68
+ (0, graphql_1.Field)(() => [receive_inventory_line_item_dto_1.ReceiveInventoryLineItemInput]),
69
+ __metadata("design:type", Array)
70
+ ], CreateReceiveInventoryInput.prototype, "lineItems", void 0);
71
+ __decorate([
72
+ (0, graphql_1.Field)(() => [String], { nullable: true }),
73
+ __metadata("design:type", Array)
74
+ ], CreateReceiveInventoryInput.prototype, "tags", void 0);
36
75
  __decorate([
37
76
  (0, graphql_1.Field)({ nullable: true }),
38
77
  __metadata("design:type", String)
39
- ], CreateReceiveInventoryInput.prototype, "path", void 0);
78
+ ], CreateReceiveInventoryInput.prototype, "note", void 0);
40
79
  __decorate([
41
- (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
80
+ (0, graphql_1.Field)({ nullable: true }),
42
81
  __metadata("design:type", String)
43
- ], CreateReceiveInventoryInput.prototype, "userType", void 0);
82
+ ], CreateReceiveInventoryInput.prototype, "reference", void 0);
44
83
  __decorate([
45
- (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
84
+ (0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
46
85
  __metadata("design:type", Number)
47
- ], CreateReceiveInventoryInput.prototype, "order", void 0);
86
+ ], CreateReceiveInventoryInput.prototype, "discountValue", void 0);
87
+ __decorate([
88
+ (0, graphql_1.Field)(() => enum_1.EDiscountType, { nullable: true }),
89
+ __metadata("design:type", String)
90
+ ], CreateReceiveInventoryInput.prototype, "discountType", void 0);
48
91
  __decorate([
49
- (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
92
+ (0, graphql_1.Field)({ defaultValue: false }),
50
93
  __metadata("design:type", Boolean)
51
- ], CreateReceiveInventoryInput.prototype, "visible", void 0);
94
+ ], CreateReceiveInventoryInput.prototype, "taxIncluded", void 0);
52
95
  __decorate([
53
- (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
- __metadata("design:type", Array)
55
- ], CreateReceiveInventoryInput.prototype, "permissions", void 0);
96
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
97
+ __metadata("design:type", Number)
98
+ ], CreateReceiveInventoryInput.prototype, "totalQuantity", void 0);
56
99
  __decorate([
57
- (0, graphql_1.Field)(() => String, { nullable: true }),
100
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
101
+ __metadata("design:type", Number)
102
+ ], CreateReceiveInventoryInput.prototype, "totalLineAmount", void 0);
103
+ __decorate([
104
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
105
+ __metadata("design:type", Number)
106
+ ], CreateReceiveInventoryInput.prototype, "totalDiscounts", void 0);
107
+ __decorate([
108
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
109
+ __metadata("design:type", Number)
110
+ ], CreateReceiveInventoryInput.prototype, "totalTax", void 0);
111
+ __decorate([
112
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
113
+ __metadata("design:type", Number)
114
+ ], CreateReceiveInventoryInput.prototype, "totalPrice", void 0);
115
+ __decorate([
116
+ (0, graphql_1.Field)({ nullable: true }),
58
117
  __metadata("design:type", String)
59
- ], CreateReceiveInventoryInput.prototype, "parent", void 0);
118
+ ], CreateReceiveInventoryInput.prototype, "currency", void 0);
60
119
  __decorate([
61
- (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
- __metadata("design:type", Boolean)
63
- ], CreateReceiveInventoryInput.prototype, "isActive", void 0);
120
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
121
+ __metadata("design:type", Number)
122
+ ], CreateReceiveInventoryInput.prototype, "currencyDecimalDigits", void 0);
123
+ __decorate([
124
+ (0, graphql_1.Field)(() => String, { nullable: true }),
125
+ __metadata("design:type", String)
126
+ ], CreateReceiveInventoryInput.prototype, "appId", void 0);
64
127
  exports.CreateReceiveInventoryInput = CreateReceiveInventoryInput = __decorate([
65
128
  (0, graphql_1.InputType)()
66
129
  ], CreateReceiveInventoryInput);
@@ -71,10 +134,6 @@ __decorate([
71
134
  (0, graphql_1.Field)(() => String, { nullable: true }),
72
135
  __metadata("design:type", String)
73
136
  ], ReceiveInventoryFilterInput.prototype, "searchKey", void 0);
74
- __decorate([
75
- (0, graphql_1.Field)(() => String, { nullable: true }),
76
- __metadata("design:type", String)
77
- ], ReceiveInventoryFilterInput.prototype, "language", void 0);
78
137
  __decorate([
79
138
  (0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
80
139
  __metadata("design:type", Array)
@@ -1 +1 @@
1
- {"version":3,"file":"receive-inventory.dto.js","sourceRoot":"","sources":["../../src/dto/receive-inventory.dto.ts"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AAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACzB;sCA1FJ,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CA2FvC;AAGM,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAYvC,CAAA;AAZY,kEAA2B;AAEtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;8DAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;8DAAC;sCAXhB,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAYvC;AAGM,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,IAAA,qBAAW,EAC1D,2BAA2B,CAC5B;CAGA,CAAA;AALY,kEAA2B;AAItC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACR;sCAJD,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAKvC"}
@@ -7,6 +7,7 @@ export * from "./gender.enum";
7
7
  export * from "./inventory.enum";
8
8
  export * from "./product.enum";
9
9
  export * from "./purchase-order.enum";
10
+ export * from "./receive-inventory.enum";
10
11
  export * from "./relation-type.enum";
11
12
  export * from "./sort-order.enum";
12
13
  export * from "./use.enum";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
@@ -23,6 +23,7 @@ __exportStar(require("./gender.enum"), exports);
23
23
  __exportStar(require("./inventory.enum"), exports);
24
24
  __exportStar(require("./product.enum"), exports);
25
25
  __exportStar(require("./purchase-order.enum"), exports);
26
+ __exportStar(require("./receive-inventory.enum"), exports);
26
27
  __exportStar(require("./relation-type.enum"), exports);
27
28
  __exportStar(require("./sort-order.enum"), exports);
28
29
  __exportStar(require("./use.enum"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B;AAC/B,yDAAuC;AACvC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,wDAAsC;AACtC,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B;AAC3B,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B;AAC/B,yDAAuC;AACvC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,wDAAsC;AACtC,2DAAyC;AACzC,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B;AAC3B,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC"}
@@ -0,0 +1,6 @@
1
+ export declare enum EReceiveInventoryStatus {
2
+ PENDING = "PENDING",
3
+ COMPLETED = "COMPLETED",
4
+ CANCELLED = "CANCELLED"
5
+ }
6
+ //# sourceMappingURL=receive-inventory.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory.enum.d.ts","sourceRoot":"","sources":["../../src/enum/receive-inventory.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EReceiveInventoryStatus = void 0;
4
+ const graphql_1 = require("@nestjs/graphql");
5
+ var EReceiveInventoryStatus;
6
+ (function (EReceiveInventoryStatus) {
7
+ EReceiveInventoryStatus["PENDING"] = "PENDING";
8
+ EReceiveInventoryStatus["COMPLETED"] = "COMPLETED";
9
+ EReceiveInventoryStatus["CANCELLED"] = "CANCELLED";
10
+ })(EReceiveInventoryStatus || (exports.EReceiveInventoryStatus = EReceiveInventoryStatus = {}));
11
+ (0, graphql_1.registerEnumType)(EReceiveInventoryStatus, { name: "EReceiveInventoryStatus" });
12
+ //# sourceMappingURL=receive-inventory.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receive-inventory.enum.js","sourceRoot":"","sources":["../../src/enum/receive-inventory.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,kDAAuB,CAAA;AACzB,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AAED,IAAA,0BAAgB,EAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synunu-libs",
3
- "version": "1.0.129",
3
+ "version": "1.0.131",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Shared DTOs, constants, and utilities for Synunu microservices",