cecon-interfaces 1.1.78 → 1.1.80

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/dist/esm2022/index.mjs +4 -1
  2. package/dist/esm2022/product-company/entities/index.mjs +2 -0
  3. package/dist/esm2022/product-company/entities/product.entity.mjs +18 -0
  4. package/dist/esm2022/product-company/index.mjs +3 -0
  5. package/dist/esm2022/product-company/interfaces/i-product.mjs +2 -0
  6. package/dist/esm2022/product-company/interfaces/index.mjs +2 -0
  7. package/dist/esm2022/product-container/entities/index.mjs +2 -0
  8. package/dist/esm2022/product-container/entities/product.entity.mjs +22 -0
  9. package/dist/esm2022/product-container/index.mjs +3 -0
  10. package/dist/esm2022/product-container/interfaces/i-product.mjs +2 -0
  11. package/dist/esm2022/product-container/interfaces/index.mjs +2 -0
  12. package/dist/esm2022/product-global/entities/index.mjs +4 -0
  13. package/dist/esm2022/product-global/entities/product-brand.entity.mjs +17 -0
  14. package/dist/esm2022/product-global/entities/product-ncm.entity.mjs +18 -0
  15. package/dist/esm2022/product-global/entities/product.entity.mjs +46 -0
  16. package/dist/esm2022/product-global/enums/gtin-type.enum.mjs +9 -0
  17. package/dist/esm2022/product-global/enums/index.mjs +2 -0
  18. package/dist/esm2022/product-global/index.mjs +4 -0
  19. package/dist/esm2022/product-global/interfaces/i-brand.mjs +2 -0
  20. package/dist/esm2022/product-global/interfaces/i-ncm.mjs +2 -0
  21. package/dist/esm2022/product-global/interfaces/i-product.mjs +2 -0
  22. package/dist/esm2022/product-global/interfaces/index.mjs +2 -0
  23. package/dist/esm2022/subscription-company/entities/index.mjs +2 -2
  24. package/dist/esm2022/subscription-company/interfaces/index.mjs +1 -1
  25. package/dist/esm2022/subscription-customer/entities/index.mjs +2 -2
  26. package/dist/esm2022/subscription-customer/interfaces/index.mjs +1 -1
  27. package/dist/fesm2022/cecon-interfaces.mjs +126 -1
  28. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +3 -0
  31. package/dist/package.json +1 -1
  32. package/dist/product-company/entities/index.d.ts +1 -0
  33. package/dist/product-company/entities/index.js +5 -0
  34. package/dist/product-company/entities/product.entity.d.ts +6 -0
  35. package/dist/product-company/entities/product.entity.js +39 -0
  36. package/dist/product-company/index.d.ts +2 -0
  37. package/dist/product-company/index.js +18 -0
  38. package/dist/product-company/interfaces/i-product.d.ts +11 -0
  39. package/dist/product-company/interfaces/i-product.js +2 -0
  40. package/dist/product-company/interfaces/index.d.ts +1 -0
  41. package/dist/product-company/interfaces/index.js +2 -0
  42. package/dist/product-container/entities/index.d.ts +1 -0
  43. package/dist/product-container/entities/index.js +5 -0
  44. package/dist/product-container/entities/product.entity.d.ts +10 -0
  45. package/dist/product-container/entities/product.entity.js +43 -0
  46. package/dist/product-container/index.d.ts +2 -0
  47. package/dist/product-container/index.js +18 -0
  48. package/dist/product-container/interfaces/i-product.d.ts +39 -0
  49. package/dist/product-container/interfaces/i-product.js +2 -0
  50. package/dist/product-container/interfaces/index.d.ts +1 -0
  51. package/dist/product-container/interfaces/index.js +2 -0
  52. package/dist/product-global/entities/index.d.ts +3 -0
  53. package/dist/product-global/entities/index.js +9 -0
  54. package/dist/product-global/entities/product-brand.entity.d.ts +6 -0
  55. package/dist/product-global/entities/product-brand.entity.js +21 -0
  56. package/dist/product-global/entities/product-ncm.entity.d.ts +7 -0
  57. package/dist/product-global/entities/product-ncm.entity.js +22 -0
  58. package/dist/product-global/entities/product.entity.d.ts +35 -0
  59. package/dist/product-global/entities/product.entity.js +50 -0
  60. package/dist/product-global/enums/gtin-type.enum.d.ts +7 -0
  61. package/dist/product-global/enums/gtin-type.enum.js +11 -0
  62. package/dist/product-global/enums/index.d.ts +1 -0
  63. package/dist/product-global/enums/index.js +5 -0
  64. package/dist/product-global/index.d.ts +3 -0
  65. package/dist/product-global/index.js +19 -0
  66. package/dist/product-global/interfaces/i-brand.d.ts +14 -0
  67. package/dist/product-global/interfaces/i-brand.js +2 -0
  68. package/dist/product-global/interfaces/i-ncm.d.ts +5 -0
  69. package/dist/product-global/interfaces/i-ncm.js +2 -0
  70. package/dist/product-global/interfaces/i-product.d.ts +211 -0
  71. package/dist/product-global/interfaces/i-product.js +2 -0
  72. package/dist/product-global/interfaces/index.d.ts +3 -0
  73. package/dist/product-global/interfaces/index.js +2 -0
  74. package/dist/subscription-company/entities/index.d.ts +1 -1
  75. package/dist/subscription-company/entities/index.js +2 -2
  76. package/dist/subscription-company/interfaces/index.d.ts +1 -1
  77. package/dist/subscription-customer/entities/index.d.ts +1 -1
  78. package/dist/subscription-customer/entities/index.js +2 -2
  79. package/dist/subscription-customer/interfaces/index.d.ts +1 -1
  80. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -21,6 +21,9 @@ export * from './notification';
