cecon-interfaces 1.1.64 → 1.1.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/clients/entities/client-aplication-credential.entity.d.ts +8 -0
- package/dist/clients/entities/client-aplication-credential.entity.js +23 -0
- package/dist/clients/entities/client-aplication.entity.d.ts +8 -0
- package/dist/clients/entities/client-aplication.entity.js +23 -0
- package/dist/clients/entities/client.entity.d.ts +13 -0
- package/dist/clients/entities/client.entity.js +27 -0
- package/dist/clients/entities/index.d.ts +3 -0
- package/dist/clients/entities/index.js +9 -0
- package/dist/clients/index.d.ts +2 -0
- package/dist/clients/index.js +18 -0
- package/dist/clients/interfaces/i-client-aplication.d.ts +6 -0
- package/dist/clients/interfaces/i-client-aplication.js +2 -0
- package/dist/clients/interfaces/i-client-credential.d.ts +6 -0
- package/dist/clients/interfaces/i-client-credential.js +2 -0
- package/dist/clients/interfaces/i-client.d.ts +12 -0
- package/dist/clients/interfaces/i-client.js +2 -0
- package/dist/clients/interfaces/index.d.ts +3 -0
- package/dist/clients/interfaces/index.js +2 -0
- package/dist/company/entities/company.entity.d.ts +2 -2
- package/dist/company/entities/company.entity.js +1 -1
- package/dist/company/interfaces/i-company.d.ts +2 -2
- package/dist/customer/entities/customer.entity.d.ts +26 -0
- package/dist/customer/entities/customer.entity.js +41 -0
- package/dist/customer/entities/index.d.ts +1 -0
- package/dist/customer/entities/index.js +5 -0
- package/dist/customer/enums/index.d.ts +2 -0
- package/dist/customer/enums/index.js +7 -0
- package/dist/customer/enums/interval.enum.d.ts +5 -0
- package/dist/customer/enums/interval.enum.js +9 -0
- package/dist/customer/enums/status.enum.d.ts +5 -0
- package/dist/customer/enums/status.enum.js +9 -0
- package/dist/customer/index.d.ts +3 -0
- package/dist/customer/index.js +19 -0
- package/dist/customer/interfaces/i-customer.d.ts +24 -0
- package/dist/customer/interfaces/i-customer.js +2 -0
- package/dist/customer/interfaces/index.d.ts +1 -0
- package/dist/customer/interfaces/index.js +2 -0
- package/dist/esm2022/clients/entities/client-aplication-credential.entity.mjs +19 -0
- package/dist/esm2022/clients/entities/client-aplication.entity.mjs +19 -0
- package/dist/esm2022/clients/entities/client.entity.mjs +23 -0
- package/dist/esm2022/clients/entities/index.mjs +4 -0
- package/dist/esm2022/clients/index.mjs +3 -0
- package/dist/esm2022/clients/interfaces/i-client-aplication.mjs +2 -0
- package/dist/esm2022/clients/interfaces/i-client-credential.mjs +2 -0
- package/dist/esm2022/clients/interfaces/i-client.mjs +2 -0
- package/dist/esm2022/clients/interfaces/index.mjs +2 -0
- package/dist/esm2022/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/customer/entities/customer.entity.mjs +37 -0
- package/dist/esm2022/customer/entities/index.mjs +2 -0
- package/dist/esm2022/customer/enums/index.mjs +3 -0
- package/dist/esm2022/customer/enums/interval.enum.mjs +7 -0
- package/dist/esm2022/customer/enums/status.enum.mjs +7 -0
- package/dist/esm2022/customer/index.mjs +4 -0
- package/dist/esm2022/customer/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/customer/interfaces/index.mjs +2 -0
- package/dist/esm2022/general/enums/doc-type.enum.mjs +6 -6
- package/dist/esm2022/general/enums/index.mjs +2 -2
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +3 -3
- package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
- package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +3 -3
- package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
- package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
- package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +119 -11
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/doc-type.enum.d.ts +1 -1
- package/dist/general/enums/doc-type.enum.js +6 -6
- package/dist/general/enums/index.d.ts +1 -1
- package/dist/general/enums/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/invite/entities/invite.entity.d.ts +2 -2
- package/dist/invite/entities/invite.entity.js +1 -1
- package/dist/invite/interfaces/i-invite.d.ts +2 -2
- package/dist/invoice/entities/invoice-payer.entity.d.ts +2 -2
- package/dist/invoice/entities/invoice-payer.entity.js +1 -1
- package/dist/invoice/interfaces/i-invoice-payer.d.ts +2 -2
- package/dist/lead/entities/lead.entity.d.ts +2 -2
- package/dist/lead/entities/lead.entity.js +1 -1
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +2 -2
- package/dist/partner/entities/partner.entity.js +1 -1
- package/dist/partner/interfaces/i-partner.d.ts +2 -2
- package/package.json +1 -1
@@ -0,0 +1,37 @@
|
|
1
|
+
import { AddressEntity, EDocType } from '../../general';
|
2
|
+
import { ECustomerInterval, ECustomerStatus } from '../enums';
|
3
|
+
export class CustomerEntity {
|
4
|
+
// #region Properties (20)
|
5
|
+
address = new AddressEntity();
|
6
|
+
blockedReason = null;
|
7
|
+
createdAt = new Date();
|
8
|
+
deliveryArea = [];
|
9
|
+
deliveryAreaFixed = undefined;
|
10
|
+
doc = '';
|
11
|
+
docType = EDocType.CPF;
|
12
|
+
email = '';
|
13
|
+
fullName = '';
|
14
|
+
id = '';
|
15
|
+
imageUrl = null;
|
16
|
+
interval = ECustomerInterval.MONTHLY;
|
17
|
+
limit = 0;
|
18
|
+
name = '';
|
19
|
+
phoneNumber = '';
|
20
|
+
phoneNumberNotification = null;
|
21
|
+
sandbox = false;
|
22
|
+
status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
23
|
+
tags = [];
|
24
|
+
updatedAt = new Date();
|
25
|
+
// #endregion Properties (20)
|
26
|
+
// #region Constructors (1)
|
27
|
+
constructor(data) {
|
28
|
+
if (data) {
|
29
|
+
for (let key in data) {
|
30
|
+
if (data.hasOwnProperty(key) && key in this) {
|
31
|
+
this[key] = data[key];
|
32
|
+
}
|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IHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjApXHJcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDdXN0b21lckVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { CustomerEntity } from './customer.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY3VzdG9tZXIvZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VzdG9tZXJFbnRpdHkgfSBmcm9tICcuL2N1c3RvbWVyLmVudGl0eSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { ECustomerInterval } from './interval.enum';
|
2
|
+
export { ECustomerStatus } from './status.enum';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY3VzdG9tZXIvZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDcEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEVDdXN0b21lckludGVydmFsIH0gZnJvbSAnLi9pbnRlcnZhbC5lbnVtJztcbmV4cG9ydCB7IEVDdXN0b21lclN0YXR1cyB9IGZyb20gJy4vc3RhdHVzLmVudW0nO1xuIl19
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var ECustomerInterval;
|
2
|
+
(function (ECustomerInterval) {
|
3
|
+
ECustomerInterval["WEEKLY"] = "WEEKLY";
|
4
|
+
ECustomerInterval["BIWEEKLY"] = "BIWEEKLY";
|
5
|
+
ECustomerInterval["MONTHLY"] = "MONTHLY";
|
6
|
+
})(ECustomerInterval || (ECustomerInterval = {}));
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJ2YWwuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jdXN0b21lci9lbnVtcy9pbnRlcnZhbC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGlCQUlYO0FBSkQsV0FBWSxpQkFBaUI7SUFDM0Isc0NBQWlCLENBQUE7SUFDakIsMENBQXFCLENBQUE7SUFDckIsd0NBQW1CLENBQUE7QUFDckIsQ0FBQyxFQUpXLGlCQUFpQixLQUFqQixpQkFBaUIsUUFJNUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFQ3VzdG9tZXJJbnRlcnZhbCB7XG4gIFdFRUtMWSA9ICdXRUVLTFknLFxuICBCSVdFRUtMWSA9ICdCSVdFRUtMWScsXG4gIE1PTlRITFkgPSAnTU9OVEhMWScsXG59XG4iXX0=
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var ECustomerStatus;
|
2
|
+
(function (ECustomerStatus) {
|
3
|
+
ECustomerStatus["BLOCKED"] = "BLOCKED";
|
4
|
+
ECustomerStatus["ACTIVE"] = "ACTIVE";
|
5
|
+
ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
|
6
|
+
})(ECustomerStatus || (ECustomerStatus = {}));
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY3VzdG9tZXIvZW51bXMvc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZUFJWDtBQUpELFdBQVksZUFBZTtJQUN6QixzQ0FBbUIsQ0FBQTtJQUNuQixvQ0FBaUIsQ0FBQTtJQUNqQixzRUFBbUQsQ0FBQTtBQUNyRCxDQUFDLEVBSlcsZUFBZSxLQUFmLGVBQWUsUUFJMUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFQ3VzdG9tZXJTdGF0dXMge1xuICBCTE9DS0VEID0gJ0JMT0NLRUQnLFxuICBBQ1RJVkUgPSAnQUNUSVZFJyxcbiAgV0FJVElOR19DUkVESVRfQU5BTFlTSVMgPSAnV0FJVElOR19DUkVESVRfQU5BTFlTSVMnLFxufVxuIl19
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data: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
5
|
-
})(
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export var EDocType;
|
2
|
+
(function (EDocType) {
|
3
|
+
EDocType["CPF"] = "CPF";
|
4
|
+
EDocType["CNPJ"] = "CNPJ";
|
5
|
+
})(EDocType || (EDocType = {}));
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudW1zL2RvYy10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksUUFHWDtBQUhELFdBQVksUUFBUTtJQUNsQix1QkFBVyxDQUFBO0lBQ1gseUJBQWEsQ0FBQTtBQUNmLENBQUMsRUFIVyxRQUFRLEtBQVIsUUFBUSxRQUduQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVEb2NUeXBlIHtcbiAgQ1BGID0gJ0NQRicsXG4gIENOUEogPSAnQ05QSicsXG59XG4iXX0=
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { EBankSlipStatus } from './bank-slip-status.enum';
|
2
2
|
export { BooleanStringEnum } from './boolean-string.enum';
|
3
|
-
export {
|
3
|
+
export { EDocType } from './doc-type.enum';
|
4
4
|
export { EDiscountType } from './e-discount-type.enum';
|
5
5
|
export { EFiscalDocModelCode } from './fiscal-doc-model-code.enum';
|
6
6
|
export { IntervalTypeEnum } from './interval-type.enum';
|
@@ -14,4 +14,4 @@ export { LegalEntiyEnum } from './person-type.enum';
|
|
14
14
|
export { PlatfomrEnum } from './platform.enum';
|
15
15
|
export { PaymentProviderEnum } from './providers.enum';
|
16
16
|
export { ESponsorshipValues } from './sponsorship-values.enum';
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,ey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GxhdGZvcm0uZW51bSc7XG5leHBvcnQgeyBQYXltZW50UHJvdmlkZXJFbnVtIH0gZnJvbSAnLi9wcm92aWRlcnMuZW51bSc7XG5leHBvcnQgeyBFU3BvbnNvcnNoaXBWYWx1ZXMgfSBmcm9tICcuL3Nwb25zb3JzaGlwLXZhbHVlcy5lbnVtJztcbiJdfQ==
|
package/dist/esm2022/index.mjs
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
export * from './app';
|
2
2
|
export * from './campaign';
|
3
|
+
export * from './clients';
|
3
4
|
export * from './company';
|
4
5
|
export * from './container';
|
6
|
+
export * from './customer';
|
5
7
|
export * from './device';
|
6
8
|
export * from './feature';
|
7
9
|
export * from './general';
|
@@ -23,4 +25,4 @@ export * from './subscription';
|
|
23
25
|
export * from './token';
|
24
26
|
export * from './viacep';
|
25
27
|
export * from './voucher';
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZC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leHBvcnQgKiBmcm9tICcuL3BhcnRuZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wbGFuJztcbmV4cG9ydCAqIGZyb20gJy4vcHVic3ViJztcbmV4cG9ydCAqIGZyb20gJy4vcHVyY2hhc2VzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzdW1lJztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi92aWFjZXAnO1xuZXhwb3J0ICogZnJvbSAnLi92b3VjaGVyJztcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType } from '../../general';
|
2
2
|
import { InviteStatusEnum } from '../enums';
|
3
3
|
export class InviteEntity {
|
4
4
|
// #region Properties (17)
|
@@ -7,7 +7,7 @@ export class InviteEntity {
|
|
7
7
|
containerId = '';
|
8
8
|
createdAt = new Date();
|
9
9
|
doc = '';
|
10
|
-
docType =
|
10
|
+
docType = EDocType.CNPJ;
|
11
11
|
email = '';
|
12
12
|
expireAt = new Date(new Date().getTime() + 86400000);
|
13
13
|
expired = false;
|
@@ -31,4 +31,4 @@ export class InviteEntity {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52aXRlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZpdGUvZW50aXRpZXMvaW52aXRlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUc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b1VybDogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHN0YXR1czogSW52aXRlU3RhdHVzRW51bSA9IEludml0ZVN0YXR1c0VudW0uUEVORElORztcclxuICBwdWJsaWMgdWlkOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNylcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEludml0ZUVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZpdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52aXRlL2ludGVyZmFjZXMvaS1pbnZpdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEb2NUeXBlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEludml0ZVN0YXR1c0VudW0gfSBmcm9tICcuLi9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElJbnZpdGUge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTcpXHJcblxyXG4gIGNvbXBhbnlJZDogc3RyaW5nO1xyXG4gIGNvbXBhbnlOYW1lOiBzdHJpbmc7XHJcbiAgY29udGFpbmVySWQ6IHN0cmluZztcclxuICBjcmVhdGVkQXQ6IERhdGU7XHJcbiAgZG9jOiBzdHJpbmc7XHJcbiAgZG9jVHlwZTogRURvY1R5cGU7XHJcbiAgZW1haWw6IHN0cmluZztcclxuICBleHBpcmVBdDogRGF0ZTtcclxuICBleHBpcmVkOiBib29sZWFuO1xyXG4gIGlkOiBzdHJpbmc7XHJcbiAgaW50ZXJuYXRpb25hbENvZGU6IHN0cmluZztcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgcGhvbmVOdW1iZXI6IHN0cmluZztcclxuICBwaG90b1VybDogc3RyaW5nO1xyXG4gIHN0YXR1czogSW52aXRlU3RhdHVzRW51bTtcclxuICB1aWQ6IHN0cmluZztcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTcpXHJcbn1cclxuIl19
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { AddressEntity,
|
1
|
+
import { AddressEntity, EDocType } from '../../general';
|
2
2
|
export class InvoicePayerEntity {
|
3
3
|
// #region Properties (6)
|
4
4
|
address = new AddressEntity();
|
5
5
|
doc = '';
|
6
|
-
docType =
|
6
|
+
docType = EDocType.CNPJ;
|
7
7
|
email = '';
|
8
8
|
name = '';
|
9
9
|
phoneNumber = null;
|
@@ -19,4 +19,4 @@ export class InvoicePayerEntity {
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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xuZXhwb3J0IGNsYXNzIEludm9pY2VQYXllckVudGl0eSBpbXBsZW1lbnRzIElJbnZvaWNlUGF5ZXIge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDYpXG5cbiAgcHVibGljIGFkZHJlc3M6IEFkZHJlc3NFbnRpdHkgPSBuZXcgQWRkcmVzc0VudGl0eSgpO1xuICBwdWJsaWMgZG9jOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIGRvY1R5cGU6IEVEb2NUeXBlID0gRURvY1R5cGUuQ05QSjtcbiAgcHVibGljIGVtYWlsOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIG5hbWU6IHN0cmluZyA9ICcnO1xuICBwdWJsaWMgcGhvbmVOdW1iZXI6IHN0cmluZyB8IG51bGwgPSBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxJbnZvaWNlUGF5ZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLXBheWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UtcGF5ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEb2NUeXBlLCBJQWRkcmVzcyB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlUGF5ZXIge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDYpXG5cbiAgYWRkcmVzczogSUFkZHJlc3M7XG4gIGRvYzogc3RyaW5nO1xuICBkb2NUeXBlOiBFRG9jVHlwZTtcbiAgZW1haWw6IHN0cmluZztcbiAgbmFtZTogc3RyaW5nO1xuICBwaG9uZU51bWJlcjogc3RyaW5nIHwgbnVsbDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXG59XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType, LeadOriginEnum } from '../../general/enums';
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
export class LeadEntity {
|
4
4
|
// #region Properties (20)
|
@@ -15,7 +15,7 @@ export class LeadEntity {
|
|
15
15
|
/**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
|
16
16
|
doc = '';
|
17
17
|
/**Identificador único do lead. */
|
18
|
-
docType =
|
18
|
+
docType = EDocType.CNPJ;
|
19
19
|
/**Nome completo ou razão social do lead. */
|
20
20
|
email = '';
|
21
21
|
id = '';
|
@@ -50,4 +50,4 @@ export class LeadEntity {
|
|
50
50
|
}
|
51
51
|
}
|
52
52
|
}
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVhZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGVh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AgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuICAvLyBFdGlxdWV0YXMgb3UgY2F0ZWdvcmlhcyBwYXJhIGFqdWRhciBuYSBzZWdtZW50YcOnw6NvIGUgYnVzY2EuXG59XG4iXX0=
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { AddressEntity, PaymentProviderEntity } from '../../general';
|
2
|
-
import {
|
2
|
+
import { EDocType } from '../../general/enums';
|
3
3
|
export class PartnerEntity {
|
4
4
|
// #region Properties (18)
|
5
5
|
active = true;
|
6
6
|
address = new AddressEntity();
|
7
7
|
doc = '';
|
8
|
-
docType =
|
8
|
+
docType = EDocType.CNPJ;
|
9
9
|
email = '';
|
10
10
|
fullName = '';
|
11
11
|
id = '';
|
@@ -32,4 +32,4 @@ export class PartnerEntity {
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
}
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFydG5lci5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcGFydG5lci9lbnRpdGllcy9wYXJ0bmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLHFCQUFxQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUcvQyxNQUFNLE9BQU8sYUFBYTtJQUN4QiwwQkFBMEI7SUFFbkIsTUFBTSxHQUFZLElBQUksQ0FBQztJQUN2QixPQUFPLEdBQWtCLElBQUksYUFBYSxFQUFFLENBQUM7SUFDN0MsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixPQUFPL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V3IERhdGUoKTtcclxuICBwdWJsaWMgdmVyc2lvbjogc3RyaW5nID0gJyc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTgpXHJcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXJ0bmVyRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXJ0bmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3BhcnRuZXIvaW50ZXJmYWNlcy9pLXBhcnRuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElBZGRyZXNzLCBJUGF5bWVudFByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEVEb2NUeXBlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElQYXJ0bmVyIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE4KVxyXG5cclxuICBhY3RpdmU6IGJvb2xlYW47XHJcbiAgYWRkcmVzczogSUFkZHJlc3M7XHJcbiAgZG9jOiBzdHJpbmc7XHJcbiAgZG9jVHlwZTogRURvY1R5cGU7XHJcbiAgZW1haWw6IHN0cmluZztcclxuICBsZXZlbDogbnVtYmVyO1xyXG4gIGZ1bGxOYW1lOiBzdHJpbmc7XHJcbiAgaWQ6IHN0cmluZztcclxuICBpbWFnZVVybD86IHN0cmluZztcclxuICBpbnRlcm5hdGlvbmFsQ29kZTogc3RyaW5nO1xyXG4gIGxvZ29Vcmw/OiBzdHJpbmc7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG4gIHBheW1lbnRQcm92aWRlcjogSVBheW1lbnRQcm92aWRlcjtcclxuICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIHNhbmRib3g6IGJvb2xlYW47XHJcbiAgdGFnczogc3RyaW5nW107XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxOClcclxufVxyXG4iXX0=
|
@@ -536,11 +536,11 @@ var BooleanStringEnum;
|
|
536
536
|
BooleanStringEnum["TRUE"] = "true";
|
537
537
|
})(BooleanStringEnum || (BooleanStringEnum = {}));
|
538
538
|
|
539
|
-
var
|
540
|
-
(function (
|
541
|
-
|
542
|
-
|
543
|
-
})(
|
539
|
+
var EDocType;
|
540
|
+
(function (EDocType) {
|
541
|
+
EDocType["CPF"] = "CPF";
|
542
|
+
EDocType["CNPJ"] = "CNPJ";
|
543
|
+
})(EDocType || (EDocType = {}));
|
544
544
|
|
545
545
|
var EDiscountType;
|
546
546
|
(function (EDiscountType) {
|
@@ -847,6 +847,65 @@ class CampaignEntity {
|
|
847
847
|
}
|
848
848
|
}
|
849
849
|
|
850
|
+
class ClientAplicationCredentialEntity {
|
851
|
+
// #region Properties (4)
|
852
|
+
refreshToken = null;
|
853
|
+
refreshTokenAt = null;
|
854
|
+
secrets = null;
|
855
|
+
token = null;
|
856
|
+
// #endregion Properties (4)
|
857
|
+
// #region Constructors (1)
|
858
|
+
constructor(data) {
|
859
|
+
if (data) {
|
860
|
+
for (let key in data) {
|
861
|
+
if (data.hasOwnProperty(key) && key in this) {
|
862
|
+
this[key] = data[key];
|
863
|
+
}
|
864
|
+
}
|
865
|
+
}
|
866
|
+
}
|
867
|
+
}
|
868
|
+
|
869
|
+
class ClientAplicationEntity {
|
870
|
+
// #region Properties (3)
|
871
|
+
credential = new ClientAplicationCredentialEntity();
|
872
|
+
description = null;
|
873
|
+
name = '';
|
874
|
+
// #endregion Properties (3)
|
875
|
+
// #region Constructors (1)
|
876
|
+
constructor(data) {
|
877
|
+
if (data) {
|
878
|
+
for (let key in data) {
|
879
|
+
if (data.hasOwnProperty(key) && key in this) {
|
880
|
+
this[key] = data[key];
|
881
|
+
}
|
882
|
+
}
|
883
|
+
}
|
884
|
+
}
|
885
|
+
}
|
886
|
+
|
887
|
+
class ClientEntity {
|
888
|
+
// #region Properties (7)
|
889
|
+
address = null;
|
890
|
+
aplications = [];
|
891
|
+
doc = null;
|
892
|
+
docType = EDocType.CPF;
|
893
|
+
email = null;
|
894
|
+
id = '';
|
895
|
+
name = '';
|
896
|
+
// #endregion Properties (7)
|
897
|
+
// #region Constructors (1)
|
898
|
+
constructor(data) {
|
899
|
+
if (data) {
|
900
|
+
for (let key in data) {
|
901
|
+
if (data.hasOwnProperty(key) && key in this) {
|
902
|
+
this[key] = data[key];
|
903
|
+
}
|
904
|
+
}
|
905
|
+
}
|
906
|
+
}
|
907
|
+
}
|
908
|
+
|
850
909
|
class CompanyEntity {
|
851
910
|
// #region Properties (26)
|
852
911
|
active = false;
|
@@ -858,7 +917,7 @@ class CompanyEntity {
|
|
858
917
|
deliveryArea = [];
|
859
918
|
deliveryAreaFixed = null;
|
860
919
|
doc = '';
|
861
|
-
docType =
|
920
|
+
docType = EDocType.CNPJ;
|
862
921
|
email = '';
|
863
922
|
fullName = '';
|
864
923
|
id = '';
|
@@ -925,6 +984,55 @@ class ContainerEntity extends BaseEntity {
|
|
925
984
|
}
|
926
985
|
}
|
927
986
|
|
987
|
+
var ECustomerInterval;
|
988
|
+
(function (ECustomerInterval) {
|
989
|
+
ECustomerInterval["WEEKLY"] = "WEEKLY";
|
990
|
+
ECustomerInterval["BIWEEKLY"] = "BIWEEKLY";
|
991
|
+
ECustomerInterval["MONTHLY"] = "MONTHLY";
|
992
|
+
})(ECustomerInterval || (ECustomerInterval = {}));
|
993
|
+
|
994
|
+
var ECustomerStatus;
|
995
|
+
(function (ECustomerStatus) {
|
996
|
+
ECustomerStatus["BLOCKED"] = "BLOCKED";
|
997
|
+
ECustomerStatus["ACTIVE"] = "ACTIVE";
|
998
|
+
ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
|
999
|
+
})(ECustomerStatus || (ECustomerStatus = {}));
|
1000
|
+
|
1001
|
+
class CustomerEntity {
|
1002
|
+
// #region Properties (20)
|
1003
|
+
address = new AddressEntity();
|
1004
|
+
blockedReason = null;
|
1005
|
+
createdAt = new Date();
|
1006
|
+
deliveryArea = [];
|
1007
|
+
deliveryAreaFixed = undefined;
|
1008
|
+
doc = '';
|
1009
|
+
docType = EDocType.CPF;
|
1010
|
+
email = '';
|
1011
|
+
fullName = '';
|
1012
|
+
id = '';
|
1013
|
+
imageUrl = null;
|
1014
|
+
interval = ECustomerInterval.MONTHLY;
|
1015
|
+
limit = 0;
|
1016
|
+
name = '';
|
1017
|
+
phoneNumber = '';
|
1018
|
+
phoneNumberNotification = null;
|
1019
|
+
sandbox = false;
|
1020
|
+
status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
1021
|
+
tags = [];
|
1022
|
+
updatedAt = new Date();
|
1023
|
+
// #endregion Properties (20)
|
1024
|
+
// #region Constructors (1)
|
1025
|
+
constructor(data) {
|
1026
|
+
if (data) {
|
1027
|
+
for (let key in data) {
|
1028
|
+
if (data.hasOwnProperty(key) && key in this) {
|
1029
|
+
this[key] = data[key];
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
}
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
|
928
1036
|
class DeviceEntity {
|
929
1037
|
// #region Properties (14)
|
930
1038
|
active = false;
|
@@ -1195,7 +1303,7 @@ class InviteEntity {
|
|
1195
1303
|
containerId = '';
|
1196
1304
|
createdAt = new Date();
|
1197
1305
|
doc = '';
|
1198
|
-
docType =
|
1306
|
+
docType = EDocType.CNPJ;
|
1199
1307
|
email = '';
|
1200
1308
|
expireAt = new Date(new Date().getTime() + 86400000);
|
1201
1309
|
expired = false;
|
@@ -1304,7 +1412,7 @@ class InvoicePayerEntity {
|
|
1304
1412
|
// #region Properties (6)
|
1305
1413
|
address = new AddressEntity();
|
1306
1414
|
doc = '';
|
1307
|
-
docType =
|
1415
|
+
docType = EDocType.CNPJ;
|
1308
1416
|
email = '';
|
1309
1417
|
name = '';
|
1310
1418
|
phoneNumber = null;
|
@@ -2062,7 +2170,7 @@ class LeadEntity {
|
|
2062
2170
|
/**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
|
2063
2171
|
doc = '';
|
2064
2172
|
/**Identificador único do lead. */
|
2065
|
-
docType =
|
2173
|
+
docType = EDocType.CNPJ;
|
2066
2174
|
/**Nome completo ou razão social do lead. */
|
2067
2175
|
email = '';
|
2068
2176
|
id = '';
|
@@ -2653,7 +2761,7 @@ class PartnerEntity {
|
|
2653
2761
|
active = true;
|
2654
2762
|
address = new AddressEntity();
|
2655
2763
|
doc = '';
|
2656
|
-
docType =
|
2764
|
+
docType = EDocType.CNPJ;
|
2657
2765
|
email = '';
|
2658
2766
|
fullName = '';
|
2659
2767
|
id = '';
|
@@ -3145,5 +3253,5 @@ class VoucherEntity {
|
|
3145
3253
|
* Generated bundle index. Do not edit.
|
3146
3254
|
*/
|
3147
3255
|
|
3148
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity,
|
3256
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, EDiscountType, EDocType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, 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, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
3149
3257
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|