@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,16 +1,8 @@
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 ProductDetail_1, _a, _b, _c;
12
3
  Object.defineProperty(exports, "__esModule", { value: true });
13
4
  exports.ProductDetail = void 0;
5
+ const tslib_1 = require("tslib");
14
6
  const auth_base_1 = require("@things-factory/auth-base");
15
7
  const shell_1 = require("@things-factory/shell");
16
8
  const type_graphql_1 = require("type-graphql");
@@ -122,308 +114,308 @@ let ProductDetail = ProductDetail_1 = class ProductDetail {
122
114
  }
123
115
  }
124
116
  };
125
- __decorate([
117
+ tslib_1.__decorate([
126
118
  (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
127
119
  (0, type_graphql_1.Field)(type => type_graphql_1.ID),
128
- __metadata("design:type", String)
120
+ tslib_1.__metadata("design:type", String)
129
121
  ], ProductDetail.prototype, "id", void 0);
130
- __decorate([
122
+ tslib_1.__decorate([
131
123
  (0, typeorm_1.ManyToOne)(type => shell_1.Domain),
132
124
  (0, type_graphql_1.Field)(),
133
- __metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
125
+ tslib_1.__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
134
126
  ], ProductDetail.prototype, "domain", void 0);
135
- __decorate([
127
+ tslib_1.__decorate([
136
128
  (0, typeorm_1.RelationId)((productDetail) => productDetail.domain),
137
- __metadata("design:type", String)
129
+ tslib_1.__metadata("design:type", String)
138
130
  ], ProductDetail.prototype, "domainId", void 0);
139
- __decorate([
131
+ tslib_1.__decorate([
140
132
  (0, typeorm_1.Column)(),
141
133
  (0, type_graphql_1.Field)(),
142
- __metadata("design:type", String)
134
+ tslib_1.__metadata("design:type", String)
143
135
  ], ProductDetail.prototype, "name", void 0);
144
- __decorate([
136
+ tslib_1.__decorate([
145
137
  (0, typeorm_1.Column)(),
146
138
  (0, type_graphql_1.Field)(),
147
- __metadata("design:type", String)
139
+ tslib_1.__metadata("design:type", String)
148
140
  ], ProductDetail.prototype, "gtin", void 0);
149
- __decorate([
141
+ tslib_1.__decorate([
150
142
  (0, typeorm_1.Column)({ nullable: true }),
151
143
  (0, type_graphql_1.Field)({ nullable: true }),
152
- __metadata("design:type", String)
144
+ tslib_1.__metadata("design:type", String)
153
145
  ], ProductDetail.prototype, "refCode", void 0);
154
- __decorate([
146
+ tslib_1.__decorate([
155
147
  (0, typeorm_1.ManyToOne)(type => product_1.Product),
156
148
  (0, type_graphql_1.Field)(type => product_1.Product),
157
- __metadata("design:type", product_1.Product)
149
+ tslib_1.__metadata("design:type", product_1.Product)
158
150
  ], ProductDetail.prototype, "product", void 0);
159
- __decorate([
151
+ tslib_1.__decorate([
160
152
  (0, typeorm_1.Column)({ default: false }),
161
153
  (0, type_graphql_1.Field)(),
162
- __metadata("design:type", Boolean)
154
+ tslib_1.__metadata("design:type", Boolean)
163
155
  ], ProductDetail.prototype, "isDefault", void 0);
164
- __decorate([
156
+ tslib_1.__decorate([
165
157
  (0, typeorm_1.Column)(),
166
158
  (0, type_graphql_1.Field)(),
167
- __metadata("design:type", String)
159
+ tslib_1.__metadata("design:type", String)
168
160
  ], ProductDetail.prototype, "packingType", void 0);
169
- __decorate([
161
+ tslib_1.__decorate([
170
162
  (0, typeorm_1.Column)('float', { default: 1 }),
171
163
  (0, type_graphql_1.Field)(),
172
- __metadata("design:type", Number)
164
+ tslib_1.__metadata("design:type", Number)
173
165
  ], ProductDetail.prototype, "packingSize", void 0);
174
- __decorate([
166
+ tslib_1.__decorate([
175
167
  (0, typeorm_1.Column)({ default: 'NORMAL' }),
176
168
  (0, type_graphql_1.Field)(),
177
- __metadata("design:type", String)
169
+ tslib_1.__metadata("design:type", String)
178
170
  ], ProductDetail.prototype, "movement", void 0);
179
- __decorate([
171
+ tslib_1.__decorate([
180
172
  (0, typeorm_1.Column)(),
181
173
  (0, type_graphql_1.Field)(),
182
- __metadata("design:type", String)
174
+ tslib_1.__metadata("design:type", String)
183
175
  ], ProductDetail.prototype, "uom", void 0);
184
- __decorate([
176
+ tslib_1.__decorate([
185
177
  (0, typeorm_1.Column)('float'),
186
178
  (0, type_graphql_1.Field)(),
187
- __metadata("design:type", Number)
179
+ tslib_1.__metadata("design:type", Number)
188
180
  ], ProductDetail.prototype, "uomValue", void 0);
189
- __decorate([
181
+ tslib_1.__decorate([
190
182
  (0, typeorm_1.ManyToOne)(type => ProductDetail_1, { nullable: true }),
191
183
  (0, type_graphql_1.Field)(type => ProductDetail_1, { nullable: true }),
192
- __metadata("design:type", ProductDetail)
184
+ tslib_1.__metadata("design:type", ProductDetail)
193
185
  ], ProductDetail.prototype, "childProductDetail", void 0);
194
- __decorate([
186
+ tslib_1.__decorate([
195
187
  (0, typeorm_1.OneToMany)(type => ProductDetail_1, productDetail => productDetail.childProductDetail, { nullable: true }),
196
188
  (0, type_graphql_1.Field)(type => [ProductDetail_1], { nullable: true }),
197
- __metadata("design:type", Array)
189
+ tslib_1.__metadata("design:type", Array)
198
190
  ], ProductDetail.prototype, "parentProductDetails", void 0);
199
- __decorate([
191
+ tslib_1.__decorate([
200
192
  (0, typeorm_1.OneToMany)(type => product_detail_bizplace_setting_1.ProductDetailBizplaceSetting, productDetailBizplaceSetting => productDetailBizplaceSetting.productDetail, { nullable: true }),
201
193
  (0, type_graphql_1.Field)(type => [product_detail_bizplace_setting_1.ProductDetailBizplaceSetting], { nullable: true }),
202
- __metadata("design:type", Array)
194
+ tslib_1.__metadata("design:type", Array)
203
195
  ], ProductDetail.prototype, "productDetailBizplaceSettings", void 0);
204
- __decorate([
196
+ tslib_1.__decorate([
205
197
  (0, typeorm_1.Column)('float', { nullable: true }),
206
198
  (0, type_graphql_1.Field)({ nullable: true }),
207
- __metadata("design:type", Number)
199
+ tslib_1.__metadata("design:type", Number)
208
200
  ], ProductDetail.prototype, "childQty", void 0);
209
- __decorate([
201
+ tslib_1.__decorate([
210
202
  (0, typeorm_1.Column)({ nullable: true }),
211
203
  (0, type_graphql_1.Field)({ nullable: true }),
212
- __metadata("design:type", String)
204
+ tslib_1.__metadata("design:type", String)
213
205
  ], ProductDetail.prototype, "weightUnit", void 0);
214
- __decorate([
206
+ tslib_1.__decorate([
215
207
  (0, typeorm_1.Column)('float', { nullable: true }),
216
208
  (0, type_graphql_1.Field)({ nullable: true }),
217
- __metadata("design:type", Number)
209
+ tslib_1.__metadata("design:type", Number)
218
210
  ], ProductDetail.prototype, "nettWeight", void 0);
219
- __decorate([
211
+ tslib_1.__decorate([
220
212
  (0, typeorm_1.Column)('float', { nullable: true }),
221
213
  (0, type_graphql_1.Field)({ nullable: true }),
222
- __metadata("design:type", Number)
214
+ tslib_1.__metadata("design:type", Number)
223
215
  ], ProductDetail.prototype, "grossWeight", void 0);
224
- __decorate([
216
+ tslib_1.__decorate([
225
217
  (0, typeorm_1.Column)({ nullable: true }),
226
218
  (0, type_graphql_1.Field)({ nullable: true }),
227
- __metadata("design:type", String)
219
+ tslib_1.__metadata("design:type", String)
228
220
  ], ProductDetail.prototype, "lengthUnit", void 0);
229
- __decorate([
221
+ tslib_1.__decorate([
230
222
  (0, typeorm_1.Column)('float', { nullable: true }),
231
223
  (0, type_graphql_1.Field)({ nullable: true }),
232
- __metadata("design:type", Number)
224
+ tslib_1.__metadata("design:type", Number)
233
225
  ], ProductDetail.prototype, "width", void 0);
234
- __decorate([
226
+ tslib_1.__decorate([
235
227
  (0, typeorm_1.Column)('float', { nullable: true }),
236
228
  (0, type_graphql_1.Field)({ nullable: true }),
237
- __metadata("design:type", Number)
229
+ tslib_1.__metadata("design:type", Number)
238
230
  ], ProductDetail.prototype, "depth", void 0);
239
- __decorate([
231
+ tslib_1.__decorate([
240
232
  (0, typeorm_1.Column)('float', { nullable: true }),
241
233
  (0, type_graphql_1.Field)({ nullable: true }),
242
- __metadata("design:type", Number)
234
+ tslib_1.__metadata("design:type", Number)
243
235
  ], ProductDetail.prototype, "height", void 0);
244
- __decorate([
236
+ tslib_1.__decorate([
245
237
  (0, typeorm_1.Column)('float', { nullable: true }),
246
238
  (0, type_graphql_1.Field)({ nullable: true }),
247
- __metadata("design:type", Number)
239
+ tslib_1.__metadata("design:type", Number)
248
240
  ], ProductDetail.prototype, "volume", void 0);
249
- __decorate([
241
+ tslib_1.__decorate([
250
242
  (0, typeorm_1.Column)({ default: 0 }),
251
243
  (0, type_graphql_1.Field)(),
252
- __metadata("design:type", Number)
244
+ tslib_1.__metadata("design:type", Number)
253
245
  ], ProductDetail.prototype, "bufferQty", void 0);
254
- __decorate([
246
+ tslib_1.__decorate([
255
247
  (0, typeorm_1.Column)({ default: 0 }),
256
248
  (0, type_graphql_1.Field)(),
257
- __metadata("design:type", Number)
249
+ tslib_1.__metadata("design:type", Number)
258
250
  ], ProductDetail.prototype, "minQty", void 0);
259
- __decorate([
251
+ tslib_1.__decorate([
260
252
  (0, typeorm_1.Column)({ default: 0 }),
261
253
  (0, type_graphql_1.Field)(),
262
- __metadata("design:type", Number)
254
+ tslib_1.__metadata("design:type", Number)
263
255
  ], ProductDetail.prototype, "maxQty", void 0);
264
- __decorate([
256
+ tslib_1.__decorate([
265
257
  (0, type_graphql_1.Field)({ nullable: true }),
266
- __metadata("design:type", String)
258
+ tslib_1.__metadata("design:type", String)
267
259
  ], ProductDetail.prototype, "sku", void 0);
268
- __decorate([
260
+ tslib_1.__decorate([
269
261
  (0, type_graphql_1.Field)({ nullable: true }),
270
- __metadata("design:type", String)
262
+ tslib_1.__metadata("design:type", String)
271
263
  ], ProductDetail.prototype, "productId", void 0);
272
- __decorate([
264
+ tslib_1.__decorate([
273
265
  (0, type_graphql_1.Field)({ nullable: true }),
274
- __metadata("design:type", String)
266
+ tslib_1.__metadata("design:type", String)
275
267
  ], ProductDetail.prototype, "brand", void 0);
276
- __decorate([
268
+ tslib_1.__decorate([
277
269
  (0, type_graphql_1.Field)({ nullable: true }),
278
- __metadata("design:type", String)
270
+ tslib_1.__metadata("design:type", String)
279
271
  ], ProductDetail.prototype, "description", void 0);
280
- __decorate([
272
+ tslib_1.__decorate([
281
273
  (0, type_graphql_1.Field)({ nullable: true }),
282
- __metadata("design:type", String)
274
+ tslib_1.__metadata("design:type", String)
283
275
  ], ProductDetail.prototype, "type", void 0);
284
- __decorate([
276
+ tslib_1.__decorate([
285
277
  (0, typeorm_1.Column)({ nullable: true }),
286
278
  (0, type_graphql_1.Field)({ nullable: true }),
287
- __metadata("design:type", String)
279
+ tslib_1.__metadata("design:type", String)
288
280
  ], ProductDetail.prototype, "auxUnit1", void 0);
289
- __decorate([
281
+ tslib_1.__decorate([
290
282
  (0, typeorm_1.Column)({ nullable: true }),
291
283
  (0, type_graphql_1.Field)({ nullable: true }),
292
- __metadata("design:type", String)
284
+ tslib_1.__metadata("design:type", String)
293
285
  ], ProductDetail.prototype, "auxValue1", void 0);
294
- __decorate([
286
+ tslib_1.__decorate([
295
287
  (0, typeorm_1.Column)({ nullable: true }),
296
288
  (0, type_graphql_1.Field)({ nullable: true }),
297
- __metadata("design:type", String)
289
+ tslib_1.__metadata("design:type", String)
298
290
  ], ProductDetail.prototype, "auxUnit2", void 0);
299
- __decorate([
291
+ tslib_1.__decorate([
300
292
  (0, typeorm_1.Column)({ nullable: true }),
301
293
  (0, type_graphql_1.Field)({ nullable: true }),
302
- __metadata("design:type", String)
294
+ tslib_1.__metadata("design:type", String)
303
295
  ], ProductDetail.prototype, "auxValue2", void 0);
304
- __decorate([
296
+ tslib_1.__decorate([
305
297
  (0, typeorm_1.Column)({ nullable: true }),
306
298
  (0, type_graphql_1.Field)({ nullable: true }),
307
- __metadata("design:type", String)
299
+ tslib_1.__metadata("design:type", String)
308
300
  ], ProductDetail.prototype, "auxUnit3", void 0);
309
- __decorate([
301
+ tslib_1.__decorate([
310
302
  (0, typeorm_1.Column)({ nullable: true }),
311
303
  (0, type_graphql_1.Field)({ nullable: true }),
312
- __metadata("design:type", String)
304
+ tslib_1.__metadata("design:type", String)
313
305
  ], ProductDetail.prototype, "auxValue3", void 0);
314
- __decorate([
306
+ tslib_1.__decorate([
315
307
  (0, typeorm_1.Column)({ nullable: true }),
316
308
  (0, type_graphql_1.Field)({ nullable: true }),
317
- __metadata("design:type", String)
309
+ tslib_1.__metadata("design:type", String)
318
310
  ], ProductDetail.prototype, "auxUnit4", void 0);
319
- __decorate([
311
+ tslib_1.__decorate([
320
312
  (0, typeorm_1.Column)({ nullable: true }),
321
313
  (0, type_graphql_1.Field)({ nullable: true }),
322
- __metadata("design:type", String)
314
+ tslib_1.__metadata("design:type", String)
323
315
  ], ProductDetail.prototype, "auxValue4", void 0);
324
- __decorate([
316
+ tslib_1.__decorate([
325
317
  (0, typeorm_1.Column)({ nullable: true }),
326
318
  (0, type_graphql_1.Field)({ nullable: true }),
327
- __metadata("design:type", String)
319
+ tslib_1.__metadata("design:type", String)
328
320
  ], ProductDetail.prototype, "auxUnit5", void 0);
329
- __decorate([
321
+ tslib_1.__decorate([
330
322
  (0, typeorm_1.Column)({ nullable: true }),
331
323
  (0, type_graphql_1.Field)({ nullable: true }),
332
- __metadata("design:type", String)
324
+ tslib_1.__metadata("design:type", String)
333
325
  ], ProductDetail.prototype, "auxValue5", void 0);
334
- __decorate([
326
+ tslib_1.__decorate([
335
327
  (0, typeorm_1.Column)({ nullable: true }),
336
328
  (0, type_graphql_1.Field)({ nullable: true }),
337
- __metadata("design:type", Boolean)
329
+ tslib_1.__metadata("design:type", Boolean)
338
330
  ], ProductDetail.prototype, "isTrackedAsInventory", void 0);
339
- __decorate([
331
+ tslib_1.__decorate([
340
332
  (0, typeorm_1.Column)({ nullable: true }),
341
333
  (0, type_graphql_1.Field)({ nullable: true }),
342
- __metadata("design:type", Number)
334
+ tslib_1.__metadata("design:type", Number)
343
335
  ], ProductDetail.prototype, "discountId", void 0);
344
- __decorate([
336
+ tslib_1.__decorate([
345
337
  (0, typeorm_1.Column)('float', { nullable: true }),
346
338
  (0, type_graphql_1.Field)({ nullable: true }),
347
- __metadata("design:type", Number)
339
+ tslib_1.__metadata("design:type", Number)
348
340
  ], ProductDetail.prototype, "costPrice", void 0);
349
- __decorate([
341
+ tslib_1.__decorate([
350
342
  (0, typeorm_1.Column)('float', { nullable: true }),
351
343
  (0, type_graphql_1.Field)({ nullable: true }),
352
- __metadata("design:type", Number)
344
+ tslib_1.__metadata("design:type", Number)
353
345
  ], ProductDetail.prototype, "mrpPrice", void 0);
354
- __decorate([
346
+ tslib_1.__decorate([
355
347
  (0, typeorm_1.Column)('float', { nullable: true }),
356
348
  (0, type_graphql_1.Field)({ nullable: true }),
357
- __metadata("design:type", Number)
349
+ tslib_1.__metadata("design:type", Number)
358
350
  ], ProductDetail.prototype, "sellPrice", void 0);
359
- __decorate([
351
+ tslib_1.__decorate([
360
352
  (0, typeorm_1.Column)('float', { nullable: true }),
361
353
  (0, type_graphql_1.Field)({ nullable: true }),
362
- __metadata("design:type", Number)
354
+ tslib_1.__metadata("design:type", Number)
363
355
  ], ProductDetail.prototype, "afterTaxCostPrice", void 0);
364
- __decorate([
356
+ tslib_1.__decorate([
365
357
  (0, typeorm_1.Column)('float', { nullable: true }),
366
358
  (0, type_graphql_1.Field)({ nullable: true }),
367
- __metadata("design:type", Number)
359
+ tslib_1.__metadata("design:type", Number)
368
360
  ], ProductDetail.prototype, "afterTaxSalesPrice", void 0);
369
- __decorate([
361
+ tslib_1.__decorate([
370
362
  (0, typeorm_1.Column)({ nullable: true }),
371
363
  (0, type_graphql_1.Field)({ nullable: true }),
372
- __metadata("design:type", String)
364
+ tslib_1.__metadata("design:type", String)
373
365
  ], ProductDetail.prototype, "inventoryAccountCode", void 0);
374
- __decorate([
366
+ tslib_1.__decorate([
375
367
  (0, typeorm_1.Column)({ nullable: true }),
376
368
  (0, type_graphql_1.Field)({ nullable: true }),
377
- __metadata("design:type", String)
369
+ tslib_1.__metadata("design:type", String)
378
370
  ], ProductDetail.prototype, "cogsAccountCode", void 0);
379
- __decorate([
371
+ tslib_1.__decorate([
380
372
  (0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
381
- __metadata("design:type", Number)
373
+ tslib_1.__metadata("design:type", Number)
382
374
  ], ProductDetail.prototype, "bundleQty", void 0);
383
- __decorate([
375
+ tslib_1.__decorate([
384
376
  (0, type_graphql_1.Field)({ nullable: true }),
385
- __metadata("design:type", Boolean)
377
+ tslib_1.__metadata("design:type", Boolean)
386
378
  ], ProductDetail.prototype, "isRequireSerialNumberScanningInbound", void 0);
387
- __decorate([
379
+ tslib_1.__decorate([
388
380
  (0, type_graphql_1.Field)({ nullable: true }),
389
- __metadata("design:type", Boolean)
381
+ tslib_1.__metadata("design:type", Boolean)
390
382
  ], ProductDetail.prototype, "isRequireSerialNumberScanningOutbound", void 0);
391
- __decorate([
383
+ tslib_1.__decorate([
392
384
  (0, typeorm_1.Column)({ nullable: true }),
393
385
  (0, type_graphql_1.Field)({ nullable: true }),
394
- __metadata("design:type", Date)
386
+ tslib_1.__metadata("design:type", Date)
395
387
  ], ProductDetail.prototype, "deletedAt", void 0);
396
- __decorate([
388
+ tslib_1.__decorate([
397
389
  (0, typeorm_1.CreateDateColumn)(),
398
390
  (0, type_graphql_1.Field)({ nullable: true }),
399
- __metadata("design:type", Date)
391
+ tslib_1.__metadata("design:type", Date)
400
392
  ], ProductDetail.prototype, "createdAt", void 0);
401
- __decorate([
393
+ tslib_1.__decorate([
402
394
  (0, typeorm_1.UpdateDateColumn)(),
403
395
  (0, type_graphql_1.Field)({ nullable: true }),
404
- __metadata("design:type", Date)
396
+ tslib_1.__metadata("design:type", Date)
405
397
  ], ProductDetail.prototype, "updatedAt", void 0);
406
- __decorate([
398
+ tslib_1.__decorate([
407
399
  (0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
408
400
  nullable: true
409
401
  }),
410
- __metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
402
+ tslib_1.__metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
411
403
  ], ProductDetail.prototype, "creator", void 0);
412
- __decorate([
404
+ tslib_1.__decorate([
413
405
  (0, typeorm_1.RelationId)((productDetail) => productDetail.creator),
414
- __metadata("design:type", String)
406
+ tslib_1.__metadata("design:type", String)
415
407
  ], ProductDetail.prototype, "creatorId", void 0);
416
- __decorate([
408
+ tslib_1.__decorate([
417
409
  (0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
418
410
  nullable: true
419
411
  }),
420
- __metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
412
+ tslib_1.__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
421
413
  ], ProductDetail.prototype, "updater", void 0);
422
- __decorate([
414
+ tslib_1.__decorate([
423
415
  (0, typeorm_1.RelationId)((productDetail) => productDetail.updater),
424
- __metadata("design:type", String)
416
+ tslib_1.__metadata("design:type", String)
425
417
  ], ProductDetail.prototype, "updaterId", void 0);
426
- ProductDetail = ProductDetail_1 = __decorate([
418
+ ProductDetail = ProductDetail_1 = tslib_1.__decorate([
427
419
  (0, typeorm_1.Entity)(),
428
420
  (0, typeorm_1.Index)('ix_product_detail_0', (productDetail) => [productDetail.domain, productDetail.gtin, productDetail.product], { unique: true }),
429
421
  (0, typeorm_1.Index)('ix_product_detail_1', (productDetail) => [productDetail.product]),
@@ -431,7 +423,7 @@ ProductDetail = ProductDetail_1 = __decorate([
431
423
  unique: true
432
424
  }),
433
425
  (0, type_graphql_1.ObjectType)(),
434
- __metadata("design:paramtypes", [Object, Object])
426
+ tslib_1.__metadata("design:paramtypes", [Object, Object])
435
427
  ], ProductDetail);
436
428
  exports.ProductDetail = ProductDetail;
437
429
  //# sourceMappingURL=product-detail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-detail.js","sourceRoot":"","sources":["../../../server/service/product-detail/product-detail.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAgD;AAChD,iDAA8C;AAC9C,+CAA2D;AAC3D,qCAUgB;AAChB,wHAAiH;AACjH,gDAA4C;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmDI;AAaJ,IAAa,aAAa,qBAA1B,MAAa,aAAa;IACxB,YAAY,aAAa,EAAE,UAAU,GAAG,KAAK;QAC3C,IAAI,aAAa,EAAE;YACjB,IAAI,CAAC,UAAU,EAAE;gBACf,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAA;gBAClC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;gBAC9B,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;gBACpC,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;aACrC;YACD,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;YAC9B,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;YACpC,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;YACpC,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,SAAS,CAAA;YACxC,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,WAAW,CAAA;YAC5C,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,WAAW,CAAA;YAC5C,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,QAAQ,CAAA;YAClD,IAAI,CAAC,GAA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gDACnD;AA/SN,aAAa;IAXzB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EACJ,qBAAqB,EACrB,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EACnG,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACvF,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7G,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,yBAAU,GAAE;;GACA,aAAa,CAgTzB;AAhTY,sCAAa"}
1
+ {"version":3,"file":"product-detail.js","sourceRoot":"","sources":["../../../server/service/product-detail/product-detail.ts"],"names":[],"mappings":";;;;;AAAA,yDAAgD;AAChD,iDAA8C;AAC9C,+CAA2D;AAC3D,qCAUgB;AAChB,wHAAiH;AACjH,gDAA4C;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmDI;AAaJ,IAAa,aAAa,qBAA1B,MAAa,aAAa;IACxB,YAAY,aAAa,EAAE,UAAU,GAAG,KAAK;QAC3C,IAAI,aAAa,EAAE;YACjB,IAAI,CAAC,UAAU,EAAE;gBACf,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAA;gBAClC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;gBAC9B,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;gBACpC,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAA;aACrC;YACD,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA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f,CAAC;0DACO,gBAAI,oBAAJ,gBAAI;8CAAA;AAGb;IADC,IAAA,oBAAU,EAAC,CAAC,aAA4B,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;;gDACnD;AAKjB;IAHC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE;QACvB,QAAQ,EAAE,IAAI;KACf,CAAC;0DACO,gBAAI,oBAAJ,gBAAI;8CAAA;AAGb;IADC,IAAA,oBAAU,EAAC,CAAC,aAA4B,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;;gDACnD;AA/SN,aAAa;IAXzB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EACJ,qBAAqB,EACrB,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EACnG,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACvF,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,aAA4B,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7G,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,yBAAU,GAAE;;GACA,aAAa,CAgTzB;AAhTY,sCAAa","sourcesContent":["import { User } from '@things-factory/auth-base'\nimport { Domain } from '@things-factory/shell'\nimport { Field, Float, ID, ObjectType } from 'type-graphql'\nimport {\n Column,\n CreateDateColumn,\n Entity,\n Index,\n ManyToOne,\n OneToMany,\n PrimaryGeneratedColumn,\n RelationId,\n UpdateDateColumn\n} from 'typeorm'\nimport { ProductDetailBizplaceSetting } from '../product-detail-bizplace-setting/product-detail-bizplace-setting'\nimport { Product } from '../product/product'\n\n/**\n * @prop {string} id - Primary Key.\n * @prop {Object} domain - Stock Owner company domain.\n * @prop {string} name - Product Detail Name.\n * @prop {string} gtin - Global Trade Item Number or Product Detail Barcode. SKU, Manufacturer, and Packaging specific code. For Product Scanning Feature.\n * @prop {?string} refCode - Product Reference Code.\n * @prop {Object} product - Foreign field. Relation to Product Entity / Table.\n * @prop {boolean} isDefault - Default SKU info.\n * @prop {string} packingType - Packing type of current Product Detail.\n * @prop {number} packingSize - Packing size of current Product Detail.\n * @prop {string} movement - Movement of stocks. eg, FAST, NORMAL, SLOW.\n * @prop {string} primaryUnit - UOM unit. eg, unit, kg, g, Lt, foot, m, cm, inch.\n * @prop {number} primaryValue - nett content.\n * @prop {?Object} childProductDetails - Foreign field. Relation to define child packaging level.\n * @prop {?[Object]} parentProductDetails - Foreign field. List of relation to define parent packaging level.\n * @prop {?number} childQty - (To Be Removed: Packing Size will be used instead)Used with packaging level definition to determine in a Child Product Detail contains how many Child Product Detail Qty.\n * @prop {?string} weightUnit - Weight Unit Definition. eg, kg, g, t.\n * @prop {?number} nettWeight - Nett Weight of this Product Detail.\n * @prop {?number} grossWeight - Gross Weight of this Product Detail.\n * @prop {?string} lengthUnit - Length Unit Definition. eg, m, cm, mm, inch, foot.\n * @prop {?number} width - Width length of Product Detail.\n * @prop {?number} depth - Depth length of Product Detail.\n * @prop {?number} height - Height length of Product Detail.\n * @prop {?number} volume - Volume of Product Detail. In m3.\n * @prop {?number} bufferQty - Quantity for reservation.\n * @prop {?number} minQty - Minimum Quantity targetted in inventory. For reporting purposes.\n * @prop {?number} maxQty - Maximum Quantity targetted in inventory. For reporting purposes.\n * @prop {?string} auxUnit1 - Auxiliary Unit or supplementary data for records and reporting purposes.\n * @prop {?string} auxValue1 - Auxiliary Value or supplementary data for records and reporting purposes.\n * @prop {?string} auxUnit2 - Auxiliary Unit or supplementary data for records and reporting purposes.\n * @prop {?string} auxValue2 - Auxiliary Value or supplementary data for records and reporting purposes.\n * @prop {?string} auxUnit3 - Auxiliary Unit or supplementary data for records and reporting purposes.\n * @prop {?string} auxValue3 - Auxiliary Value or supplementary data for records and reporting purposes.\n * @prop {?string} auxUnit4 - Auxiliary Unit or supplementary data for records and reporting purposes.\n * @prop {?string} auxValue4 - Auxiliary Value or supplementary data for records and reporting purposes.\n * @prop {?string} auxUnit5 - Auxiliary Unit or supplementary data for records and reporting purposes.\n * @prop {?string} auxValue5 - Auxiliary Value or supplementary data for records and reporting purposes.\n * @prop {?boolean} isTrackedAsInventory - For accounting integration purposes.\n * @prop {?number} discountId - For accounting integration purposes.\n * @prop {?number} costPrice - For accounting integration purposes.\n * @prop {?number} mrpPrice - For accounting integration purposes.\n * @prop {?number} sellPrice - For accounting integration purposes.\n * @prop {?number} afterTaxCostPrice - For accounting integration purposes.\n * @prop {?number} afterTaxSalesPrice - For accounting integration purposes.\n * @prop {?string} inventoryAccountCode - For accounting integration purposes.\n * @prop {?string} cogsAccountCode - For accounting integration purposes.\n * @prop {?Date} deletedAt - Soft Delete Date and Time.\n * @prop {Date} createdAt - Created Date and Time.\n * @prop {Date} updatedAt - Updated Date and Time.\n * @prop {?Object} creator - Foreign field. Relation to User Entity / Table.\n * @prop {?Object} updater - Foreign field. Relation to User Entity / Table.\n **/\n\n@Entity()\n@Index(\n 'ix_product_detail_0',\n (productDetail: ProductDetail) => [productDetail.domain, productDetail.gtin, productDetail.product],\n { unique: true }\n)\n@Index('ix_product_detail_1', (productDetail: ProductDetail) => [productDetail.product])\n@Index('ix_product_detail_2', (productDetail: ProductDetail) => [productDetail.domain, productDetail.refCode], {\n unique: true\n})\n@ObjectType()\nexport class ProductDetail {\n constructor(productDetail, extrasOnly = false) {\n if (productDetail) {\n if (!extrasOnly) {\n this.domain = productDetail.domain\n this.name = productDetail.name\n this.creator = productDetail.creator\n this.updater = productDetail.updater\n }\n this.gtin = productDetail.gtin\n this.refCode = productDetail.refCode\n this.product = productDetail.product\n this.isDefault = productDetail.isDefault\n this.packingType = productDetail.packingType\n this.packingSize = productDetail.packingSize\n this.movement = productDetail.movement || 'NORMAL'\n this.uom = productDetail.uom\n this.uomValue = productDetail.uomValue\n this.childProductDetail = productDetail.childProductDetail\n this.childQty = productDetail.childQty\n this.weightUnit = productDetail.weightUnit\n this.nettWeight = productDetail.nettWeight\n this.grossWeight = productDetail.grossWeight\n this.lengthUnit = productDetail.lengthUnit\n this.width = productDetail.width\n this.depth = productDetail.depth\n this.height = productDetail.height\n this.volume = productDetail.volume\n this.bufferQty = productDetail.bufferQty || 0\n this.minQty = productDetail.minQty || 0\n this.maxQty = productDetail.maxQty || 0\n this.auxUnit1 = productDetail.auxUnit1\n this.auxValue1 = productDetail.auxValue1\n this.auxUnit2 = productDetail.auxUnit2\n this.auxValue2 = productDetail.auxValue2\n this.auxUnit3 = productDetail.auxUnit3\n this.auxValue3 = productDetail.auxValue3\n this.auxUnit4 = productDetail.auxUnit4\n this.auxValue4 = productDetail.auxValue4\n this.auxUnit5 = productDetail.auxUnit5\n this.auxValue5 = productDetail.auxValue5\n this.isTrackedAsInventory = productDetail.isTrackedAsInventory\n this.discountId = productDetail.discountId\n this.costPrice = productDetail.costPrice\n this.mrpPrice = productDetail.mrpPrice\n this.sellPrice = productDetail.sellPrice\n this.afterTaxCostPrice = productDetail.afterTaxCostPrice\n this.afterTaxSalesPrice = productDetail.afterTaxSalesPrice\n this.inventoryAccountCode = productDetail.inventoryAccountCode\n this.cogsAccountCode = productDetail.cogsAccountCode\n }\n }\n\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field()\n domain: Domain\n\n @RelationId((productDetail: ProductDetail) => productDetail.domain)\n domainId: string\n\n @Column()\n @Field()\n name: string\n\n @Column()\n @Field()\n gtin: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n refCode: string\n\n @ManyToOne(type => Product)\n @Field(type => Product)\n product: Product\n\n @Column({ default: false })\n @Field()\n isDefault: boolean\n\n @Column()\n @Field()\n packingType: string\n\n @Column('float', { default: 1 })\n @Field()\n packingSize: number\n\n @Column({ default: 'NORMAL' })\n @Field()\n movement: string\n\n @Column()\n @Field()\n uom: string\n\n @Column('float')\n @Field()\n uomValue: number\n\n @ManyToOne(type => ProductDetail, { nullable: true })\n @Field(type => ProductDetail, { nullable: true })\n childProductDetail: ProductDetail\n\n @OneToMany(type => ProductDetail, productDetail => productDetail.childProductDetail, { nullable: true })\n @Field(type => [ProductDetail], { nullable: true })\n parentProductDetails: ProductDetail[]\n\n @OneToMany(\n type => ProductDetailBizplaceSetting,\n productDetailBizplaceSetting => productDetailBizplaceSetting.productDetail,\n { nullable: true }\n )\n @Field(type => [ProductDetailBizplaceSetting], { nullable: true })\n productDetailBizplaceSettings: ProductDetailBizplaceSetting[]\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n childQty: number\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n weightUnit: string\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n nettWeight: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n grossWeight: number\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n lengthUnit: string\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n width: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n depth: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n height: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n volume: number\n\n @Column({ default: 0 })\n @Field()\n bufferQty: number\n\n @Column({ default: 0 })\n @Field()\n minQty: number\n\n @Column({ default: 0 })\n @Field()\n maxQty: number\n\n @Field({ nullable: true })\n sku?: string\n\n @Field({ nullable: true })\n productId?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n type?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxUnit1: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxValue1: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxUnit2: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxValue2: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxUnit3: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxValue3: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxUnit4: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxValue4: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxUnit5: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n auxValue5: string\n\n //// For Accounting Integration ////\n @Column({ nullable: true })\n @Field({ nullable: true })\n isTrackedAsInventory: boolean\n\n //// For Accounting Integration ////\n @Column({ nullable: true })\n @Field({ nullable: true })\n discountId: number\n\n //// For Accounting Integration ////\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n costPrice: number\n\n //// For Accounting Integration ////\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n mrpPrice: number\n\n //// For Accounting Integration ////\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n sellPrice: number\n\n //// For Accounting Integration ////\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n afterTaxCostPrice: number\n\n //// For Accounting Integration ////\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n afterTaxSalesPrice: number\n\n //// For Accounting Integration ////\n @Column({ nullable: true })\n @Field({ nullable: true })\n inventoryAccountCode: string\n\n //// For Accounting Integration ////\n @Column({ nullable: true })\n @Field({ nullable: true })\n cogsAccountCode: string\n\n @Field(type => Float, { nullable: true })\n bundleQty: number\n\n @Field({ nullable: true })\n isRequireSerialNumberScanningInbound: boolean\n\n @Field({ nullable: true })\n isRequireSerialNumberScanningOutbound: boolean\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n deletedAt: Date\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt: Date\n\n @ManyToOne(type => User, {\n nullable: true\n })\n creator: User\n\n @RelationId((productDetail: ProductDetail) => productDetail.creator)\n creatorId: string\n\n @ManyToOne(type => User, {\n nullable: true\n })\n updater: User\n\n @RelationId((productDetail: ProductDetail) => productDetail.updater)\n updaterId: string\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/product-detail-bizplace-setting/index.ts"],"names":[],"mappings":";;;AAAA,uFAAgF;AAChF,yGAAiG;AACjG,mGAA2F;AAE9E,QAAA,QAAQ,GAAG,CAAC,8DAA4B,CAAC,CAAA;AACzC,QAAA,SAAS,GAAG,CAAC,yEAAiC,EAAE,+EAAoC,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/product-detail-bizplace-setting/index.ts"],"names":[],"mappings":";;;AAAA,uFAAgF;AAChF,yGAAiG;AACjG,mGAA2F;AAE9E,QAAA,QAAQ,GAAG,CAAC,8DAA4B,CAAC,CAAA;AACzC,QAAA,SAAS,GAAG,CAAC,yEAAiC,EAAE,+EAAoC,CAAC,CAAA","sourcesContent":["import { ProductDetailBizplaceSetting } from './product-detail-bizplace-setting'\nimport { ProductDetailBizplaceSettingMutation } from './product-detail-bizplace-setting-mutation'\nimport { ProductDetailBizplaceSettingQuery } from './product-detail-bizplace-setting-query'\n\nexport const entities = [ProductDetailBizplaceSetting]\nexport const resolvers = [ProductDetailBizplaceSettingQuery, ProductDetailBizplaceSettingMutation]\n"]}
@@ -1,18 +1,7 @@
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 __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.ProductDetailBizplaceSettingMutation = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const type_graphql_1 = require("type-graphql");
17
6
  const typeorm_1 = require("typeorm");
18
7
  const product_detail_1 = require("../product-detail/product-detail");
@@ -72,42 +61,42 @@ let ProductDetailBizplaceSettingMutation = class ProductDetailBizplaceSettingMut
72
61
  return true;
73
62
  }
74
63
  };
75
- __decorate([
64
+ tslib_1.__decorate([
76
65
  (0, type_graphql_1.Mutation)(returns => product_detail_bizplace_setting_1.ProductDetailBizplaceSetting),
77
- __param(0, (0, type_graphql_1.Arg)('name')),
78
- __param(1, (0, type_graphql_1.Arg)('patch')),
79
- __param(2, (0, type_graphql_1.Ctx)()),
80
- __metadata("design:type", Function),
81
- __metadata("design:paramtypes", [String, product_detail_bizplace_setting_types_1.ProductDetailBizplaceSettingPatch, Object]),
82
- __metadata("design:returntype", Promise)
66
+ tslib_1.__param(0, (0, type_graphql_1.Arg)('name')),
67
+ tslib_1.__param(1, (0, type_graphql_1.Arg)('patch')),
68
+ tslib_1.__param(2, (0, type_graphql_1.Ctx)()),
69
+ tslib_1.__metadata("design:type", Function),
70
+ tslib_1.__metadata("design:paramtypes", [String, product_detail_bizplace_setting_types_1.ProductDetailBizplaceSettingPatch, Object]),
71
+ tslib_1.__metadata("design:returntype", Promise)
83
72
  ], ProductDetailBizplaceSettingMutation.prototype, "updateProductDetailBizplaceSetting", null);
84
- __decorate([
73
+ tslib_1.__decorate([
85
74
  (0, type_graphql_1.Directive)('@transaction'),
86
75
  (0, type_graphql_1.Mutation)(returns => [product_detail_bizplace_setting_1.ProductDetailBizplaceSetting]),
87
- __param(0, (0, type_graphql_1.Arg)('productId')),
88
- __param(1, (0, type_graphql_1.Arg)('patches', type => [product_detail_bizplace_setting_types_1.ProductDetailBizplaceSettingPatch])),
89
- __param(2, (0, type_graphql_1.Ctx)()),
90
- __metadata("design:type", Function),
91
- __metadata("design:paramtypes", [String, Array, Object]),
92
- __metadata("design:returntype", Promise)
76
+ tslib_1.__param(0, (0, type_graphql_1.Arg)('productId')),
77
+ tslib_1.__param(1, (0, type_graphql_1.Arg)('patches', type => [product_detail_bizplace_setting_types_1.ProductDetailBizplaceSettingPatch])),
78
+ tslib_1.__param(2, (0, type_graphql_1.Ctx)()),
79
+ tslib_1.__metadata("design:type", Function),
80
+ tslib_1.__metadata("design:paramtypes", [String, Array, Object]),
81
+ tslib_1.__metadata("design:returntype", Promise)
93
82
  ], ProductDetailBizplaceSettingMutation.prototype, "updateMultipleProductDetailBizplaceSetting", null);
94
- __decorate([
83
+ tslib_1.__decorate([
95
84
  (0, type_graphql_1.Mutation)(returns => Boolean),
96
- __param(0, (0, type_graphql_1.Arg)('name')),
97
- __param(1, (0, type_graphql_1.Ctx)()),
98
- __metadata("design:type", Function),
99
- __metadata("design:paramtypes", [String, Object]),
100
- __metadata("design:returntype", Promise)
85
+ tslib_1.__param(0, (0, type_graphql_1.Arg)('name')),
86
+ tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
87
+ tslib_1.__metadata("design:type", Function),
88
+ tslib_1.__metadata("design:paramtypes", [String, Object]),
89
+ tslib_1.__metadata("design:returntype", Promise)
101
90
  ], ProductDetailBizplaceSettingMutation.prototype, "deleteProductDetailBizplaceSetting", null);
102
- __decorate([
91
+ tslib_1.__decorate([
103
92
  (0, type_graphql_1.Mutation)(returns => Boolean),
104
- __param(0, (0, type_graphql_1.Arg)('names', type => [String])),
105
- __param(1, (0, type_graphql_1.Ctx)()),
106
- __metadata("design:type", Function),
107
- __metadata("design:paramtypes", [Array, Object]),
108
- __metadata("design:returntype", Promise)
93
+ tslib_1.__param(0, (0, type_graphql_1.Arg)('names', type => [String])),
94
+ tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
95
+ tslib_1.__metadata("design:type", Function),
96
+ tslib_1.__metadata("design:paramtypes", [Array, Object]),
97
+ tslib_1.__metadata("design:returntype", Promise)
109
98
  ], ProductDetailBizplaceSettingMutation.prototype, "deleteProductDetailBizplaceSettings", null);
110
- ProductDetailBizplaceSettingMutation = __decorate([
99
+ ProductDetailBizplaceSettingMutation = tslib_1.__decorate([
111
100
  (0, type_graphql_1.Resolver)(product_detail_bizplace_setting_1.ProductDetailBizplaceSetting)
112
101
  ], ProductDetailBizplaceSettingMutation);
113
102
  exports.ProductDetailBizplaceSettingMutation = ProductDetailBizplaceSettingMutation;