cecon-interfaces 1.6.35 → 1.6.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/global-products/entities/global-product.entity.mjs +31 -0
- package/dist/esm2022/payio/global-products/entities/index.mjs +2 -0
- package/dist/esm2022/payio/global-products/index.mjs +3 -0
- package/dist/esm2022/payio/global-products/interfaces/i-global-products.mjs +2 -0
- package/dist/esm2022/payio/global-products/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +3 -1
- package/dist/esm2022/payio/products/entities/index.mjs +2 -0
- package/dist/esm2022/payio/products/entities/product.entity.mjs +28 -0
- package/dist/esm2022/payio/products/index.mjs +3 -0
- package/dist/esm2022/payio/products/interfaces/i-products.mjs +2 -0
- package/dist/esm2022/payio/products/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +60 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/global-products/entities/global-product.entity.d.ts +20 -0
- package/dist/payio/global-products/entities/global-product.entity.js +35 -0
- package/dist/payio/global-products/entities/index.d.ts +1 -0
- package/dist/payio/global-products/entities/index.js +5 -0
- package/dist/payio/global-products/index.d.ts +2 -0
- package/dist/payio/global-products/index.js +18 -0
- package/dist/payio/global-products/interfaces/i-global-products.d.ts +18 -0
- package/dist/payio/global-products/interfaces/i-global-products.js +2 -0
- package/dist/payio/global-products/interfaces/index.d.ts +1 -0
- package/dist/payio/global-products/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +2 -0
- package/dist/payio/index.js +2 -0
- package/dist/payio/products/entities/index.d.ts +1 -0
- package/dist/payio/products/entities/index.js +5 -0
- package/dist/payio/products/entities/product.entity.d.ts +17 -0
- package/dist/payio/products/entities/product.entity.js +32 -0
- package/dist/payio/products/index.d.ts +2 -0
- package/dist/payio/products/index.js +18 -0
- package/dist/payio/products/interfaces/i-products.d.ts +15 -0
- package/dist/payio/products/interfaces/i-products.js +2 -0
- package/dist/payio/products/interfaces/index.d.ts +1 -0
- package/dist/payio/products/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IPayioGlobalProduct } from '../interfaces/i-global-products';
|
2
|
+
export declare class PayioGlobalProductEntity implements IPayioGlobalProduct {
|
3
|
+
active: boolean;
|
4
|
+
avgPrice: number;
|
5
|
+
brand: string;
|
6
|
+
code: string;
|
7
|
+
createdAt: Date;
|
8
|
+
id: string;
|
9
|
+
lastPrices: number[];
|
10
|
+
maxPrice: number;
|
11
|
+
minPrice: number;
|
12
|
+
name: string;
|
13
|
+
quantityPackaging: number;
|
14
|
+
tags: string[];
|
15
|
+
thumbnail: string | null;
|
16
|
+
unit: string;
|
17
|
+
updatedAt: Date;
|
18
|
+
weight: number;
|
19
|
+
constructor(data?: Partial<PayioGlobalProductEntity>);
|
20
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioGlobalProductEntity = void 0;
|
4
|
+
var PayioGlobalProductEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (16)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioGlobalProductEntity(data) {
|
8
|
+
// #region Properties (16)
|
9
|
+
this.active = true;
|
10
|
+
this.avgPrice = 0;
|
11
|
+
this.brand = '';
|
12
|
+
this.code = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.id = '';
|
15
|
+
this.lastPrices = [];
|
16
|
+
this.maxPrice = 0;
|
17
|
+
this.minPrice = 0;
|
18
|
+
this.name = '';
|
19
|
+
this.quantityPackaging = 0;
|
20
|
+
this.tags = [];
|
21
|
+
this.thumbnail = null;
|
22
|
+
this.unit = '';
|
23
|
+
this.updatedAt = new Date();
|
24
|
+
this.weight = 0;
|
25
|
+
if (data) {
|
26
|
+
for (var key in data) {
|
27
|
+
if (data.hasOwnProperty(key) && key in this) {
|
28
|
+
this[key] = data[key];
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return PayioGlobalProductEntity;
|
34
|
+
}());
|
35
|
+
exports.PayioGlobalProductEntity = PayioGlobalProductEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioGlobalProductEntity } from './global-product.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioGlobalProductEntity = void 0;
|
4
|
+
var global_product_entity_1 = require("./global-product.entity");
|
5
|
+
Object.defineProperty(exports, "PayioGlobalProductEntity", { enumerable: true, get: function () { return global_product_entity_1.PayioGlobalProductEntity; } });
|
@@ -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,18 @@
|
|
1
|
+
export interface IPayioGlobalProduct {
|
2
|
+
active: boolean;
|
3
|
+
avgPrice: number;
|
4
|
+
brand: string;
|
5
|
+
code: string;
|
6
|
+
createdAt: Date;
|
7
|
+
id: string;
|
8
|
+
lastPrices: number[];
|
9
|
+
maxPrice: number;
|
10
|
+
minPrice: number;
|
11
|
+
name: string;
|
12
|
+
quantityPackaging: number;
|
13
|
+
tags: string[];
|
14
|
+
thumbnail: string | null;
|
15
|
+
unit: string;
|
16
|
+
updatedAt: Date;
|
17
|
+
weight: number;
|
18
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioGlobalProduct } from './i-global-products';
|
package/dist/payio/index.d.ts
CHANGED
@@ -2,10 +2,12 @@ export * from './app';
|
|
2
2
|
export * from './company';
|
3
3
|
export * from './device';
|
4
4
|
export * from './features';
|
5
|
+
export * from './global-products';
|
5
6
|
export * from './orders';
|
6
7
|
export * from './payload';
|
7
8
|
export * from './permissions';
|
8
9
|
export * from './plan';
|
10
|
+
export * from './products';
|
9
11
|
export * from './resume-companies';
|
10
12
|
export * from './resume-queues';
|
11
13
|
export * from './subscriptions';
|
package/dist/payio/index.js
CHANGED
@@ -18,10 +18,12 @@ __exportStar(require("./app"), exports);
|
|
18
18
|
__exportStar(require("./company"), exports);
|
19
19
|
__exportStar(require("./device"), exports);
|
20
20
|
__exportStar(require("./features"), exports);
|
21
|
+
__exportStar(require("./global-products"), exports);
|
21
22
|
__exportStar(require("./orders"), exports);
|
22
23
|
__exportStar(require("./payload"), exports);
|
23
24
|
__exportStar(require("./permissions"), exports);
|
24
25
|
__exportStar(require("./plan"), exports);
|
26
|
+
__exportStar(require("./products"), exports);
|
25
27
|
__exportStar(require("./resume-companies"), exports);
|
26
28
|
__exportStar(require("./resume-queues"), exports);
|
27
29
|
__exportStar(require("./subscriptions"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioProductEntity } from './product.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioProductEntity = void 0;
|
4
|
+
var product_entity_1 = require("./product.entity");
|
5
|
+
Object.defineProperty(exports, "PayioProductEntity", { enumerable: true, get: function () { return product_entity_1.PayioProductEntity; } });
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IPayioProduct } from '../interfaces/i-products';
|
2
|
+
export declare class PayioProductEntity implements IPayioProduct {
|
3
|
+
active: boolean;
|
4
|
+
brand: string;
|
5
|
+
code: string;
|
6
|
+
createdAt: Date;
|
7
|
+
id: string;
|
8
|
+
name: string;
|
9
|
+
price: number;
|
10
|
+
quantityPackaging: number;
|
11
|
+
tags: string[];
|
12
|
+
thumbnail: string | null;
|
13
|
+
unit: string;
|
14
|
+
updatedAt: Date;
|
15
|
+
weight: number;
|
16
|
+
constructor(data?: Partial<PayioProductEntity>);
|
17
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioProductEntity = void 0;
|
4
|
+
var PayioProductEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (13)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioProductEntity(data) {
|
8
|
+
// #region Properties (13)
|
9
|
+
this.active = true;
|
10
|
+
this.brand = '';
|
11
|
+
this.code = '';
|
12
|
+
this.createdAt = new Date();
|
13
|
+
this.id = '';
|
14
|
+
this.name = '';
|
15
|
+
this.price = 0;
|
16
|
+
this.quantityPackaging = 0;
|
17
|
+
this.tags = [];
|
18
|
+
this.thumbnail = null;
|
19
|
+
this.unit = 'UN';
|
20
|
+
this.updatedAt = new Date();
|
21
|
+
this.weight = 0;
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return PayioProductEntity;
|
31
|
+
}());
|
32
|
+
exports.PayioProductEntity = PayioProductEntity;
|
@@ -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,15 @@
|
|
1
|
+
export interface IPayioProduct {
|
2
|
+
active: boolean;
|
3
|
+
brand: string;
|
4
|
+
code: string;
|
5
|
+
createdAt: Date;
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
price: number;
|
9
|
+
quantityPackaging: number;
|
10
|
+
tags: string[];
|
11
|
+
thumbnail: string | null;
|
12
|
+
unit: string;
|
13
|
+
updatedAt: Date;
|
14
|
+
weight: number;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioProduct } from './i-products';
|