@things-factory/product-base 5.0.2 → 5.0.14
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 +2 -15
- package/dist-server/constants/index.js.map +1 -1
- package/dist-server/constants/product.js.map +1 -1
- package/dist-server/controllers/index.js.map +1 -1
- package/dist-server/index.js +3 -16
- package/dist-server/index.js.map +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/service/index.js +17 -30
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/product/index.js.map +1 -1
- package/dist-server/service/product/product-mutation.js +59 -73
- package/dist-server/service/product/product-mutation.js.map +1 -1
- package/dist-server/service/product/product-query.js +78 -89
- package/dist-server/service/product/product-query.js.map +1 -1
- package/dist-server/service/product/product-types.js +261 -272
- package/dist-server/service/product/product-types.js.map +1 -1
- package/dist-server/service/product/product.js +179 -187
- package/dist-server/service/product/product.js.map +1 -1
- package/dist-server/service/product/validate-product.js +2 -4
- package/dist-server/service/product/validate-product.js.map +1 -1
- package/dist-server/service/product-bundle/index.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-mutation.js +33 -44
- package/dist-server/service/product-bundle/product-bundle-mutation.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-query.js +35 -46
- package/dist-server/service/product-bundle/product-bundle-query.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-types.js +30 -38
- package/dist-server/service/product-bundle/product-bundle-types.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle.js +40 -48
- package/dist-server/service/product-bundle/product-bundle.js.map +1 -1
- package/dist-server/service/product-bundle-setting/index.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js +27 -38
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js +14 -25
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js +23 -31
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js +16 -24
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js.map +1 -1
- package/dist-server/service/product-combination/index.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-mutation.js +34 -45
- package/dist-server/service/product-combination/product-combination-mutation.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-query.js +29 -40
- package/dist-server/service/product-combination/product-combination-query.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-type.js +28 -36
- package/dist-server/service/product-combination/product-combination-type.js.map +1 -1
- package/dist-server/service/product-combination/product-combination.js +42 -50
- package/dist-server/service/product-combination/product-combination.js.map +1 -1
- package/dist-server/service/product-combination-setting/index.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js +40 -51
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js +35 -46
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js +24 -32
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting.js +36 -44
- package/dist-server/service/product-combination-setting/product-combination-setting.js.map +1 -1
- package/dist-server/service/product-detail/index.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-mutation.js +30 -51
- package/dist-server/service/product-detail/product-detail-mutation.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-query.js +33 -44
- package/dist-server/service/product-detail/product-detail-query.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-types.js +180 -188
- package/dist-server/service/product-detail/product-detail-types.js.map +1 -1
- package/dist-server/service/product-detail/product-detail.js +127 -135
- package/dist-server/service/product-detail/product-detail.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/index.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js +28 -39
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js +29 -40
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js +36 -44
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js +32 -40
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js.map +1 -1
- package/dist-server/service/product-set/index.js.map +1 -1
- package/dist-server/service/product-set/product-set-mutation.js +33 -44
- package/dist-server/service/product-set/product-set-mutation.js.map +1 -1
- package/dist-server/service/product-set/product-set-query.js +35 -46
- package/dist-server/service/product-set/product-set-query.js.map +1 -1
- package/dist-server/service/product-set/product-set-types.js +26 -34
- package/dist-server/service/product-set/product-set-types.js.map +1 -1
- package/dist-server/service/product-set/product-set.js +34 -42
- package/dist-server/service/product-set/product-set.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/dist-server/utils/index.js +2 -15
- package/dist-server/utils/index.js.map +1 -1
- package/dist-server/utils/product-util.js.map +1 -1
- package/package.json +4 -4
- package/server/service/product/product-query.ts +1 -1
- package/server/service/product/product.ts +2 -2
|
@@ -1,20 +1,9 @@
|
|
|
1
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
15
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
4
|
exports.ProductPatch = exports.ProductList = exports.NewProduct = void 0;
|
|
17
|
-
const
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
6
|
+
const GraphQLUpload_js_1 = tslib_1.__importDefault(require("graphql-upload/GraphQLUpload.js"));
|
|
18
7
|
const type_graphql_1 = require("type-graphql");
|
|
19
8
|
const biz_base_1 = require("@things-factory/biz-base");
|
|
20
9
|
const shell_1 = require("@things-factory/shell");
|
|
@@ -22,531 +11,531 @@ const product_detail_types_1 = require("../product-detail/product-detail-types")
|
|
|
22
11
|
const product_1 = require("./product");
|
|
23
12
|
let NewProduct = class NewProduct {
|
|
24
13
|
};
|
|
25
|
-
__decorate([
|
|
14
|
+
tslib_1.__decorate([
|
|
26
15
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
27
|
-
__metadata("design:type", String)
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
28
17
|
], NewProduct.prototype, "id", void 0);
|
|
29
|
-
__decorate([
|
|
18
|
+
tslib_1.__decorate([
|
|
30
19
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
31
|
-
__metadata("design:type", String)
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
32
21
|
], NewProduct.prototype, "sku", void 0);
|
|
33
|
-
__decorate([
|
|
22
|
+
tslib_1.__decorate([
|
|
34
23
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
36
25
|
], NewProduct.prototype, "name", void 0);
|
|
37
|
-
__decorate([
|
|
26
|
+
tslib_1.__decorate([
|
|
38
27
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
39
|
-
__metadata("design:type", typeof (_a = typeof biz_base_1.BizplacePatch !== "undefined" && biz_base_1.BizplacePatch) === "function" ? _a : Object)
|
|
28
|
+
tslib_1.__metadata("design:type", typeof (_a = typeof biz_base_1.BizplacePatch !== "undefined" && biz_base_1.BizplacePatch) === "function" ? _a : Object)
|
|
40
29
|
], NewProduct.prototype, "bizplace", void 0);
|
|
41
|
-
__decorate([
|
|
30
|
+
tslib_1.__decorate([
|
|
42
31
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
32
|
+
tslib_1.__metadata("design:type", String)
|
|
44
33
|
], NewProduct.prototype, "description", void 0);
|
|
45
|
-
__decorate([
|
|
34
|
+
tslib_1.__decorate([
|
|
46
35
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
47
|
-
__metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
|
|
36
|
+
tslib_1.__metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
|
|
48
37
|
], NewProduct.prototype, "productRef", void 0);
|
|
49
|
-
__decorate([
|
|
38
|
+
tslib_1.__decorate([
|
|
50
39
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
51
|
-
__metadata("design:type", typeof (_c = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _c : Object)
|
|
40
|
+
tslib_1.__metadata("design:type", typeof (_c = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _c : Object)
|
|
52
41
|
], NewProduct.prototype, "parentProductRef", void 0);
|
|
53
|
-
__decorate([
|
|
42
|
+
tslib_1.__decorate([
|
|
54
43
|
(0, type_graphql_1.Field)(type => [shell_1.ObjectRef], { nullable: true }),
|
|
55
|
-
__metadata("design:type", Array)
|
|
44
|
+
tslib_1.__metadata("design:type", Array)
|
|
56
45
|
], NewProduct.prototype, "childProducts", void 0);
|
|
57
|
-
__decorate([
|
|
46
|
+
tslib_1.__decorate([
|
|
58
47
|
(0, type_graphql_1.Field)(type => [product_detail_types_1.ProductDetailPatch], { nullable: true }),
|
|
59
|
-
__metadata("design:type", Array)
|
|
48
|
+
tslib_1.__metadata("design:type", Array)
|
|
60
49
|
], NewProduct.prototype, "productDetails", void 0);
|
|
61
|
-
__decorate([
|
|
50
|
+
tslib_1.__decorate([
|
|
62
51
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
63
|
-
__metadata("design:type", Number)
|
|
52
|
+
tslib_1.__metadata("design:type", Number)
|
|
64
53
|
], NewProduct.prototype, "bundleQty", void 0);
|
|
65
|
-
__decorate([
|
|
54
|
+
tslib_1.__decorate([
|
|
66
55
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
56
|
+
tslib_1.__metadata("design:type", String)
|
|
68
57
|
], NewProduct.prototype, "type", void 0);
|
|
69
|
-
__decorate([
|
|
58
|
+
tslib_1.__decorate([
|
|
70
59
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
71
|
-
__metadata("design:type", Number)
|
|
60
|
+
tslib_1.__metadata("design:type", Number)
|
|
72
61
|
], NewProduct.prototype, "expirationPeriod", void 0);
|
|
73
|
-
__decorate([
|
|
62
|
+
tslib_1.__decorate([
|
|
74
63
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
75
|
-
__metadata("design:type", String)
|
|
64
|
+
tslib_1.__metadata("design:type", String)
|
|
76
65
|
], NewProduct.prototype, "movement", void 0);
|
|
77
|
-
__decorate([
|
|
66
|
+
tslib_1.__decorate([
|
|
78
67
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
79
|
-
__metadata("design:type", String)
|
|
68
|
+
tslib_1.__metadata("design:type", String)
|
|
80
69
|
], NewProduct.prototype, "weightUnit", void 0);
|
|
81
|
-
__decorate([
|
|
70
|
+
tslib_1.__decorate([
|
|
82
71
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
83
|
-
__metadata("design:type", Number)
|
|
72
|
+
tslib_1.__metadata("design:type", Number)
|
|
84
73
|
], NewProduct.prototype, "nettWeight", void 0);
|
|
85
|
-
__decorate([
|
|
74
|
+
tslib_1.__decorate([
|
|
86
75
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
87
|
-
__metadata("design:type", Number)
|
|
76
|
+
tslib_1.__metadata("design:type", Number)
|
|
88
77
|
], NewProduct.prototype, "density", void 0);
|
|
89
|
-
__decorate([
|
|
78
|
+
tslib_1.__decorate([
|
|
90
79
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
80
|
+
tslib_1.__metadata("design:type", String)
|
|
92
81
|
], NewProduct.prototype, "packingType", void 0);
|
|
93
|
-
__decorate([
|
|
82
|
+
tslib_1.__decorate([
|
|
94
83
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
84
|
+
tslib_1.__metadata("design:type", String)
|
|
96
85
|
], NewProduct.prototype, "lengthUnit", void 0);
|
|
97
|
-
__decorate([
|
|
86
|
+
tslib_1.__decorate([
|
|
98
87
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
99
|
-
__metadata("design:type", Number)
|
|
88
|
+
tslib_1.__metadata("design:type", Number)
|
|
100
89
|
], NewProduct.prototype, "costPrice", void 0);
|
|
101
|
-
__decorate([
|
|
90
|
+
tslib_1.__decorate([
|
|
102
91
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
103
|
-
__metadata("design:type", Number)
|
|
92
|
+
tslib_1.__metadata("design:type", Number)
|
|
104
93
|
], NewProduct.prototype, "afterTaxCostPrice", void 0);
|
|
105
|
-
__decorate([
|
|
94
|
+
tslib_1.__decorate([
|
|
106
95
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
107
|
-
__metadata("design:type", Number)
|
|
96
|
+
tslib_1.__metadata("design:type", Number)
|
|
108
97
|
], NewProduct.prototype, "sellPrice", void 0);
|
|
109
|
-
__decorate([
|
|
98
|
+
tslib_1.__decorate([
|
|
110
99
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
111
|
-
__metadata("design:type", Number)
|
|
100
|
+
tslib_1.__metadata("design:type", Number)
|
|
112
101
|
], NewProduct.prototype, "afterTaxSalesPrice", void 0);
|
|
113
|
-
__decorate([
|
|
102
|
+
tslib_1.__decorate([
|
|
114
103
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
115
|
-
__metadata("design:type", Number)
|
|
104
|
+
tslib_1.__metadata("design:type", Number)
|
|
116
105
|
], NewProduct.prototype, "mrpPrice", void 0);
|
|
117
|
-
__decorate([
|
|
106
|
+
tslib_1.__decorate([
|
|
118
107
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
119
|
-
__metadata("design:type", Number)
|
|
108
|
+
tslib_1.__metadata("design:type", Number)
|
|
120
109
|
], NewProduct.prototype, "bufferQty", void 0);
|
|
121
|
-
__decorate([
|
|
110
|
+
tslib_1.__decorate([
|
|
122
111
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
123
|
-
__metadata("design:type", Number)
|
|
112
|
+
tslib_1.__metadata("design:type", Number)
|
|
124
113
|
], NewProduct.prototype, "minQty", void 0);
|
|
125
|
-
__decorate([
|
|
114
|
+
tslib_1.__decorate([
|
|
126
115
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
127
|
-
__metadata("design:type", Number)
|
|
116
|
+
tslib_1.__metadata("design:type", Number)
|
|
128
117
|
], NewProduct.prototype, "maxQty", void 0);
|
|
129
|
-
__decorate([
|
|
118
|
+
tslib_1.__decorate([
|
|
130
119
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
131
|
-
__metadata("design:type", Number)
|
|
120
|
+
tslib_1.__metadata("design:type", Number)
|
|
132
121
|
], NewProduct.prototype, "width", void 0);
|
|
133
|
-
__decorate([
|
|
122
|
+
tslib_1.__decorate([
|
|
134
123
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
135
|
-
__metadata("design:type", Number)
|
|
124
|
+
tslib_1.__metadata("design:type", Number)
|
|
136
125
|
], NewProduct.prototype, "depth", void 0);
|
|
137
|
-
__decorate([
|
|
126
|
+
tslib_1.__decorate([
|
|
138
127
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
139
|
-
__metadata("design:type", Number)
|
|
128
|
+
tslib_1.__metadata("design:type", Number)
|
|
140
129
|
], NewProduct.prototype, "height", void 0);
|
|
141
|
-
__decorate([
|
|
130
|
+
tslib_1.__decorate([
|
|
142
131
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
143
|
-
__metadata("design:type", String)
|
|
132
|
+
tslib_1.__metadata("design:type", String)
|
|
144
133
|
], NewProduct.prototype, "primaryUnit", void 0);
|
|
145
|
-
__decorate([
|
|
134
|
+
tslib_1.__decorate([
|
|
146
135
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
147
|
-
__metadata("design:type", Number)
|
|
136
|
+
tslib_1.__metadata("design:type", Number)
|
|
148
137
|
], NewProduct.prototype, "primaryValue", void 0);
|
|
149
|
-
__decorate([
|
|
138
|
+
tslib_1.__decorate([
|
|
150
139
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
151
|
-
__metadata("design:type", String)
|
|
140
|
+
tslib_1.__metadata("design:type", String)
|
|
152
141
|
], NewProduct.prototype, "uom", void 0);
|
|
153
|
-
__decorate([
|
|
142
|
+
tslib_1.__decorate([
|
|
154
143
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
155
|
-
__metadata("design:type", Number)
|
|
144
|
+
tslib_1.__metadata("design:type", Number)
|
|
156
145
|
], NewProduct.prototype, "uomValue", void 0);
|
|
157
|
-
__decorate([
|
|
146
|
+
tslib_1.__decorate([
|
|
158
147
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
159
|
-
__metadata("design:type", String)
|
|
148
|
+
tslib_1.__metadata("design:type", String)
|
|
160
149
|
], NewProduct.prototype, "inventoryAccountCode", void 0);
|
|
161
|
-
__decorate([
|
|
150
|
+
tslib_1.__decorate([
|
|
162
151
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
163
|
-
__metadata("design:type", String)
|
|
152
|
+
tslib_1.__metadata("design:type", String)
|
|
164
153
|
], NewProduct.prototype, "cogsAccountCode", void 0);
|
|
165
|
-
__decorate([
|
|
154
|
+
tslib_1.__decorate([
|
|
166
155
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
167
|
-
__metadata("design:type", String)
|
|
156
|
+
tslib_1.__metadata("design:type", String)
|
|
168
157
|
], NewProduct.prototype, "auxUnit1", void 0);
|
|
169
|
-
__decorate([
|
|
158
|
+
tslib_1.__decorate([
|
|
170
159
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
171
|
-
__metadata("design:type", String)
|
|
160
|
+
tslib_1.__metadata("design:type", String)
|
|
172
161
|
], NewProduct.prototype, "auxValue1", void 0);
|
|
173
|
-
__decorate([
|
|
162
|
+
tslib_1.__decorate([
|
|
174
163
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
175
|
-
__metadata("design:type", String)
|
|
164
|
+
tslib_1.__metadata("design:type", String)
|
|
176
165
|
], NewProduct.prototype, "auxUnit2", void 0);
|
|
177
|
-
__decorate([
|
|
166
|
+
tslib_1.__decorate([
|
|
178
167
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
179
|
-
__metadata("design:type", String)
|
|
168
|
+
tslib_1.__metadata("design:type", String)
|
|
180
169
|
], NewProduct.prototype, "auxValue2", void 0);
|
|
181
|
-
__decorate([
|
|
170
|
+
tslib_1.__decorate([
|
|
182
171
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
183
|
-
__metadata("design:type", String)
|
|
172
|
+
tslib_1.__metadata("design:type", String)
|
|
184
173
|
], NewProduct.prototype, "auxUnit3", void 0);
|
|
185
|
-
__decorate([
|
|
174
|
+
tslib_1.__decorate([
|
|
186
175
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
187
|
-
__metadata("design:type", String)
|
|
176
|
+
tslib_1.__metadata("design:type", String)
|
|
188
177
|
], NewProduct.prototype, "auxValue3", void 0);
|
|
189
|
-
__decorate([
|
|
178
|
+
tslib_1.__decorate([
|
|
190
179
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
191
|
-
__metadata("design:type", String)
|
|
180
|
+
tslib_1.__metadata("design:type", String)
|
|
192
181
|
], NewProduct.prototype, "auxUnit4", void 0);
|
|
193
|
-
__decorate([
|
|
182
|
+
tslib_1.__decorate([
|
|
194
183
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
195
|
-
__metadata("design:type", String)
|
|
184
|
+
tslib_1.__metadata("design:type", String)
|
|
196
185
|
], NewProduct.prototype, "auxValue4", void 0);
|
|
197
|
-
__decorate([
|
|
186
|
+
tslib_1.__decorate([
|
|
198
187
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
199
|
-
__metadata("design:type", String)
|
|
188
|
+
tslib_1.__metadata("design:type", String)
|
|
200
189
|
], NewProduct.prototype, "auxUnit5", void 0);
|
|
201
|
-
__decorate([
|
|
190
|
+
tslib_1.__decorate([
|
|
202
191
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
203
|
-
__metadata("design:type", String)
|
|
192
|
+
tslib_1.__metadata("design:type", String)
|
|
204
193
|
], NewProduct.prototype, "auxValue5", void 0);
|
|
205
|
-
__decorate([
|
|
194
|
+
tslib_1.__decorate([
|
|
206
195
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
207
|
-
__metadata("design:type", String)
|
|
196
|
+
tslib_1.__metadata("design:type", String)
|
|
208
197
|
], NewProduct.prototype, "groupType", void 0);
|
|
209
|
-
__decorate([
|
|
198
|
+
tslib_1.__decorate([
|
|
210
199
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
211
|
-
__metadata("design:type", String)
|
|
200
|
+
tslib_1.__metadata("design:type", String)
|
|
212
201
|
], NewProduct.prototype, "brandSku", void 0);
|
|
213
|
-
__decorate([
|
|
202
|
+
tslib_1.__decorate([
|
|
214
203
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
215
|
-
__metadata("design:type", String)
|
|
204
|
+
tslib_1.__metadata("design:type", String)
|
|
216
205
|
], NewProduct.prototype, "brand", void 0);
|
|
217
|
-
__decorate([
|
|
206
|
+
tslib_1.__decorate([
|
|
218
207
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
219
|
-
__metadata("design:type", String)
|
|
208
|
+
tslib_1.__metadata("design:type", String)
|
|
220
209
|
], NewProduct.prototype, "subBrand", void 0);
|
|
221
|
-
__decorate([
|
|
210
|
+
tslib_1.__decorate([
|
|
222
211
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
223
|
-
__metadata("design:type", Boolean)
|
|
212
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
224
213
|
], NewProduct.prototype, "isRequiredCheckExpiry", void 0);
|
|
225
|
-
__decorate([
|
|
214
|
+
tslib_1.__decorate([
|
|
226
215
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
227
|
-
__metadata("design:type", Boolean)
|
|
216
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
228
217
|
], NewProduct.prototype, "isRequireSerialNumberScanning", void 0);
|
|
229
|
-
__decorate([
|
|
218
|
+
tslib_1.__decorate([
|
|
230
219
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
231
|
-
__metadata("design:type", Boolean)
|
|
220
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
232
221
|
], NewProduct.prototype, "isRequireSerialNumberScanningInbound", void 0);
|
|
233
|
-
__decorate([
|
|
222
|
+
tslib_1.__decorate([
|
|
234
223
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
235
|
-
__metadata("design:type", Boolean)
|
|
224
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
236
225
|
], NewProduct.prototype, "isRequireSerialNumberScanningOutbound", void 0);
|
|
237
|
-
__decorate([
|
|
226
|
+
tslib_1.__decorate([
|
|
238
227
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
239
|
-
__metadata("design:type", String)
|
|
228
|
+
tslib_1.__metadata("design:type", String)
|
|
240
229
|
], NewProduct.prototype, "gtin", void 0);
|
|
241
|
-
__decorate([
|
|
230
|
+
tslib_1.__decorate([
|
|
242
231
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
243
|
-
__metadata("design:type", Number)
|
|
232
|
+
tslib_1.__metadata("design:type", Number)
|
|
244
233
|
], NewProduct.prototype, "grossWeight", void 0);
|
|
245
|
-
__decorate([
|
|
234
|
+
tslib_1.__decorate([
|
|
246
235
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
247
|
-
__metadata("design:type", Number)
|
|
236
|
+
tslib_1.__metadata("design:type", Number)
|
|
248
237
|
], NewProduct.prototype, "volume", void 0);
|
|
249
|
-
__decorate([
|
|
238
|
+
tslib_1.__decorate([
|
|
250
239
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
251
|
-
__metadata("design:type", Number)
|
|
240
|
+
tslib_1.__metadata("design:type", Number)
|
|
252
241
|
], NewProduct.prototype, "volumeSize", void 0);
|
|
253
|
-
__decorate([
|
|
242
|
+
tslib_1.__decorate([
|
|
254
243
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
255
|
-
__metadata("design:type", typeof (_d = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _d : Object)
|
|
244
|
+
tslib_1.__metadata("design:type", typeof (_d = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _d : Object)
|
|
256
245
|
], NewProduct.prototype, "routing", void 0);
|
|
257
|
-
__decorate([
|
|
246
|
+
tslib_1.__decorate([
|
|
258
247
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
259
|
-
__metadata("design:type", String)
|
|
248
|
+
tslib_1.__metadata("design:type", String)
|
|
260
249
|
], NewProduct.prototype, "warehouseName", void 0);
|
|
261
|
-
__decorate([
|
|
250
|
+
tslib_1.__decorate([
|
|
262
251
|
(0, type_graphql_1.Field)(type => GraphQLUpload_js_1.default, { nullable: true }),
|
|
263
|
-
__metadata("design:type", Object)
|
|
252
|
+
tslib_1.__metadata("design:type", Object)
|
|
264
253
|
], NewProduct.prototype, "thumbnail", void 0);
|
|
265
|
-
__decorate([
|
|
254
|
+
tslib_1.__decorate([
|
|
266
255
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
267
|
-
__metadata("design:type", String)
|
|
256
|
+
tslib_1.__metadata("design:type", String)
|
|
268
257
|
], NewProduct.prototype, "pickingStrategy", void 0);
|
|
269
|
-
NewProduct = __decorate([
|
|
258
|
+
NewProduct = tslib_1.__decorate([
|
|
270
259
|
(0, type_graphql_1.InputType)()
|
|
271
260
|
], NewProduct);
|
|
272
261
|
exports.NewProduct = NewProduct;
|
|
273
262
|
let ProductList = class ProductList {
|
|
274
263
|
};
|
|
275
|
-
__decorate([
|
|
264
|
+
tslib_1.__decorate([
|
|
276
265
|
(0, type_graphql_1.Field)(type => [product_1.Product], { nullable: true }),
|
|
277
|
-
__metadata("design:type", Array)
|
|
266
|
+
tslib_1.__metadata("design:type", Array)
|
|
278
267
|
], ProductList.prototype, "items", void 0);
|
|
279
|
-
__decorate([
|
|
268
|
+
tslib_1.__decorate([
|
|
280
269
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
281
|
-
__metadata("design:type", Number)
|
|
270
|
+
tslib_1.__metadata("design:type", Number)
|
|
282
271
|
], ProductList.prototype, "total", void 0);
|
|
283
|
-
ProductList = __decorate([
|
|
272
|
+
ProductList = tslib_1.__decorate([
|
|
284
273
|
(0, type_graphql_1.ObjectType)()
|
|
285
274
|
], ProductList);
|
|
286
275
|
exports.ProductList = ProductList;
|
|
287
276
|
let ProductPatch = class ProductPatch {
|
|
288
277
|
};
|
|
289
|
-
__decorate([
|
|
278
|
+
tslib_1.__decorate([
|
|
290
279
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
291
|
-
__metadata("design:type", String)
|
|
280
|
+
tslib_1.__metadata("design:type", String)
|
|
292
281
|
], ProductPatch.prototype, "id", void 0);
|
|
293
|
-
__decorate([
|
|
282
|
+
tslib_1.__decorate([
|
|
294
283
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
295
|
-
__metadata("design:type", String)
|
|
284
|
+
tslib_1.__metadata("design:type", String)
|
|
296
285
|
], ProductPatch.prototype, "sku", void 0);
|
|
297
|
-
__decorate([
|
|
286
|
+
tslib_1.__decorate([
|
|
298
287
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
299
|
-
__metadata("design:type", String)
|
|
288
|
+
tslib_1.__metadata("design:type", String)
|
|
300
289
|
], ProductPatch.prototype, "name", void 0);
|
|
301
|
-
__decorate([
|
|
290
|
+
tslib_1.__decorate([
|
|
302
291
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
303
|
-
__metadata("design:type", String)
|
|
292
|
+
tslib_1.__metadata("design:type", String)
|
|
304
293
|
], ProductPatch.prototype, "description", void 0);
|
|
305
|
-
__decorate([
|
|
294
|
+
tslib_1.__decorate([
|
|
306
295
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
307
|
-
__metadata("design:type", typeof (_e = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _e : Object)
|
|
296
|
+
tslib_1.__metadata("design:type", typeof (_e = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _e : Object)
|
|
308
297
|
], ProductPatch.prototype, "bizplace", void 0);
|
|
309
|
-
__decorate([
|
|
298
|
+
tslib_1.__decorate([
|
|
310
299
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
311
|
-
__metadata("design:type", typeof (_f = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _f : Object)
|
|
300
|
+
tslib_1.__metadata("design:type", typeof (_f = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _f : Object)
|
|
312
301
|
], ProductPatch.prototype, "productRef", void 0);
|
|
313
|
-
__decorate([
|
|
302
|
+
tslib_1.__decorate([
|
|
314
303
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
315
|
-
__metadata("design:type", typeof (_g = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _g : Object)
|
|
304
|
+
tslib_1.__metadata("design:type", typeof (_g = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _g : Object)
|
|
316
305
|
], ProductPatch.prototype, "parentProductRef", void 0);
|
|
317
|
-
__decorate([
|
|
306
|
+
tslib_1.__decorate([
|
|
318
307
|
(0, type_graphql_1.Field)(type => [shell_1.ObjectRef], { nullable: true }),
|
|
319
|
-
__metadata("design:type", Array)
|
|
308
|
+
tslib_1.__metadata("design:type", Array)
|
|
320
309
|
], ProductPatch.prototype, "childProducts", void 0);
|
|
321
|
-
__decorate([
|
|
310
|
+
tslib_1.__decorate([
|
|
322
311
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
323
|
-
__metadata("design:type", Number)
|
|
312
|
+
tslib_1.__metadata("design:type", Number)
|
|
324
313
|
], ProductPatch.prototype, "bundleQty", void 0);
|
|
325
|
-
__decorate([
|
|
314
|
+
tslib_1.__decorate([
|
|
326
315
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
327
|
-
__metadata("design:type", String)
|
|
316
|
+
tslib_1.__metadata("design:type", String)
|
|
328
317
|
], ProductPatch.prototype, "refCode", void 0);
|
|
329
|
-
__decorate([
|
|
318
|
+
tslib_1.__decorate([
|
|
330
319
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
331
|
-
__metadata("design:type", String)
|
|
320
|
+
tslib_1.__metadata("design:type", String)
|
|
332
321
|
], ProductPatch.prototype, "packingType", void 0);
|
|
333
|
-
__decorate([
|
|
322
|
+
tslib_1.__decorate([
|
|
334
323
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
335
|
-
__metadata("design:type", Number)
|
|
324
|
+
tslib_1.__metadata("design:type", Number)
|
|
336
325
|
], ProductPatch.prototype, "packingSize", void 0);
|
|
337
|
-
__decorate([
|
|
326
|
+
tslib_1.__decorate([
|
|
338
327
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
339
|
-
__metadata("design:type", String)
|
|
328
|
+
tslib_1.__metadata("design:type", String)
|
|
340
329
|
], ProductPatch.prototype, "type", void 0);
|
|
341
|
-
__decorate([
|
|
330
|
+
tslib_1.__decorate([
|
|
342
331
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
343
|
-
__metadata("design:type", Number)
|
|
332
|
+
tslib_1.__metadata("design:type", Number)
|
|
344
333
|
], ProductPatch.prototype, "expirationPeriod", void 0);
|
|
345
|
-
__decorate([
|
|
334
|
+
tslib_1.__decorate([
|
|
346
335
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
347
|
-
__metadata("design:type", String)
|
|
336
|
+
tslib_1.__metadata("design:type", String)
|
|
348
337
|
], ProductPatch.prototype, "movement", void 0);
|
|
349
|
-
__decorate([
|
|
338
|
+
tslib_1.__decorate([
|
|
350
339
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
351
|
-
__metadata("design:type", String)
|
|
340
|
+
tslib_1.__metadata("design:type", String)
|
|
352
341
|
], ProductPatch.prototype, "weightUnit", void 0);
|
|
353
|
-
__decorate([
|
|
342
|
+
tslib_1.__decorate([
|
|
354
343
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
355
|
-
__metadata("design:type", Number)
|
|
344
|
+
tslib_1.__metadata("design:type", Number)
|
|
356
345
|
], ProductPatch.prototype, "nettWeight", void 0);
|
|
357
|
-
__decorate([
|
|
346
|
+
tslib_1.__decorate([
|
|
358
347
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
359
|
-
__metadata("design:type", Number)
|
|
348
|
+
tslib_1.__metadata("design:type", Number)
|
|
360
349
|
], ProductPatch.prototype, "density", void 0);
|
|
361
|
-
__decorate([
|
|
350
|
+
tslib_1.__decorate([
|
|
362
351
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
363
|
-
__metadata("design:type", String)
|
|
352
|
+
tslib_1.__metadata("design:type", String)
|
|
364
353
|
], ProductPatch.prototype, "lengthUnit", void 0);
|
|
365
|
-
__decorate([
|
|
354
|
+
tslib_1.__decorate([
|
|
366
355
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
367
|
-
__metadata("design:type", Number)
|
|
356
|
+
tslib_1.__metadata("design:type", Number)
|
|
368
357
|
], ProductPatch.prototype, "costPrice", void 0);
|
|
369
|
-
__decorate([
|
|
358
|
+
tslib_1.__decorate([
|
|
370
359
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
371
|
-
__metadata("design:type", Number)
|
|
360
|
+
tslib_1.__metadata("design:type", Number)
|
|
372
361
|
], ProductPatch.prototype, "afterTaxCostPrice", void 0);
|
|
373
|
-
__decorate([
|
|
362
|
+
tslib_1.__decorate([
|
|
374
363
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
375
|
-
__metadata("design:type", Number)
|
|
364
|
+
tslib_1.__metadata("design:type", Number)
|
|
376
365
|
], ProductPatch.prototype, "sellPrice", void 0);
|
|
377
|
-
__decorate([
|
|
366
|
+
tslib_1.__decorate([
|
|
378
367
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
379
|
-
__metadata("design:type", Number)
|
|
368
|
+
tslib_1.__metadata("design:type", Number)
|
|
380
369
|
], ProductPatch.prototype, "afterTaxSalesPrice", void 0);
|
|
381
|
-
__decorate([
|
|
370
|
+
tslib_1.__decorate([
|
|
382
371
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
383
|
-
__metadata("design:type", Number)
|
|
372
|
+
tslib_1.__metadata("design:type", Number)
|
|
384
373
|
], ProductPatch.prototype, "mrpPrice", void 0);
|
|
385
|
-
__decorate([
|
|
374
|
+
tslib_1.__decorate([
|
|
386
375
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
387
|
-
__metadata("design:type", Number)
|
|
376
|
+
tslib_1.__metadata("design:type", Number)
|
|
388
377
|
], ProductPatch.prototype, "bufferQty", void 0);
|
|
389
|
-
__decorate([
|
|
378
|
+
tslib_1.__decorate([
|
|
390
379
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
391
|
-
__metadata("design:type", Number)
|
|
380
|
+
tslib_1.__metadata("design:type", Number)
|
|
392
381
|
], ProductPatch.prototype, "minQty", void 0);
|
|
393
|
-
__decorate([
|
|
382
|
+
tslib_1.__decorate([
|
|
394
383
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
395
|
-
__metadata("design:type", Number)
|
|
384
|
+
tslib_1.__metadata("design:type", Number)
|
|
396
385
|
], ProductPatch.prototype, "maxQty", void 0);
|
|
397
|
-
__decorate([
|
|
386
|
+
tslib_1.__decorate([
|
|
398
387
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
399
|
-
__metadata("design:type", Number)
|
|
388
|
+
tslib_1.__metadata("design:type", Number)
|
|
400
389
|
], ProductPatch.prototype, "width", void 0);
|
|
401
|
-
__decorate([
|
|
390
|
+
tslib_1.__decorate([
|
|
402
391
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
403
|
-
__metadata("design:type", Number)
|
|
392
|
+
tslib_1.__metadata("design:type", Number)
|
|
404
393
|
], ProductPatch.prototype, "depth", void 0);
|
|
405
|
-
__decorate([
|
|
394
|
+
tslib_1.__decorate([
|
|
406
395
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
407
|
-
__metadata("design:type", Number)
|
|
396
|
+
tslib_1.__metadata("design:type", Number)
|
|
408
397
|
], ProductPatch.prototype, "height", void 0);
|
|
409
|
-
__decorate([
|
|
398
|
+
tslib_1.__decorate([
|
|
410
399
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
411
|
-
__metadata("design:type", String)
|
|
400
|
+
tslib_1.__metadata("design:type", String)
|
|
412
401
|
], ProductPatch.prototype, "inventoryAccountCode", void 0);
|
|
413
|
-
__decorate([
|
|
402
|
+
tslib_1.__decorate([
|
|
414
403
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
415
|
-
__metadata("design:type", String)
|
|
404
|
+
tslib_1.__metadata("design:type", String)
|
|
416
405
|
], ProductPatch.prototype, "cogsAccountCode", void 0);
|
|
417
|
-
__decorate([
|
|
406
|
+
tslib_1.__decorate([
|
|
418
407
|
(0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
|
|
419
|
-
__metadata("design:type", Boolean)
|
|
408
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
420
409
|
], ProductPatch.prototype, "isTrackedAsInventory", void 0);
|
|
421
|
-
__decorate([
|
|
410
|
+
tslib_1.__decorate([
|
|
422
411
|
(0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
|
|
423
|
-
__metadata("design:type", Boolean)
|
|
412
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
424
413
|
], ProductPatch.prototype, "isRequiredCheckExpiry", void 0);
|
|
425
|
-
__decorate([
|
|
414
|
+
tslib_1.__decorate([
|
|
426
415
|
(0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
|
|
427
|
-
__metadata("design:type", Boolean)
|
|
416
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
428
417
|
], ProductPatch.prototype, "isRequireSerialNumberScanning", void 0);
|
|
429
|
-
__decorate([
|
|
418
|
+
tslib_1.__decorate([
|
|
430
419
|
(0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
|
|
431
|
-
__metadata("design:type", Boolean)
|
|
420
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
432
421
|
], ProductPatch.prototype, "isRequireSerialNumberScanningInbound", void 0);
|
|
433
|
-
__decorate([
|
|
422
|
+
tslib_1.__decorate([
|
|
434
423
|
(0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
|
|
435
|
-
__metadata("design:type", Boolean)
|
|
424
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
436
425
|
], ProductPatch.prototype, "isRequireSerialNumberScanningOutbound", void 0);
|
|
437
|
-
__decorate([
|
|
426
|
+
tslib_1.__decorate([
|
|
438
427
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
439
|
-
__metadata("design:type", String)
|
|
428
|
+
tslib_1.__metadata("design:type", String)
|
|
440
429
|
], ProductPatch.prototype, "primaryUnit", void 0);
|
|
441
|
-
__decorate([
|
|
430
|
+
tslib_1.__decorate([
|
|
442
431
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
443
|
-
__metadata("design:type", Number)
|
|
432
|
+
tslib_1.__metadata("design:type", Number)
|
|
444
433
|
], ProductPatch.prototype, "primaryValue", void 0);
|
|
445
|
-
__decorate([
|
|
434
|
+
tslib_1.__decorate([
|
|
446
435
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
447
|
-
__metadata("design:type", String)
|
|
436
|
+
tslib_1.__metadata("design:type", String)
|
|
448
437
|
], ProductPatch.prototype, "uom", void 0);
|
|
449
|
-
__decorate([
|
|
438
|
+
tslib_1.__decorate([
|
|
450
439
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
451
|
-
__metadata("design:type", Number)
|
|
440
|
+
tslib_1.__metadata("design:type", Number)
|
|
452
441
|
], ProductPatch.prototype, "uomValue", void 0);
|
|
453
|
-
__decorate([
|
|
442
|
+
tslib_1.__decorate([
|
|
454
443
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
455
|
-
__metadata("design:type", String)
|
|
444
|
+
tslib_1.__metadata("design:type", String)
|
|
456
445
|
], ProductPatch.prototype, "auxUnit1", void 0);
|
|
457
|
-
__decorate([
|
|
446
|
+
tslib_1.__decorate([
|
|
458
447
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
459
|
-
__metadata("design:type", String)
|
|
448
|
+
tslib_1.__metadata("design:type", String)
|
|
460
449
|
], ProductPatch.prototype, "auxValue1", void 0);
|
|
461
|
-
__decorate([
|
|
450
|
+
tslib_1.__decorate([
|
|
462
451
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
463
|
-
__metadata("design:type", String)
|
|
452
|
+
tslib_1.__metadata("design:type", String)
|
|
464
453
|
], ProductPatch.prototype, "auxUnit2", void 0);
|
|
465
|
-
__decorate([
|
|
454
|
+
tslib_1.__decorate([
|
|
466
455
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
467
|
-
__metadata("design:type", String)
|
|
456
|
+
tslib_1.__metadata("design:type", String)
|
|
468
457
|
], ProductPatch.prototype, "auxValue2", void 0);
|
|
469
|
-
__decorate([
|
|
458
|
+
tslib_1.__decorate([
|
|
470
459
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
471
|
-
__metadata("design:type", String)
|
|
460
|
+
tslib_1.__metadata("design:type", String)
|
|
472
461
|
], ProductPatch.prototype, "auxUnit3", void 0);
|
|
473
|
-
__decorate([
|
|
462
|
+
tslib_1.__decorate([
|
|
474
463
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
475
|
-
__metadata("design:type", String)
|
|
464
|
+
tslib_1.__metadata("design:type", String)
|
|
476
465
|
], ProductPatch.prototype, "auxValue3", void 0);
|
|
477
|
-
__decorate([
|
|
466
|
+
tslib_1.__decorate([
|
|
478
467
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
479
|
-
__metadata("design:type", String)
|
|
468
|
+
tslib_1.__metadata("design:type", String)
|
|
480
469
|
], ProductPatch.prototype, "auxUnit4", void 0);
|
|
481
|
-
__decorate([
|
|
470
|
+
tslib_1.__decorate([
|
|
482
471
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
483
|
-
__metadata("design:type", String)
|
|
472
|
+
tslib_1.__metadata("design:type", String)
|
|
484
473
|
], ProductPatch.prototype, "auxValue4", void 0);
|
|
485
|
-
__decorate([
|
|
474
|
+
tslib_1.__decorate([
|
|
486
475
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
487
|
-
__metadata("design:type", String)
|
|
476
|
+
tslib_1.__metadata("design:type", String)
|
|
488
477
|
], ProductPatch.prototype, "auxUnit5", void 0);
|
|
489
|
-
__decorate([
|
|
478
|
+
tslib_1.__decorate([
|
|
490
479
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
491
|
-
__metadata("design:type", String)
|
|
480
|
+
tslib_1.__metadata("design:type", String)
|
|
492
481
|
], ProductPatch.prototype, "auxValue5", void 0);
|
|
493
|
-
__decorate([
|
|
482
|
+
tslib_1.__decorate([
|
|
494
483
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
495
|
-
__metadata("design:type", String)
|
|
484
|
+
tslib_1.__metadata("design:type", String)
|
|
496
485
|
], ProductPatch.prototype, "brandSku", void 0);
|
|
497
|
-
__decorate([
|
|
486
|
+
tslib_1.__decorate([
|
|
498
487
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
499
|
-
__metadata("design:type", String)
|
|
488
|
+
tslib_1.__metadata("design:type", String)
|
|
500
489
|
], ProductPatch.prototype, "brand", void 0);
|
|
501
|
-
__decorate([
|
|
490
|
+
tslib_1.__decorate([
|
|
502
491
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
503
|
-
__metadata("design:type", String)
|
|
492
|
+
tslib_1.__metadata("design:type", String)
|
|
504
493
|
], ProductPatch.prototype, "subBrand", void 0);
|
|
505
|
-
__decorate([
|
|
494
|
+
tslib_1.__decorate([
|
|
506
495
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
507
|
-
__metadata("design:type", String)
|
|
496
|
+
tslib_1.__metadata("design:type", String)
|
|
508
497
|
], ProductPatch.prototype, "gtin", void 0);
|
|
509
|
-
__decorate([
|
|
498
|
+
tslib_1.__decorate([
|
|
510
499
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
511
|
-
__metadata("design:type", Number)
|
|
500
|
+
tslib_1.__metadata("design:type", Number)
|
|
512
501
|
], ProductPatch.prototype, "grossWeight", void 0);
|
|
513
|
-
__decorate([
|
|
502
|
+
tslib_1.__decorate([
|
|
514
503
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
515
|
-
__metadata("design:type", Number)
|
|
504
|
+
tslib_1.__metadata("design:type", Number)
|
|
516
505
|
], ProductPatch.prototype, "volume", void 0);
|
|
517
|
-
__decorate([
|
|
506
|
+
tslib_1.__decorate([
|
|
518
507
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
519
|
-
__metadata("design:type", Number)
|
|
508
|
+
tslib_1.__metadata("design:type", Number)
|
|
520
509
|
], ProductPatch.prototype, "volumeSize", void 0);
|
|
521
|
-
__decorate([
|
|
510
|
+
tslib_1.__decorate([
|
|
522
511
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
523
|
-
__metadata("design:type", String)
|
|
512
|
+
tslib_1.__metadata("design:type", String)
|
|
524
513
|
], ProductPatch.prototype, "childGtin", void 0);
|
|
525
|
-
__decorate([
|
|
514
|
+
tslib_1.__decorate([
|
|
526
515
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
527
|
-
__metadata("design:type", Number)
|
|
516
|
+
tslib_1.__metadata("design:type", Number)
|
|
528
517
|
], ProductPatch.prototype, "childQty", void 0);
|
|
529
|
-
__decorate([
|
|
518
|
+
tslib_1.__decorate([
|
|
530
519
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
531
|
-
__metadata("design:type", typeof (_h = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _h : Object)
|
|
520
|
+
tslib_1.__metadata("design:type", typeof (_h = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _h : Object)
|
|
532
521
|
], ProductPatch.prototype, "routing", void 0);
|
|
533
|
-
__decorate([
|
|
522
|
+
tslib_1.__decorate([
|
|
534
523
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
535
|
-
__metadata("design:type", String)
|
|
524
|
+
tslib_1.__metadata("design:type", String)
|
|
536
525
|
], ProductPatch.prototype, "warehouseName", void 0);
|
|
537
|
-
__decorate([
|
|
526
|
+
tslib_1.__decorate([
|
|
538
527
|
(0, type_graphql_1.Field)(type => GraphQLUpload_js_1.default, { nullable: true }),
|
|
539
|
-
__metadata("design:type", Object)
|
|
528
|
+
tslib_1.__metadata("design:type", Object)
|
|
540
529
|
], ProductPatch.prototype, "thumbnail", void 0);
|
|
541
|
-
__decorate([
|
|
530
|
+
tslib_1.__decorate([
|
|
542
531
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
543
|
-
__metadata("design:type", String)
|
|
532
|
+
tslib_1.__metadata("design:type", String)
|
|
544
533
|
], ProductPatch.prototype, "pickingStrategy", void 0);
|
|
545
|
-
__decorate([
|
|
534
|
+
tslib_1.__decorate([
|
|
546
535
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
547
|
-
__metadata("design:type", String)
|
|
536
|
+
tslib_1.__metadata("design:type", String)
|
|
548
537
|
], ProductPatch.prototype, "cuFlag", void 0);
|
|
549
|
-
ProductPatch = __decorate([
|
|
538
|
+
ProductPatch = tslib_1.__decorate([
|
|
550
539
|
(0, type_graphql_1.InputType)()
|
|
551
540
|
], ProductPatch);
|
|
552
541
|
exports.ProductPatch = ProductPatch;
|