cecon-interfaces 1.1.83 → 1.1.85

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.83",
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",
@@ -1,6 +1,6 @@
1
1
  import { IProductBrand } from '../interfaces';
2
2
  export declare class ProductBrandEntity implements IProductBrand {
3
- imageUrl: string;
3
+ picture: string;
4
4
  name: string;
5
5
  constructor(data?: Partial<ProductBrandEntity>);
6
6
  }
@@ -6,7 +6,7 @@ var ProductBrandEntity = /** @class */ (function () {
6
6
  // #region Constructors (1)
7
7
  function ProductBrandEntity(data) {
8
8
  // #region Properties (2)
9
- this.imageUrl = '';
9
+ this.picture = '';
10
10
  this.name = '';
11
11
  if (data) {
12
12
  for (var key in data) {
@@ -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 = '';
@@ -10,5 +10,5 @@ export interface IProductBrand {
10
10
  * It should be a valid URL.
11
11
  * @example "http://www.example.com"
12
12
  */
13
- imageUrl: string;
13
+ picture: string;
14
14
  }
@@ -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.83",
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",