cecon-interfaces 1.6.87 → 1.6.90
Sign up to get free protection for your applications and to get access to all the features.
- 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/device/entities/device.entity.mjs +5 -4
- package/dist/esm2022/payio/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/payio/distributors/entities/distributor-responsible.entity.mjs +4 -3
- package/dist/esm2022/payio/distributors/entities/distributor.entity.mjs +3 -3
- package/dist/esm2022/payio/distributors/interfaces/i-distributor-responsible.mjs +1 -1
- package/dist/esm2022/payio/distributors/interfaces/i-distributor.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/fesm2022/cecon-interfaces.mjs +46 -29
- 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/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/distributors/entities/distributor-responsible.entity.d.ts +1 -0
- package/dist/payio/distributors/entities/distributor-responsible.entity.js +3 -2
- package/dist/payio/distributors/entities/distributor.entity.d.ts +2 -1
- package/dist/payio/distributors/entities/distributor.entity.js +2 -2
- package/dist/payio/distributors/interfaces/i-distributor-responsible.d.ts +1 -0
- package/dist/payio/distributors/interfaces/i-distributor.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/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;
|
@@ -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
|
}
|
@@ -3,6 +3,7 @@ import { IPayioDistributorResponsible } from '../interfaces/i-distributor-respon
|
|
3
3
|
export declare class PayioDistributorResponsibleEntity implements IPayioDistributorResponsible {
|
4
4
|
doc: string;
|
5
5
|
docType: EDocType;
|
6
|
+
documentFileUrl: string;
|
6
7
|
email: string;
|
7
8
|
internationalCode: string;
|
8
9
|
name: string;
|
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioDistributorResponsibleEntity = void 0;
|
4
4
|
var general_1 = require("../../../general");
|
5
5
|
var PayioDistributorResponsibleEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (7)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PayioDistributorResponsibleEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (7)
|
10
10
|
this.doc = '';
|
11
11
|
this.docType = general_1.EDocType.CPF;
|
12
|
+
this.documentFileUrl = '';
|
12
13
|
this.email = '';
|
13
14
|
this.internationalCode = '55';
|
14
15
|
this.name = '';
|
@@ -7,6 +7,7 @@ import { PayioDistributorResponsibleEntity } from './distributor-responsible.ent
|
|
7
7
|
export declare class PayioDistributorEntity implements IPayioDistributor {
|
8
8
|
actions: IAction[];
|
9
9
|
address: PayioAddressEntity;
|
10
|
+
contratoSocialPdfUrl: string | null;
|
10
11
|
createdAt: Date;
|
11
12
|
doc: string;
|
12
13
|
docType: EDocType;
|
@@ -18,7 +19,7 @@ export declare class PayioDistributorEntity implements IPayioDistributor {
|
|
18
19
|
logs: string[];
|
19
20
|
name: string;
|
20
21
|
phoneNumber: string;
|
21
|
-
responsible: PayioDistributorResponsibleEntity;
|
22
|
+
responsible: PayioDistributorResponsibleEntity[];
|
22
23
|
sandbox: boolean;
|
23
24
|
slug: string;
|
24
25
|
status: EPayioDistributorStatus;
|
@@ -4,7 +4,6 @@ exports.PayioDistributorEntity = void 0;
|
|
4
4
|
var general_1 = require("../../../general");
|
5
5
|
var company_1 = require("../../company");
|
6
6
|
var enums_1 = require("../enums");
|
7
|
-
var distributor_responsible_entity_1 = require("./distributor-responsible.entity");
|
8
7
|
var PayioDistributorEntity = /** @class */ (function () {
|
9
8
|
// #endregion Properties (20)
|
10
9
|
// #region Constructors (1)
|
@@ -12,6 +11,7 @@ var PayioDistributorEntity = /** @class */ (function () {
|
|
12
11
|
// #region Properties (20)
|
13
12
|
this.actions = [];
|
14
13
|
this.address = new company_1.PayioAddressEntity();
|
14
|
+
this.contratoSocialPdfUrl = null;
|
15
15
|
this.createdAt = new Date();
|
16
16
|
this.doc = '';
|
17
17
|
this.docType = general_1.EDocType.CNPJ;
|
@@ -23,7 +23,7 @@ var PayioDistributorEntity = /** @class */ (function () {
|
|
23
23
|
this.logs = [];
|
24
24
|
this.name = '';
|
25
25
|
this.phoneNumber = '';
|
26
|
-
this.responsible =
|
26
|
+
this.responsible = [];
|
27
27
|
this.sandbox = false;
|
28
28
|
this.slug = '';
|
29
29
|
this.status = enums_1.EPayioDistributorStatus.PLACED;
|
@@ -12,12 +12,13 @@ export interface IPayioDistributor {
|
|
12
12
|
email: string;
|
13
13
|
id: string;
|
14
14
|
imageUrl: string | null;
|
15
|
+
contratoSocialPdfUrl: string | null;
|
15
16
|
internationalCode: string;
|
16
17
|
logoUrl: string | null;
|
17
18
|
logs: string[];
|
18
19
|
name: string;
|
19
20
|
phoneNumber: string;
|
20
|
-
responsible: IPayioDistributorResponsible;
|
21
|
+
responsible: IPayioDistributorResponsible[];
|
21
22
|
sandbox: boolean;
|
22
23
|
slug: string;
|
23
24
|
status: EPayioDistributorStatus;
|
@@ -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 = '';
|