@things-factory/product-base 5.0.1 → 5.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist-server/constants/index.js +2 -15
  2. package/dist-server/constants/index.js.map +1 -1
  3. package/dist-server/constants/product.js.map +1 -1
  4. package/dist-server/controllers/index.js.map +1 -1
  5. package/dist-server/index.js +3 -16
  6. package/dist-server/index.js.map +1 -1
  7. package/dist-server/middlewares/index.js.map +1 -1
  8. package/dist-server/migrations/index.js.map +1 -1
  9. package/dist-server/service/index.js +17 -30
  10. package/dist-server/service/index.js.map +1 -1
  11. package/dist-server/service/product/index.js.map +1 -1
  12. package/dist-server/service/product/product-mutation.js +61 -73
  13. package/dist-server/service/product/product-mutation.js.map +1 -1
  14. package/dist-server/service/product/product-query.js +78 -89
  15. package/dist-server/service/product/product-query.js.map +1 -1
  16. package/dist-server/service/product/product-types.js +261 -272
  17. package/dist-server/service/product/product-types.js.map +1 -1
  18. package/dist-server/service/product/product.js +179 -187
  19. package/dist-server/service/product/product.js.map +1 -1
  20. package/dist-server/service/product/validate-product.js +2 -4
  21. package/dist-server/service/product/validate-product.js.map +1 -1
  22. package/dist-server/service/product-bundle/index.js.map +1 -1
  23. package/dist-server/service/product-bundle/product-bundle-mutation.js +33 -44
  24. package/dist-server/service/product-bundle/product-bundle-mutation.js.map +1 -1
  25. package/dist-server/service/product-bundle/product-bundle-query.js +35 -46
  26. package/dist-server/service/product-bundle/product-bundle-query.js.map +1 -1
  27. package/dist-server/service/product-bundle/product-bundle-types.js +30 -38
  28. package/dist-server/service/product-bundle/product-bundle-types.js.map +1 -1
  29. package/dist-server/service/product-bundle/product-bundle.js +40 -48
  30. package/dist-server/service/product-bundle/product-bundle.js.map +1 -1
  31. package/dist-server/service/product-bundle-setting/index.js.map +1 -1
  32. package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js +27 -38
  33. package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js.map +1 -1
  34. package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js +14 -25
  35. package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js.map +1 -1
  36. package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js +23 -31
  37. package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js.map +1 -1
  38. package/dist-server/service/product-bundle-setting/product-bundle-setting.js +16 -24
  39. package/dist-server/service/product-bundle-setting/product-bundle-setting.js.map +1 -1
  40. package/dist-server/service/product-combination/index.js.map +1 -1
  41. package/dist-server/service/product-combination/product-combination-mutation.js +34 -45
  42. package/dist-server/service/product-combination/product-combination-mutation.js.map +1 -1
  43. package/dist-server/service/product-combination/product-combination-query.js +29 -40
  44. package/dist-server/service/product-combination/product-combination-query.js.map +1 -1
  45. package/dist-server/service/product-combination/product-combination-type.js +28 -36
  46. package/dist-server/service/product-combination/product-combination-type.js.map +1 -1
  47. package/dist-server/service/product-combination/product-combination.js +42 -50
  48. package/dist-server/service/product-combination/product-combination.js.map +1 -1
  49. package/dist-server/service/product-combination-setting/index.js.map +1 -1
  50. package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js +40 -51
  51. package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js.map +1 -1
  52. package/dist-server/service/product-combination-setting/product-combination-setting-query.js +35 -46
  53. package/dist-server/service/product-combination-setting/product-combination-setting-query.js.map +1 -1
  54. package/dist-server/service/product-combination-setting/product-combination-setting-type.js +24 -32
  55. package/dist-server/service/product-combination-setting/product-combination-setting-type.js.map +1 -1
  56. package/dist-server/service/product-combination-setting/product-combination-setting.js +36 -44
  57. package/dist-server/service/product-combination-setting/product-combination-setting.js.map +1 -1
  58. package/dist-server/service/product-detail/index.js.map +1 -1
  59. package/dist-server/service/product-detail/product-detail-mutation.js +30 -51
  60. package/dist-server/service/product-detail/product-detail-mutation.js.map +1 -1
  61. package/dist-server/service/product-detail/product-detail-query.js +33 -44
  62. package/dist-server/service/product-detail/product-detail-query.js.map +1 -1
  63. package/dist-server/service/product-detail/product-detail-types.js +180 -188
  64. package/dist-server/service/product-detail/product-detail-types.js.map +1 -1
  65. package/dist-server/service/product-detail/product-detail.js +127 -135
  66. package/dist-server/service/product-detail/product-detail.js.map +1 -1
  67. package/dist-server/service/product-detail-bizplace-setting/index.js.map +1 -1
  68. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js +28 -39
  69. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js.map +1 -1
  70. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js +29 -40
  71. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js.map +1 -1
  72. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js +36 -44
  73. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js.map +1 -1
  74. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js +32 -40
  75. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js.map +1 -1
  76. package/dist-server/service/product-set/index.js.map +1 -1
  77. package/dist-server/service/product-set/product-set-mutation.js +33 -44
  78. package/dist-server/service/product-set/product-set-mutation.js.map +1 -1
  79. package/dist-server/service/product-set/product-set-query.js +35 -46
  80. package/dist-server/service/product-set/product-set-query.js.map +1 -1
  81. package/dist-server/service/product-set/product-set-types.js +26 -34
  82. package/dist-server/service/product-set/product-set-types.js.map +1 -1
  83. package/dist-server/service/product-set/product-set.js +34 -42
  84. package/dist-server/service/product-set/product-set.js.map +1 -1
  85. package/dist-server/tsconfig.tsbuildinfo +1 -0
  86. package/dist-server/utils/index.js +2 -15
  87. package/dist-server/utils/index.js.map +1 -1
  88. package/dist-server/utils/product-util.js.map +1 -1
  89. package/package.json +4 -4
  90. package/server/service/product/product-mutation.ts +2 -0
  91. package/server/service/product/product-query.ts +1 -1
  92. package/server/service/product/product.ts +2 -2
