@things-factory/sales-base 6.0.42 → 6.0.45
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/dist-server/service/others/other-types.js +8 -0
- package/dist-server/service/others/other-types.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/dist-server/utils/inventory-util.js +5 -1
- package/dist-server/utils/inventory-util.js.map +1 -1
- package/package.json +13 -13
- package/server/service/others/other-types.ts +7 -6
- package/server/utils/inventory-util.ts +5 -1
|
@@ -58,6 +58,14 @@ tslib_1.__decorate([
|
|
|
58
58
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
59
59
|
tslib_1.__metadata("design:type", Number)
|
|
60
60
|
], InventoryProductGroup.prototype, "packingSize", void 0);
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
+
tslib_1.__metadata("design:type", String)
|
|
64
|
+
], InventoryProductGroup.prototype, "palletId", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
67
|
+
tslib_1.__metadata("design:type", Date)
|
|
68
|
+
], InventoryProductGroup.prototype, "createdAt", void 0);
|
|
61
69
|
tslib_1.__decorate([
|
|
62
70
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
63
71
|
tslib_1.__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"other-types.js","sourceRoot":"","sources":["../../../server/service/others/other-types.ts"],"names":[],"mappings":";;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"other-types.js","sourceRoot":"","sources":["../../../server/service/others/other-types.ts"],"names":[],"mappings":";;;;;AAAA,+CAA4D;AAE5D,+DAAsD;AACtD,iDAAkD;AAG3C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAMrC,CAAA;AALC;IAAC,IAAA,oB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alarDate } from '@things-factory/shell'\n\n@ObjectType()\nexport class InventoryProductGroupList {\n @Field(type => [InventoryProductGroup], { nullable: true })\n items: InventoryProductGroup[]\n\n @Field(type => Int, { nullable: true })\n total: number\n}\n\n@ObjectType()\nexport class InventoryProductGroup {\n @Field({ nullable: true })\n id: string\n\n @Field({ nullable: true })\n productId: string\n\n @Field({ nullable: true })\n batchId: string\n\n @Field({ nullable: true })\n batchIdRef: string\n\n @Field({ nullable: true })\n productSKU: string\n\n @Field({ nullable: true })\n productName: string\n\n @Field({ nullable: true })\n productBrand: string\n\n @Field({ nullable: true })\n packingType: string\n\n @Field(type => Float, { nullable: true })\n packingSize: number\n\n @Field({ nullable: true })\n palletId: string\n\n @Field({ nullable: true })\n createdAt: Date\n\n @Field(type => Float, { nullable: true })\n packQty: number\n\n @Field(type => Int, { nullable: true })\n totalQty: number\n\n @Field(type => Int, { nullable: true })\n totalLockedQty: number\n\n @Field(type => Int, { nullable: true })\n totalLockedUomValue: number\n\n @Field(type => Int, { nullable: true })\n palletQty: number\n\n @Field(type => Float, { nullable: true })\n remainQty: number\n\n @Field(type => Float, { nullable: true })\n remainWeight: number\n\n @Field(type => Float, { nullable: true })\n remainUomValue: number\n\n @Field({ nullable: true })\n remainUomValueWithUom: string\n\n @Field({ nullable: true })\n uom: string\n\n @Field(type => Float, { nullable: true })\n uomValue: number\n\n @Field({ nullable: true })\n totalUomValue: String\n\n @Field({ nullable: true })\n groupType: string\n\n @Field(type => ScalarDate, { nullable: true })\n manufactureDate: Date\n\n @Field(type => Float, { nullable: true })\n unitPrice: number\n\n @Field({ nullable: true })\n remark: string\n\n @Field(type => Float, { nullable: true })\n discountAmt: number\n\n @Field(type => Float, { nullable: true })\n miscAmt: number\n\n @Field(type => Float, { nullable: true })\n taxRate: number\n\n @Field(type => Float, { nullable: true })\n isError: Boolean\n\n @Field(type => Product, { nullable: true })\n product: Product\n}\n"]}
|