cecon-interfaces 1.7.37 → 1.7.41
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/app/entities/desenfila.entity.d.ts +2 -2
- package/dist/app/entities/desenfila.entity.js +2 -2
- package/dist/app/interfaces/i-desenfila.d.ts +2 -2
- package/dist/company/entities/company.entity.d.ts +2 -2
- package/dist/company/entities/company.entity.js +2 -2
- package/dist/company/enums/index.d.ts +0 -1
- package/dist/company/enums/index.js +1 -3
- package/dist/company/interfaces/i-company.d.ts +2 -3
- package/dist/esm2022/app/entities/desenfila.entity.mjs +3 -3
- package/dist/esm2022/app/interfaces/i-desenfila.mjs +1 -1
- package/dist/esm2022/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/company/enums/index.mjs +1 -2
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/general/entities/pix-keys.entity.mjs +3 -7
- package/dist/esm2022/general/enums/index.mjs +2 -2
- package/dist/esm2022/general/enums/pix-key.enum.mjs +9 -9
- package/dist/esm2022/general/interfaces/i-pix-key.mjs +1 -1
- package/dist/esm2022/natipay/company/entities/company.entity.mjs +1 -1
- package/dist/esm2022/natipay/members/entities/member.entity.mjs +2 -2
- package/dist/esm2022/natipay/members/interfaces/i-member.mjs +1 -1
- package/dist/esm2022/payio/chef-config/entities/chef-config-webhook.entity.mjs +1 -1
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-webhook.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +153 -166
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/pix-keys.entity.d.ts +2 -6
- package/dist/general/entities/pix-keys.entity.js +1 -5
- package/dist/general/enums/index.d.ts +1 -1
- package/dist/general/enums/index.js +2 -2
- package/dist/general/enums/pix-key.enum.d.ts +6 -6
- package/dist/general/enums/pix-key.enum.js +9 -9
- package/dist/general/interfaces/i-pix-key.d.ts +2 -6
- package/dist/natipay/company/entities/company.entity.d.ts +2 -3
- package/dist/natipay/members/entities/member.entity.d.ts +1 -1
- package/dist/natipay/members/entities/member.entity.js +1 -1
- package/dist/natipay/members/interfaces/i-member.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/chef-config/entities/chef-config-webhook.entity.d.ts +1 -1
- package/dist/payio/chef-config/interfaces/i-chef-config-webhook.d.ts +1 -1
- package/package.json +1 -1
- package/dist/company/enums/key-type.enum.d.ts +0 -7
- package/dist/company/enums/key-type.enum.js +0 -11
- package/dist/esm2022/company/enums/key-type.enum.mjs +0 -9
@@ -1,13 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { EPixKeyType } from '../enums';
|
2
2
|
import { IPixKey } from '../interfaces/i-pix-key';
|
3
3
|
export declare class PixKeyEntity implements IPixKey {
|
4
|
-
active: boolean;
|
5
|
-
createdAt: Date;
|
6
4
|
description: string;
|
7
|
-
id: string;
|
8
5
|
isDefault: boolean;
|
9
6
|
key: string;
|
10
|
-
type:
|
11
|
-
updatedAt: Date;
|
7
|
+
type: EPixKeyType;
|
12
8
|
constructor(data?: Partial<PixKeyEntity>);
|
13
9
|
}
|
@@ -5,14 +5,10 @@ exports.PixKeyEntity = void 0;
|
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var PixKeyEntity = /** @class */ (function () {
|
7
7
|
function PixKeyEntity(data) {
|
8
|
-
this.active = true;
|
9
|
-
this.createdAt = new Date();
|
10
8
|
this.description = '';
|
11
|
-
this.id = '';
|
12
9
|
this.isDefault = false;
|
13
10
|
this.key = '';
|
14
|
-
this.type = enums_1.
|
15
|
-
this.updatedAt = new Date();
|
11
|
+
this.type = enums_1.EPixKeyType.CPF;
|
16
12
|
if (data) {
|
17
13
|
for (var key in data) {
|
18
14
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -17,7 +17,7 @@ export { EPaymentMode } from './payment-mode.enum';
|
|
17
17
|
export { EPaymentStatus } from './payment-status.enum';
|
18
18
|
export { EPaymentType } from './payment-type.enum';
|
19
19
|
export { ELegalEntiy } from './person-type.enum';
|
20
|
-
export {
|
20
|
+
export { EPixKeyType } from './pix-key.enum';
|
21
21
|
export { EPlatform } from './platform.enum';
|
22
22
|
export { EPaymentProvider } from './providers.enum';
|
23
23
|
export { EPubSub } from './pubsub.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ESubsStatus = exports.ESponsorshipValues = exports.ERole = exports.EPubSub = exports.EPaymentProvider = exports.EPlatform = exports.
|
3
|
+
exports.ESubsStatus = exports.ESponsorshipValues = exports.ERole = exports.EPubSub = exports.EPaymentProvider = exports.EPlatform = exports.EPixKeyType = exports.ELegalEntiy = exports.EPaymentType = exports.EPaymentStatus = exports.EPaymentMode = exports.EPaymentChannel = exports.EOs = exports.EOperator = exports.ELeadOrigin = exports.EJwtStatus = exports.EIntervalType = exports.EIntDocType = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.EFrom = exports.ECollectionsTypes = exports.EBooleanString = exports.EBankSlipStatus = exports.EFcmSkill = void 0;
|
4
4
|
var skill_enum_1 = require("../../fcm-token-message/enums/skill.enum");
|
5
5
|
Object.defineProperty(exports, "EFcmSkill", { enumerable: true, get: function () { return skill_enum_1.EFcmSkill; } });
|
6
6
|
var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
|
@@ -40,7 +40,7 @@ Object.defineProperty(exports, "EPaymentType", { enumerable: true, get: function
|
|
40
40
|
var person_type_enum_1 = require("./person-type.enum");
|
41
41
|
Object.defineProperty(exports, "ELegalEntiy", { enumerable: true, get: function () { return person_type_enum_1.ELegalEntiy; } });
|
42
42
|
var pix_key_enum_1 = require("./pix-key.enum");
|
43
|
-
Object.defineProperty(exports, "
|
43
|
+
Object.defineProperty(exports, "EPixKeyType", { enumerable: true, get: function () { return pix_key_enum_1.EPixKeyType; } });
|
44
44
|
var platform_enum_1 = require("./platform.enum");
|
45
45
|
Object.defineProperty(exports, "EPlatform", { enumerable: true, get: function () { return platform_enum_1.EPlatform; } });
|
46
46
|
var providers_enum_1 = require("./providers.enum");
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export declare enum
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
export declare enum EPixKeyType {
|
2
|
+
PHONE = "PHONE",
|
3
|
+
EMAIL = "EMAIL",
|
4
|
+
CPF = "CPF",
|
5
|
+
CNPJ = "CNPJ",
|
6
|
+
RANDOM_KEY = "RANDOM_KEY"
|
7
7
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
})(
|
3
|
+
exports.EPixKeyType = void 0;
|
4
|
+
var EPixKeyType;
|
5
|
+
(function (EPixKeyType) {
|
6
|
+
EPixKeyType["PHONE"] = "PHONE";
|
7
|
+
EPixKeyType["EMAIL"] = "EMAIL";
|
8
|
+
EPixKeyType["CPF"] = "CPF";
|
9
|
+
EPixKeyType["CNPJ"] = "CNPJ";
|
10
|
+
EPixKeyType["RANDOM_KEY"] = "RANDOM_KEY";
|
11
|
+
})(EPixKeyType || (exports.EPixKeyType = EPixKeyType = {}));
|
@@ -1,11 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { EPixKeyType } from '../enums';
|
2
2
|
export interface IPixKey {
|
3
|
-
active: boolean;
|
4
3
|
key: string;
|
5
|
-
type:
|
6
|
-
createdAt: Date;
|
7
|
-
id: string;
|
8
|
-
updatedAt: Date;
|
4
|
+
type: EPixKeyType;
|
9
5
|
description: string;
|
10
6
|
isDefault: boolean;
|
11
7
|
}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { EDocType, IPaymentProvider } from '../../../general';
|
2
|
-
import { IPixKey } from '../../../general/interfaces/i-pix-key';
|
1
|
+
import { EDocType, IPaymentProvider, PixKeyEntity } from '../../../general';
|
3
2
|
import { IDesenfila } from '../../desenfila/interfaces';
|
4
3
|
import { INatipayCompany } from '../interfaces/i-company';
|
5
4
|
import { NatiapyAddressEntity } from './address.entity';
|
@@ -22,7 +21,7 @@ export declare class NatipayCompanyEntity implements INatipayCompany {
|
|
22
21
|
natipay: IDesenfila | null;
|
23
22
|
paymentProvider: IPaymentProvider | null;
|
24
23
|
phoneNumber: string;
|
25
|
-
pixKeys:
|
24
|
+
pixKeys: PixKeyEntity[];
|
26
25
|
sandbox: boolean;
|
27
26
|
shortName: string;
|
28
27
|
tags: string[];
|
@@ -17,7 +17,7 @@ export declare class NatipayMemberEntity implements INatipayMember {
|
|
17
17
|
rule: NatipayMemberRulesEnum;
|
18
18
|
tags: string[];
|
19
19
|
type: NatipayMemberTypeEnum | null;
|
20
|
-
|
20
|
+
updatedAt: Date;
|
21
21
|
userId: string;
|
22
22
|
constructor(data?: Partial<NatipayMemberEntity>);
|
23
23
|
}
|
@@ -20,7 +20,7 @@ var NatipayMemberEntity = /** @class */ (function () {
|
|
20
20
|
this.rule = member_rules_enum_1.NatipayMemberRulesEnum.USER;
|
21
21
|
this.tags = [];
|
22
22
|
this.type = member_type_enum_1.NatipayMemberTypeEnum.CLIENT;
|
23
|
-
this.
|
23
|
+
this.updatedAt = new Date();
|
24
24
|
this.userId = '';
|
25
25
|
if (data) {
|
26
26
|
for (var key in data) {
|
package/dist/package.json
CHANGED
@@ -6,7 +6,7 @@ export declare class PayioChefConfigWebhookEntity implements IPayioChefConfigWeb
|
|
6
6
|
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
7
7
|
response: string | null;
|
8
8
|
secret: string | null;
|
9
|
-
type: 'PING' | 'GET_PRODUCT' | 'SEND_ORDER' | 'GET_ORDER' | 'CANCEL_ORDER' | 'GET_ORDER_STATUS' | '
|
9
|
+
type: 'PING' | 'GET_PRODUCT' | 'SEND_ORDER' | 'GET_ORDER' | 'CANCEL_ORDER' | 'GET_ORDER_STATUS' | 'VISION_SEND_IMG' | 'VISION_ASSIGN_POSITION';
|
10
10
|
url: string;
|
11
11
|
constructor(data?: Partial<PayioChefConfigWebhookEntity>);
|
12
12
|
}
|
@@ -4,7 +4,7 @@ export interface IPayioChefConfigWebhook {
|
|
4
4
|
authToken: string | null;
|
5
5
|
secret: string | null;
|
6
6
|
url: string;
|
7
|
-
type: 'PING' | 'GET_PRODUCT' | 'SEND_ORDER' | 'GET_ORDER' | 'CANCEL_ORDER' | 'GET_ORDER_STATUS' | '
|
7
|
+
type: 'PING' | 'GET_PRODUCT' | 'SEND_ORDER' | 'GET_ORDER' | 'CANCEL_ORDER' | 'GET_ORDER_STATUS' | 'VISION_SEND_IMG' | 'VISION_ASSIGN_POSITION';
|
8
8
|
response: string | null;
|
9
9
|
locked: boolean;
|
10
10
|
}
|
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPixKeyTypes = void 0;
|
4
|
-
var EPixKeyTypes;
|
5
|
-
(function (EPixKeyTypes) {
|
6
|
-
EPixKeyTypes["PHONE"] = "PHONE";
|
7
|
-
EPixKeyTypes["EMAIL"] = "EMAIL";
|
8
|
-
EPixKeyTypes["CPF"] = "CPF";
|
9
|
-
EPixKeyTypes["CNPJ"] = "CNPJ";
|
10
|
-
EPixKeyTypes["RANDOM_KEY"] = "RANDOM_KEY";
|
11
|
-
})(EPixKeyTypes || (exports.EPixKeyTypes = EPixKeyTypes = {}));
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export var EPixKeyTypes;
|
2
|
-
(function (EPixKeyTypes) {
|
3
|
-
EPixKeyTypes["PHONE"] = "PHONE";
|
4
|
-
EPixKeyTypes["EMAIL"] = "EMAIL";
|
5
|
-
EPixKeyTypes["CPF"] = "CPF";
|
6
|
-
EPixKeyTypes["CNPJ"] = "CNPJ";
|
7
|
-
EPixKeyTypes["RANDOM_KEY"] = "RANDOM_KEY";
|
8
|
-
})(EPixKeyTypes || (EPixKeyTypes = {}));
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5LXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wYW55L2VudW1zL2tleS10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFNWDtBQU5ELFdBQVksWUFBWTtJQUNwQiwrQkFBZSxDQUFBO0lBQ2YsK0JBQWUsQ0FBQTtJQUNmLDJCQUFXLENBQUE7SUFDWCw2QkFBYSxDQUFBO0lBQ2IseUNBQXlCLENBQUE7QUFDN0IsQ0FBQyxFQU5XLFlBQVksS0FBWixZQUFZLFFBTXZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVBpeEtleVR5cGVze1xyXG4gICAgUEhPTkUgPSAnUEhPTkUnLFxyXG4gICAgRU1BSUwgPSAnRU1BSUwnLFxyXG4gICAgQ1BGID0gJ0NQRicsXHJcbiAgICBDTlBKID0gJ0NOUEonLFxyXG4gICAgUkFORE9NX0tFWSA9ICdSQU5ET01fS0VZJ1xyXG59Il19
|