cecon-interfaces 1.1.88 → 1.1.91
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +2 -1
- package/dist/app/entities/app.entity.js +4 -3
- package/dist/app/interfaces/i-app.d.ts +1 -0
- package/dist/customer/entities/customer.entity.d.ts +3 -1
- package/dist/customer/entities/customer.entity.js +4 -3
- package/dist/customer/interfaces/i-customer.d.ts +2 -0
- package/dist/esm2022/app/entities/app.entity.mjs +5 -4
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/customer/entities/customer.entity.mjs +5 -4
- package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
- package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +2 -1
- package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +9 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/subscription.entity.d.ts +2 -0
- package/dist/subscription-customer/entities/subscription.entity.js +1 -0
- package/dist/subscription-customer/interfaces/i-subscription.d.ts +2 -0
- package/package.json +1 -1
@@ -23,8 +23,8 @@ export declare class AppEntity implements IApp {
|
|
23
23
|
headerType: EAppHeaderType;
|
24
24
|
headerVideo: string;
|
25
25
|
iconUrl: string;
|
26
|
-
production: boolean;
|
27
26
|
id: string;
|
27
|
+
instanceNumberAllowed: number;
|
28
28
|
/**
|
29
29
|
* Intervalo de tempo para o preço
|
30
30
|
* @example
|
@@ -48,6 +48,7 @@ export declare class AppEntity implements IApp {
|
|
48
48
|
os: EOs[];
|
49
49
|
platforms: EPlatform[];
|
50
50
|
price: number;
|
51
|
+
production: boolean;
|
51
52
|
ratings: RatingEntity[];
|
52
53
|
tags: string[];
|
53
54
|
totalInstalls: number;
|
@@ -6,10 +6,10 @@ var app_type_enum_1 = require("../enums/app-type.enum");
|
|
6
6
|
var header_type_enum_1 = require("../enums/header-type.enum");
|
7
7
|
var mode_enum_1 = require("../enums/mode.enum");
|
8
8
|
var AppEntity = /** @class */ (function () {
|
9
|
-
// #endregion Properties (
|
9
|
+
// #endregion Properties (30)
|
10
10
|
// #region Constructors (1)
|
11
11
|
function AppEntity(data) {
|
12
|
-
// #region Properties (
|
12
|
+
// #region Properties (30)
|
13
13
|
this.active = false;
|
14
14
|
this.activeInstalls = 0;
|
15
15
|
/**
|
@@ -26,8 +26,8 @@ var AppEntity = /** @class */ (function () {
|
|
26
26
|
this.headerType = header_type_enum_1.EAppHeaderType.IMAGE;
|
27
27
|
this.headerVideo = '';
|
28
28
|
this.iconUrl = '';
|
29
|
-
this.production = false;
|
30
29
|
this.id = '';
|
30
|
+
this.instanceNumberAllowed = 1;
|
31
31
|
/**
|
32
32
|
* Intervalo de tempo para o preço
|
33
33
|
* @example
|
@@ -51,6 +51,7 @@ var AppEntity = /** @class */ (function () {
|
|
51
51
|
this.os = [];
|
52
52
|
this.platforms = [];
|
53
53
|
this.price = 0;
|
54
|
+
this.production = false;
|
54
55
|
this.ratings = [];
|
55
56
|
this.tags = [];
|
56
57
|
this.totalInstalls = 0;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AddressEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, EDocType, PaymentProviderEntity } from '../../general';
|
2
|
+
import { ISubscriptionCustomer } from '../../subscription-customer';
|
2
3
|
import { ECustomerInterval, ECustomerStatus, ECustomerType } from '../enums';
|
3
4
|
import { ICustomer } from '../interfaces';
|
4
5
|
export declare class CustomerEntity implements ICustomer {
|
@@ -11,16 +12,17 @@ export declare class CustomerEntity implements ICustomer {
|
|
11
12
|
docType: EDocType;
|
12
13
|
email: string;
|
13
14
|
fullName: string;
|
14
|
-
paymentProvider: PaymentProviderEntity;
|
15
15
|
id: string;
|
16
16
|
imageUrl: string | null;
|
17
17
|
interval: ECustomerInterval;
|
18
18
|
limit: number;
|
19
19
|
name: string;
|
20
|
+
paymentProvider: PaymentProviderEntity;
|
20
21
|
phoneNumber: string;
|
21
22
|
phoneNumberNotification: string | null;
|
22
23
|
sandbox: boolean;
|
23
24
|
status: ECustomerStatus;
|
25
|
+
subscription: ISubscriptionCustomer | null;
|
24
26
|
tags: string[];
|
25
27
|
type: ECustomerType;
|
26
28
|
updatedAt: Date;
|
@@ -4,10 +4,10 @@ exports.CustomerEntity = void 0;
|
|
4
4
|
var general_1 = require("../../general");
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var CustomerEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (23)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function CustomerEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (23)
|
11
11
|
this.address = new general_1.AddressEntity();
|
12
12
|
this.blockedReason = null;
|
13
13
|
this.createdAt = new Date();
|
@@ -17,16 +17,17 @@ var CustomerEntity = /** @class */ (function () {
|
|
17
17
|
this.docType = general_1.EDocType.CPF;
|
18
18
|
this.email = '';
|
19
19
|
this.fullName = '';
|
20
|
-
this.paymentProvider = new general_1.PaymentProviderEntity();
|
21
20
|
this.id = '';
|
22
21
|
this.imageUrl = null;
|
23
22
|
this.interval = enums_1.ECustomerInterval.MONTHLY;
|
24
23
|
this.limit = 0;
|
25
24
|
this.name = '';
|
25
|
+
this.paymentProvider = new general_1.PaymentProviderEntity();
|
26
26
|
this.phoneNumber = '';
|
27
27
|
this.phoneNumberNotification = null;
|
28
28
|
this.sandbox = false;
|
29
29
|
this.status = enums_1.ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
30
|
+
this.subscription = null;
|
30
31
|
this.tags = [];
|
31
32
|
this.type = enums_1.ECustomerType.SINGLE;
|
32
33
|
this.updatedAt = new Date();
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { EDocType, IAddress, IDeliveryArea, IDeliveryAreaFixed, IPaymentProvider } from '../../general';
|
2
|
+
import { ISubscriptionCustomer } from '../../subscription-customer';
|
2
3
|
import { ECustomerInterval, ECustomerStatus, ECustomerType } from '../enums';
|
3
4
|
export interface ICustomer {
|
4
5
|
address: IAddress;
|
@@ -20,6 +21,7 @@ export interface ICustomer {
|
|
20
21
|
phoneNumber: string;
|
21
22
|
phoneNumberNotification: string | null;
|
22
23
|
sandbox: boolean;
|
24
|
+
subscription: ISubscriptionCustomer | null;
|
23
25
|
status: ECustomerStatus;
|
24
26
|
tags: string[];
|
25
27
|
updatedAt: Date;
|
@@ -3,7 +3,7 @@ import { EAppType } from '../enums/app-type.enum';
|
|
3
3
|
import { EAppHeaderType } from '../enums/header-type.enum';
|
4
4
|
import { EAppMode } from '../enums/mode.enum';
|
5
5
|
export class AppEntity {
|
6
|
-
// #region Properties (
|
6
|
+
// #region Properties (30)
|
7
7
|
active = false;
|
8
8
|
activeInstalls = 0;
|
9
9
|
/**
|
@@ -20,8 +20,8 @@ export class AppEntity {
|
|
20
20
|
headerType = EAppHeaderType.IMAGE;
|
21
21
|
headerVideo = '';
|
22
22
|
iconUrl = '';
|
23
|
-
production = false;
|
24
23
|
id = '';
|
24
|
+
instanceNumberAllowed = 1;
|
25
25
|
/**
|
26
26
|
* Intervalo de tempo para o preço
|
27
27
|
* @example
|
@@ -45,6 +45,7 @@ export class AppEntity {
|
|
45
45
|
os = [];
|
46
46
|
platforms = [];
|
47
47
|
price = 0;
|
48
|
+
production = false;
|
48
49
|
ratings = [];
|
49
50
|
tags = [];
|
50
51
|
totalInstalls = 0;
|
@@ -52,7 +53,7 @@ export class AppEntity {
|
|
52
53
|
type = EAppType.FREE;
|
53
54
|
versionCode = 1;
|
54
55
|
versionName = '';
|
55
|
-
// #endregion Properties (
|
56
|
+
// #endregion Properties (30)
|
56
57
|
// #region Constructors (1)
|
57
58
|
constructor(data) {
|
58
59
|
if (data) {
|
@@ -64,4 +65,4 @@ export class AppEntity {
|
|
64
65
|
}
|
65
66
|
}
|
66
67
|
}
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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vcm1zOiBFUGxhdGZvcm1bXSA9IFtdO1xuICBwdWJsaWMgcHJpY2U6IG51bWJlciA9IDA7XG4gIHB1YmxpYyBwcm9kdWN0aW9uOiBib29sZWFuID0gZmFsc2U7XG4gIHB1YmxpYyByYXRpbmdzOiBSYXRpbmdFbnRpdHlbXSA9IFtdO1xuICBwdWJsaWMgdGFnczogc3RyaW5nW10gPSBbXTtcbiAgcHVibGljIHRvdGFsSW5zdGFsbHM6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB0cmlhbFRpbWUgPSAwO1xuICBwdWJsaWMgdHlwZTogRUFwcFR5cGUgPSBFQXBwVHlwZS5GUkVFO1xuICBwdWJsaWMgdmVyc2lvbkNvZGU6IG51bWJlciA9IDE7XG4gIHB1YmxpYyB2ZXJzaW9uTmFtZTogc3RyaW5nID0gJyc7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgzMClcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxBcHBFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hcHAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8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O1xuICB2ZXJzaW9uTmFtZTogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjkpXG59XG4iXX0=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AddressEntity, EDocType, PaymentProviderEntity } from '../../general';
|
2
2
|
import { ECustomerInterval, ECustomerStatus, ECustomerType } from '../enums';
|
3
3
|
export class CustomerEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (23)
|
5
5
|
address = new AddressEntity();
|
6
6
|
blockedReason = null;
|
7
7
|
createdAt = new Date();
|
@@ -11,20 +11,21 @@ export class CustomerEntity {
|
|
11
11
|
docType = EDocType.CPF;
|
12
12
|
email = '';
|
13
13
|
fullName = '';
|
14
|
-
paymentProvider = new PaymentProviderEntity();
|
15
14
|
id = '';
|
16
15
|
imageUrl = null;
|
17
16
|
interval = ECustomerInterval.MONTHLY;
|
18
17
|
limit = 0;
|
19
18
|
name = '';
|
19
|
+
paymentProvider = new PaymentProviderEntity();
|
20
20
|
phoneNumber = '';
|
21
21
|
phoneNumberNotification = null;
|
22
22
|
sandbox = false;
|
23
23
|
status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
24
|
+
subscription = null;
|
24
25
|
tags = [];
|
25
26
|
type = ECustomerType.SINGLE;
|
26
27
|
updatedAt = new Date();
|
27
|
-
// #endregion Properties (
|
28
|
+
// #endregion Properties (23)
|
28
29
|
// #region Constructors (1)
|
29
30
|
constructor(data) {
|
30
31
|
if (data) {
|
@@ -36,4 +37,4 @@ export class CustomerEntity {
|
|
36
37
|
}
|
37
38
|
}
|
38
39
|
}
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2N1c3RvbWVyL2VudGl0aWVzL2N1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sbCA9IG51bGw7XHJcbiAgcHVibGljIHNhbmRib3g6IGJvb2xlYW4gPSBmYWxzZTtcclxuICBwdWJsaWMgc3RhdHVzOiBFQ3VzdG9tZXJTdGF0dXMgPSBFQ3VzdG9tZXJTdGF0dXMuV0FJVElOR19DUkVESVRfQU5BTFlTSVM7XHJcbiAgcHVibGljIHN1YnNjcmlwdGlvbjogSVN1YnNjcmlwdGlvbkN1c3RvbWVyIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XHJcbiAgcHVibGljIHR5cGU6IEVDdXN0b21lclR5cGUgPSBFQ3VzdG9tZXJUeXBlLlNJTkdMRTtcclxuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyMylcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEN1c3RvbWVyRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jdXN0b21lci5q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DdXN0b21lckludGVydmFsO1xyXG4gIHBheW1lbnRQcm92aWRlcjogSVBheW1lbnRQcm92aWRlcjtcclxuICBsaW1pdDogbnVtYmVyO1xyXG4gIG5hbWU6IHN0cmluZztcclxuICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIHBob25lTnVtYmVyTm90aWZpY2F0aW9uOiBzdHJpbmcgfCBudWxsO1xyXG4gIHNhbmRib3g6IGJvb2xlYW47XHJcbiAgc3Vic2NyaXB0aW9uOiBJU3Vic2NyaXB0aW9uQ3VzdG9tZXIgfCBudWxsO1xyXG4gIHN0YXR1czogRUN1c3RvbWVyU3RhdHVzO1xyXG4gIHRhZ3M6IHN0cmluZ1tdO1xyXG4gIHVwZGF0ZWRBdDogRGF0ZTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxOSlcclxufVxyXG4iXX0=
|
@@ -5,6 +5,7 @@ export class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
|
5
5
|
amountUsed = 0;
|
6
6
|
creditLimit = 0;
|
7
7
|
currentBalance = 0;
|
8
|
+
openedInvoices = [];
|
8
9
|
profile = new SubscriptionCustomerProfileEntity();
|
9
10
|
// #endregion Properties (4)
|
10
11
|
// #region Constructors (1)
|
@@ -19,4 +20,4 @@ export class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
|
19
20
|
}
|
20
21
|
}
|
21
22
|
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQU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==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnZvaWNlIH0gZnJvbSAnLi4vLi4vaW52b2ljZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQmFzZSB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25DdXN0b21lclByb2ZpbGUgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcblxuZXhwb3J0IGludGVyZmFjZSBJU3Vic2NyaXB0aW9uQ3VzdG9tZXIgZXh0ZW5kcyBJU3Vic2NyaXB0aW9uQmFzZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMSlcblxuICBwcm9maWxlOiBJU3Vic2NyaXB0aW9uQ3VzdG9tZXJQcm9maWxlO1xuICBjcmVkaXRMaW1pdDogbnVtYmVyO1xuICBhbW91bnRVc2VkOiBudW1iZXI7XG4gIGN1cnJlbnRCYWxhbmNlOiBudW1iZXI7XG4gIG9wZW5lZEludm9pY2VzOiBJSW52b2ljZVtdO1xuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEpXG59XG4iXX0=
|
@@ -665,7 +665,7 @@ var EAppMode;
|
|
665
665
|
})(EAppMode || (EAppMode = {}));
|
666
666
|
|
667
667
|
class AppEntity {
|
668
|
-
// #region Properties (
|
668
|
+
// #region Properties (30)
|
669
669
|
active = false;
|
670
670
|
activeInstalls = 0;
|
671
671
|
/**
|
@@ -682,8 +682,8 @@ class AppEntity {
|
|
682
682
|
headerType = EAppHeaderType.IMAGE;
|
683
683
|
headerVideo = '';
|
684
684
|
iconUrl = '';
|
685
|
-
production = false;
|
686
685
|
id = '';
|
686
|
+
instanceNumberAllowed = 1;
|
687
687
|
/**
|
688
688
|
* Intervalo de tempo para o preço
|
689
689
|
* @example
|
@@ -707,6 +707,7 @@ class AppEntity {
|
|
707
707
|
os = [];
|
708
708
|
platforms = [];
|
709
709
|
price = 0;
|
710
|
+
production = false;
|
710
711
|
ratings = [];
|
711
712
|
tags = [];
|
712
713
|
totalInstalls = 0;
|
@@ -714,7 +715,7 @@ class AppEntity {
|
|
714
715
|
type = EAppType.FREE;
|
715
716
|
versionCode = 1;
|
716
717
|
versionName = '';
|
717
|
-
// #endregion Properties (
|
718
|
+
// #endregion Properties (30)
|
718
719
|
// #region Constructors (1)
|
719
720
|
constructor(data) {
|
720
721
|
if (data) {
|
@@ -1528,7 +1529,7 @@ var ECustomerType;
|
|
1528
1529
|
})(ECustomerType || (ECustomerType = {}));
|
1529
1530
|
|
1530
1531
|
class CustomerEntity {
|
1531
|
-
// #region Properties (
|
1532
|
+
// #region Properties (23)
|
1532
1533
|
address = new AddressEntity();
|
1533
1534
|
blockedReason = null;
|
1534
1535
|
createdAt = new Date();
|
@@ -1538,20 +1539,21 @@ class CustomerEntity {
|
|
1538
1539
|
docType = EDocType.CPF;
|
1539
1540
|
email = '';
|
1540
1541
|
fullName = '';
|
1541
|
-
paymentProvider = new PaymentProviderEntity();
|
1542
1542
|
id = '';
|
1543
1543
|
imageUrl = null;
|
1544
1544
|
interval = ECustomerInterval.MONTHLY;
|
1545
1545
|
limit = 0;
|
1546
1546
|
name = '';
|
1547
|
+
paymentProvider = new PaymentProviderEntity();
|
1547
1548
|
phoneNumber = '';
|
1548
1549
|
phoneNumberNotification = null;
|
1549
1550
|
sandbox = false;
|
1550
1551
|
status = ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
1552
|
+
subscription = null;
|
1551
1553
|
tags = [];
|
1552
1554
|
type = ECustomerType.SINGLE;
|
1553
1555
|
updatedAt = new Date();
|
1554
|
-
// #endregion Properties (
|
1556
|
+
// #endregion Properties (23)
|
1555
1557
|
// #region Constructors (1)
|
1556
1558
|
constructor(data) {
|
1557
1559
|
if (data) {
|
@@ -3496,6 +3498,7 @@ class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
|
3496
3498
|
amountUsed = 0;
|
3497
3499
|
creditLimit = 0;
|
3498
3500
|
currentBalance = 0;
|
3501
|
+
openedInvoices = [];
|
3499
3502
|
profile = new SubscriptionCustomerProfileEntity();
|
3500
3503
|
// #endregion Properties (4)
|
3501
3504
|
// #region Constructors (1)
|