@things-factory/product-base 4.3.651 → 4.3.660
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/constants/index.js +18 -0
- package/dist-server/constants/index.js.map +1 -0
- package/dist-server/constants/product.js +25 -0
- package/dist-server/constants/product.js.map +1 -0
- package/dist-server/controllers/index.js +1 -0
- package/dist-server/controllers/index.js.map +1 -0
- package/dist-server/index.js +19 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/middlewares/index.js +1 -0
- package/dist-server/middlewares/index.js.map +1 -0
- package/dist-server/migrations/index.js +12 -0
- package/dist-server/migrations/index.js.map +1 -0
- package/dist-server/service/index.js +74 -0
- package/dist-server/service/index.js.map +1 -0
- package/dist-server/service/product/index.js +10 -0
- package/dist-server/service/product/index.js.map +1 -0
- package/dist-server/service/product/product-mutation.js +408 -0
- package/dist-server/service/product/product-mutation.js.map +1 -0
- package/dist-server/service/product/product-query.js +373 -0
- package/dist-server/service/product/product-query.js.map +1 -0
- package/dist-server/service/product/product-types.js +618 -0
- package/dist-server/service/product/product-types.js.map +1 -0
- package/dist-server/service/product/product.js +615 -0
- package/dist-server/service/product/product.js.map +1 -0
- package/dist-server/service/product/validate-product.js +26 -0
- package/dist-server/service/product/validate-product.js.map +1 -0
- package/dist-server/service/product-barcode/index.js +9 -0
- package/dist-server/service/product-barcode/index.js.map +1 -0
- package/dist-server/service/product-barcode/product-barcode-mutation.js +120 -0
- package/dist-server/service/product-barcode/product-barcode-mutation.js.map +1 -0
- package/dist-server/service/product-barcode/product-barcode-query.js +87 -0
- package/dist-server/service/product-barcode/product-barcode-query.js.map +1 -0
- package/dist-server/service/product-barcode/product-barcode-type.js +63 -0
- package/dist-server/service/product-barcode/product-barcode-type.js.map +1 -0
- package/dist-server/service/product-barcode/product-barcode.js +104 -0
- package/dist-server/service/product-barcode/product-barcode.js.map +1 -0
- package/dist-server/service/product-bundle/index.js +9 -0
- package/dist-server/service/product-bundle/index.js.map +1 -0
- package/dist-server/service/product-bundle/product-bundle-mutation.js +130 -0
- package/dist-server/service/product-bundle/product-bundle-mutation.js.map +1 -0
- package/dist-server/service/product-bundle/product-bundle-query.js +128 -0
- package/dist-server/service/product-bundle/product-bundle-query.js.map +1 -0
- package/dist-server/service/product-bundle/product-bundle-types.js +85 -0
- package/dist-server/service/product-bundle/product-bundle-types.js.map +1 -0
- package/dist-server/service/product-bundle/product-bundle.js +128 -0
- package/dist-server/service/product-bundle/product-bundle.js.map +1 -0
- package/dist-server/service/product-bundle-setting/index.js +9 -0
- package/dist-server/service/product-bundle-setting/index.js.map +1 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js +165 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js.map +1 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js +113 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js.map +1 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js +69 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js.map +1 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js +63 -0
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js.map +1 -0
- package/dist-server/service/product-combination/index.js +9 -0
- package/dist-server/service/product-combination/index.js.map +1 -0
- package/dist-server/service/product-combination/product-combination-mutation.js +137 -0
- package/dist-server/service/product-combination/product-combination-mutation.js.map +1 -0
- package/dist-server/service/product-combination/product-combination-query.js +86 -0
- package/dist-server/service/product-combination/product-combination-query.js.map +1 -0
- package/dist-server/service/product-combination/product-combination-type.js +83 -0
- package/dist-server/service/product-combination/product-combination-type.js.map +1 -0
- package/dist-server/service/product-combination/product-combination.js +133 -0
- package/dist-server/service/product-combination/product-combination.js.map +1 -0
- package/dist-server/service/product-combination-setting/index.js +9 -0
- package/dist-server/service/product-combination-setting/index.js.map +1 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js +221 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js.map +1 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js +177 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js.map +1 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js +75 -0
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js.map +1 -0
- package/dist-server/service/product-combination-setting/product-combination-setting.js +105 -0
- package/dist-server/service/product-combination-setting/product-combination-setting.js.map +1 -0
- package/dist-server/service/product-detail/index.js +9 -0
- package/dist-server/service/product-detail/index.js.map +1 -0
- package/dist-server/service/product-detail/product-detail-mutation.js +374 -0
- package/dist-server/service/product-detail/product-detail-mutation.js.map +1 -0
- package/dist-server/service/product-detail/product-detail-query.js +223 -0
- package/dist-server/service/product-detail/product-detail-query.js.map +1 -0
- package/dist-server/service/product-detail/product-detail-types.js +392 -0
- package/dist-server/service/product-detail/product-detail-types.js.map +1 -0
- package/dist-server/service/product-detail/product-detail.js +444 -0
- package/dist-server/service/product-detail/product-detail.js.map +1 -0
- package/dist-server/service/product-detail-bizplace-setting/index.js +9 -0
- package/dist-server/service/product-detail-bizplace-setting/index.js.map +1 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js +118 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js.map +1 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js +107 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js.map +1 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js +99 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js.map +1 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js +120 -0
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js.map +1 -0
- package/dist-server/service/product-set/index.js +9 -0
- package/dist-server/service/product-set/index.js.map +1 -0
- package/dist-server/service/product-set/product-set-mutation.js +146 -0
- package/dist-server/service/product-set/product-set-mutation.js.map +1 -0
- package/dist-server/service/product-set/product-set-query.js +136 -0
- package/dist-server/service/product-set/product-set-query.js.map +1 -0
- package/dist-server/service/product-set/product-set-types.js +77 -0
- package/dist-server/service/product-set/product-set-types.js.map +1 -0
- package/dist-server/service/product-set/product-set.js +118 -0
- package/dist-server/service/product-set/product-set.js.map +1 -0
- package/dist-server/utils/index.js +18 -0
- package/dist-server/utils/index.js.map +1 -0
- package/dist-server/utils/product-util.js +16 -0
- package/dist-server/utils/product-util.js.map +1 -0
- package/package.json +2 -2
- package/server/service/product/index.ts +2 -0
- package/server/service/product-detail/product-detail-query.ts +1 -0
|
@@ -0,0 +1,223 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var _a;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductDetailQuery = void 0;
|
|
17
|
+
const type_graphql_1 = require("type-graphql");
|
|
18
|
+
const typeorm_1 = require("typeorm");
|
|
19
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
20
|
+
const biz_base_1 = require("@things-factory/biz-base");
|
|
21
|
+
const shell_1 = require("@things-factory/shell");
|
|
22
|
+
const product_barcode_1 = require("../product-barcode/product-barcode");
|
|
23
|
+
const product_detail_1 = require("./product-detail");
|
|
24
|
+
const product_detail_types_1 = require("./product-detail-types");
|
|
25
|
+
let ProductDetailQuery = class ProductDetailQuery {
|
|
26
|
+
async productDetail(gtin, productId, customerCompanyDomainId, context) {
|
|
27
|
+
const { tx } = context.state;
|
|
28
|
+
const customerDomainId = await tx.getRepository(shell_1.Domain).findOne(customerCompanyDomainId);
|
|
29
|
+
if (!customerDomainId)
|
|
30
|
+
throw new Error('Unable to find company domain');
|
|
31
|
+
var foundProductDetail;
|
|
32
|
+
if (productId) {
|
|
33
|
+
foundProductDetail = await tx.getRepository(product_detail_1.ProductDetail).findOne({
|
|
34
|
+
where: { domain: customerDomainId, product: productId },
|
|
35
|
+
relations: ['product']
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
foundProductDetail = await tx.getRepository(product_detail_1.ProductDetail).findOne({
|
|
40
|
+
where: { domain: customerDomainId, gtin },
|
|
41
|
+
relations: ['product']
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
if (!foundProductDetail)
|
|
45
|
+
throw new Error('No product candidate found');
|
|
46
|
+
return foundProductDetail;
|
|
47
|
+
}
|
|
48
|
+
async productDetails(context, filters, pagination, sortings) {
|
|
49
|
+
var _a;
|
|
50
|
+
const { domain, user } = context.state;
|
|
51
|
+
const { domains } = user;
|
|
52
|
+
const params = { filters, pagination };
|
|
53
|
+
const productInfoFilters = params.filters.find(x => x.name == 'product_info' ||
|
|
54
|
+
x.name == 'sku' ||
|
|
55
|
+
x.name == 'name' ||
|
|
56
|
+
x.name == 'description' ||
|
|
57
|
+
x.name == 'type' ||
|
|
58
|
+
x.name == 'brandSku');
|
|
59
|
+
const bizplaceFilter = params.filters.find(x => x.name == 'bizplace_id');
|
|
60
|
+
const productFilter = params.filters.find(x => x.name == 'product');
|
|
61
|
+
const createArrivalNotice = params.filters.find(x => x.name == 'create_arrival_notice');
|
|
62
|
+
const productInfoFilterColumns = ['sku', 'name', 'description', 'type', 'brand', 'brandSku'];
|
|
63
|
+
params.filters = params.filters.filter(x => x.name != 'product_info' &&
|
|
64
|
+
x.name != 'bizplace_id' &&
|
|
65
|
+
x.name != 'product' &&
|
|
66
|
+
x.name != 'sku' &&
|
|
67
|
+
x.name != 'brand' &&
|
|
68
|
+
x.name != 'name' &&
|
|
69
|
+
x.name != 'description' &&
|
|
70
|
+
x.name != 'type' &&
|
|
71
|
+
x.name != 'brandSku' &&
|
|
72
|
+
x.name != 'create_arrival_notice');
|
|
73
|
+
const qb = (0, typeorm_1.getRepository)(product_detail_1.ProductDetail).createQueryBuilder('ProductDetail');
|
|
74
|
+
qb.innerJoinAndSelect('ProductDetail.product', 'Product', '"Product"."deleted_at" IS NULL');
|
|
75
|
+
qb.innerJoinAndSelect('Product.bizplace', 'Bizplace');
|
|
76
|
+
qb.leftJoin('ProductDetail.productBarcodes', 'ProductBarcode');
|
|
77
|
+
qb.addSelect('ProductBarcode.id');
|
|
78
|
+
qb.addSelect('ProductBarcode.gtin');
|
|
79
|
+
qb.leftJoinAndSelect('ProductDetail.childProductDetail', 'ChildProductDetail');
|
|
80
|
+
qb.leftJoinAndSelect('Product.creator', 'Creator');
|
|
81
|
+
qb.leftJoinAndSelect('Product.updater', 'Updater');
|
|
82
|
+
qb.where('ProductDetail.deletedAt IS NULL');
|
|
83
|
+
(0, shell_1.buildQuery)(qb, params, context, false);
|
|
84
|
+
if (bizplaceFilter === null || bizplaceFilter === void 0 ? void 0 : bizplaceFilter.value) {
|
|
85
|
+
const bizplaceId = bizplaceFilter.value;
|
|
86
|
+
const foundBizplace = await (0, typeorm_1.getRepository)(biz_base_1.Bizplace).findOne({
|
|
87
|
+
where: { id: bizplaceId },
|
|
88
|
+
relations: ['company', 'company.domain']
|
|
89
|
+
});
|
|
90
|
+
if (foundBizplace) {
|
|
91
|
+
const companyDomain = (_a = foundBizplace.company) === null || _a === void 0 ? void 0 : _a.domain;
|
|
92
|
+
const companyBizplace = await (0, typeorm_1.getRepository)(biz_base_1.Bizplace).findOne({ where: { domain: companyDomain } });
|
|
93
|
+
const bizplaceIds = [companyBizplace.id, foundBizplace.id];
|
|
94
|
+
qb.andWhere('Bizplace.id IN (:...bizplaceIds)', { bizplaceIds: [...new Set(bizplaceIds)] });
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const warehouseDomain = domain;
|
|
99
|
+
let bizplaceIds = [];
|
|
100
|
+
if ((warehouseDomain === null || warehouseDomain === void 0 ? void 0 : warehouseDomain.extType) === 'company') {
|
|
101
|
+
const companyBizplace = await (0, typeorm_1.getRepository)(biz_base_1.Bizplace).findOne({
|
|
102
|
+
where: { domain: warehouseDomain }
|
|
103
|
+
});
|
|
104
|
+
bizplaceIds.push(companyBizplace.id);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const companiesBizplaces = await (0, biz_base_1.getCompaniesBizplaces)(domains, warehouseDomain);
|
|
108
|
+
const partnersCompanyBizplaces = await (0, biz_base_1.getPartnersCompanyBizplaces)(domain, user);
|
|
109
|
+
bizplaceIds = [
|
|
110
|
+
...bizplaceIds,
|
|
111
|
+
...companiesBizplaces.map(biz => biz.id),
|
|
112
|
+
...partnersCompanyBizplaces.map(biz => biz.id)
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
qb.andWhere('Product.bizplace_id IN (:...bizplaceIds)', { bizplaceIds: bizplaceIds });
|
|
116
|
+
}
|
|
117
|
+
if (productFilter === null || productFilter === void 0 ? void 0 : productFilter.value) {
|
|
118
|
+
qb.andWhere('ProductDetail.product_id = :productId', { productId: productFilter.value });
|
|
119
|
+
}
|
|
120
|
+
if (productInfoFilters === null || productInfoFilters === void 0 ? void 0 : productInfoFilters.value) {
|
|
121
|
+
let productInfo = productInfoFilters;
|
|
122
|
+
qb.andWhere(new typeorm_1.Brackets(qb2 => {
|
|
123
|
+
productInfoFilterColumns.forEach(filter => {
|
|
124
|
+
const condition = (0, shell_1.buildCondition)('Product', filter, productInfo.operator, productInfo.value, productInfo.relation, Object.keys(qb.getParameters()).length);
|
|
125
|
+
qb2.orWhere(condition.clause, condition.parameters);
|
|
126
|
+
});
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
if (createArrivalNotice === null || createArrivalNotice === void 0 ? void 0 : createArrivalNotice.value) {
|
|
130
|
+
qb.andWhere('(Product.isRequireSerialNumberScanning = false OR (Product.isRequireSerialNumberScanning = true AND ProductDetail.isDefault = true))');
|
|
131
|
+
}
|
|
132
|
+
let [items, total] = await qb.getManyAndCount();
|
|
133
|
+
items = items.map(item => {
|
|
134
|
+
return Object.assign(Object.assign({}, item), { productId: item.product.id, name: item.name, description: item.product.description, type: item.product.type, sku: item.product.sku, brand: item.product.brand, brandSku: item.product.brandSku, isRequiredCheckExpiry: item.product.isRequiredCheckExpiry, isRequireSerialNumberScanningInbound: item.product.isRequireSerialNumberScanningInbound, isRequireSerialNumberScanningOutbound: item.product.isRequireSerialNumberScanningOutbound, costPrice: (item === null || item === void 0 ? void 0 : item.costPrice) || (item === null || item === void 0 ? void 0 : item.costPrice) == 0 ? parseFloat(item.costPrice.toFixed(2)) : null });
|
|
135
|
+
});
|
|
136
|
+
return { items, total };
|
|
137
|
+
}
|
|
138
|
+
async checkGtin(gtin, customerCompanyDomainId, context) {
|
|
139
|
+
try {
|
|
140
|
+
const customerDomainId = await (0, typeorm_1.getRepository)(shell_1.Domain).findOne(customerCompanyDomainId);
|
|
141
|
+
if (!customerDomainId)
|
|
142
|
+
throw new Error('Unable to find company domain');
|
|
143
|
+
const res = await (0, typeorm_1.getRepository)(product_barcode_1.ProductBarcode).find({
|
|
144
|
+
where: { domain: customerDomainId, gtin },
|
|
145
|
+
relations: ['productDetail', 'productDetail.product']
|
|
146
|
+
});
|
|
147
|
+
// validate there is a match for the gtin
|
|
148
|
+
if (res.length <= 0)
|
|
149
|
+
throw new Error('No product candidate found');
|
|
150
|
+
// get productDetails from response
|
|
151
|
+
const productDetails = res.map(x => (Object.assign(Object.assign({}, x.productDetail), { gtin: x.gtin })));
|
|
152
|
+
return { items: productDetails, total: productDetails.length };
|
|
153
|
+
}
|
|
154
|
+
catch (e) {
|
|
155
|
+
throw new Error(e);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
async domain(productDetail) {
|
|
159
|
+
return await (0, typeorm_1.getRepository)(shell_1.Domain).findOne(productDetail.domain.id);
|
|
160
|
+
}
|
|
161
|
+
async updater(productDetail) {
|
|
162
|
+
return await (0, typeorm_1.getRepository)(auth_base_1.User).findOne(productDetail.updater.id);
|
|
163
|
+
}
|
|
164
|
+
async creator(productDetail) {
|
|
165
|
+
return await (0, typeorm_1.getRepository)(auth_base_1.User).findOne(productDetail.creator.id);
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, type_graphql_1.Directive)('@transaction'),
|
|
170
|
+
(0, type_graphql_1.Query)(returns => product_detail_1.ProductDetail),
|
|
171
|
+
__param(0, (0, type_graphql_1.Arg)('gtin')),
|
|
172
|
+
__param(1, (0, type_graphql_1.Arg)('productId')),
|
|
173
|
+
__param(2, (0, type_graphql_1.Arg)('customerCompanyDomainId')),
|
|
174
|
+
__param(3, (0, type_graphql_1.Ctx)()),
|
|
175
|
+
__metadata("design:type", Function),
|
|
176
|
+
__metadata("design:paramtypes", [String, String, String, Object]),
|
|
177
|
+
__metadata("design:returntype", Promise)
|
|
178
|
+
], ProductDetailQuery.prototype, "productDetail", null);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, type_graphql_1.Query)(returns => product_detail_types_1.ProductDetailList),
|
|
181
|
+
__param(0, (0, type_graphql_1.Ctx)()),
|
|
182
|
+
__param(1, (0, type_graphql_1.Arg)('filters', type => [shell_1.Filter], { nullable: true })),
|
|
183
|
+
__param(2, (0, type_graphql_1.Arg)('pagination', type => shell_1.Pagination, { nullable: true })),
|
|
184
|
+
__param(3, (0, type_graphql_1.Arg)('sortings', type => [shell_1.Sorting], { nullable: true })),
|
|
185
|
+
__metadata("design:type", Function),
|
|
186
|
+
__metadata("design:paramtypes", [Object, Array, typeof (_a = typeof shell_1.Pagination !== "undefined" && shell_1.Pagination) === "function" ? _a : Object, Array]),
|
|
187
|
+
__metadata("design:returntype", Promise)
|
|
188
|
+
], ProductDetailQuery.prototype, "productDetails", null);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, type_graphql_1.Query)(returns => product_detail_types_1.ProductDetailList),
|
|
191
|
+
__param(0, (0, type_graphql_1.Arg)('gtin')),
|
|
192
|
+
__param(1, (0, type_graphql_1.Arg)('customerCompanyDomainId')),
|
|
193
|
+
__param(2, (0, type_graphql_1.Ctx)()),
|
|
194
|
+
__metadata("design:type", Function),
|
|
195
|
+
__metadata("design:paramtypes", [String, String, Object]),
|
|
196
|
+
__metadata("design:returntype", Promise)
|
|
197
|
+
], ProductDetailQuery.prototype, "checkGtin", null);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, type_graphql_1.FieldResolver)(type => shell_1.Domain),
|
|
200
|
+
__param(0, (0, type_graphql_1.Root)()),
|
|
201
|
+
__metadata("design:type", Function),
|
|
202
|
+
__metadata("design:paramtypes", [product_detail_1.ProductDetail]),
|
|
203
|
+
__metadata("design:returntype", Promise)
|
|
204
|
+
], ProductDetailQuery.prototype, "domain", null);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
207
|
+
__param(0, (0, type_graphql_1.Root)()),
|
|
208
|
+
__metadata("design:type", Function),
|
|
209
|
+
__metadata("design:paramtypes", [product_detail_1.ProductDetail]),
|
|
210
|
+
__metadata("design:returntype", Promise)
|
|
211
|
+
], ProductDetailQuery.prototype, "updater", null);
|
|
212
|
+
__decorate([
|
|
213
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
214
|
+
__param(0, (0, type_graphql_1.Root)()),
|
|
215
|
+
__metadata("design:type", Function),
|
|
216
|
+
__metadata("design:paramtypes", [product_detail_1.ProductDetail]),
|
|
217
|
+
__metadata("design:returntype", Promise)
|
|
218
|
+
], ProductDetailQuery.prototype, "creator", null);
|
|
219
|
+
ProductDetailQuery = __decorate([
|
|
220
|
+
(0, type_graphql_1.Resolver)(product_detail_1.ProductDetail)
|
|
221
|
+
], ProductDetailQuery);
|
|
222
|
+
exports.ProductDetailQuery = ProductDetailQuery;
|
|
223
|
+
//# sourceMappingURL=product-detail-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-detail-query.js","sourceRoot":"","sources":["../../../server/service/product-detail/product-detail-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAAwF;AACxF,qCAAqE;AAErE,yDAAgD;AAChD,uDAAuG;AACvG,iDAAuG;AAEvG,wEAAmE;AACnE,qDAAgD;AAChD,iEAA0D;AAGnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAGvB,AAAN,KAAK,CAAC,aAAa,CACJ,IAAY,EACP,SAAiB,EACH,uBAA+B,EACxD,OAAY;QAEnB,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAE5B,MAAM,gBAAgB,GAAW,MAAM,EAAE,CAAC,aAAa,CAAC,cAAM,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAA;QAChG,IAAI,CAAC,gBAAgB;YAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;QACvE,IAAI,kBAAkB,CAAA;QACtB,IAAI,SAAS,EAAE;YACb,kBAAkB,GAAG,MAAM,EAAE,CAAC,aAAa,CAAC,8BAAa,CAAC,CAAC,OAAO,CAAC;gBACjE,KAAK,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS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EAAC,yBAAyB,CAAC,CAAA;IAC9B,WAAA,IAAA,kBAAG,GAAE,CAAA;;;;mDAwBP;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IAChB,WAAA,IAAA,mBAAI,GAAE,CAAA;;qCAAgB,8BAAa;;gDAEhD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,WAAA,IAAA,mBAAI,GAAE,CAAA;;qCAAgB,8BAAa;;iDAEjD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,WAAA,IAAA,mBAAI,GAAE,CAAA;;qCAAgB,8BAAa;;iDAEjD;AAtNU,kBAAkB;IAD9B,IAAA,uBAAQ,EAAC,8BAAa,CAAC;GACX,kBAAkB,CAuN9B;AAvNY,gDAAkB"}
|
|
@@ -0,0 +1,392 @@
|
|
|
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
|
+
var _a, _b, _c;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.ProductDetailPatch = exports.ProductDetailList = exports.NewProductDetail = void 0;
|
|
14
|
+
const type_graphql_1 = require("type-graphql");
|
|
15
|
+
const shell_1 = require("@things-factory/shell");
|
|
16
|
+
const product_barcode_type_1 = require("../product-barcode/product-barcode-type");
|
|
17
|
+
const product_detail_1 = require("./product-detail");
|
|
18
|
+
let NewProductDetail = class NewProductDetail {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, type_graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], NewProductDetail.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], NewProductDetail.prototype, "gtin", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], NewProductDetail.prototype, "refCode", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", typeof (_a = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _a : Object)
|
|
35
|
+
], NewProductDetail.prototype, "product", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], NewProductDetail.prototype, "isDefault", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], NewProductDetail.prototype, "packingType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], NewProductDetail.prototype, "packingSize", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], NewProductDetail.prototype, "movement", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], NewProductDetail.prototype, "uom", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], NewProductDetail.prototype, "uomValue", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
62
|
+
__metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
|
|
63
|
+
], NewProductDetail.prototype, "childProductDetail", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, type_graphql_1.Field)(type => [shell_1.ObjectRef], { nullable: true }),
|
|
66
|
+
__metadata("design:type", Array)
|
|
67
|
+
], NewProductDetail.prototype, "parentProductDetails", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], NewProductDetail.prototype, "childQty", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], NewProductDetail.prototype, "nettWeight", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], NewProductDetail.prototype, "grossWeight", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], NewProductDetail.prototype, "width", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
86
|
+
__metadata("design:type", Number)
|
|
87
|
+
], NewProductDetail.prototype, "depth", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], NewProductDetail.prototype, "height", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], NewProductDetail.prototype, "volume", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
98
|
+
__metadata("design:type", Number)
|
|
99
|
+
], NewProductDetail.prototype, "bufferQty", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], NewProductDetail.prototype, "minQty", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
106
|
+
__metadata("design:type", Number)
|
|
107
|
+
], NewProductDetail.prototype, "maxQty", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], NewProductDetail.prototype, "auxUnit1", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], NewProductDetail.prototype, "auxValue1", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], NewProductDetail.prototype, "auxUnit2", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], NewProductDetail.prototype, "auxValue2", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], NewProductDetail.prototype, "auxUnit3", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
130
|
+
__metadata("design:type", String)
|
|
131
|
+
], NewProductDetail.prototype, "auxValue3", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
134
|
+
__metadata("design:type", String)
|
|
135
|
+
], NewProductDetail.prototype, "auxUnit4", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
138
|
+
__metadata("design:type", String)
|
|
139
|
+
], NewProductDetail.prototype, "auxValue4", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], NewProductDetail.prototype, "auxUnit5", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
146
|
+
__metadata("design:type", String)
|
|
147
|
+
], NewProductDetail.prototype, "auxValue5", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
150
|
+
__metadata("design:type", Boolean)
|
|
151
|
+
], NewProductDetail.prototype, "isTrackedAsInventory", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], NewProductDetail.prototype, "discountId", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
158
|
+
__metadata("design:type", Number)
|
|
159
|
+
], NewProductDetail.prototype, "costPrice", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], NewProductDetail.prototype, "mrpPrice", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
166
|
+
__metadata("design:type", Number)
|
|
167
|
+
], NewProductDetail.prototype, "sellPrice", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
170
|
+
__metadata("design:type", Number)
|
|
171
|
+
], NewProductDetail.prototype, "afterTaxCostPrice", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
174
|
+
__metadata("design:type", Number)
|
|
175
|
+
], NewProductDetail.prototype, "afterTaxSalesPrice", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
178
|
+
__metadata("design:type", String)
|
|
179
|
+
], NewProductDetail.prototype, "inventoryAccountCode", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
182
|
+
__metadata("design:type", String)
|
|
183
|
+
], NewProductDetail.prototype, "cogsAccountCode", void 0);
|
|
184
|
+
NewProductDetail = __decorate([
|
|
185
|
+
(0, type_graphql_1.InputType)()
|
|
186
|
+
], NewProductDetail);
|
|
187
|
+
exports.NewProductDetail = NewProductDetail;
|
|
188
|
+
let ProductDetailList = class ProductDetailList {
|
|
189
|
+
};
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, type_graphql_1.Field)(type => [product_detail_1.ProductDetail], { nullable: true }),
|
|
192
|
+
__metadata("design:type", Array)
|
|
193
|
+
], ProductDetailList.prototype, "items", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
196
|
+
__metadata("design:type", Number)
|
|
197
|
+
], ProductDetailList.prototype, "total", void 0);
|
|
198
|
+
ProductDetailList = __decorate([
|
|
199
|
+
(0, type_graphql_1.ObjectType)()
|
|
200
|
+
], ProductDetailList);
|
|
201
|
+
exports.ProductDetailList = ProductDetailList;
|
|
202
|
+
let ProductDetailPatch = class ProductDetailPatch {
|
|
203
|
+
};
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
206
|
+
__metadata("design:type", String)
|
|
207
|
+
], ProductDetailPatch.prototype, "id", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
210
|
+
__metadata("design:type", String)
|
|
211
|
+
], ProductDetailPatch.prototype, "name", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
214
|
+
__metadata("design:type", String)
|
|
215
|
+
], ProductDetailPatch.prototype, "gtin", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
(0, type_graphql_1.Field)(type => [product_barcode_type_1.ProductBarcodePatch], { nullable: true }),
|
|
218
|
+
__metadata("design:type", Array)
|
|
219
|
+
], ProductDetailPatch.prototype, "productBarcodes", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
222
|
+
__metadata("design:type", String)
|
|
223
|
+
], ProductDetailPatch.prototype, "refCode", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
226
|
+
__metadata("design:type", typeof (_c = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _c : Object)
|
|
227
|
+
], ProductDetailPatch.prototype, "product", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
230
|
+
__metadata("design:type", Boolean)
|
|
231
|
+
], ProductDetailPatch.prototype, "isDefault", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
234
|
+
__metadata("design:type", String)
|
|
235
|
+
], ProductDetailPatch.prototype, "packingType", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
238
|
+
__metadata("design:type", Number)
|
|
239
|
+
], ProductDetailPatch.prototype, "packingSize", void 0);
|
|
240
|
+
__decorate([
|
|
241
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
242
|
+
__metadata("design:type", String)
|
|
243
|
+
], ProductDetailPatch.prototype, "movement", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
246
|
+
__metadata("design:type", String)
|
|
247
|
+
], ProductDetailPatch.prototype, "uom", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
250
|
+
__metadata("design:type", Number)
|
|
251
|
+
], ProductDetailPatch.prototype, "uomValue", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
254
|
+
__metadata("design:type", String)
|
|
255
|
+
], ProductDetailPatch.prototype, "childProductDetail", void 0);
|
|
256
|
+
__decorate([
|
|
257
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
258
|
+
__metadata("design:type", String)
|
|
259
|
+
], ProductDetailPatch.prototype, "childGtin", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
262
|
+
__metadata("design:type", Number)
|
|
263
|
+
], ProductDetailPatch.prototype, "childQty", void 0);
|
|
264
|
+
__decorate([
|
|
265
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
266
|
+
__metadata("design:type", String)
|
|
267
|
+
], ProductDetailPatch.prototype, "weightUnit", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
270
|
+
__metadata("design:type", Number)
|
|
271
|
+
], ProductDetailPatch.prototype, "nettWeight", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
274
|
+
__metadata("design:type", Number)
|
|
275
|
+
], ProductDetailPatch.prototype, "grossWeight", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
278
|
+
__metadata("design:type", String)
|
|
279
|
+
], ProductDetailPatch.prototype, "lengthUnit", void 0);
|
|
280
|
+
__decorate([
|
|
281
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
282
|
+
__metadata("design:type", Number)
|
|
283
|
+
], ProductDetailPatch.prototype, "width", void 0);
|
|
284
|
+
__decorate([
|
|
285
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
286
|
+
__metadata("design:type", Number)
|
|
287
|
+
], ProductDetailPatch.prototype, "depth", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
290
|
+
__metadata("design:type", Number)
|
|
291
|
+
], ProductDetailPatch.prototype, "height", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
294
|
+
__metadata("design:type", Number)
|
|
295
|
+
], ProductDetailPatch.prototype, "volume", void 0);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
298
|
+
__metadata("design:type", Number)
|
|
299
|
+
], ProductDetailPatch.prototype, "bufferQty", void 0);
|
|
300
|
+
__decorate([
|
|
301
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
302
|
+
__metadata("design:type", Number)
|
|
303
|
+
], ProductDetailPatch.prototype, "minQty", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
306
|
+
__metadata("design:type", Number)
|
|
307
|
+
], ProductDetailPatch.prototype, "maxQty", void 0);
|
|
308
|
+
__decorate([
|
|
309
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
310
|
+
__metadata("design:type", String)
|
|
311
|
+
], ProductDetailPatch.prototype, "auxUnit1", void 0);
|
|
312
|
+
__decorate([
|
|
313
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
314
|
+
__metadata("design:type", String)
|
|
315
|
+
], ProductDetailPatch.prototype, "auxValue1", void 0);
|
|
316
|
+
__decorate([
|
|
317
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
318
|
+
__metadata("design:type", String)
|
|
319
|
+
], ProductDetailPatch.prototype, "auxUnit2", void 0);
|
|
320
|
+
__decorate([
|
|
321
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
322
|
+
__metadata("design:type", String)
|
|
323
|
+
], ProductDetailPatch.prototype, "auxValue2", void 0);
|
|
324
|
+
__decorate([
|
|
325
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
326
|
+
__metadata("design:type", String)
|
|
327
|
+
], ProductDetailPatch.prototype, "auxUnit3", void 0);
|
|
328
|
+
__decorate([
|
|
329
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
330
|
+
__metadata("design:type", String)
|
|
331
|
+
], ProductDetailPatch.prototype, "auxValue3", void 0);
|
|
332
|
+
__decorate([
|
|
333
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
334
|
+
__metadata("design:type", String)
|
|
335
|
+
], ProductDetailPatch.prototype, "auxUnit4", void 0);
|
|
336
|
+
__decorate([
|
|
337
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
338
|
+
__metadata("design:type", String)
|
|
339
|
+
], ProductDetailPatch.prototype, "auxValue4", void 0);
|
|
340
|
+
__decorate([
|
|
341
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
342
|
+
__metadata("design:type", String)
|
|
343
|
+
], ProductDetailPatch.prototype, "auxUnit5", void 0);
|
|
344
|
+
__decorate([
|
|
345
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
346
|
+
__metadata("design:type", String)
|
|
347
|
+
], ProductDetailPatch.prototype, "auxValue5", void 0);
|
|
348
|
+
__decorate([
|
|
349
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
350
|
+
__metadata("design:type", Boolean)
|
|
351
|
+
], ProductDetailPatch.prototype, "isTrackedAsInventory", void 0);
|
|
352
|
+
__decorate([
|
|
353
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
354
|
+
__metadata("design:type", Number)
|
|
355
|
+
], ProductDetailPatch.prototype, "discountId", void 0);
|
|
356
|
+
__decorate([
|
|
357
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
358
|
+
__metadata("design:type", Number)
|
|
359
|
+
], ProductDetailPatch.prototype, "costPrice", void 0);
|
|
360
|
+
__decorate([
|
|
361
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
362
|
+
__metadata("design:type", Number)
|
|
363
|
+
], ProductDetailPatch.prototype, "mrpPrice", void 0);
|
|
364
|
+
__decorate([
|
|
365
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
366
|
+
__metadata("design:type", Number)
|
|
367
|
+
], ProductDetailPatch.prototype, "sellPrice", void 0);
|
|
368
|
+
__decorate([
|
|
369
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
370
|
+
__metadata("design:type", Number)
|
|
371
|
+
], ProductDetailPatch.prototype, "afterTaxCostPrice", void 0);
|
|
372
|
+
__decorate([
|
|
373
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
374
|
+
__metadata("design:type", Number)
|
|
375
|
+
], ProductDetailPatch.prototype, "afterTaxSalesPrice", void 0);
|
|
376
|
+
__decorate([
|
|
377
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
378
|
+
__metadata("design:type", String)
|
|
379
|
+
], ProductDetailPatch.prototype, "inventoryAccountCode", void 0);
|
|
380
|
+
__decorate([
|
|
381
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
382
|
+
__metadata("design:type", String)
|
|
383
|
+
], ProductDetailPatch.prototype, "cogsAccountCode", void 0);
|
|
384
|
+
__decorate([
|
|
385
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
386
|
+
__metadata("design:type", String)
|
|
387
|
+
], ProductDetailPatch.prototype, "cuFlag", void 0);
|
|
388
|
+
ProductDetailPatch = __decorate([
|
|
389
|
+
(0, type_graphql_1.InputType)()
|
|
390
|
+
], ProductDetailPatch);
|
|
391
|
+
exports.ProductDetailPatch = ProductDetailPatch;
|
|
392
|
+
//# sourceMappingURL=product-detail-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-detail-types.js","sourceRoot":"","sources":["../../../server/service/product-detail/product-detail-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+CAAuE;AAEvE,iDAAiD;AAEjD,kFAA6E;AAC7E,qDAAgD;AAGzC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CA6H5B,CAAA;AA5HC;IAAC,IAAA,oBAAK,GAAE;;8CACI;AAEZ;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC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