cecon-interfaces 1.1.84 → 1.1.86
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 +4 -3
- package/dist/esm2022/product-global/interfaces/i-product.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -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 +2 -1
- package/dist/product-global/entities/product.entity.js +3 -2
- package/dist/product-global/interfaces/i-product.d.ts +8 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -12,7 +12,7 @@ export declare class ProductGlobalEntity implements IProductGlobal {
|
|
12
12
|
createdAt: Date;
|
13
13
|
description: string;
|
14
14
|
grossWeight: number;
|
15
|
-
gtin:
|
15
|
+
gtin: number | null;
|
16
16
|
gtinType: GTINTypeEnum;
|
17
17
|
height: number;
|
18
18
|
id: string;
|
@@ -24,6 +24,7 @@ export declare class ProductGlobalEntity implements IProductGlobal {
|
|
24
24
|
name: string;
|
25
25
|
ncm: ProductNcmEntity;
|
26
26
|
netWeight: number;
|
27
|
+
createdBy: string;
|
27
28
|
price: number;
|
28
29
|
tags: string[];
|
29
30
|
thumbnail: string | null;
|
@@ -19,7 +19,7 @@ var ProductGlobalEntity = /** @class */ (function () {
|
|
19
19
|
this.createdAt = new Date();
|
20
20
|
this.description = '';
|
21
21
|
this.grossWeight = 0;
|
22
|
-
this.gtin =
|
22
|
+
this.gtin = null;
|
23
23
|
this.gtinType = enums_1.GTINTypeEnum.THIRTEEN;
|
24
24
|
this.height = 0;
|
25
25
|
this.id = '';
|
@@ -31,6 +31,7 @@ var ProductGlobalEntity = /** @class */ (function () {
|
|
31
31
|
this.name = '';
|
32
32
|
this.ncm = new product_ncm_entity_1.ProductNcmEntity();
|
33
33
|
this.netWeight = 0;
|
34
|
+
this.createdBy = '';
|
34
35
|
this.price = 0;
|
35
36
|
this.tags = [];
|
36
37
|
this.thumbnail = null;
|
@@ -45,7 +46,7 @@ var ProductGlobalEntity = /** @class */ (function () {
|
|
45
46
|
this.createdAt = new Date();
|
46
47
|
this.description = bluesoft.description;
|
47
48
|
this.grossWeight = bluesoft.grossWeight || 0;
|
48
|
-
this.gtin = bluesoft.gtin
|
49
|
+
this.gtin = bluesoft.gtin || null;
|
49
50
|
this.gtinType = gtin_type_enum_1.EGtintype.FOURTEEN;
|
50
51
|
this.height = bluesoft.height || 0;
|
51
52
|
this.id = '';
|
@@ -49,6 +49,13 @@ export interface IProductGlobal {
|
|
49
49
|
* @example "Product description"
|
50
50
|
*/
|
51
51
|
description: string;
|
52
|
+
/**
|
53
|
+
* Name of the user who created the product.
|
54
|
+
* @minlength 1
|
55
|
+
* @maxlength 120
|
56
|
+
* @example "User name"
|
57
|
+
*/
|
58
|
+
createdBy: string;
|
52
59
|
/**
|
53
60
|
* Gross weight of the product.
|
54
61
|
* @example 1.5
|
@@ -64,7 +71,7 @@ export interface IProductGlobal {
|
|
64
71
|
* @maxlength 14
|
65
72
|
* @example "123456789"
|
66
73
|
*/
|
67
|
-
gtin:
|
74
|
+
gtin: number | null;
|
68
75
|
/**
|
69
76
|
* Type of GTIN.
|
70
77
|
* @default GTINTypeEnum.GTIN_13
|