cecon-interfaces 1.1.42 → 1.1.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +6 -6
- package/dist/company/entities/company.entity.js +5 -6
- package/dist/company/interfaces/i-company.d.ts +4 -4
- package/dist/esm2022/company/entities/company.entity.mjs +6 -7
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +63 -0
- package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +17 -0
- package/dist/esm2022/global-settings/entities/index.mjs +3 -0
- package/dist/esm2022/global-settings/index.mjs +3 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +2 -0
- package/dist/esm2022/global-settings/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +85 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +52 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +67 -0
- package/dist/global-settings/entities/global-setting.entity.d.ts +6 -0
- package/dist/global-settings/entities/global-setting.entity.js +21 -0
- package/dist/global-settings/entities/index.d.ts +2 -0
- package/dist/global-settings/entities/index.js +7 -0
- package/dist/global-settings/index.d.ts +2 -0
- package/dist/global-settings/index.js +18 -0
- package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +11 -0
- package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting.d.ts +4 -0
- package/dist/global-settings/interfaces/i-global-setting.js +2 -0
- package/dist/global-settings/interfaces/index.d.ts +2 -0
- package/dist/global-settings/interfaces/index.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -10,26 +10,26 @@ import { ICompany } from '../interfaces';
|
|
10
10
|
export declare class CompanyEntity implements ICompany {
|
11
11
|
active: boolean;
|
12
12
|
address: AddressEntity;
|
13
|
-
bgImageUrl
|
14
|
-
config: MobyoApiConfigEntity;
|
13
|
+
bgImageUrl: string | null;
|
14
|
+
config: MobyoApiConfigEntity | null;
|
15
15
|
containerId: string;
|
16
16
|
createdAt: Date;
|
17
17
|
deliveryArea: DeliveryAreaEntity[];
|
18
|
-
deliveryAreaFixed
|
18
|
+
deliveryAreaFixed: DeliveryAreaFixedEntity | null;
|
19
19
|
doc: string;
|
20
|
-
phoneNumberNotification: string | null;
|
21
20
|
docType: DocTypeEnum;
|
22
21
|
email: string;
|
23
22
|
fullName: string;
|
24
23
|
id: string;
|
25
|
-
imageUrl
|
24
|
+
imageUrl: string | null;
|
26
25
|
internationalCode: string;
|
27
|
-
logoUrl
|
26
|
+
logoUrl: string | null;
|
28
27
|
messagerChannels: MessagerChannelEntity[];
|
29
28
|
name: string;
|
30
29
|
origin: OriginEntity;
|
31
30
|
paymentProvider: PaymentProviderEntity;
|
32
31
|
phoneNumber: string;
|
32
|
+
phoneNumberNotification: string | null;
|
33
33
|
sandbox: boolean;
|
34
34
|
tags: string[];
|
35
35
|
updatedAt: Date;
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompanyEntity = void 0;
|
4
4
|
var general_1 = require("../../general");
|
5
5
|
var address_entity_1 = require("../../general/entities/address.entity");
|
6
|
-
var mobyo_apiconfig_entity_1 = require("../../general/entities/mobyo-apiconfig.entity");
|
7
6
|
var origin_entity_1 = require("../../general/entities/origin.entity");
|
8
7
|
var payment_provider_entity_1 = require("../../general/entities/payment-provider.entity");
|
9
8
|
var CompanyEntity = /** @class */ (function () {
|
@@ -13,26 +12,26 @@ var CompanyEntity = /** @class */ (function () {
|
|
13
12
|
// #region Properties (26)
|
14
13
|
this.active = false;
|
15
14
|
this.address = new address_entity_1.AddressEntity();
|
16
|
-
this.bgImageUrl =
|
17
|
-
this.config =
|
15
|
+
this.bgImageUrl = null;
|
16
|
+
this.config = null;
|
18
17
|
this.containerId = '';
|
19
18
|
this.createdAt = new Date();
|
20
19
|
this.deliveryArea = [];
|
21
20
|
this.deliveryAreaFixed = null;
|
22
21
|
this.doc = '';
|
23
|
-
this.phoneNumberNotification = null;
|
24
22
|
this.docType = general_1.DocTypeEnum.CNPJ;
|
25
23
|
this.email = '';
|
26
24
|
this.fullName = '';
|
27
25
|
this.id = '';
|
28
|
-
this.imageUrl =
|
26
|
+
this.imageUrl = null;
|
29
27
|
this.internationalCode = '+55';
|
30
|
-
this.logoUrl =
|
28
|
+
this.logoUrl = null;
|
31
29
|
this.messagerChannels = [];
|
32
30
|
this.name = '';
|
33
31
|
this.origin = new origin_entity_1.OriginEntity();
|
34
32
|
this.paymentProvider = new payment_provider_entity_1.PaymentProviderEntity();
|
35
33
|
this.phoneNumber = '';
|
34
|
+
this.phoneNumberNotification = null;
|
36
35
|
this.sandbox = false;
|
37
36
|
this.tags = [];
|
38
37
|
this.updatedAt = new Date();
|
@@ -2,8 +2,8 @@ import { DocTypeEnum, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChan
|
|
2
2
|
export interface ICompany {
|
3
3
|
active: boolean;
|
4
4
|
address: IAddress;
|
5
|
-
bgImageUrl
|
6
|
-
config: IMobyoApiConfig;
|
5
|
+
bgImageUrl: string | null;
|
6
|
+
config: IMobyoApiConfig | null;
|
7
7
|
containerId: string;
|
8
8
|
createdAt: Date;
|
9
9
|
deliveryArea: IDeliveryArea[];
|
@@ -14,9 +14,9 @@ export interface ICompany {
|
|
14
14
|
email: string;
|
15
15
|
fullName: string;
|
16
16
|
id: string;
|
17
|
-
imageUrl
|
17
|
+
imageUrl: string | null;
|
18
18
|
internationalCode: string;
|
19
|
-
logoUrl
|
19
|
+
logoUrl: string | null;
|
20
20
|
messagerChannels: IMessagerChannel[];
|
21
21
|
name: string;
|
22
22
|
origin: IOrigin;
|
@@ -1,32 +1,31 @@
|
|
1
1
|
import { DocTypeEnum } from '../../general';
|
2
2
|
import { AddressEntity } from '../../general/entities/address.entity';
|
3
|
-
import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
|
4
3
|
import { OriginEntity } from '../../general/entities/origin.entity';
|
5
4
|
import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
|
6
5
|
export class CompanyEntity {
|
7
6
|
// #region Properties (26)
|
8
7
|
active = false;
|
9
8
|
address = new AddressEntity();
|
10
|
-
bgImageUrl =
|
11
|
-
config =
|
9
|
+
bgImageUrl = null;
|
10
|
+
config = null;
|
12
11
|
containerId = '';
|
13
12
|
createdAt = new Date();
|
14
13
|
deliveryArea = [];
|
15
14
|
deliveryAreaFixed = null;
|
16
15
|
doc = '';
|
17
|
-
phoneNumberNotification = null;
|
18
16
|
docType = DocTypeEnum.CNPJ;
|
19
17
|
email = '';
|
20
18
|
fullName = '';
|
21
19
|
id = '';
|
22
|
-
imageUrl =
|
20
|
+
imageUrl = null;
|
23
21
|
internationalCode = '+55';
|
24
|
-
logoUrl =
|
22
|
+
logoUrl = null;
|
25
23
|
messagerChannels = [];
|
26
24
|
name = '';
|
27
25
|
origin = new OriginEntity();
|
28
26
|
paymentProvider = new PaymentProviderEntity();
|
29
27
|
phoneNumber = '';
|
28
|
+
phoneNumberNotification = null;
|
30
29
|
sandbox = false;
|
31
30
|
tags = [];
|
32
31
|
updatedAt = new Date();
|
@@ -43,4 +42,4 @@ export class CompanyEntity {
|
|
43
42
|
}
|
44
43
|
}
|
45
44
|
}
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9jb21wYW55LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQS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yAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDb21wYW55RW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XHJcbiAgRG9jVHlwZUVudW0sXHJcbiAgSUFkZHJlc3MsXHJcbiAgSURlbGl2ZXJ5QXJlYSxcclxuICBJRGVsaXZlcnlBcmVhRml4ZWQsXHJcbiAgSU1lc3NhZ2VyQ2hhbm5lbCxcclxuICBJTW9ieW9BcGlDb25maWcsXHJcbiAgSU9yaWdpbixcclxuICBJUGF5bWVudFByb3ZpZGVyLFxyXG59IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJQ29tcGFueSB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyNSlcclxuXHJcbiAgYWN0aXZlOiBib29sZWFuO1xyXG4gIGFkZHJlc3M6I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
|
+
* Prazo máximo para pagamento do boleto após o vencimento.
|
5
|
+
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
6
|
+
* dias após a data de vencimento.
|
7
|
+
*/
|
8
|
+
bankSlipExtraDue = 1;
|
9
|
+
/**
|
10
|
+
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
11
|
+
* e não em sábados ou domingos.
|
12
|
+
*/
|
13
|
+
ensureWorkdayDueDate = true;
|
14
|
+
/**
|
15
|
+
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
16
|
+
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
17
|
+
* disponível para ser paga até às 23:59:59 do dia de vencimento.
|
18
|
+
*/
|
19
|
+
expiresIn = 0;
|
20
|
+
/**
|
21
|
+
* Habilitar ou Desabilitar multa por atraso de pagamento
|
22
|
+
*/
|
23
|
+
fines = true;
|
24
|
+
/**
|
25
|
+
* Determine a multa % a ser cobrada para pagamentos
|
26
|
+
* efetuados após a data de vencimento
|
27
|
+
*/
|
28
|
+
latePaymentFine = 2;
|
29
|
+
/**
|
30
|
+
* Determine a multa por valor fixo a ser
|
31
|
+
* cobrada para pagamentos efetuados após a data de vencimento
|
32
|
+
*/
|
33
|
+
latePaymentFineCents = 0;
|
34
|
+
/**
|
35
|
+
* determina se cobra ou não juros por dia de atraso.
|
36
|
+
* 1% ao mês pro rata. Necessário passar a multa como true
|
37
|
+
*/
|
38
|
+
perDayInterest = true;
|
39
|
+
/**
|
40
|
+
* Juros a ser cobrado por dia em centavos.
|
41
|
+
* Sobrepõem o per_day_interest_value.
|
42
|
+
* O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
|
43
|
+
*/
|
44
|
+
perDayInterestCents = 0;
|
45
|
+
/**
|
46
|
+
* Informar o valor percentual de juros que deseja cobrar.
|
47
|
+
* Não se aplica quando os valores diários de mora
|
48
|
+
* calculados são menores que 1 centavo.
|
49
|
+
*/
|
50
|
+
perDayInterestValue = 1;
|
51
|
+
// #endregion Properties (9)
|
52
|
+
// #region Constructors (1)
|
53
|
+
constructor(data) {
|
54
|
+
if (data) {
|
55
|
+
for (let key in data) {
|
56
|
+
if (data.hasOwnProperty(key) && key in this) {
|
57
|
+
this[key] = data[key];
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmctaXVndS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2VudGl0aWVzL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyx1QkFBdUI7SUFDbEMseUJBQXlCO0lBRXpCOzs7O09BSUc7SUFDSSxnQkFBZ0IsR0FBVyxDQUFDLENBQUM7SUFDcEM7OztPQUdHO0lBQ0ksb0JBQW9CLEdBQVksSUFBSSxDQUFDO0lBQzVDOzs7O09BSUc7SUFDSSxTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQzdCOztPQUVHO0lBQ0ksS0FBSyxHQUFZLElBQUksQ0FBQztJQUM3Qjs7O09BR0c7SUFDSSxlQUFlLEdBQVcsQ0FBQyxDQUFDO0lBQ25DOzs7T0FHRztJQUNJLG9CQUFvQixHQUFXLENBQUMsQ0FBQztJQUN4Qzs7O09BR0c7SUFDSSxjQUFjLEdBQVksSUFBSSxDQUFDO0lBQ3RDOzs7O09BSUc7SUFDSSxtQkFBbUIsR0FBVyxDQUFDLENBQUM7SUFDdkM7Ozs7T0FJRztJQUNJLG1CQUFtQixHQUFXLENBQUMsQ0FBQztJQUV2Qyw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBdUM7UUFDakQsSUFBSSxJQUFJLEVB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gIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
|
2
|
+
export class GlobalSettingEntity {
|
3
|
+
// #region Properties (1)
|
4
|
+
iugu = new GlobalSettingIuguEntity();
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmcuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dsb2JhbC1zZXR0aW5ncy9lbnRpdGllcy9nbG9iYWwtc2V0dGluZy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFdkUsTUFBTSxPQUFPLG1CQUFtQjtJQUM5Qix5QkFBeUI7SUFFbEIsSUFBSSxHQUE0QixJQUFJLHVCQUF1QixFQUFFLENBQUM7SUFFckUsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQW1DO1FBQzdDLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUMxQyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUN6QzthQUNGO1NBQ0Y7SUFDSCxDQUFDO0NBR0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJR2xvYmFsU2V0dGluZyB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xuaW1wb3J0IHsgR2xvYmFsU2V0dGluZ0l1Z3VFbnRpdHkgfSBmcm9tICcuL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5JztcblxuZXhwb3J0IGNsYXNzIEdsb2JhbFNldHRpbmdFbnRpdHkgaW1wbGVtZW50cyBJR2xvYmFsU2V0dGluZyB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMSlcblxuICBwdWJsaWMgaXVndTogR2xvYmFsU2V0dGluZ0l1Z3VFbnRpdHkgPSBuZXcgR2xvYmFsU2V0dGluZ0l1Z3VFbnRpdHkoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8R2xvYmFsU2V0dGluZ0VudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { GlobalSettingIuguEntity } from './global-setting-iugu.entity';
|
2
|
+
export { GlobalSettingEntity } from './global-setting.entity';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgR2xvYmFsU2V0dGluZ0l1Z3VFbnRpdHkgfSBmcm9tICcuL2dsb2JhbC1zZXR0aW5nLWl1Z3UuZW50aXR5JztcclxuZXhwb3J0IHsgR2xvYmFsU2V0dGluZ0VudGl0eSB9IGZyb20gJy4vZ2xvYmFsLXNldHRpbmcuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nbG9iYWwtc2V0dGluZy1pdWd1LmpzIiwic291cmNl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Z2xvYmFsLXNldHRpbmctaXVndSc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElHbG9iYWxTZXR0aW5nIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEpXHJcblxyXG4gIGl1Z3U6IElHbG9iYWxTZXR0aW5nSXVndTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElHbG9iYWxTZXR0aW5nIH0gZnJvbSAnLi9pLWdsb2JhbC1zZXR0aW5nJztcclxuZXhwb3J0IHsgSUdsb2JhbFNldHRpbmdJdWd1IH0gZnJvbSAnLi9pLWdsb2JhbC1zZXR0aW5nLWl1Z3UnO1xyXG4iXX0=
|
package/dist/esm2022/index.mjs
CHANGED
@@ -5,6 +5,7 @@ export * from './container';
|
|
5
5
|
export * from './device';
|
6
6
|
export * from './feature';
|
7
7
|
export * from './general';
|
8
|
+
export * from './global-settings';
|
8
9
|
export * from './installation';
|
9
10
|
export * from './invite';
|
10
11
|
export * from './invoice';
|
@@ -21,4 +22,4 @@ export * from './subscription';
|
|
21
22
|
export * from './token';
|
22
23
|
export * from './viacep';
|
23
24
|
export * from './voucher';
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8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GluZ3MnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnN0YWxsYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9pbnZpdGUnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnZvaWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaXVndSc7XG5leHBvcnQgKiBmcm9tICcuL2xlYWQnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW1iZXInO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9vcmRlcic7XG5leHBvcnQgKiBmcm9tICcuL3BhcnRuZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wbGFuJztcbmV4cG9ydCAqIGZyb20gJy4vcHVyY2hhc2VzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzdW1lJztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi92aWFjZXAnO1xuZXhwb3J0ICogZnJvbSAnLi92b3VjaGVyJztcbiJdfQ==
|
@@ -851,26 +851,26 @@ class CompanyEntity {
|
|
851
851
|
// #region Properties (26)
|
852
852
|
active = false;
|
853
853
|
address = new AddressEntity();
|
854
|
-
bgImageUrl =
|
855
|
-
config =
|
854
|
+
bgImageUrl = null;
|
855
|
+
config = null;
|
856
856
|
containerId = '';
|
857
857
|
createdAt = new Date();
|
858
858
|
deliveryArea = [];
|
859
859
|
deliveryAreaFixed = null;
|
860
860
|
doc = '';
|
861
|
-
phoneNumberNotification = null;
|
862
861
|
docType = DocTypeEnum.CNPJ;
|
863
862
|
email = '';
|
864
863
|
fullName = '';
|
865
864
|
id = '';
|
866
|
-
imageUrl =
|
865
|
+
imageUrl = null;
|
867
866
|
internationalCode = '+55';
|
868
|
-
logoUrl =
|
867
|
+
logoUrl = null;
|
869
868
|
messagerChannels = [];
|
870
869
|
name = '';
|
871
870
|
origin = new OriginEntity();
|
872
871
|
paymentProvider = new PaymentProviderEntity();
|
873
872
|
phoneNumber = '';
|
873
|
+
phoneNumberNotification = null;
|
874
874
|
sandbox = false;
|
875
875
|
tags = [];
|
876
876
|
updatedAt = new Date();
|
@@ -1000,6 +1000,85 @@ class FeatureEntity {
|
|
1000
1000
|
}
|
1001
1001
|
}
|
1002
1002
|
|
1003
|
+
class GlobalSettingIuguEntity {
|
1004
|
+
// #region Properties (9)
|
1005
|
+
/**
|
1006
|
+
* Prazo máximo para pagamento do boleto após o vencimento.
|
1007
|
+
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
1008
|
+
* dias após a data de vencimento.
|
1009
|
+
*/
|
1010
|
+
bankSlipExtraDue = 1;
|
1011
|
+
/**
|
1012
|
+
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
1013
|
+
* e não em sábados ou domingos.
|
1014
|
+
*/
|
1015
|
+
ensureWorkdayDueDate = true;
|
1016
|
+
/**
|
1017
|
+
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
1018
|
+
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
1019
|
+
* disponível para ser paga até às 23:59:59 do dia de vencimento.
|
1020
|
+
*/
|
1021
|
+
expiresIn = 0;
|
1022
|
+
/**
|
1023
|
+
* Habilitar ou Desabilitar multa por atraso de pagamento
|
1024
|
+
*/
|
1025
|
+
fines = true;
|
1026
|
+
/**
|
1027
|
+
* Determine a multa % a ser cobrada para pagamentos
|
1028
|
+
* efetuados após a data de vencimento
|
1029
|
+
*/
|
1030
|
+
latePaymentFine = 2;
|
1031
|
+
/**
|
1032
|
+
* Determine a multa por valor fixo a ser
|
1033
|
+
* cobrada para pagamentos efetuados após a data de vencimento
|
1034
|
+
*/
|
1035
|
+
latePaymentFineCents = 0;
|
1036
|
+
/**
|
1037
|
+
* determina se cobra ou não juros por dia de atraso.
|
1038
|
+
* 1% ao mês pro rata. Necessário passar a multa como true
|
1039
|
+
*/
|
1040
|
+
perDayInterest = true;
|
1041
|
+
/**
|
1042
|
+
* Juros a ser cobrado por dia em centavos.
|
1043
|
+
* Sobrepõem o per_day_interest_value.
|
1044
|
+
* O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
|
1045
|
+
*/
|
1046
|
+
perDayInterestCents = 0;
|
1047
|
+
/**
|
1048
|
+
* Informar o valor percentual de juros que deseja cobrar.
|
1049
|
+
* Não se aplica quando os valores diários de mora
|
1050
|
+
* calculados são menores que 1 centavo.
|
1051
|
+
*/
|
1052
|
+
perDayInterestValue = 1;
|
1053
|
+
// #endregion Properties (9)
|
1054
|
+
// #region Constructors (1)
|
1055
|
+
constructor(data) {
|
1056
|
+
if (data) {
|
1057
|
+
for (let key in data) {
|
1058
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1059
|
+
this[key] = data[key];
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
class GlobalSettingEntity {
|
1067
|
+
// #region Properties (1)
|
1068
|
+
iugu = new GlobalSettingIuguEntity();
|
1069
|
+
// #endregion Properties (1)
|
1070
|
+
// #region Constructors (1)
|
1071
|
+
constructor(data) {
|
1072
|
+
if (data) {
|
1073
|
+
for (let key in data) {
|
1074
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1075
|
+
this[key] = data[key];
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
|
1003
1082
|
var ESubscriptionStatus;
|
1004
1083
|
(function (ESubscriptionStatus) {
|
1005
1084
|
ESubscriptionStatus["ACTIVE"] = "ACTIVE";
|
@@ -2965,5 +3044,5 @@ class VoucherEntity {
|
|
2965
3044
|
* Generated bundle index. Do not edit.
|
2966
3045
|
*/
|
2967
3046
|
|
2968
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
3047
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
2969
3048
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|