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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.84",
3
+ "version": "1.1.85",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,7 +12,7 @@ export declare class ProductGlobalEntity implements IProductGlobal {
12
12
  createdAt: Date;
13
13
  description: string;
14
14
  grossWeight: number;
15
- gtin: string;
15
+ gtin: number | null;
16
16
  gtinType: GTINTypeEnum;
17
17
  height: number;
18
18
  id: string;
@@ -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 = '';
@@ -45,7 +45,7 @@ var ProductGlobalEntity = /** @class */ (function () {
45
45
  this.createdAt = new Date();
46
46
  this.description = bluesoft.description;
47
47
  this.grossWeight = bluesoft.grossWeight || 0;
48
- this.gtin = bluesoft.gtin.toString();
48
+ this.gtin = bluesoft.gtin || null;
49
49
  this.gtinType = gtin_type_enum_1.EGtintype.FOURTEEN;
50
50
  this.height = bluesoft.height || 0;
51
51
  this.id = '';
@@ -64,7 +64,7 @@ export interface IProductGlobal {
64
64
  * @maxlength 14
65
65
  * @example "123456789"
66
66
  */
67
- gtin: string;
67
+ gtin: number | null;
68
68
  /**
69
69
  * Type of GTIN.
70
70
  * @default GTINTypeEnum.GTIN_13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.84",
3
+ "version": "1.1.85",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",