cecon-interfaces 1.1.84 → 1.1.85
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/product-global/entities/product.entity.mjs +3 -3
- package/dist/esm2022/product-global/interfaces/i-product.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/product-global/entities/product.entity.d.ts +1 -1
- package/dist/product-global/entities/product.entity.js +2 -2
- package/dist/product-global/interfaces/i-product.d.ts +1 -1
- package/package.json +1 -1
@@ -12,7 +12,7 @@ export class ProductGlobalEntity {
|
|
12
12
|
createdAt = new Date();
|
13
13
|
description = '';
|
14
14
|
grossWeight = 0;
|
15
|
-
gtin =
|
15
|
+
gtin = null;
|
16
16
|
gtinType = GTINTypeEnum.THIRTEEN;
|
17
17
|
height = 0;
|
18
18
|
id = '';
|
@@ -41,7 +41,7 @@ export class ProductGlobalEntity {
|
|
41
41
|
this.createdAt = new Date();
|
42
42
|
this.description = bluesoft.description;
|
43
43
|
this.grossWeight = bluesoft.grossWeight || 0;
|
44
|
-
this.gtin = bluesoft.gtin
|
44
|
+
this.gtin = bluesoft.gtin || null;
|
45
45
|
this.gtinType = EGtintype.FOURTEEN;
|
46
46
|
this.height = bluesoft.height || 0;
|
47
47
|
this.id = '';
|
@@ -81,4 +81,4 @@ export class ProductGlobalEntity {
|
|
81
81
|
return Number(value.replace(/[^0-9.-]+/g, ''));
|
82
82
|
}
|
83
83
|
}
|
84
|
-
//# sourceMappingURL=data:application/json;base64,
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW50aXRpZXMvcHJvZHVjdC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FB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obGV0IGkgPSAwOyBpIDwgZ3RpbnMubGVuZ3RoOyBpKyspIHtcclxuICAgICAgaWYgKGd0aW5zW2ldLmd0aW4gPT09IHJlZikge1xyXG4gICAgICAgIHJldHVybiBndGluc1tpXTtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICAgcmV0dXJuIG51bGw7XHJcbiAgfVxyXG4gIHByaXZhdGUgY3VycmVuY3lTdHJpbmdUb051bWJlcih2YWx1ZTogc3RyaW5nKTogbnVtYmVyIHtcclxuICAgIHJldHVybiBOdW1iZXIodmFsdWUucmVwbGFjZSgvW14wLTkuLV0rL2csICcnKSk7XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByaXZhdGUgTWV0aG9kcyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wcm9kdWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2R1Y3QtZ2xvYmFsL2ludGVyZmFjZXMvaS1wcm9kdWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHVElOVHlwZUVudW0gfSBmcm9tICcuLi9lbnVtcyc7XG5pbXBvcnQgeyBJUHJvZHVjdEJyYW5kIH0gZnJvbSAnLi9pLWJyYW5kJztcbmltcG9ydCB7IElQcm9kdWN0TmNtIH0gZnJvbSAnLi9pLW5jbSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVByb2R1Y3RHbG9iYWwge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDI5KVxuXG4gIC8qKlxuICAgKiBJbmRpY2F0ZXMgd2hldGhlciB0aGUgcHJvZHVjdCBpcyBhY3RpdmUuXG4g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VwiLCBcInRhZzJcIl1cbiAgICogQGRlZmF1bHQgW11cbiAgICogQHVuaXF1ZUl0ZW1zIHRydWVcbiAgICogQG1pbkl0ZW1zIDBcbiAgICogQG1heEl0ZW1zIDUwXG4gICAqIEBpdGVtc1xuICAgKiBAbWlubGVuZ3RoIDFcbiAgICogQG1heGxlbmd0aCA2MFxuICAgKi9cbiAgdGFnczogc3RyaW5nW107XG4gIC8qKlxuICAgKiBVUkwgb2YgdGhlIHByb2R1Y3QgaW1hZ2UuXG4gICAqIEBtaW5sZW5ndGggMVxuICAgKiBAbWF4bGVuZ3RoIDEyMFxuICAgKiBAZXhhbXBsZSBcImh0dHBzOi8vd3d3LmV4YW1wbGUuY29tL2ltYWdlLmpwZ1wiXG4gICAqIEBkZWZhdWx0IFwiXCJcbiAgICovXG4gIHRodW1ibmFpbDogc3RyaW5nIHwgbnVsbDtcbiAgLyoqXG4gICAqIERhdGUgd2hlbiB0aGUgcHJvZHVjdCB3YXMgbGFzdCB1cGRhdGVkLlxuICAgKiBAZm9ybWF0IGRhdGUtdGltZVxuICAgKiBAZXhhbXBsZSBcIjIwMTktMDEtMDFUMDA6MDA6MDAuMDAwWlwiXG4gICAqIEBkZWZhdWx0IERhdGUubm93KClcbiAgICovXG4gIHVwZGF0ZWRBdDogRGF0ZTtcbiAgLyoqXG4gICAqIFdpZHRoIG9mIHRoZSBwcm9kdWN0LlxuICAgKiBAZXhhbXBsZSAxNVxuICAgKiBAZGVmYXVsdCAwXG4gICAqXG4gICAqL1xuICB3aWR0aDogbnVtYmVyIHwgbnVsbDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDI5KVxufVxuIl19
|
@@ -3118,7 +3118,7 @@ class ProductGlobalEntity {
|
|
3118
3118
|
createdAt = new Date();
|
3119
3119
|
description = '';
|
3120
3120
|
grossWeight = 0;
|
3121
|
-
gtin =
|
3121
|
+
gtin = null;
|
3122
3122
|
gtinType = EGtintype.THIRTEEN;
|
3123
3123
|
height = 0;
|
3124
3124
|
id = '';
|
@@ -3147,7 +3147,7 @@ class ProductGlobalEntity {
|
|
3147
3147
|
this.createdAt = new Date();
|
3148
3148
|
this.description = bluesoft.description;
|
3149
3149
|
this.grossWeight = bluesoft.grossWeight || 0;
|
3150
|
-
this.gtin = bluesoft.gtin
|
3150
|
+
this.gtin = bluesoft.gtin || null;
|
3151
3151
|
this.gtinType = EGtintype.FOURTEEN;
|
3152
3152
|
this.height = bluesoft.height || 0;
|
3153
3153
|
this.id = '';
|