cecon-interfaces 1.6.86 → 1.6.89
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/esm2022/payio/activation-key/entities/activation-key.entity.mjs +4 -3
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- 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/device/entities/device.entity.mjs +5 -4
- package/dist/esm2022/payio/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/payio/members/entities/member.entity.mjs +2 -1
- package/dist/esm2022/payio/members/interfaces/i-member.mjs +1 -1
- package/dist/esm2022/payio/resume-queues/entities/resume-queue.entity.mjs +13 -2
- package/dist/esm2022/payio/resume-queues/interfaces/i-resume-queue.mjs +1 -1
- package/dist/esm2022/payio/tokens/entities/token.entity.mjs +4 -3
- package/dist/esm2022/payio/tokens/interfaces/i-token.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 +31 -12
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +1 -0
- package/dist/payio/activation-key/entities/activation-key.entity.js +3 -2
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +1 -0
- 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/device/entities/device.entity.d.ts +2 -1
- package/dist/payio/device/entities/device.entity.js +4 -3
- package/dist/payio/device/interfaces/i-device.d.ts +2 -1
- package/dist/payio/members/entities/member.entity.d.ts +1 -0
- package/dist/payio/members/entities/member.entity.js +1 -0
- package/dist/payio/members/interfaces/i-member.d.ts +1 -0
- package/dist/payio/resume-queues/entities/resume-queue.entity.d.ts +2 -1
- package/dist/payio/resume-queues/entities/resume-queue.entity.js +11 -3
- package/dist/payio/resume-queues/interfaces/i-resume-queue.d.ts +1 -1
- package/dist/payio/tokens/entities/token.entity.d.ts +1 -0
- package/dist/payio/tokens/entities/token.entity.js +3 -2
- package/dist/payio/tokens/interfaces/i-token.d.ts +1 -0
- 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
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioActivationKeyEntity = void 0;
|
4
4
|
var activation_key_status_enum_1 = require("../enums/activation-key-status.enum");
|
5
5
|
var PayioActivationKeyEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (20)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PayioActivationKeyEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (20)
|
10
10
|
this.activationDate = null;
|
11
11
|
this.activationReleasedId = '';
|
12
12
|
this.appId = null;
|
@@ -23,6 +23,7 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
23
23
|
this.expirationDate = null;
|
24
24
|
this.id = '';
|
25
25
|
this.logs = [];
|
26
|
+
this.sandbox = false;
|
26
27
|
this.status = activation_key_status_enum_1.EPayuioActivationStatus.PENDING;
|
27
28
|
this.usageLimit = 0;
|
28
29
|
this.usedCount = 0;
|
@@ -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();
|
@@ -2,6 +2,7 @@ import { IPayioDevice } from '../interfaces/i-device';
|
|
2
2
|
import { PayioDeviceChefEntity } from './device-chef.entity';
|
3
3
|
export declare class PayioDeviceEntity implements IPayioDevice {
|
4
4
|
active: boolean;
|
5
|
+
chef: PayioDeviceChefEntity | null;
|
5
6
|
companyId: string;
|
6
7
|
containerId: string;
|
7
8
|
createdAt: Date;
|
@@ -9,8 +10,8 @@ export declare class PayioDeviceEntity implements IPayioDevice {
|
|
9
10
|
id: string;
|
10
11
|
lastAccess: Date;
|
11
12
|
name: string;
|
13
|
+
sandbox: boolean;
|
12
14
|
tags: string[];
|
13
15
|
updatedAt: Date;
|
14
|
-
chef: PayioDeviceChefEntity | null;
|
15
16
|
constructor(data?: Partial<PayioDeviceEntity>);
|
16
17
|
}
|
@@ -2,11 +2,12 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioDeviceEntity = void 0;
|
4
4
|
var PayioDeviceEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (12)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function PayioDeviceEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (12)
|
9
9
|
this.active = false;
|
10
|
+
this.chef = null;
|
10
11
|
this.companyId = '';
|
11
12
|
this.containerId = '';
|
12
13
|
this.createdAt = new Date();
|
@@ -14,9 +15,9 @@ var PayioDeviceEntity = /** @class */ (function () {
|
|
14
15
|
this.id = '';
|
15
16
|
this.lastAccess = new Date();
|
16
17
|
this.name = '';
|
18
|
+
this.sandbox = false;
|
17
19
|
this.tags = [];
|
18
20
|
this.updatedAt = new Date();
|
19
|
-
this.chef = null;
|
20
21
|
if (data) {
|
21
22
|
for (var key in data) {
|
22
23
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { IPayioDeviceChef } from './i-device-chef';
|
2
2
|
export interface IPayioDevice {
|
3
3
|
active: boolean;
|
4
|
+
chef: IPayioDeviceChef | null;
|
4
5
|
companyId: string;
|
5
6
|
containerId: string;
|
6
7
|
createdAt: Date;
|
@@ -8,7 +9,7 @@ export interface IPayioDevice {
|
|
8
9
|
id: string;
|
9
10
|
lastAccess: Date;
|
10
11
|
name: string;
|
12
|
+
sandbox: boolean;
|
11
13
|
tags: string[];
|
12
|
-
chef: IPayioDeviceChef | null;
|
13
14
|
updatedAt: Date;
|
14
15
|
}
|
@@ -5,11 +5,12 @@ export declare class PayioResumeQueueEntity implements IPayioResumeQueue {
|
|
5
5
|
action: PayioResumeQueueActionEnum;
|
6
6
|
attempts: number;
|
7
7
|
createdAt: Date;
|
8
|
+
data: string | null;
|
8
9
|
entityId: string;
|
9
10
|
entityType: PayioEntitiesEnum;
|
10
11
|
error: string;
|
11
12
|
id: string;
|
12
13
|
lastAttemptAt: Date;
|
13
|
-
data: string | null;
|
14
14
|
status: PayioResumeQueueStatusEnum;
|
15
|
+
constructor(data?: Partial<PayioResumeQueueEntity>);
|
15
16
|
}
|
@@ -4,19 +4,27 @@ exports.PayioResumeQueueEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var resume_queue_action_enum_1 = require("../enums/resume-queue-action.enum");
|
6
6
|
var PayioResumeQueueEntity = /** @class */ (function () {
|
7
|
-
|
7
|
+
// #endregion Properties (10)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function PayioResumeQueueEntity(data) {
|
8
10
|
// #region Properties (10)
|
9
11
|
this.action = resume_queue_action_enum_1.PayioResumeQueueActionEnum.create;
|
10
12
|
this.attempts = 0;
|
11
13
|
this.createdAt = new Date();
|
14
|
+
this.data = null;
|
12
15
|
this.entityId = '';
|
13
16
|
this.entityType = enums_1.PayioEntitiesEnum.aplications;
|
14
17
|
this.error = '';
|
15
18
|
this.id = '';
|
16
19
|
this.lastAttemptAt = new Date();
|
17
|
-
this.data = null;
|
18
20
|
this.status = enums_1.PayioResumeQueueStatusEnum.pending;
|
19
|
-
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
20
28
|
}
|
21
29
|
return PayioResumeQueueEntity;
|
22
30
|
}());
|
@@ -4,11 +4,11 @@ export interface IPayioResumeQueue {
|
|
4
4
|
action: PayioResumeQueueActionEnum;
|
5
5
|
attempts: number;
|
6
6
|
createdAt: Date;
|
7
|
+
data: string | null;
|
7
8
|
entityId: string;
|
8
9
|
entityType: PayioEntitiesEnum;
|
9
10
|
error: string;
|
10
11
|
id: string;
|
11
12
|
lastAttemptAt: Date;
|
12
|
-
data: string | null;
|
13
13
|
status: PayioResumeQueueStatusEnum;
|
14
14
|
}
|
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioTokenEntity = void 0;
|
4
4
|
var PayioTokenEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (12)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function PayioTokenEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (12)
|
9
9
|
this.createdAt = new Date();
|
10
10
|
this.deviceId = null;
|
11
11
|
this.expiresAt = new Date();
|
@@ -14,6 +14,7 @@ var PayioTokenEntity = /** @class */ (function () {
|
|
14
14
|
this.isRevoked = false;
|
15
15
|
this.refreshToken = '';
|
16
16
|
this.revokedAt = null;
|
17
|
+
this.sandbox = false;
|
17
18
|
this.updatedAt = new Date();
|
18
19
|
this.userAgent = null;
|
19
20
|
this.userId = '';
|
@@ -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 = [];
|