cecon-interfaces 1.1.64 → 1.1.66
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-credential.d.ts +6 -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 +4 -1
- package/dist/esm2022/installation/entities/installation.entity.mjs +2 -2
- package/dist/esm2022/installation/interfaces/i-installation.mjs +1 -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/esm2022/pubsub/entities/subscription-change-status.entity.mjs +1 -1
- package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +1 -1
- package/dist/esm2022/subscription/entities/index.mjs +1 -3
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +6 -30
- package/dist/esm2022/subscription/index.mjs +1 -2
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/esm2022/subscription/interfaces/index.mjs +1 -1
- package/dist/esm2022/subscription-base/entities/index.mjs +5 -0
- package/dist/esm2022/subscription-base/entities/subscription-base-customer.entity.mjs +21 -0
- package/dist/esm2022/subscription-base/entities/subscription-base-item.entity.mjs +21 -0
- package/dist/esm2022/subscription-base/entities/subscription-base-log.entity.mjs +19 -0
- package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +43 -0
- package/dist/esm2022/subscription-base/enums/index.mjs +2 -0
- package/dist/esm2022/subscription-base/enums/subscription-status.enum.mjs +12 -0
- package/dist/esm2022/subscription-base/index.mjs +4 -0
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base-customer.mjs +2 -0
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base-item.mjs +2 -0
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base-log.mjs +2 -0
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +2 -0
- package/dist/esm2022/subscription-base/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +224 -78
- 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 +3 -0
- package/dist/index.js +3 -0
- package/dist/installation/entities/installation.entity.d.ts +1 -1
- package/dist/installation/entities/installation.entity.js +2 -2
- package/dist/installation/interfaces/i-installation.d.ts +1 -1
- 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/dist/pubsub/entities/subscription-change-status.entity.d.ts +1 -1
- package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +1 -1
- package/dist/subscription/entities/index.d.ts +0 -2
- package/dist/subscription/entities/index.js +1 -5
- package/dist/subscription/entities/subscription.entity.d.ts +2 -30
- package/dist/subscription/entities/subscription.entity.js +32 -39
- package/dist/subscription/index.d.ts +0 -1
- package/dist/subscription/index.js +0 -1
- package/dist/subscription/interfaces/i-subscription.d.ts +2 -31
- package/dist/subscription/interfaces/index.d.ts +0 -2
- package/dist/subscription-base/entities/index.d.ts +4 -0
- package/dist/subscription-base/entities/index.js +11 -0
- package/dist/subscription-base/entities/subscription-base-customer.entity.d.ts +10 -0
- package/dist/subscription-base/entities/subscription-base-customer.entity.js +25 -0
- package/dist/subscription-base/entities/subscription-base-item.entity.d.ts +10 -0
- package/dist/{subscription/entities/subscription-item.entity.js → subscription-base/entities/subscription-base-item.entity.js} +5 -5
- package/dist/subscription-base/entities/subscription-base-log.entity.d.ts +8 -0
- package/dist/{subscription/entities/subscription-log.entity.js → subscription-base/entities/subscription-base-log.entity.js} +8 -8
- package/dist/subscription-base/entities/subscription-base.entity.d.ts +36 -0
- package/dist/subscription-base/entities/subscription-base.entity.js +47 -0
- package/dist/subscription-base/index.d.ts +3 -0
- package/dist/subscription-base/index.js +19 -0
- package/dist/subscription-base/interfaces/i-subscription-base-customer.d.ts +8 -0
- package/dist/subscription-base/interfaces/i-subscription-base-customer.js +2 -0
- package/dist/{subscription/interfaces/i-subscription-item.d.ts → subscription-base/interfaces/i-subscription-base-item.d.ts} +1 -1
- package/dist/subscription-base/interfaces/i-subscription-base-item.js +2 -0
- package/dist/{subscription/interfaces/i-subscription-log.d.ts → subscription-base/interfaces/i-subscription-base-log.d.ts} +1 -1
- package/dist/subscription-base/interfaces/i-subscription-base-log.js +2 -0
- package/dist/subscription-base/interfaces/i-subscription-base.d.ts +32 -0
- package/dist/subscription-base/interfaces/i-subscription-base.js +2 -0
- package/dist/subscription-base/interfaces/index.d.ts +4 -0
- package/dist/subscription-base/interfaces/index.js +2 -0
- package/package.json +1 -1
- package/dist/esm2022/subscription/entities/subscription-item.entity.mjs +0 -21
- package/dist/esm2022/subscription/entities/subscription-log.entity.mjs +0 -19
- package/dist/esm2022/subscription/enums/index.mjs +0 -2
- package/dist/esm2022/subscription/enums/subscription-status.enum.mjs +0 -12
- package/dist/esm2022/subscription/interfaces/i-subscription-item.mjs +0 -2
- package/dist/esm2022/subscription/interfaces/i-subscription-log.mjs +0 -2
- package/dist/subscription/entities/subscription-item.entity.d.ts +0 -10
- package/dist/subscription/entities/subscription-log.entity.d.ts +0 -8
- /package/dist/{subscription/interfaces/i-subscription-item.js → clients/interfaces/i-client-aplication.js} +0 -0
- /package/dist/{subscription/interfaces/i-subscription-log.js → clients/interfaces/i-client-credential.js} +0 -0
- /package/dist/{subscription → subscription-base}/enums/index.d.ts +0 -0
- /package/dist/{subscription → subscription-base}/enums/index.js +0 -0
- /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.d.ts +0 -0
- /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.js +0 -0
@@ -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
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2N1c3RvbWVyL2VudGl0aWVzL2N1c3RvbWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUErQyxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDckcsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGVBQWUsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUc5RCxNQUFNLE9BQU8sY0FBYztJQUN6QiwwQkFBMEI7SUFFbkIsT0FBTyxHQUFrQixJQUFJLGFBQWEsRUFBRSxDQUFDO0lBQzdDLGFBQWEsR0FBa0IsSUFBSSxDQUFDO0lBQ3BDLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFlBQVksR0FBeUIsRUFBRSxDQUFDO0lBQy9DLGlCQUFpQixHQUFnRCxTQUFTLENBQUM7SUFDcEUsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUN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YW1lOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgcGhvbmVOdW1iZXI6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBwaG9uZU51bWJlck5vdGlmaWNhdGlvbjogc3RyaW5nIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIHNhbmRib3g6IGJvb2xlYW4gPSBmYWxzZTtcclxuICBwdWJsaWMgc3RhdHVzOiBFQ3VzdG9tZXJTdGF0dXMgPSBFQ3VzdG9tZXJTdGF0dXMuV0FJVElOR19DUkVESVRfQU5BTFlTSVM7XHJcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XHJcbiAgcHVibGljIHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjApXHJcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDdXN0b21lckVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -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:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY3VzdG9tZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vZW51bXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcblxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jdXN0b21lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jdXN0b21lci9pbnRlcmZhY2VzL2ktY3VzdG9tZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEb2NUeXBlLCBJQWRkcmVzcywgSURlbGl2Z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|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY3VzdG9tZXIvaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSUN1c3RvbWVyIH0gZnJvbSAnLi9pLWN1c3RvbWVyJztcbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export var
|
2
|
-
(function (
|
3
|
-
|
4
|
-
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDMUQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUNuQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM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cGF5bWVudC1jaGFubmVsLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudE1vZGVFbnVtIH0gZnJvbSAnLi9wYXltZW50LW1vZGUuZW51bSc7XG5leHBvcnQgeyBQYXltZW50U3RhdHVzRW51bSB9IGZyb20gJy4vcGF5bWVudC1zdGF0dXMuZW51bSc7XG5leHBvcnQgeyBFUGF5bWVudFR5cGUgfSBmcm9tICcuL3BheW1lbnQtdHlwZS5lbnVtJztcbmV4cG9ydCB7IExlZ2FsRW50aXlFbnVtIH0gZnJvbSAnLi9wZXJzb24tdHlwZS5lbnVtJztcbmV4cG9ydCB7IFBsYXRmb21yRW51bSB9IGZyb20gJy4vcGxhdGZvcm0uZW51bSc7XG5leHBvcnQgeyBQYXltZW50UHJvdmlkZXJFbnVtIH0gZnJvbSAnLi9wcm92aWRlcnMuZW51bSc7XG5leHBvcnQgeyBFU3BvbnNvcnNoaXBWYWx1ZXMgfSBmcm9tICcuL3Nwb25zb3JzaGlwLXZhbHVlcy5lbnVtJztcbiJdfQ==
|
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';
|
@@ -20,7 +22,8 @@ export * from './pubsub';
|
|
20
22
|
export * from './purchases';
|
21
23
|
export * from './resume';
|
22
24
|
export * from './subscription';
|
25
|
+
export * from './subscription-base';
|
23
26
|
export * from './token';
|
24
27
|
export * from './viacep';
|
25
28
|
export * from './voucher';
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZ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vY3VzdG9tZXInO1xuZXhwb3J0ICogZnJvbSAnLi9kZXZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9mZWF0dXJlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2VuZXJhbCc7XG5leHBvcnQgKiBmcm9tICcuL2dsb2JhbC1zZXR0aW5ncyc7XG5leHBvcnQgKiBmcm9tICcuL2luc3RhbGxhdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2ludml0ZSc7XG5leHBvcnQgKiBmcm9tICcuL2ludm9pY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9pdWd1JztcbmV4cG9ydCAqIGZyb20gJy4vbGVhZCc7XG5leHBvcnQgKiBmcm9tICcuL21lbWJlcic7XG5leHBvcnQgKiBmcm9tICcuL25vdGlmaWNhdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL29yZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vcGFydG5lcic7XG5leHBvcnQgKiBmcm9tICcuL3BsYW4nO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJzdWInO1xuZXhwb3J0ICogZnJvbSAnLi9wdXJjaGFzZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXN1bWUnO1xuZXhwb3J0ICogZnJvbSAnLi9zdWJzY3JpcHRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9zdWJzY3JpcHRpb24tYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3Rva2VuJztcbmV4cG9ydCAqIGZyb20gJy4vdmlhY2VwJztcbmV4cG9ydCAqIGZyb20gJy4vdm91Y2hlcic7XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ESubscriptionStatus } from '../../subscription
|
1
|
+
import { ESubscriptionStatus } from '../../subscription-base';
|
2
2
|
import { InstallationAppEntity } from './installation-app.entity';
|
3
3
|
export class InstallationEntity {
|
4
4
|
// #region Properties (13)
|
@@ -27,4 +27,4 @@ export class InstallationEntity {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
}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5nID0gJyc7XG4gIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBsYXN0Q2hlY2tBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG4gIHB1YmxpYyBzdGF0dXM6IEVTdWJzY3JpcHRpb25TdGF0dXMgPSBFU3Vic2NyaXB0aW9uU3RhdHVzLlBMQUNFRDtcbiAgcHVibGljIHN1YnNjcmlwdGlvbklkOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyB0cmlhbEVuZERhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdHJpYWxTdGFydERhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEluc3RhbGxhdGlvbkVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YWxsYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW5zdGFsbGF0aW9uL2ludGVyZmFjZXMvaS1pbnN0YWxsYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwcENvbmZpZ1R5cGUgfSBmcm9tICcuLi8uLi9hcHAnO1xuaW1wb3J0IHsgRVN1YnNjcmlwdGlvblN0YXR1cyB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElJbnN0YWxsYXRpb25BcHAgfSBmcm9tICcuL2ktaW5zdGFsbGF0aW9uLWFwcCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUluc3RhbGxhdGlvbiB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTMpXG5cbiAgYXBwOiBJSW5zdGFsbGF0aW9uQXBwO1xuICBjcmVhdGVkQXQ6IERhdGU7XG4gIGN1c3RvbUNvbmZpZzogQXBwQ29uZmlnVHlwZTtcbiAgZXhwaXJhdGlvbkRhdGU6IERhdGU7XG4gIGZlYXR1cmVJZDogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBsYXN0Q2hlY2tBdDogRGF0ZTtcbiAgc3RhdHVzOiBFU3Vic2NyaXB0aW9uU3RhdHVzO1xuICBzdWJzY3JpcHRpb25JZDogc3RyaW5nO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgdHJpYWxFbmREYXRlOiBEYXRlO1xuICB0cmlhbFN0YXJ0RGF0ZTogRGF0ZTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTMpXG59XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52aXRlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZpdGUvZW50aXRpZXMvaW52aXRlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUc1QyxNQUFNLE9BQU8sWUFBWTtJQUN2QiwwQkFBMEI7SUFFbkIsU0FBUyxHQUFXLEVBQUUsQ0FBQztJQUN2QixXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ3pCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixPQUFPLEdBQWEsUUFBUSxDQUFDLElBQUksQ0FBQztJQUNsQyxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFFBQVEsR0FBUyxJQUFJLElBQUksQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDLE9BQU8sRUFBRSxHQUFHLFFBQVEsQ0FBQyxDQUFDO0lBQzNELE9BQU8sR0FBWSxLQUFLLENBQUM7SUF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zT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1wYXllci5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLXBheWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd4RCxNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLHlCQUF5QjtJQUVsQixPQUFPLEdBQWtCLElBQUksYUFBYSxFQUFFLENBQUM7SUFDN0MsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixPQUFPLEdBQWEsUUFBUSxDQUFDLElBQUksQ0FBQztJQUNsQyxLQUFLLEdBQVcsRUFBRSxDQ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ilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxJbnZvaWNlUGF5ZXJFbnRpdHk+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVhZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGVhZC9lbnRpdGllcy9sZWFkLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLGNBQWMsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFHMUMsTUFBTSxPQUFPLFVBQVU7SUFDckIsMEJBQTBCO0lBRTFCLGtEQUFrRDtJQUNsRCxRQUFRLEdBQWMsRUFBRSxDQUFDO0lBQ3pCLGlEQUFpRDtJQUMxQyxlQUFlLEdBQWEsRUFBRSxDQUFDO0lBQ3RDLG9DQUFvQztJQUM3QixlQUFlLEdBQWEsRUFBRSxDQUFDO0lBQ3RDLHFEQUFxRDtJQUNyRCxVQUFVLEdBQVksRUFBRSxDQUFDO0lBQ3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RpbW8gY29udGF0by4gICovXG4gIHB1YmxpYyBzdGF0dXM6IExlYWRTdGF0dXNFbnVtID0gTGVhZFN0YXR1c0VudW0uTkVXO1xuICAvKipJRCBkbyBjb2xhYm9yYWRvciByZXNwb25zw6F2ZWwgcGVsbyBsZWFkLiAgKi9cbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjApXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8TGVhZEVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuICAvLyBFdGlxdWV0YXMgb3UgY2F0ZWdvcmlhcyBwYXJhIGFqdWRhciBuYSBzZWdtZW50YcOnw6NvIGUgYnVzY2EuXG59XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFydG5lci5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcGFydG5lci9lbnRpdGllcy9wYXJ0bmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLHFCQUFxQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUcvQyxNQUFNLE9BQU8sYUFBYTtJQUN4QiwwQkFBMEI7SUFFbkIsTUFBTSxHQUFZLElBQUksQ0FBQztJQUN2QixPQUFPLEdBQWtCLElBQUksYUFBYSxFQUFFLENBQUM7SUFDN0MsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixPQUFPLEdBQWEsUUFBUSxDQUFDLElBQUksQ0FBQztJQUNsQyxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFFBQVEsR0FBVyxFQUFFLENBQUM7SUFDdEIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixRQUFRLEdBQVksRUFBRSxDQUFDO0lBQ3ZCLGlCQUFpQixHQUFXLEVBQUUsQ0FBQztJQUMvQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLE9BQU8sR0FBWSxFQUFFLENBQUM7SUFDdEIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixlQUFlLEdBQTBCLElBQUkscUJBQXFCLEVBQUUsQ0FBQztJQUNyRSxXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ3pCLE9BQU8sR0FBWSxLQUFLLENBQUM7SUFDekIsSUFBSSxHQUF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AgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXJ0bmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3BhcnRuZXIvaW50ZXJmYWNlcy9pLXBhcnRuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElBZGRyZXNzLCBJUGF5bWVudFByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEVEb2NUeXBlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElQYXJ0bmVyIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE4KVxyXG5cclxuICBhY3RpdmU6IGJvb2xlYW47XHJcbiAgYWRkcmVzczogSUFkZHJlc3M7XHJcbiAgZG9jOiBzdHJpbmc7XHJcbiAgZG9jVHlwZTogRURvY1R5cGU7XHJcbiAgZW1haWw6IHN0cmluZztcclxuICBsZXZlbDogbnVtYmVyO1xyXG4gIGZ1bGxOYW1lOiBzdHJpbmc7XHJcbiAgaWQ6IHN0cmluZztcclxuICBpbWFnZVVybD86IHN0cmluZztcclxuICBpbnRlcm5hdGlvbmFsQ29kZTogc3RyaW5nO1xyXG4gIGxvZ29Vcmw/OiBzdHJpbmc7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG4gIHBheW1lbnRQcm92aWRlcjogSVBheW1lbnRQcm92aWRlcjtcclxuICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIHNhbmRib3g6IGJvb2xlYW47XHJcbiAgdGFnczogc3RyaW5nW107XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxOClcclxufVxyXG4iXX0=
|
@@ -16,4 +16,4 @@ export class PubsubSubscriptionChangeStatusEntity {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWNoYW5nZS1zdGF0dXMuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3B1YnN1Yi9lbnRpdGllcy9zdWJzY3JpcHRpb24tY2hhbmdlLXN0YXR1cy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsTUFBTSxPQUFPLG9DQUFvQztJQUMvQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUErQixJQUFJLENBQUM7SUFDL0MsWUFBWSxHQUErQixJQUFJLENBQUM7SUFDaEQsY0FBYyxHQUFXLEVBQUUsQ0FBQztJQUM1QixTQUFTLEdBQTRCLElBQUksQ0FBQztJQUVqRCw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBb0Q7UUFDOUQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJ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9uIFByb3BlcnRpZXMgKDQpXG59XG4iXX0=
|
@@ -1,5 +1,3 @@
|
|
1
1
|
export { SubscriptionCompanyEntity } from './subscription-company.entity';
|
2
|
-
export { SubscriptionItemEntity } from './subscription-item.entity';
|
3
|
-
export { SubscriptionLogEntity } from './subscription-log.entity';
|
4
2
|
export { SubscriptionEntity } from './subscription.entity';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uQ29tcGFueUVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWNvbXBhbnkuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLmVudGl0eSc7XG4iXX0=
|
@@ -1,42 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
import { ESubscriptionStatus } from '../enums';
|
1
|
+
import { SubscriptionBaseEntity } from '../../subscription-base/entities/subscription-base.entity';
|
3
2
|
import { SubscriptionCompanyEntity } from './subscription-company.entity';
|
4
|
-
export class SubscriptionEntity {
|
5
|
-
// #region Properties (
|
6
|
-
amount = 0;
|
3
|
+
export class SubscriptionEntity extends SubscriptionBaseEntity {
|
4
|
+
// #region Properties (7)
|
7
5
|
appId = '';
|
8
6
|
appName = '';
|
9
|
-
cancellationReason = '';
|
10
7
|
company = new SubscriptionCompanyEntity();
|
11
|
-
createdAt = new Date();
|
12
|
-
customVariables = [];
|
13
|
-
cycledAt = new Date();
|
14
|
-
expiresAt = new Date();
|
15
8
|
features = [];
|
16
|
-
id = '';
|
17
|
-
interval = 0;
|
18
|
-
intervalType = IntervalTypeEnum.MONTHS;
|
19
|
-
invoices = [];
|
20
|
-
items = [];
|
21
|
-
logs = [];
|
22
|
-
notes = '';
|
23
9
|
partnerId = '';
|
24
|
-
payment = new PaymentEntity();
|
25
|
-
paymentType = EPaymentType.NONE;
|
26
|
-
phoneNumberNotification = '';
|
27
10
|
planId = '';
|
28
11
|
planName = '';
|
29
|
-
|
30
|
-
renewPaymentDate = new Date();
|
31
|
-
renovatedAt = new Date();
|
32
|
-
startsAt = new Date();
|
33
|
-
status = ESubscriptionStatus.PENDING;
|
34
|
-
suspendedTimes = 0;
|
35
|
-
tags = [];
|
36
|
-
updatedAt = new Date();
|
37
|
-
// #endregion Properties (31)
|
12
|
+
// #endregion Properties (7)
|
38
13
|
// #region Constructors (1)
|
39
14
|
constructor(data) {
|
15
|
+
super(data);
|
40
16
|
if (data) {
|
41
17
|
for (let key in data) {
|
42
18
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -46,4 +22,4 @@ export class SubscriptionEntity {
|
|
46
22
|
}
|
47
23
|
}
|
48
24
|
}
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwyREFBMkQsQ0FBQztBQUVuRyxP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lbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export * from './entities';
|
2
|
-
export * from './enums';
|
3
2
|
export * from './interfaces';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQmFzZSB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24tYmFzZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQ29tcGFueSB9IGZyb20gJy4vaS1zdWJzY3JpcHRpb24tY29tcGFueSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVN1YnNjcmlwdGlvbiBleHRlbmRzIElTdWJzY3JpcHRpb25CYXNlIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgzMClcblxuICBhcHBJZDogc3RyaW5nO1xuICBhcHBOYW1lOiBzdHJpbmc7XG4gIGNvbXBhbnk6IElTdWJzY3JpcHRpb25Db21wYW55O1xuICBmZWF0dXJlczogSUZlYXR1cmVbXTtcbiAgcGFydG5lcklkOiBzdHJpbmcgfCBudWxsO1xuICBwbGFuSWQ6IHN0cmluZztcbiAgcGxhbk5hbWU6IHN0cmluZztcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMwKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElTdWJzY3JpcHRpb24gfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25Db21wYW55IH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1jb21wYW55JztcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { SubscriptionBaseCustomerEntity } from './subscription-base-customer.entity';
|
2
|
+
export { SubscriptionBaseItemEntity } from './subscription-base-item.entity';
|
3
|
+
export { SubscriptionBaseLogEntity } from './subscription-base-log.entity';
|
4
|
+
export { SubscriptionBaseEntity } from './subscription-base.entity';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWJhc2UvZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDN0UsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDM0UsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBTdWJzY3JpcHRpb25CYXNlQ3VzdG9tZXJFbnRpdHkgfSBmcm9tICcuL3N1YnNjcmlwdGlvbi1iYXNlLWN1c3RvbWVyLmVudGl0eSc7XG5leHBvcnQgeyBTdWJzY3JpcHRpb25CYXNlSXRlbUVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWJhc2UtaXRlbS5lbnRpdHknO1xuZXhwb3J0IHsgU3Vic2NyaXB0aW9uQmFzZUxvZ0VudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWJhc2UtbG9nLmVudGl0eSc7XG5leHBvcnQgeyBTdWJzY3JpcHRpb25CYXNlRW50aXR5IH0gZnJvbSAnLi9zdWJzY3JpcHRpb24tYmFzZS5lbnRpdHknO1xuIl19
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export class SubscriptionBaseCustomerEntity {
|
2
|
+
// #region Properties (6)
|
3
|
+
doc = '';
|
4
|
+
docType = '';
|
5
|
+
id = '';
|
6
|
+
imageUrl = '';
|
7
|
+
name = '';
|
8
|
+
uid = '';
|
9
|
+
// #endregion Properties (6)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWJhc2UtY3VzdG9tZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi1iYXNlL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1iYXNlLWN1c3RvbWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sOEJBQThCO0lBQ3pDLHlCQUF5QjtJQUVsQixHQUFHLEdBQWtCLEVBQUUsQ0FBQztJQUN4QixPQUFPLEdBQWtCLEVBQUUsQ0FBQztJQUM1QixFQUFFLEdBQWtCLEVBQUUsQ0FBQztJQUN2QixRQUFRLEdBQWtCLEVBQUUsQ0FBQztJQUM3QixJQUFJLEdBQWtCLEVBQUUsQ0FBQztJQUN6QixHQUFHLEdBQWtCLEVBQUUsQ0FBQztJQUUvQiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBOEM7UUFDeEQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250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ionBaseItemEntity {
|
2
|
+
// #region Properties (6)
|
3
|
+
description = '';
|
4
|
+
quantity = 1;
|
5
|
+
recurrent = true;
|
6
|
+
totalPrice = 0;
|
7
|
+
unitPrice = 0;
|
8
|
+
voucherKey = null;
|
9
|
+
// #endregion Properties (6)
|
10
|
+
// #region Constructors (1)
|
11
|
+
constructor(data) {
|
12
|
+
if (data) {
|
13
|
+
for (let key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWJhc2UtaXRlbS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWJhc2UvZW50aXRpZXMvc3Vic2NyaXB0aW9uLWJhc2UtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLDBCQUEwQjtJQUNyQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLFNBQVMsR0FBWSxJQUFJLENBQUM7SUFDMUIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLFVBQVUsR0FBa0IsSUFBSSxDQUFDO0lBRXhDLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUEwQztRQUNwRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQU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NlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export class SubscriptionBaseLogEntity {
|
2
|
+
// #region Properties (4)
|
3
|
+
createdAt = new Date();
|
4
|
+
description = '';
|
5
|
+
id = '';
|
6
|
+
notes = '';
|
7
|
+
// #endregion Properties (4)
|
8
|
+
// #region Constructors (1)
|
9
|
+
constructor(data) {
|
10
|
+
if (data) {
|
11
|
+
for (let key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWJhc2UtbG9nLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tYmFzZS9lbnRpdGllcy9zdWJzY3JpcHRpb24tYmFzZS1sb2cuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyx5QkFBeUI7SUFDcEMseUJBQXlCO0lBRWxCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBRTFCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUF5QztRQUNuRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSU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