@@ -1,386 +1,378 @@
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
2
  var _a, _b, _c;
12
3
  Object.defineProperty(exports, "__esModule", { value: true });
13
4
  exports.ProductDetailPatch = exports.ProductDetailList = exports.NewProductDetail = void 0;
5
+ const tslib_1 = require("tslib");
14
6
  const type_graphql_1 = require("type-graphql");
15
7
  const shell_1 = require("@things-factory/shell");
16
8
  const product_detail_1 = require("./product-detail");
17
9
  let NewProductDetail = class NewProductDetail {
18
10
  };
19
- __decorate([
11
+ tslib_1.__decorate([
20
12
  (0, type_graphql_1.Field)(),
21
- __metadata("design:type", String)
13
+ tslib_1.__metadata("design:type", String)
22
14
  ], NewProductDetail.prototype, "name", void 0);
23
- __decorate([
15
+ tslib_1.__decorate([
24
16
  (0, type_graphql_1.Field)({ nullable: true }),
25
- __metadata("design:type", String)
17
+ tslib_1.__metadata("design:type", String)
26
18
  ], NewProductDetail.prototype, "gtin", void 0);
27
- __decorate([
19
+ tslib_1.__decorate([
28
20
  (0, type_graphql_1.Field)({ nullable: true }),
29
- __metadata("design:type", String)
21
+ tslib_1.__metadata("design:type", String)
30
22
  ], NewProductDetail.prototype, "refCode", void 0);
31
- __decorate([
23
+ tslib_1.__decorate([
32
24
  (0, type_graphql_1.Field)({ nullable: true }),
33
- __metadata("design:type", typeof (_a = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _a : Object)
25
+ tslib_1.__metadata("design:type", typeof (_a = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _a : Object)
34
26
  ], NewProductDetail.prototype, "product", void 0);
35
- __decorate([
27
+ tslib_1.__decorate([
36
28
  (0, type_graphql_1.Field)({ nullable: true }),
37
- __metadata("design:type", Boolean)
29
+ tslib_1.__metadata("design:type", Boolean)
38
30
  ], NewProductDetail.prototype, "isDefault", void 0);
39
- __decorate([
31
+ tslib_1.__decorate([
40
32
  (0, type_graphql_1.Field)({ nullable: true }),
41
- __metadata("design:type", String)
33
+ tslib_1.__metadata("design:type", String)
42
34
  ], NewProductDetail.prototype, "packingType", void 0);
43
- __decorate([
35
+ tslib_1.__decorate([
44
36
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
45
- __metadata("design:type", Number)
37
+ tslib_1.__metadata("design:type", Number)
46
38
  ], NewProductDetail.prototype, "packingSize", void 0);
47
- __decorate([
39
+ tslib_1.__decorate([
48
40
  (0, type_graphql_1.Field)({ nullable: true }),
49
- __metadata("design:type", String)
41
+ tslib_1.__metadata("design:type", String)
50
42
  ], NewProductDetail.prototype, "movement", void 0);
51
- __decorate([
43
+ tslib_1.__decorate([
52
44
  (0, type_graphql_1.Field)({ nullable: true }),
53
- __metadata("design:type", String)
45
+ tslib_1.__metadata("design:type", String)
54
46
  ], NewProductDetail.prototype, "uom", void 0);
55
- __decorate([
47
+ tslib_1.__decorate([
56
48
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
57
- __metadata("design:type", Number)
49
+ tslib_1.__metadata("design:type", Number)
58
50
  ], NewProductDetail.prototype, "uomValue", void 0);
59
- __decorate([
51
+ tslib_1.__decorate([
60
52
  (0, type_graphql_1.Field)({ nullable: true }),
61
- __metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
53
+ tslib_1.__metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
62
54
  ], NewProductDetail.prototype, "childProductDetail", void 0);
63
- __decorate([
55
+ tslib_1.__decorate([
64
56
  (0, type_graphql_1.Field)(type => [shell_1.ObjectRef], { nullable: true }),
65
- __metadata("design:type", Array)
57
+ tslib_1.__metadata("design:type", Array)
66
58
  ], NewProductDetail.prototype, "parentProductDetails", void 0);
67
- __decorate([
59
+ tslib_1.__decorate([
68
60
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
69
- __metadata("design:type", Number)
61
+ tslib_1.__metadata("design:type", Number)
70
62
  ], NewProductDetail.prototype, "childQty", void 0);
71
- __decorate([
63
+ tslib_1.__decorate([
72
64
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
73
- __metadata("design:type", Number)
65
+ tslib_1.__metadata("design:type", Number)
74
66
  ], NewProductDetail.prototype, "nettWeight", void 0);
75
- __decorate([
67
+ tslib_1.__decorate([
76
68
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
77
- __metadata("design:type", Number)
69
+ tslib_1.__metadata("design:type", Number)
78
70
  ], NewProductDetail.prototype, "grossWeight", void 0);
79
- __decorate([
71
+ tslib_1.__decorate([
80
72
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
81
- __metadata("design:type", Number)
73
+ tslib_1.__metadata("design:type", Number)
82
74
  ], NewProductDetail.prototype, "width", void 0);
83
- __decorate([
75
+ tslib_1.__decorate([
84
76
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
85
- __metadata("design:type", Number)
77
+ tslib_1.__metadata("design:type", Number)
86
78
  ], NewProductDetail.prototype, "depth", void 0);
87
- __decorate([
79
+ tslib_1.__decorate([
88
80
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
89
- __metadata("design:type", Number)
81
+ tslib_1.__metadata("design:type", Number)
90
82
  ], NewProductDetail.prototype, "height", void 0);
91
- __decorate([
83
+ tslib_1.__decorate([
92
84
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
93
- __metadata("design:type", Number)
85
+ tslib_1.__metadata("design:type", Number)
94
86
  ], NewProductDetail.prototype, "volume", void 0);
95
- __decorate([
87
+ tslib_1.__decorate([
96
88
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
97
- __metadata("design:type", Number)
89
+ tslib_1.__metadata("design:type", Number)
98
90
  ], NewProductDetail.prototype, "bufferQty", void 0);
99
- __decorate([
91
+ tslib_1.__decorate([
100
92
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
101
- __metadata("design:type", Number)
93
+ tslib_1.__metadata("design:type", Number)
102
94
  ], NewProductDetail.prototype, "minQty", void 0);
103
- __decorate([
95
+ tslib_1.__decorate([
104
96
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
105
- __metadata("design:type", Number)
97
+ tslib_1.__metadata("design:type", Number)
106
98
  ], NewProductDetail.prototype, "maxQty", void 0);
107
- __decorate([
99
+ tslib_1.__decorate([
108
100
  (0, type_graphql_1.Field)({ nullable: true }),
109
- __metadata("design:type", String)
101
+ tslib_1.__metadata("design:type", String)
110
102
  ], NewProductDetail.prototype, "auxUnit1", void 0);
111
- __decorate([
103
+ tslib_1.__decorate([
112
104
  (0, type_graphql_1.Field)({ nullable: true }),
113
- __metadata("design:type", String)
105
+ tslib_1.__metadata("design:type", String)
114
106
  ], NewProductDetail.prototype, "auxValue1", void 0);
115
- __decorate([
107
+ tslib_1.__decorate([
116
108
  (0, type_graphql_1.Field)({ nullable: true }),
117
- __metadata("design:type", String)
109
+ tslib_1.__metadata("design:type", String)
118
110
  ], NewProductDetail.prototype, "auxUnit2", void 0);
119
- __decorate([
111
+ tslib_1.__decorate([
120
112
  (0, type_graphql_1.Field)({ nullable: true }),
121
- __metadata("design:type", String)
113
+ tslib_1.__metadata("design:type", String)
122
114
  ], NewProductDetail.prototype, "auxValue2", void 0);
123
- __decorate([
115
+ tslib_1.__decorate([
124
116
  (0, type_graphql_1.Field)({ nullable: true }),
125
- __metadata("design:type", String)
117
+ tslib_1.__metadata("design:type", String)
126
118
  ], NewProductDetail.prototype, "auxUnit3", void 0);
127
- __decorate([
119
+ tslib_1.__decorate([
128
120
  (0, type_graphql_1.Field)({ nullable: true }),
129
- __metadata("design:type", String)
121
+ tslib_1.__metadata("design:type", String)
130
122
  ], NewProductDetail.prototype, "auxValue3", void 0);
131
- __decorate([
123
+ tslib_1.__decorate([
132
124
  (0, type_graphql_1.Field)({ nullable: true }),
133
- __metadata("design:type", String)
125
+ tslib_1.__metadata("design:type", String)
134
126
  ], NewProductDetail.prototype, "auxUnit4", void 0);
135
- __decorate([
127
+ tslib_1.__decorate([
136
128
  (0, type_graphql_1.Field)({ nullable: true }),
137
- __metadata("design:type", String)
129
+ tslib_1.__metadata("design:type", String)
138
130
  ], NewProductDetail.prototype, "auxValue4", void 0);
139
- __decorate([
131
+ tslib_1.__decorate([
140
132
  (0, type_graphql_1.Field)({ nullable: true }),
141
- __metadata("design:type", String)
133
+ tslib_1.__metadata("design:type", String)
142
134
  ], NewProductDetail.prototype, "auxUnit5", void 0);
143
- __decorate([
135
+ tslib_1.__decorate([
144
136
  (0, type_graphql_1.Field)({ nullable: true }),
145
- __metadata("design:type", String)
137
+ tslib_1.__metadata("design:type", String)
146
138
  ], NewProductDetail.prototype, "auxValue5", void 0);
147
- __decorate([
139
+ tslib_1.__decorate([
148
140
  (0, type_graphql_1.Field)({ nullable: true }),
149
- __metadata("design:type", Boolean)
141
+ tslib_1.__metadata("design:type", Boolean)
150
142
  ], NewProductDetail.prototype, "isTrackedAsInventory", void 0);
151
- __decorate([
143
+ tslib_1.__decorate([
152
144
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
153
- __metadata("design:type", Number)
145
+ tslib_1.__metadata("design:type", Number)
154
146
  ], NewProductDetail.prototype, "discountId", void 0);
155
- __decorate([
147
+ tslib_1.__decorate([
156
148
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
157
- __metadata("design:type", Number)
149
+ tslib_1.__metadata("design:type", Number)
158
150
  ], NewProductDetail.prototype, "costPrice", void 0);
159
- __decorate([
151
+ tslib_1.__decorate([
160
152
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
161
- __metadata("design:type", Number)
153
+ tslib_1.__metadata("design:type", Number)
162
154
  ], NewProductDetail.prototype, "mrpPrice", void 0);
163
- __decorate([
155
+ tslib_1.__decorate([
164
156
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
165
- __metadata("design:type", Number)
157
+ tslib_1.__metadata("design:type", Number)
166
158
  ], NewProductDetail.prototype, "sellPrice", void 0);
167
- __decorate([
159
+ tslib_1.__decorate([
168
160
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
169
- __metadata("design:type", Number)
161
+ tslib_1.__metadata("design:type", Number)
170
162
  ], NewProductDetail.prototype, "afterTaxCostPrice", void 0);
171
- __decorate([
163
+ tslib_1.__decorate([
172
164
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
173
- __metadata("design:type", Number)
165
+ tslib_1.__metadata("design:type", Number)
174
166
  ], NewProductDetail.prototype, "afterTaxSalesPrice", void 0);
175
- __decorate([
167
+ tslib_1.__decorate([
176
168
  (0, type_graphql_1.Field)({ nullable: true }),
177
- __metadata("design:type", String)
169
+ tslib_1.__metadata("design:type", String)
178
170
  ], NewProductDetail.prototype, "inventoryAccountCode", void 0);
179
- __decorate([
171
+ tslib_1.__decorate([
180
172
  (0, type_graphql_1.Field)({ nullable: true }),
181
- __metadata("design:type", String)
173
+ tslib_1.__metadata("design:type", String)
182
174
  ], NewProductDetail.prototype, "cogsAccountCode", void 0);
183
- NewProductDetail = __decorate([
175
+ NewProductDetail = tslib_1.__decorate([
184
176
  (0, type_graphql_1.InputType)()
185
177
  ], NewProductDetail);
186
178
  exports.NewProductDetail = NewProductDetail;
187
179
  let ProductDetailList = class ProductDetailList {
188
180
  };
189
- __decorate([
181
+ tslib_1.__decorate([
190
182
  (0, type_graphql_1.Field)(type => [product_detail_1.ProductDetail], { nullable: true }),
191
- __metadata("design:type", Array)
183
+ tslib_1.__metadata("design:type", Array)
192
184
  ], ProductDetailList.prototype, "items", void 0);
193
- __decorate([
185
+ tslib_1.__decorate([
194
186
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
195
- __metadata("design:type", Number)
187
+ tslib_1.__metadata("design:type", Number)
196
188
  ], ProductDetailList.prototype, "total", void 0);
197
- ProductDetailList = __decorate([
189
+ ProductDetailList = tslib_1.__decorate([
198
190
  (0, type_graphql_1.ObjectType)()
199
191
  ], ProductDetailList);
200
192
  exports.ProductDetailList = ProductDetailList;
201
193
  let ProductDetailPatch = class ProductDetailPatch {
202
194
  };
203
- __decorate([
195
+ tslib_1.__decorate([
204
196
  (0, type_graphql_1.Field)({ nullable: true }),
205
- __metadata("design:type", String)
197
+ tslib_1.__metadata("design:type", String)
206
198
  ], ProductDetailPatch.prototype, "id", void 0);
207
- __decorate([
199
+ tslib_1.__decorate([
208
200
  (0, type_graphql_1.Field)({ nullable: true }),
209
- __metadata("design:type", String)
201
+ tslib_1.__metadata("design:type", String)
210
202
  ], ProductDetailPatch.prototype, "name", void 0);
211
- __decorate([
203
+ tslib_1.__decorate([
212
204
  (0, type_graphql_1.Field)({ nullable: true }),
213
- __metadata("design:type", String)
205
+ tslib_1.__metadata("design:type", String)
214
206
  ], ProductDetailPatch.prototype, "gtin", void 0);
215
- __decorate([
207
+ tslib_1.__decorate([
216
208
  (0, type_graphql_1.Field)({ nullable: true }),
217
- __metadata("design:type", String)
209
+ tslib_1.__metadata("design:type", String)
218
210
  ], ProductDetailPatch.prototype, "refCode", void 0);
219
- __decorate([
211
+ tslib_1.__decorate([
220
212
  (0, type_graphql_1.Field)({ nullable: true }),
221
- __metadata("design:type", typeof (_c = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _c : Object)
213
+ tslib_1.__metadata("design:type", typeof (_c = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _c : Object)
222
214
  ], ProductDetailPatch.prototype, "product", void 0);
223
- __decorate([
215
+ tslib_1.__decorate([
224
216
  (0, type_graphql_1.Field)({ nullable: true }),
225
- __metadata("design:type", Boolean)
217
+ tslib_1.__metadata("design:type", Boolean)
226
218
  ], ProductDetailPatch.prototype, "isDefault", void 0);
227
- __decorate([
219
+ tslib_1.__decorate([
228
220
  (0, type_graphql_1.Field)({ nullable: true }),
229
- __metadata("design:type", String)
221
+ tslib_1.__metadata("design:type", String)
230
222
  ], ProductDetailPatch.prototype, "packingType", void 0);
231
- __decorate([
223
+ tslib_1.__decorate([
232
224
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
233
- __metadata("design:type", Number)
225
+ tslib_1.__metadata("design:type", Number)
234
226
  ], ProductDetailPatch.prototype, "packingSize", void 0);
235
- __decorate([
227
+ tslib_1.__decorate([
236
228
  (0, type_graphql_1.Field)({ nullable: true }),
237
- __metadata("design:type", String)
229
+ tslib_1.__metadata("design:type", String)
238
230
  ], ProductDetailPatch.prototype, "movement", void 0);
239
- __decorate([
231
+ tslib_1.__decorate([
240
232
  (0, type_graphql_1.Field)({ nullable: true }),
241
- __metadata("design:type", String)
233
+ tslib_1.__metadata("design:type", String)
242
234
  ], ProductDetailPatch.prototype, "uom", void 0);
243
- __decorate([
235
+ tslib_1.__decorate([
244
236
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
245
- __metadata("design:type", Number)
237
+ tslib_1.__metadata("design:type", Number)
246
238
  ], ProductDetailPatch.prototype, "uomValue", void 0);
247
- __decorate([
239
+ tslib_1.__decorate([
248
240
  (0, type_graphql_1.Field)({ nullable: true }),
249
- __metadata("design:type", String)
241
+ tslib_1.__metadata("design:type", String)
250
242
  ], ProductDetailPatch.prototype, "childProductDetail", void 0);
251
- __decorate([
243
+ tslib_1.__decorate([
252
244
  (0, type_graphql_1.Field)({ nullable: true }),
253
- __metadata("design:type", String)
245
+ tslib_1.__metadata("design:type", String)
254
246
  ], ProductDetailPatch.prototype, "childGtin", void 0);
255
- __decorate([
247
+ tslib_1.__decorate([
256
248
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
257
- __metadata("design:type", Number)
249
+ tslib_1.__metadata("design:type", Number)
258
250
  ], ProductDetailPatch.prototype, "childQty", void 0);
259
- __decorate([
251
+ tslib_1.__decorate([
260
252
  (0, type_graphql_1.Field)({ nullable: true }),
261
- __metadata("design:type", String)
253
+ tslib_1.__metadata("design:type", String)
262
254
  ], ProductDetailPatch.prototype, "weightUnit", void 0);
263
- __decorate([
255
+ tslib_1.__decorate([
264
256
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
265
- __metadata("design:type", Number)
257
+ tslib_1.__metadata("design:type", Number)
266
258
  ], ProductDetailPatch.prototype, "nettWeight", void 0);
267
- __decorate([
259
+ tslib_1.__decorate([
268
260
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
269
- __metadata("design:type", Number)
261
+ tslib_1.__metadata("design:type", Number)
270
262
  ], ProductDetailPatch.prototype, "grossWeight", void 0);
271
- __decorate([
263
+ tslib_1.__decorate([
272
264
  (0, type_graphql_1.Field)({ nullable: true }),
273
- __metadata("design:type", String)
265
+ tslib_1.__metadata("design:type", String)
274
266
  ], ProductDetailPatch.prototype, "lengthUnit", void 0);
275
- __decorate([
267
+ tslib_1.__decorate([
276
268
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
277
- __metadata("design:type", Number)
269
+ tslib_1.__metadata("design:type", Number)
278
270
  ], ProductDetailPatch.prototype, "width", void 0);
279
- __decorate([
271
+ tslib_1.__decorate([
280
272
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
281
- __metadata("design:type", Number)
273
+ tslib_1.__metadata("design:type", Number)
282
274
  ], ProductDetailPatch.prototype, "depth", void 0);
283
- __decorate([
275
+ tslib_1.__decorate([
284
276
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
285
- __metadata("design:type", Number)
277
+ tslib_1.__metadata("design:type", Number)
286
278
  ], ProductDetailPatch.prototype, "height", void 0);
287
- __decorate([
279
+ tslib_1.__decorate([
288
280
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
289
- __metadata("design:type", Number)
281
+ tslib_1.__metadata("design:type", Number)
290
282
  ], ProductDetailPatch.prototype, "volume", void 0);
291
- __decorate([
283
+ tslib_1.__decorate([
292
284
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
293
- __metadata("design:type", Number)
285
+ tslib_1.__metadata("design:type", Number)
294
286
  ], ProductDetailPatch.prototype, "bufferQty", void 0);
295
- __decorate([
287
+ tslib_1.__decorate([
296
288
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
297
- __metadata("design:type", Number)
289
+ tslib_1.__metadata("design:type", Number)
298
290
  ], ProductDetailPatch.prototype, "minQty", void 0);
299
- __decorate([
291
+ tslib_1.__decorate([
300
292
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
301
- __metadata("design:type", Number)
293
+ tslib_1.__metadata("design:type", Number)
302
294
  ], ProductDetailPatch.prototype, "maxQty", void 0);
303
- __decorate([
295
+ tslib_1.__decorate([
304
296
  (0, type_graphql_1.Field)({ nullable: true }),
305
- __metadata("design:type", String)
297
+ tslib_1.__metadata("design:type", String)
306
298
  ], ProductDetailPatch.prototype, "auxUnit1", void 0);
307
- __decorate([
299
+ tslib_1.__decorate([
308
300
  (0, type_graphql_1.Field)({ nullable: true }),
309
- __metadata("design:type", String)
301
+ tslib_1.__metadata("design:type", String)
310
302
  ], ProductDetailPatch.prototype, "auxValue1", void 0);
311
- __decorate([
303
+ tslib_1.__decorate([
312
304
  (0, type_graphql_1.Field)({ nullable: true }),
313
- __metadata("design:type", String)
305
+ tslib_1.__metadata("design:type", String)
314
306
  ], ProductDetailPatch.prototype, "auxUnit2", void 0);
315
- __decorate([
307
+ tslib_1.__decorate([
316
308
  (0, type_graphql_1.Field)({ nullable: true }),
317
- __metadata("design:type", String)
309
+ tslib_1.__metadata("design:type", String)
318
310
  ], ProductDetailPatch.prototype, "auxValue2", void 0);
319
- __decorate([
311
+ tslib_1.__decorate([
320
312
  (0, type_graphql_1.Field)({ nullable: true }),
321
- __metadata("design:type", String)
313
+ tslib_1.__metadata("design:type", String)
322
314
  ], ProductDetailPatch.prototype, "auxUnit3", void 0);
323
- __decorate([
315
+ tslib_1.__decorate([
324
316
  (0, type_graphql_1.Field)({ nullable: true }),
325
- __metadata("design:type", String)
317
+ tslib_1.__metadata("design:type", String)
326
318
  ], ProductDetailPatch.prototype, "auxValue3", void 0);
327
- __decorate([
319
+ tslib_1.__decorate([
328
320
  (0, type_graphql_1.Field)({ nullable: true }),
329
- __metadata("design:type", String)
321
+ tslib_1.__metadata("design:type", String)
330
322
  ], ProductDetailPatch.prototype, "auxUnit4", void 0);
331
- __decorate([
323
+ tslib_1.__decorate([
332
324
  (0, type_graphql_1.Field)({ nullable: true }),
333
- __metadata("design:type", String)
325
+ tslib_1.__metadata("design:type", String)
334
326
  ], ProductDetailPatch.prototype, "auxValue4", void 0);
335
- __decorate([
327
+ tslib_1.__decorate([
336
328
  (0, type_graphql_1.Field)({ nullable: true }),
337
- __metadata("design:type", String)
329
+ tslib_1.__metadata("design:type", String)
338
330
  ], ProductDetailPatch.prototype, "auxUnit5", void 0);
339
- __decorate([
331
+ tslib_1.__decorate([
340
332
  (0, type_graphql_1.Field)({ nullable: true }),
341
- __metadata("design:type", String)
333
+ tslib_1.__metadata("design:type", String)
342
334
  ], ProductDetailPatch.prototype, "auxValue5", void 0);
343
- __decorate([
335
+ tslib_1.__decorate([
344
336
  (0, type_graphql_1.Field)({ nullable: true }),
345
- __metadata("design:type", Boolean)
337
+ tslib_1.__metadata("design:type", Boolean)
346
338
  ], ProductDetailPatch.prototype, "isTrackedAsInventory", void 0);
347
- __decorate([
339
+ tslib_1.__decorate([
348
340
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
349
- __metadata("design:type", Number)
341
+ tslib_1.__metadata("design:type", Number)
350
342
  ], ProductDetailPatch.prototype, "discountId", void 0);
351
- __decorate([
343
+ tslib_1.__decorate([
352
344
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
353
- __metadata("design:type", Number)
345
+ tslib_1.__metadata("design:type", Number)
354
346
  ], ProductDetailPatch.prototype, "costPrice", void 0);
355
- __decorate([
347
+ tslib_1.__decorate([
356
348
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
357
- __metadata("design:type", Number)
349
+ tslib_1.__metadata("design:type", Number)
358
350
  ], ProductDetailPatch.prototype, "mrpPrice", void 0);
359
- __decorate([
351
+ tslib_1.__decorate([
360
352
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
361
- __metadata("design:type", Number)
353
+ tslib_1.__metadata("design:type", Number)
362
354
  ], ProductDetailPatch.prototype, "sellPrice", void 0);
363
- __decorate([
355
+ tslib_1.__decorate([
364
356
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
365
- __metadata("design:type", Number)
357
+ tslib_1.__metadata("design:type", Number)
366
358
  ], ProductDetailPatch.prototype, "afterTaxCostPrice", void 0);
367
- __decorate([
359
+ tslib_1.__decorate([
368
360
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
369
- __metadata("design:type", Number)
361
+ tslib_1.__metadata("design:type", Number)
370
362
  ], ProductDetailPatch.prototype, "afterTaxSalesPrice", void 0);
371
- __decorate([
363
+ tslib_1.__decorate([
372
364
  (0, type_graphql_1.Field)({ nullable: true }),
373
- __metadata("design:type", String)
365
+ tslib_1.__metadata("design:type", String)
374
366
  ], ProductDetailPatch.prototype, "inventoryAccountCode", void 0);
375
- __decorate([
367
+ tslib_1.__decorate([
376
368
  (0, type_graphql_1.Field)({ nullable: true }),
377
- __metadata("design:type", String)
369
+ tslib_1.__metadata("design:type", String)
378
370
  ], ProductDetailPatch.prototype, "cogsAccountCode", void 0);
379
- __decorate([
371
+ tslib_1.__decorate([
380
372
  (0, type_graphql_1.Field)({ nullable: true }),
381
- __metadata("design:type", String)
373
+ tslib_1.__metadata("design:type", String)
382
374
  ], ProductDetailPatch.prototype, "cuFlag", void 0);
383
- ProductDetailPatch = __decorate([
375
+ ProductDetailPatch = tslib_1.__decorate([
384
376
  (0, type_graphql_1.InputType)()
385
377
  ], ProductDetailPatch);
386
378
  exports.ProductDetailPatch = ProductDetailPatch;
@@ -1 +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,qDAAgD;AAGhD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;CA6H5B,CAAA;AA3HC;IADC,IAAA,oBAAK,GAAE;;8CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAChB,iBAAS,oBAAT,iBAAS;iDAAA;AAGnB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACN;AAGpB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACrB;AAGpB;IADC,IAAA,oBA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AAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACvB;AAGlB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACf;AAG1B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACd;AAG3B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACG;AAG7B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACF;AAGxB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACX;AAtIJ,kBAAkB;IAD9B,IAAA,wBAAS,GAAE;GACC,kBAAkB,CAuI9B;AAvIY,gDAAkB"}
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,qDAAgD;AAGhD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;CA6H5B,CAAA;AA3HC;IADC,IAAA,oBAAK,GAAE;;8CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;0DAChB,iBAAS,oBAAT,iBAAS;iDAAA;AAGnB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,C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,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACxB;AAGjB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACvB;AAGlB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACf;AAG1B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACd;AAG3B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACG;AAG7B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACF;AAGxB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACX;AAtIJ,kBAAkB;IAD9B,IAAA,wBAAS,GAAE;GACC,kBAAkB,CAuI9B;AAvIY,gDAAkB","sourcesContent":["import { Field, Float, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { ObjectRef } from '@things-factory/shell'\n\nimport { ProductDetail } from './product-detail'\n\n@InputType()\nexport class NewProductDetail {\n @Field()\n name: string\n\n @Field({ nullable: true })\n gtin?: string\n\n @Field({ nullable: true })\n refCode?: string\n\n @Field({ nullable: true })\n product?: ObjectRef\n\n @Field({ nullable: true })\n isDefault: boolean\n\n @Field({ nullable: true })\n packingType?: string\n\n @Field(type => Float, { nullable: true })\n packingSize?: number\n\n @Field({ nullable: true })\n movement?: string\n\n @Field({ nullable: true })\n uom?: string\n\n @Field(type => Float, { nullable: true })\n uomValue?: number\n\n @Field({ nullable: true })\n childProductDetail?: ObjectRef\n\n @Field(type => [ObjectRef], { nullable: true })\n parentProductDetails?: ObjectRef[]\n\n @Field(type => Float, { nullable: true })\n childQty?: number\n weightUnit?: string\n\n @Field(type => Float, { nullable: true })\n nettWeight?: number\n\n @Field(type => Float, { nullable: true })\n grossWeight?: number\n lengthUnit?: string\n\n @Field(type => Float, { nullable: true })\n width?: number\n\n @Field(type => Float, { nullable: true })\n depth?: number\n\n @Field(type => Float, { nullable: true })\n height?: number\n\n @Field(type => Float, { nullable: true })\n volume?: number\n\n @Field(type => Int, { nullable: true })\n bufferQty?: number\n\n @Field(type => Int, { nullable: true })\n minQty?: number\n\n @Field(type => Int, { nullable: true })\n maxQty?: number\n\n @Field({ nullable: true })\n auxUnit1?: string\n\n @Field({ nullable: true })\n auxValue1?: string\n\n @Field({ nullable: true })\n auxUnit2?: string\n\n @Field({ nullable: true })\n auxValue2?: string\n\n @Field({ nullable: true })\n auxUnit3?: string\n\n @Field({ nullable: true })\n auxValue3?: string\n\n @Field({ nullable: true })\n auxUnit4?: string\n\n @Field({ nullable: true })\n auxValue4?: string\n\n @Field({ nullable: true })\n auxUnit5?: string\n\n @Field({ nullable: true })\n auxValue5?: string\n\n @Field({ nullable: true })\n isTrackedAsInventory?: boolean\n\n @Field(type => Int, { nullable: true })\n discountId?: number\n\n @Field(type => Float, { nullable: true })\n costPrice?: number\n\n @Field(type => Float, { nullable: true })\n mrpPrice?: number\n\n @Field(type => Float, { nullable: true })\n sellPrice?: number\n\n @Field(type => Float, { nullable: true })\n afterTaxCostPrice?: number\n\n @Field(type => Float, { nullable: true })\n afterTaxSalesPrice?: number\n\n @Field({ nullable: true })\n inventoryAccountCode?: string\n\n @Field({ nullable: true })\n cogsAccountCode?: string\n}\n\n@ObjectType()\nexport class ProductDetailList {\n @Field(type => [ProductDetail], { nullable: true })\n items?: ProductDetail[]\n\n @Field(type => Int, { nullable: true })\n total?: number\n}\n\n@InputType()\nexport class ProductDetailPatch {\n @Field({ nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n gtin?: string\n\n @Field({ nullable: true })\n refCode?: string\n\n @Field({ nullable: true })\n product: ObjectRef\n\n @Field({ nullable: true })\n isDefault: boolean\n\n @Field({ nullable: true })\n packingType?: string\n\n @Field(type => Float, { nullable: true })\n packingSize?: number\n\n @Field({ nullable: true })\n movement?: string\n\n @Field({ nullable: true })\n uom?: string\n\n @Field(type => Float, { nullable: true })\n uomValue?: number\n\n @Field({ nullable: true })\n childProductDetail?: string\n\n @Field({ nullable: true })\n childGtin?: string\n\n @Field(type => Float, { nullable: true })\n childQty?: number\n\n @Field({ nullable: true })\n weightUnit?: string\n\n @Field(type => Float, { nullable: true })\n nettWeight?: number\n\n @Field(type => Float, { nullable: true })\n grossWeight?: number\n\n @Field({ nullable: true })\n lengthUnit?: string\n\n @Field(type => Float, { nullable: true })\n width?: number\n\n @Field(type => Float, { nullable: true })\n depth?: number\n\n @Field(type => Float, { nullable: true })\n height?: number\n\n @Field(type => Float, { nullable: true })\n volume?: number\n\n @Field(type => Int, { nullable: true })\n bufferQty?: number\n\n @Field(type => Int, { nullable: true })\n minQty?: number\n\n @Field(type => Int, { nullable: true })\n maxQty?: number\n\n @Field({ nullable: true })\n auxUnit1?: string\n\n @Field({ nullable: true })\n auxValue1?: string\n\n @Field({ nullable: true })\n auxUnit2?: string\n\n @Field({ nullable: true })\n auxValue2?: string\n\n @Field({ nullable: true })\n auxUnit3?: string\n\n @Field({ nullable: true })\n auxValue3?: string\n\n @Field({ nullable: true })\n auxUnit4?: string\n\n @Field({ nullable: true })\n auxValue4?: string\n\n @Field({ nullable: true })\n auxUnit5?: string\n\n @Field({ nullable: true })\n auxValue5?: string\n\n @Field({ nullable: true })\n isTrackedAsInventory: boolean\n\n @Field(type => Int, { nullable: true })\n discountId?: number\n\n @Field(type => Float, { nullable: true })\n costPrice?: number\n\n @Field(type => Float, { nullable: true })\n mrpPrice?: number\n\n @Field(type => Float, { nullable: true })\n sellPrice?: number\n\n @Field(type => Float, { nullable: true })\n afterTaxCostPrice?: number\n\n @Field(type => Float, { nullable: true })\n afterTaxSalesPrice?: number\n\n @Field({ nullable: true })\n inventoryAccountCode?: string\n\n @Field({ nullable: true })\n cogsAccountCode?: string\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n"]}