21
21
  export * from './order';
22
22
  export * from './partner';
23
23
  export * from './plan';
24
+ export * from './product-company';
25
+ export * from './product-container';
26
+ export * from './product-global';
24
27
  export * from './pubsub';
25
28
  export * from './purchases';
26
29
  export * from './resume';
package/dist/index.js CHANGED
@@ -37,6 +37,9 @@ __exportStar(require("./notification"), exports);
37
37
  __exportStar(require("./order"), exports);
38
38
  __exportStar(require("./partner"), exports);
39
39
  __exportStar(require("./plan"), exports);
40
+ __exportStar(require("./product-company"), exports);
41
+ __exportStar(require("./product-container"), exports);
42
+ __exportStar(require("./product-global"), exports);
40
43
  __exportStar(require("./pubsub"), exports);
41
44
  __exportStar(require("./purchases"), exports);
42
45
  __exportStar(require("./resume"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.78",
3
+ "version": "1.1.80",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1 @@
1
+ export { ProductCompanyEntity } from './product.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductCompanyEntity = void 0;
4
+ var product_entity_1 = require("./product.entity");
5
+ Object.defineProperty(exports, "ProductCompanyEntity", { enumerable: true, get: function () { return product_entity_1.ProductCompanyEntity; } });
@@ -0,0 +1,6 @@
1
+ import { ProductContainerEntity } from '../../product-container';
2
+ import { IProductCompany } from '../interfaces';
3
+ export declare class ProductCompanyEntity extends ProductContainerEntity implements IProductCompany {
4
+ companyId: string;
5
+ constructor(data?: Partial<ProductCompanyEntity>);
6
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ProductCompanyEntity = void 0;
19
+ var product_container_1 = require("../../product-container");
20
+ var ProductCompanyEntity = /** @class */ (function (_super) {
21
+ __extends(ProductCompanyEntity, _super);
22
+ // #endregion Properties (6)
23
+ // #region Constructors (1)
24
+ function ProductCompanyEntity(data) {
25
+ var _this = _super.call(this, data) || this;
26
+ // #region Properties (6)
27
+ _this.companyId = '';
28
+ if (data) {
29
+ for (var key in data) {
30
+ if (data.hasOwnProperty(key) && key in _this) {
31
+ _this[key] = data[key];
32
+ }
33
+ }
34
+ }
35
+ return _this;
36
+ }
37
+ return ProductCompanyEntity;
38
+ }(product_container_1.ProductContainerEntity));
39
+ exports.ProductCompanyEntity = ProductCompanyEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,11 @@
1
+ import { IProductContainer } from '../../product-container/interfaces';
2
+ export interface IProductCompany extends IProductContainer {
3
+ /**
4
+ * Company ID. Optional if the product is from root.
5
+ * @minlength 24
6
+ * @maxlength 24
7
+ * @example "63A3094D46B94B618CDEF2236640E3B3"
8
+ * @default ""
9
+ */
10
+ companyId: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IProductCompany } from './i-product';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { ProductContainerEntity } from './product.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductContainerEntity = void 0;
4
+ var product_entity_1 = require("./product.entity");
5
+ Object.defineProperty(exports, "ProductContainerEntity", { enumerable: true, get: function () { return product_entity_1.ProductContainerEntity; } });
@@ -0,0 +1,10 @@
1
+ import { ProductBaseEntity } from '../../product-global';
2
+ import { IProductContainer } from '../interfaces';
3
+ export declare class ProductContainerEntity extends ProductBaseEntity implements IProductContainer {
4
+ cest: string | null;
5
+ containerId: string;
6
+ customEAN: string;
7
+ exTipi: string;
8
+ sku: string;
9
+ constructor(data?: Partial<ProductContainerEntity>);
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ProductContainerEntity = void 0;
19
+ var product_global_1 = require("../../product-global");
20
+ var ProductContainerEntity = /** @class */ (function (_super) {
21
+ __extends(ProductContainerEntity, _super);
22
+ // #endregion Properties (5)
23
+ // #region Constructors (1)
24
+ function ProductContainerEntity(data) {
25
+ var _this = _super.call(this, data) || this;
26
+ // #region Properties (5)
27
+ _this.cest = null;
28
+ _this.containerId = '';
29
+ _this.customEAN = '';
30
+ _this.exTipi = '';
31
+ _this.sku = '';
32
+ if (data) {
33
+ for (var key in data) {
34
+ if (data.hasOwnProperty(key) && key in _this) {
35
+ _this[key] = data[key];
36
+ }
37
+ }
38
+ }
39
+ return _this;
40
+ }
41
+ return ProductContainerEntity;
42
+ }(product_global_1.ProductBaseEntity));
43
+ exports.ProductContainerEntity = ProductContainerEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,39 @@
1
+ import { IProductBase } from '../../product-global';
2
+ export interface IProductContainer extends IProductBase {
3
+ /**
4
+ * Container CEST. Optional if the product is from root.
5
+ * @minlength 7
6
+ * @maxlength 7
7
+ */
8
+ cest: string | null;
9
+ /**
10
+ * Container ID. Optional if the product is from root.
11
+ * @minlength 24
12
+ * @maxlength 24
13
+ * @example "63A3094D46B94B618CDEF2236640E3B3"
14
+ * @default ""
15
+ */
16
+ containerId: string;
17
+ /**
18
+ * To be filled with the Bar Code itself or third parties that is different
19
+ * from the GTIN standard.
20
+ * @minlength 3
21
+ * @maxlength 30
22
+ * @example "123456789"
23
+ */
24
+ customEAN: string;
25
+ /**
26
+ * @minlength 2
27
+ * @maxlength 3
28
+ * @example "01"
29
+ */
30
+ exTipi: string;
31
+ /**
32
+ * Code of the product.
33
+ * @minlength 1
34
+ * @maxlength 60
35
+ * @pattern ^[a-zA-Z0-9]+$
36
+ * @example "123456789"
37
+ */
38
+ sku: string;
39
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IProductContainer } from './i-product';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export { ProductBrandEntity } from './product-brand.entity';
2
+ export { ProductNcmEntity } from './product-ncm.entity';
3
+ export { ProductBaseEntity } from './product.entity';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductBaseEntity = exports.ProductNcmEntity = exports.ProductBrandEntity = void 0;
4
+ var product_brand_entity_1 = require("./product-brand.entity");
5
+ Object.defineProperty(exports, "ProductBrandEntity", { enumerable: true, get: function () { return product_brand_entity_1.ProductBrandEntity; } });
6
+ var product_ncm_entity_1 = require("./product-ncm.entity");
7
+ Object.defineProperty(exports, "ProductNcmEntity", { enumerable: true, get: function () { return product_ncm_entity_1.ProductNcmEntity; } });
8
+ var product_entity_1 = require("./product.entity");
9
+ Object.defineProperty(exports, "ProductBaseEntity", { enumerable: true, get: function () { return product_entity_1.ProductBaseEntity; } });
@@ -0,0 +1,6 @@
1
+ import { IProductBrand } from '../interfaces';
2
+ export declare class ProductBrandEntity implements IProductBrand {
3
+ imageUrl: string;
4
+ name: string;
5
+ constructor(data?: Partial<ProductBrandEntity>);
6
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductBrandEntity = void 0;
4
+ var ProductBrandEntity = /** @class */ (function () {
5
+ // #endregion Properties (2)
6
+ // #region Constructors (1)
7
+ function ProductBrandEntity(data) {
8
+ // #region Properties (2)
9
+ this.imageUrl = '';
10
+ this.name = '';
11
+ if (data) {
12
+ for (var key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return ProductBrandEntity;
20
+ }());
21
+ exports.ProductBrandEntity = ProductBrandEntity;
@@ -0,0 +1,7 @@
1
+ import { IProductNcm } from '../interfaces';
2
+ export declare class ProductNcmEntity implements IProductNcm {
3
+ code: string;
4
+ description: string;
5
+ fullDescription: string;
6
+ constructor(data?: Partial<ProductNcmEntity>);
7
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductNcmEntity = void 0;
4
+ var ProductNcmEntity = /** @class */ (function () {
5
+ // #endregion Properties (3)
6
+ // #region Constructors (1)
7
+ function ProductNcmEntity(data) {
8
+ // #region Properties (3)
9
+ this.code = '';
10
+ this.description = '';
11
+ this.fullDescription = '';
12
+ if (data) {
13
+ for (var key in data) {
14
+ if (data.hasOwnProperty(key) && key in this) {
15
+ this[key] = data[key];
16
+ }
17
+ }
18
+ }
19
+ }
20
+ return ProductNcmEntity;
21
+ }());
22
+ exports.ProductNcmEntity = ProductNcmEntity;
@@ -0,0 +1,35 @@
1
+ import { GTINTypeEnum } from '../enums';
2
+ import { IProductBase } from '../interfaces';
3
+ import { ProductBrandEntity } from './product-brand.entity';
4
+ import { ProductNcmEntity } from './product-ncm.entity';
5
+ export declare class ProductBaseEntity implements IProductBase {
6
+ active: boolean;
7
+ avgPrice: number;
8
+ barcodeImage: string | null;
9
+ brand: ProductBrandEntity;
10
+ cest: string | null;
11
+ createdAt: Date;
12
+ description: string;
13
+ grossWeight: number;
14
+ grossWeightUnit: string | null;
15
+ gtin: string;
16
+ gtinType: GTINTypeEnum;
17
+ height: number;
18
+ id: string;
19
+ length: number;
20
+ maxPrice: number;
21
+ measureQuantity: number;
22
+ measureUnit: string;
23
+ minPrice: number;
24
+ name: string;
25
+ ncm: ProductNcmEntity;
26
+ netWeight: number;
27
+ netWeightUnit: string | null;
28
+ price: number;
29
+ sku: string;
30
+ tags: string[];
31
+ thumbnail: string | null;
32
+ updatedAt: Date;
33
+ width: number;
34
+ constructor(data?: Partial<ProductBaseEntity>);
35
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductBaseEntity = void 0;
4
+ var enums_1 = require("../enums");
5
+ var product_brand_entity_1 = require("./product-brand.entity");
6
+ var product_ncm_entity_1 = require("./product-ncm.entity");
7
+ var ProductBaseEntity = /** @class */ (function () {
8
+ // #endregion Properties (29)
9
+ // #region Constructors (1)
10
+ function ProductBaseEntity(data) {
11
+ // #region Properties (29)
12
+ this.active = true;
13
+ this.avgPrice = 0;
14
+ this.barcodeImage = null;
15
+ this.brand = new product_brand_entity_1.ProductBrandEntity();
16
+ this.cest = null;
17
+ this.createdAt = new Date();
18
+ this.description = '';
19
+ this.grossWeight = 0;
20
+ this.grossWeightUnit = null;
21
+ this.gtin = '';
22
+ this.gtinType = enums_1.GTINTypeEnum.THIRTEEN;
23
+ this.height = 0;
24
+ this.id = '';
25
+ this.length = 0;
26
+ this.maxPrice = 0;
27
+ this.measureQuantity = 1;
28
+ this.measureUnit = 'UN';
29
+ this.minPrice = 0;
30
+ this.name = '';
31
+ this.ncm = new product_ncm_entity_1.ProductNcmEntity();
32
+ this.netWeight = 0;
33
+ this.netWeightUnit = null;
34
+ this.price = 0;
35
+ this.sku = '';
36
+ this.tags = [];
37
+ this.thumbnail = null;
38
+ this.updatedAt = new Date();
39
+ this.width = 0;
40
+ if (data) {
41
+ for (var key in data) {
42
+ if (data.hasOwnProperty(key) && key in this) {
43
+ this[key] = data[key];
44
+ }
45
+ }
46
+ }
47
+ }
48
+ return ProductBaseEntity;
49
+ }());
50
+ exports.ProductBaseEntity = ProductBaseEntity;
@@ -0,0 +1,7 @@
1
+ export declare enum GTINTypeEnum {
2
+ ZERO = "SEM GTIN",
3
+ EIGHT = "8",
4
+ TWELVE = "12",
5
+ THIRTEEN = "13",
6
+ FOURTEEN = "14"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GTINTypeEnum = void 0;
4
+ var GTINTypeEnum;
5
+ (function (GTINTypeEnum) {
6
+ GTINTypeEnum["ZERO"] = "SEM GTIN";
7
+ GTINTypeEnum["EIGHT"] = "8";
8
+ GTINTypeEnum["TWELVE"] = "12";
9
+ GTINTypeEnum["THIRTEEN"] = "13";
10
+ GTINTypeEnum["FOURTEEN"] = "14";
11
+ })(GTINTypeEnum || (exports.GTINTypeEnum = GTINTypeEnum = {}));
@@ -0,0 +1 @@
1
+ export { GTINTypeEnum } from "./gtin-type.enum";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GTINTypeEnum = void 0;
4
+ var gtin_type_enum_1 = require("./gtin-type.enum");
5
+ Object.defineProperty(exports, "GTINTypeEnum", { enumerable: true, get: function () { return gtin_type_enum_1.GTINTypeEnum; } });
@@ -0,0 +1,3 @@
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,14 @@
1
+ export interface IProductBrand {
2
+ /**
3
+ * @minlength 1
4
+ * @maxlength 120
5
+ * @example "Brand name"
6
+ */
7
+ name: string;
8
+ /**
9
+ * * URL to an image representing the product brand.
10
+ * It should be a valid URL.
11
+ * @example "http://www.example.com"
12
+ */
13
+ imageUrl: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface IProductNcm {
2
+ code: string;
3
+ description: string;
4
+ fullDescription: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });