cecon-interfaces 1.6.84 → 1.6.87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/admins/entities/admin.entity.mjs +5 -3
- package/dist/esm2022/payio/admins/interfaces/i-admin.mjs +1 -1
- package/dist/esm2022/payio/orders-queue/entities/order-queue.entity.mjs +4 -3
- package/dist/esm2022/payio/orders-queue/interfaces/i-order-queue.mjs +1 -1
- package/dist/esm2022/payio/schedules/entities/schedule-product.entity.mjs +3 -3
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-product.mjs +1 -1
- package/dist/esm2022/users/entities/user.entity.mjs +5 -3
- package/dist/esm2022/users/interfaces/i-user.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +13 -8
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/admins/entities/admin.entity.d.ts +2 -0
- package/dist/payio/admins/entities/admin.entity.js +4 -2
- package/dist/payio/admins/interfaces/i-admin.d.ts +2 -0
- package/dist/payio/orders-queue/entities/order-queue.entity.d.ts +2 -1
- package/dist/payio/orders-queue/entities/order-queue.entity.js +4 -3
- package/dist/payio/orders-queue/interfaces/i-order-queue.d.ts +1 -0
- package/dist/payio/schedules/entities/schedule-product.entity.d.ts +2 -2
- package/dist/payio/schedules/entities/schedule-product.entity.js +2 -2
- package/dist/payio/schedules/interfaces/i-schedule-product.d.ts +4 -4
- package/dist/users/entities/user.entity.d.ts +2 -0
- package/dist/users/entities/user.entity.js +4 -2
- package/dist/users/interfaces/i-user.d.ts +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -6,8 +6,10 @@ export declare class PayioAdminEntity implements IPayioAdmin {
|
|
6
6
|
createdAt: Date;
|
7
7
|
id: string;
|
8
8
|
imageUrl: string | null;
|
9
|
+
internationalCode: string;
|
9
10
|
lastAccessAt: Date | null;
|
10
11
|
name: string;
|
12
|
+
phoneNumber: string;
|
11
13
|
role: EPayioAdminRole;
|
12
14
|
tags: string[];
|
13
15
|
updatedAt: Date;
|
@@ -3,17 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioAdminEntity = void 0;
|
4
4
|
var role_enum_1 = require("../enums/role.enum");
|
5
5
|
var PayioAdminEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (13)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PayioAdminEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (13)
|
10
10
|
this.accessCount = null;
|
11
11
|
this.active = true;
|
12
12
|
this.createdAt = new Date();
|
13
13
|
this.id = '';
|
14
14
|
this.imageUrl = null;
|
15
|
+
this.internationalCode = '55';
|
15
16
|
this.lastAccessAt = null;
|
16
17
|
this.name = '';
|
18
|
+
this.phoneNumber = '';
|
17
19
|
this.role = role_enum_1.EPayioAdminRole.USER;
|
18
20
|
this.tags = [];
|
19
21
|
this.updatedAt = new Date();
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { PayioOrderQueueStatusEnum } from '../enums';
|
2
2
|
import { IPayioOrderQueue } from '../interfaces/i-order-queue';
|
3
3
|
export declare class PayioOrderQueueEntity implements IPayioOrderQueue {
|
4
|
+
appId: string;
|
4
5
|
attempts: number;
|
5
|
-
createdAt: Date;
|
6
6
|
companyId: string;
|
7
|
+
createdAt: Date;
|
7
8
|
data: string;
|
8
9
|
error: string;
|
9
10
|
id: string;
|
@@ -4,17 +4,18 @@ exports.PayioOrderQueueEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var PayioOrderQueueEntity = /** @class */ (function () {
|
6
6
|
function PayioOrderQueueEntity() {
|
7
|
-
// #region Properties (
|
7
|
+
// #region Properties (10)
|
8
|
+
this.appId = '';
|
8
9
|
this.attempts = 0;
|
9
|
-
this.createdAt = new Date();
|
10
10
|
this.companyId = '';
|
11
|
+
this.createdAt = new Date();
|
11
12
|
this.data = '';
|
12
13
|
this.error = '';
|
13
14
|
this.id = '';
|
14
15
|
this.lastAttemptAt = new Date();
|
15
16
|
this.reference = '';
|
16
17
|
this.status = enums_1.PayioOrderQueueStatusEnum.pending;
|
17
|
-
// #endregion Properties (
|
18
|
+
// #endregion Properties (10)
|
18
19
|
}
|
19
20
|
return PayioOrderQueueEntity;
|
20
21
|
}());
|
@@ -5,9 +5,9 @@ export declare class PayioScheduleProductEntity implements IPayioScheduleProduct
|
|
5
5
|
exceededWeightMessageText: string | null;
|
6
6
|
exceededWeightPrice: number;
|
7
7
|
id: string;
|
8
|
-
maxWeightLimitMessage: number;
|
9
|
-
maxWeightLimitPrice: number;
|
10
8
|
price: number;
|
11
9
|
unit: string;
|
10
|
+
weightLimitMessage: number;
|
11
|
+
weightLimitPrice: number;
|
12
12
|
constructor(data?: Partial<PayioScheduleProductEntity>);
|
13
13
|
}
|
@@ -11,10 +11,10 @@ var PayioScheduleProductEntity = /** @class */ (function () {
|
|
11
11
|
this.exceededWeightMessageText = '';
|
12
12
|
this.exceededWeightPrice = 0;
|
13
13
|
this.id = '';
|
14
|
-
this.maxWeightLimitMessage = 0;
|
15
|
-
this.maxWeightLimitPrice = 0;
|
16
14
|
this.price = 0;
|
17
15
|
this.unit = 'KG';
|
16
|
+
this.weightLimitMessage = 0;
|
17
|
+
this.weightLimitPrice = 0;
|
18
18
|
if (data) {
|
19
19
|
for (var key in data) {
|
20
20
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
export interface IPayioScheduleProduct {
|
2
2
|
code: string;
|
3
3
|
description: string;
|
4
|
-
id: string;
|
5
|
-
maxWeightLimitPrice: number;
|
6
|
-
maxWeightLimitMessage: number;
|
7
|
-
exceededWeightPrice: number;
|
8
4
|
exceededWeightMessageText: string | null;
|
5
|
+
exceededWeightPrice: number;
|
6
|
+
id: string;
|
9
7
|
price: number;
|
10
8
|
unit: string;
|
9
|
+
weightLimitMessage: number;
|
10
|
+
weightLimitPrice: number;
|
11
11
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { MemberTypeEnum } from '../../member/enums';
|
2
2
|
import { IUser } from '../interfaces';
|
3
3
|
export declare class UserEntity implements IUser {
|
4
|
+
accessCount: number;
|
4
5
|
active: boolean;
|
5
6
|
createdAt: Date;
|
6
7
|
currentCompanyId: string | null;
|
@@ -10,6 +11,7 @@ export declare class UserEntity implements IUser {
|
|
10
11
|
id: string;
|
11
12
|
imageUrl: string | null;
|
12
13
|
internationalCode: string;
|
14
|
+
lastAccessAt: Date;
|
13
15
|
name: string;
|
14
16
|
phoneNumber: string;
|
15
17
|
tags: string[];
|
@@ -2,10 +2,11 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UserEntity = void 0;
|
4
4
|
var UserEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (16)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function UserEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (16)
|
9
|
+
this.accessCount = 0;
|
9
10
|
this.active = true;
|
10
11
|
this.createdAt = new Date();
|
11
12
|
this.currentCompanyId = null;
|
@@ -15,6 +16,7 @@ var UserEntity = /** @class */ (function () {
|
|
15
16
|
this.id = '';
|
16
17
|
this.imageUrl = null;
|
17
18
|
this.internationalCode = '55';
|
19
|
+
this.lastAccessAt = new Date();
|
18
20
|
this.name = '';
|
19
21
|
this.phoneNumber = '';
|
20
22
|
this.tags = [];
|