cecon-interfaces 1.1.79 → 1.1.80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +4 -1
- package/dist/esm2022/product-company/entities/index.mjs +2 -0
- package/dist/esm2022/product-company/entities/product.entity.mjs +18 -0
- package/dist/esm2022/product-company/index.mjs +3 -0
- package/dist/esm2022/product-company/interfaces/i-product.mjs +2 -0
- package/dist/esm2022/product-company/interfaces/index.mjs +2 -0
- package/dist/esm2022/product-container/entities/index.mjs +2 -0
- package/dist/esm2022/product-container/entities/product.entity.mjs +22 -0
- package/dist/esm2022/product-container/index.mjs +3 -0
- package/dist/esm2022/product-container/interfaces/i-product.mjs +2 -0
- package/dist/esm2022/product-container/interfaces/index.mjs +2 -0
- package/dist/esm2022/product-global/entities/index.mjs +4 -0
- package/dist/esm2022/product-global/entities/product-brand.entity.mjs +17 -0
- package/dist/esm2022/product-global/entities/product-ncm.entity.mjs +18 -0
- package/dist/esm2022/product-global/entities/product.entity.mjs +46 -0
- package/dist/esm2022/product-global/enums/gtin-type.enum.mjs +9 -0
- package/dist/esm2022/product-global/enums/index.mjs +2 -0
- package/dist/esm2022/product-global/index.mjs +4 -0
- package/dist/esm2022/product-global/interfaces/i-brand.mjs +2 -0
- package/dist/esm2022/product-global/interfaces/i-ncm.mjs +2 -0
- package/dist/esm2022/product-global/interfaces/i-product.mjs +2 -0
- package/dist/esm2022/product-global/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +126 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/package.json +1 -1
- package/dist/product-company/entities/index.d.ts +1 -0
- package/dist/product-company/entities/index.js +5 -0
- package/dist/product-company/entities/product.entity.d.ts +6 -0
- package/dist/product-company/entities/product.entity.js +39 -0
- package/dist/product-company/index.d.ts +2 -0
- package/dist/product-company/index.js +18 -0
- package/dist/product-company/interfaces/i-product.d.ts +11 -0
- package/dist/product-company/interfaces/i-product.js +2 -0
- package/dist/product-company/interfaces/index.d.ts +1 -0
- package/dist/product-company/interfaces/index.js +2 -0
- package/dist/product-container/entities/index.d.ts +1 -0
- package/dist/product-container/entities/index.js +5 -0
- package/dist/product-container/entities/product.entity.d.ts +10 -0
- package/dist/product-container/entities/product.entity.js +43 -0
- package/dist/product-container/index.d.ts +2 -0
- package/dist/product-container/index.js +18 -0
- package/dist/product-container/interfaces/i-product.d.ts +39 -0
- package/dist/product-container/interfaces/i-product.js +2 -0
- package/dist/product-container/interfaces/index.d.ts +1 -0
- package/dist/product-container/interfaces/index.js +2 -0
- package/dist/product-global/entities/index.d.ts +3 -0
- package/dist/product-global/entities/index.js +9 -0
- package/dist/product-global/entities/product-brand.entity.d.ts +6 -0
- package/dist/product-global/entities/product-brand.entity.js +21 -0
- package/dist/product-global/entities/product-ncm.entity.d.ts +7 -0
- package/dist/product-global/entities/product-ncm.entity.js +22 -0
- package/dist/product-global/entities/product.entity.d.ts +35 -0
- package/dist/product-global/entities/product.entity.js +50 -0
- package/dist/product-global/enums/gtin-type.enum.d.ts +7 -0
- package/dist/product-global/enums/gtin-type.enum.js +11 -0
- package/dist/product-global/enums/index.d.ts +1 -0
- package/dist/product-global/enums/index.js +5 -0
- package/dist/product-global/index.d.ts +3 -0
- package/dist/product-global/index.js +19 -0
- package/dist/product-global/interfaces/i-brand.d.ts +14 -0
- package/dist/product-global/interfaces/i-brand.js +2 -0
- package/dist/product-global/interfaces/i-ncm.d.ts +5 -0
- package/dist/product-global/interfaces/i-ncm.js +2 -0
- package/dist/product-global/interfaces/i-product.d.ts +211 -0
- package/dist/product-global/interfaces/i-product.js +2 -0
- package/dist/product-global/interfaces/index.d.ts +3 -0
- package/dist/product-global/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/esm2022/index.mjs
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';
|
@@ -30,4 +33,4 @@ export * from './subscription-customer';
|
|
30
33
|
export * from './token';
|
31
34
|
export * from './viacep';
|
32
35
|
export * from './voucher';
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsbUJBQW1CLENBQUM7QU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mVyJztcbmV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vb3JkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wYXJ0bmVyJztcbmV4cG9ydCAqIGZyb20gJy4vcGxhbic7XG5leHBvcnQgKiBmcm9tICcuL3Byb2R1Y3QtY29tcGFueSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb2R1Y3QtY29udGFpbmVyJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdC1nbG9iYWwnO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJzdWInO1xuZXhwb3J0ICogZnJvbSAnLi9wdXJjaGFzZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXN1bWUnO1xuZXhwb3J0ICogZnJvbSAnLi9zdWJzY3JpcHRpb24tYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbi1jb21wYW55JztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi92aWFjZXAnO1xuZXhwb3J0ICogZnJvbSAnLi92b3VjaGVyJztcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { ProductCompanyEntity } from './product.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb21wYW55L2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgUHJvZHVjdENvbXBhbnlFbnRpdHkgfSBmcm9tICcuL3Byb2R1Y3QuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ProductContainerEntity } from '../../product-container';
|
2
|
+
export class ProductCompanyEntity extends ProductContainerEntity {
|
3
|
+
// #region Properties (6)
|
4
|
+
companyId = '';
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
super(data);
|
9
|
+
if (data) {
|
10
|
+
for (let key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb21wYW55L2VudGl0aWVzL3Byb2R1Y3QuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBR2pFLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxzQkFBc0I7SUFDOUQseUJBQXlCO0lBRWxCLFNBQVMsR0FBVyxFQUFFLENBQUM7SUFFOUIsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQW9DO1FBQzlDLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNaLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUMxQyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUN6QzthQUNGO1NBQ0Y7SUFDSCxDQUFDO0NBR0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQcm9kdWN0Q29udGFpbmVyRW50aXR5IH0gZnJvbSAnLi4vLi4vcHJvZHVjdC1jb250YWluZXInO1xyXG5pbXBvcnQgeyBJUHJvZHVjdENvbXBhbnkgfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBQcm9kdWN0Q29tcGFueUVudGl0eSBleHRlbmRzIFByb2R1Y3RDb250YWluZXJFbnRpdHkgaW1wbGVtZW50cyBJUHJvZHVjdENvbXBhbnkge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcclxuXHJcbiAgcHVibGljIGNvbXBhbnlJZDogc3RyaW5nID0gJyc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFByb2R1Y3RDb21wYW55RW50aXR5Pikge1xyXG4gICAgc3VwZXIoZGF0YSk7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJvZHVjdC1jb21wYW55L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wcm9kdWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2R1Y3QtY29tcGFueS9pbnRlcmZhY2VzL2ktcHJvZHVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVByb2R1Y3RDb250YWluZXIgfSBmcm9tICcuLi8uLi9wcm9kdWN0LWNvbnRhaW5lci9pbnRlcmZhY2VzJztcblxuZXhwb3J0IGludGVyZmFjZSBJUHJvZHVjdENvbXBhbnkgZXh0ZW5kcyBJUHJvZHVjdENvbnRhaW5lciB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOClcbiAgLyoqXG4gICAqIENvbXBhbnkgSUQuIE9wdGlvbmFsIGlmIHRoZSBwcm9kdWN0IGlzIGZyb20gcm9vdC5cbiAgICogQG1pbmxlbmd0aCAyNFxuICAgKiBAbWF4bGVuZ3RoIDI0XG4gICAqIEBleGFtcGxlIFwiNjNBMzA5NEQ0NkI5NEI2MThDREVGMjIzNjY0MEUzQjNcIlxuICAgKiBAZGVmYXVsdCBcIlwiXG4gICAqL1xuICBjb21wYW55SWQ6IHN0cmluZztcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDgpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb21wYW55L2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElQcm9kdWN0Q29tcGFueSB9IGZyb20gJy4vaS1wcm9kdWN0JztcclxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { ProductContainerEntity } from './product.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb250YWluZXIvZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBQcm9kdWN0Q29udGFpbmVyRW50aXR5IH0gZnJvbSAnLi9wcm9kdWN0LmVudGl0eSc7XHJcbiJdfQ==
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { ProductBaseEntity } from '../../product-global';
|
2
|
+
export class ProductContainerEntity extends ProductBaseEntity {
|
3
|
+
// #region Properties (5)
|
4
|
+
cest = null;
|
5
|
+
containerId = '';
|
6
|
+
customEAN = '';
|
7
|
+
exTipi = '';
|
8
|
+
sku = '';
|
9
|
+
// #endregion Properties (5)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
super(data);
|
13
|
+
if (data) {
|
14
|
+
for (let key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb250YWluZXIvZW50aXRpZXMvcHJvZHVjdC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFHekQsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGlCQUFpQjtJQUMzRCx5QkFBeUI7SUFFbEIsSUFBSSxHQUFrQixJQUFJLENBQUM7SUFDM0IsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFDcEIsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUV4Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBc0M7UUFDaEQsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ1osSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U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IC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJvZHVjdC1jb250YWluZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wcm9kdWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2R1Y3QtY29udGFpbmVyL2ludGVyZmFjZXMvaS1wcm9kdWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUHJvZHVjdEJhc2UgfSBmcm9tICcuLi8uLi9wcm9kdWN0LWdsb2JhbCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVByb2R1Y3RDb250YWluZXIgZXh0ZW5kcyBJUHJvZHVjdEJhc2Uge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDgpXG4gIC8qKlxuICAgKiBDb250YWluZXIgQ0VTVC4gT3B0aW9uYWwgaWYgdGhlIHByb2R1Y3QgaXMgZnJvbSByb290LlxuICAgKiBAbWlubGVuZ3RoIDdcbiAgICogQG1heGxlbmd0aCA3XG4gICAqL1xuICBjZXN0OiBzdHJpbmcgfCBudWxsO1xuICAvKipcbiAgICogQ29udGFpbmVyIElELiBPcHRpb25hbCBpZiB0aGUgcHJvZHVjdCBpcyBmcm9tIHJvb3QuXG4gICAqIEBtaW5sZW5ndGggMjRcbiAgICogQG1heGxlbmd0aCAyNFxuICAgKiBAZXhhbXBsZSBcIjYzQTMwOTRENDZCOTRCNjE4Q0RFRjIyMzY2NDBFM0IzXCJcbiAgICogQGRlZmF1bHQgXCJcIlxuICAgKi9cbiAgY29udGFpbmVySWQ6IHN0cmluZztcbiAgLyoqXG4gICAqIFRvIGJlIGZpbGxlZCB3aXRoIHRoZSBCYXIgQ29kZSBpdHNlbGYgb3IgdGhpcmQgcGFydGllcyB0aGF0IGlzIGRpZmZlcmVudFxuICAgKiBmcm9tIHRoZSBHVElOIHN0YW5kYXJkLlxuICAgKiBAbWlubGVuZ3RoIDNcbiAgICogQG1heGxlbmd0aCAzMFxuICAgKiBAZXhhbXBsZSBcIjEyMzQ1Njc4OVwiXG4gICAqL1xuICBjdXN0b21FQU46IHN0cmluZztcbiAgLyoqXG4gICAqIEBtaW5sZW5ndGggMlxuICAgKiBAbWF4bGVuZ3RoIDNcbiAgICogQGV4YW1wbGUgXCIwMVwiXG4gICAqL1xuICBleFRpcGk6IHN0cmluZztcblxuICAvKipcbiAgICogQ29kZSBvZiB0aGUgcHJvZHVjdC5cbiAgICogQG1pbmxlbmd0aCAxXG4gICAqIEBtYXhsZW5ndGggNjBcbiAgICogQHBhdHRlcm4gXlthLXpBLVowLTldKyRcbiAgICogQGV4YW1wbGUgXCIxMjM0NTY3ODlcIlxuICAgKi9cbiAgc2t1OiBzdHJpbmc7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg4KVxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1jb250YWluZXIvaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSVByb2R1Y3RDb250YWluZXIgfSBmcm9tICcuL2ktcHJvZHVjdCc7XHJcbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { ProductBrandEntity } from './product-brand.entity';
|
2
|
+
export { ProductNcmEntity } from './product-ncm.entity';
|
3
|
+
export { ProductBaseEntity } from './product.entity';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBQcm9kdWN0QnJhbmRFbnRpdHkgfSBmcm9tICcuL3Byb2R1Y3QtYnJhbmQuZW50aXR5JztcclxuZXhwb3J0IHsgUHJvZHVjdE5jbUVudGl0eSB9IGZyb20gJy4vcHJvZHVjdC1uY20uZW50aXR5JztcclxuZXhwb3J0IHsgUHJvZHVjdEJhc2VFbnRpdHkgfSBmcm9tICcuL3Byb2R1Y3QuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class ProductBrandEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
imageUrl = '';
|
4
|
+
name = '';
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1icmFuZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW50aXRpZXMvcHJvZHVjdC1icmFuZC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGtCQUFrQjtJQUM3Qix5QkFBeUI7SUFFbEIsUUFBUSxHQUFXLEVBQUUsQ0FBQztJQUN0QixJQUFJLEdBQVcsRUFBRSxDQUFDO0lBRXpCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFrQztRQUM1QyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUdGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVByb2R1Y3RCcmFuZCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFByb2R1Y3RCcmFuZEVudGl0eSBpbXBsZW1lbnRzIElQcm9kdWN0QnJhbmQge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMilcclxuXHJcbiAgcHVibGljIGltYWdlVXJsOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFByb2R1Y3RCcmFuZEVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export class ProductNcmEntity {
|
2
|
+
// #region Properties (3)
|
3
|
+
code = '';
|
4
|
+
description = '';
|
5
|
+
fullDescription = '';
|
6
|
+
// #endregion Properties (3)
|
7
|
+
// #region Constructors (1)
|
8
|
+
constructor(data) {
|
9
|
+
if (data) {
|
10
|
+
for (let key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1uY20uZW50aXR5Lmp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JcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQcm9kdWN0TmNtRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { GTINTypeEnum } from '../enums';
|
2
|
+
import { ProductBrandEntity } from './product-brand.entity';
|
3
|
+
import { ProductNcmEntity } from './product-ncm.entity';
|
4
|
+
export class ProductBaseEntity {
|
5
|
+
// #region Properties (29)
|
6
|
+
active = true;
|
7
|
+
avgPrice = 0;
|
8
|
+
barcodeImage = null;
|
9
|
+
brand = new ProductBrandEntity();
|
10
|
+
cest = null;
|
11
|
+
createdAt = new Date();
|
12
|
+
description = '';
|
13
|
+
grossWeight = 0;
|
14
|
+
grossWeightUnit = null;
|
15
|
+
gtin = '';
|
16
|
+
gtinType = GTINTypeEnum.THIRTEEN;
|
17
|
+
height = 0;
|
18
|
+
id = '';
|
19
|
+
length = 0;
|
20
|
+
maxPrice = 0;
|
21
|
+
measureQuantity = 1;
|
22
|
+
measureUnit = 'UN';
|
23
|
+
minPrice = 0;
|
24
|
+
name = '';
|
25
|
+
ncm = new ProductNcmEntity();
|
26
|
+
netWeight = 0;
|
27
|
+
netWeightUnit = null;
|
28
|
+
price = 0;
|
29
|
+
sku = '';
|
30
|
+
tags = [];
|
31
|
+
thumbnail = null;
|
32
|
+
updatedAt = new Date();
|
33
|
+
width = 0;
|
34
|
+
// #endregion Properties (29)
|
35
|
+
// #region Constructors (1)
|
36
|
+
constructor(data) {
|
37
|
+
if (data) {
|
38
|
+
for (let key in data) {
|
39
|
+
if (data.hasOwnProperty(key) && key in this) {
|
40
|
+
this[key] = data[key];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW50aXRpZXMvcHJvZHVjdC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUV4QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUV4RCxNQUFNLE9BQU8saUJBQWlCO0lBQzVCLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksSUFBSSxDQUFDO0lBQ3ZCLFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsWUFBWSxHQUFrQixJQUFJLENBQUM7SUFDbkMsS0FBSyxHQUF1QixJQUFJLGtCQUFrQixFQUFFLENBQUM7SUFDckQsSUFBSSxHQUFrQixJQUFJLENBQUM7SUFDM0IsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixXQUFXLEdBQVcsQ0FBQyxDQUFDO0lBQ3hCLGVBQWUsR0FBa0IsSUFBSSxDQUFDO0lBQ3RDLElBQUksR0FBVyxFQUFFLENBQUM7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YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var GTINTypeEnum;
|
2
|
+
(function (GTINTypeEnum) {
|
3
|
+
GTINTypeEnum["ZERO"] = "SEM GTIN";
|
4
|
+
GTINTypeEnum["EIGHT"] = "8";
|
5
|
+
GTINTypeEnum["TWELVE"] = "12";
|
6
|
+
GTINTypeEnum["THIRTEEN"] = "13";
|
7
|
+
GTINTypeEnum["FOURTEEN"] = "14";
|
8
|
+
})(GTINTypeEnum || (GTINTypeEnum = {}));
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3Rpbi10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW51bXMvZ3Rpbi10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFNWDtBQU5ELFdBQVksWUFBWTtJQUN0QixpQ0FBaUIsQ0FBQTtJQUNqQiwyQkFBVyxDQUFBO0lBQ1gsNkJBQWEsQ0FBQTtJQUNiLCtCQUFlLENBQUE7SUFDZiwrQkFBZSxDQUFBO0FBQ2pCLENBQUMsRUFOVyxZQUFZLEtBQVosWUFBWSxRQU12QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEdUSU5UeXBlRW51bSB7XHJcbiAgWkVSTyA9IFwiU0VNIEdUSU5cIixcclxuICBFSUdIVCA9IFwiOFwiLFxyXG4gIFRXRUxWRSA9IFwiMTJcIixcclxuICBUSElSVEVFTiA9IFwiMTNcIixcclxuICBGT1VSVEVFTiA9IFwiMTRcIixcclxufVxyXG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { GTINTypeEnum } from "./gtin-type.enum";
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgR1RJTlR5cGVFbnVtIH0gZnJvbSBcIi4vZ3Rpbi10eXBlLmVudW1cIjtcclxuXHJcbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vZW51bXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcblxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1icmFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9kdWN0LWdsb2JhbC9pbnRlcmZhY2VzL2ktYnJhbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVByb2R1Y3RCcmFuZCB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTUpXG4gIC8qKlxuICAgKiBAbWlubGVuZ3RoIDFcbiAgICogQG1heGxlbmd0aCAxMjBcbiAgICogQGV4YW1wbGUgXCJCcmFuZCBuYW1lXCJcbiAgICovXG4gIG5hbWU6IHN0cmluZztcbiAgLyoqXG4gICAqICogVVJMIHRvIGFuIGltYWdlIHJlcHJlc2VudGluZyB0aGUgcHJvZHVjdCBicmFuZC5cbiAgICogSXQgc2hvdWxkIGJlIGEgdmFsaWQgVVJMLlxuICAgKiBAZXhhbXBsZSBcImh0dHA6Ly93d3cuZXhhbXBsZS5jb21cIlxuICAgKi9cbiAgaW1hZ2VVcmw6IHN0cmluZztcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1uY20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvaW50ZXJmYWNlcy9pLW5jbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUHJvZHVjdE5jbSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMylcblxuICBjb2RlOiBzdHJpbmc7XG4gIGRlc2NyaXB0aW9uOiBzdHJ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gICAqIEBkZWZhdWx0IDBcbiAgICpcbiAgICovXG4gIHdpZHRoOiBudW1iZXIgfCBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjkpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvZHVjdC1nbG9iYWwvaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSVByb2R1Y3RCcmFuZCB9IGZyb20gJy4vaS1icmFuZCc7XHJcbmV4cG9ydCB7IElQcm9kdWN0TmNtIH0gZnJvbSAnLi9pLW5jbSc7XHJcbmV4cG9ydCB7IElQcm9kdWN0QmFzZSB9IGZyb20gJy4vaS1wcm9kdWN0JztcclxuIl19
|
@@ -3063,6 +3063,131 @@ class PlanEntity {
|
|
3063
3063
|
}
|
3064
3064
|
}
|
3065
3065
|
|
3066
|
+
class ProductBrandEntity {
|
3067
|
+
// #region Properties (2)
|
3068
|
+
imageUrl = '';
|
3069
|
+
name = '';
|
3070
|
+
// #endregion Properties (2)
|
3071
|
+
// #region Constructors (1)
|
3072
|
+
constructor(data) {
|
3073
|
+
if (data) {
|
3074
|
+
for (let key in data) {
|
3075
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3076
|
+
this[key] = data[key];
|
3077
|
+
}
|
3078
|
+
}
|
3079
|
+
}
|
3080
|
+
}
|
3081
|
+
}
|
3082
|
+
|
3083
|
+
class ProductNcmEntity {
|
3084
|
+
// #region Properties (3)
|
3085
|
+
code = '';
|
3086
|
+
description = '';
|
3087
|
+
fullDescription = '';
|
3088
|
+
// #endregion Properties (3)
|
3089
|
+
// #region Constructors (1)
|
3090
|
+
constructor(data) {
|
3091
|
+
if (data) {
|
3092
|
+
for (let key in data) {
|
3093
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3094
|
+
this[key] = data[key];
|
3095
|
+
}
|
3096
|
+
}
|
3097
|
+
}
|
3098
|
+
}
|
3099
|
+
}
|
3100
|
+
|
3101
|
+
var GTINTypeEnum;
|
3102
|
+
(function (GTINTypeEnum) {
|
3103
|
+
GTINTypeEnum["ZERO"] = "SEM GTIN";
|
3104
|
+
GTINTypeEnum["EIGHT"] = "8";
|
3105
|
+
GTINTypeEnum["TWELVE"] = "12";
|
3106
|
+
GTINTypeEnum["THIRTEEN"] = "13";
|
3107
|
+
GTINTypeEnum["FOURTEEN"] = "14";
|
3108
|
+
})(GTINTypeEnum || (GTINTypeEnum = {}));
|
3109
|
+
|
3110
|
+
class ProductBaseEntity {
|
3111
|
+
// #region Properties (29)
|
3112
|
+
active = true;
|
3113
|
+
avgPrice = 0;
|
3114
|
+
barcodeImage = null;
|
3115
|
+
brand = new ProductBrandEntity();
|
3116
|
+
cest = null;
|
3117
|
+
createdAt = new Date();
|
3118
|
+
description = '';
|
3119
|
+
grossWeight = 0;
|
3120
|
+
grossWeightUnit = null;
|
3121
|
+
gtin = '';
|
3122
|
+
gtinType = GTINTypeEnum.THIRTEEN;
|
3123
|
+
height = 0;
|
3124
|
+
id = '';
|
3125
|
+
length = 0;
|
3126
|
+
maxPrice = 0;
|
3127
|
+
measureQuantity = 1;
|
3128
|
+
measureUnit = 'UN';
|
3129
|
+
minPrice = 0;
|
3130
|
+
name = '';
|
3131
|
+
ncm = new ProductNcmEntity();
|
3132
|
+
netWeight = 0;
|
3133
|
+
netWeightUnit = null;
|
3134
|
+
price = 0;
|
3135
|
+
sku = '';
|
3136
|
+
tags = [];
|
3137
|
+
thumbnail = null;
|
3138
|
+
updatedAt = new Date();
|
3139
|
+
width = 0;
|
3140
|
+
// #endregion Properties (29)
|
3141
|
+
// #region Constructors (1)
|
3142
|
+
constructor(data) {
|
3143
|
+
if (data) {
|
3144
|
+
for (let key in data) {
|
3145
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3146
|
+
this[key] = data[key];
|
3147
|
+
}
|
3148
|
+
}
|
3149
|
+
}
|
3150
|
+
}
|
3151
|
+
}
|
3152
|
+
|
3153
|
+
class ProductContainerEntity extends ProductBaseEntity {
|
3154
|
+
// #region Properties (5)
|
3155
|
+
cest = null;
|
3156
|
+
containerId = '';
|
3157
|
+
customEAN = '';
|
3158
|
+
exTipi = '';
|
3159
|
+
sku = '';
|
3160
|
+
// #endregion Properties (5)
|
3161
|
+
// #region Constructors (1)
|
3162
|
+
constructor(data) {
|
3163
|
+
super(data);
|
3164
|
+
if (data) {
|
3165
|
+
for (let key in data) {
|
3166
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3167
|
+
this[key] = data[key];
|
3168
|
+
}
|
3169
|
+
}
|
3170
|
+
}
|
3171
|
+
}
|
3172
|
+
}
|
3173
|
+
|
3174
|
+
class ProductCompanyEntity extends ProductContainerEntity {
|
3175
|
+
// #region Properties (6)
|
3176
|
+
companyId = '';
|
3177
|
+
// #endregion Properties (6)
|
3178
|
+
// #region Constructors (1)
|
3179
|
+
constructor(data) {
|
3180
|
+
super(data);
|
3181
|
+
if (data) {
|
3182
|
+
for (let key in data) {
|
3183
|
+
if (data.hasOwnProperty(key) && key in this) {
|
3184
|
+
this[key] = data[key];
|
3185
|
+
}
|
3186
|
+
}
|
3187
|
+
}
|
3188
|
+
}
|
3189
|
+
}
|
3190
|
+
|
3066
3191
|
class PubsubSubscriptionChangeStatusEntity {
|
3067
3192
|
// #region Properties (4)
|
3068
3193
|
afterStatus = null;
|
@@ -3440,5 +3565,5 @@ class VoucherEntity {
|
|
3440
3565
|
* Generated bundle index. Do not edit.
|
3441
3566
|
*/
|
3442
3567
|
|
3443
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity };
|
3568
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBaseEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity };
|
3444
3569
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|