cecon-interfaces 1.1.17 → 1.1.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +0 -2
- package/dist/company/entities/company.entity.js +0 -1
- package/dist/company/interfaces/i-company.d.ts +4 -5
- package/dist/esm2022/company/entities/company.entity.mjs +1 -2
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/general/entities/index.mjs +7 -1
- package/dist/esm2022/general/entities/payment-card.entity.mjs +18 -0
- package/dist/esm2022/general/entities/payment-cash.entity.mjs +16 -0
- package/dist/esm2022/general/entities/payment-method-option.entity.mjs +31 -0
- package/dist/esm2022/general/entities/payment-method.entity.mjs +14 -18
- package/dist/esm2022/general/entities/payment-pix.entity.mjs +17 -0
- package/dist/esm2022/general/entities/payment-wallet.entity.mjs +16 -0
- package/dist/esm2022/general/entities/payment.entity.mjs +25 -0
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/esm2022/general/interfaces/i-payment-card.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-cash.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-pix.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-wallet.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/partner/entities/partner.entity.mjs +1 -2
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +6 -4
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +124 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/index.d.ts +6 -0
- package/dist/general/entities/index.js +13 -1
- package/dist/general/entities/payment-card.entity.d.ts +7 -0
- package/dist/general/entities/payment-card.entity.js +22 -0
- package/dist/general/entities/payment-cash.entity.d.ts +5 -0
- package/dist/general/entities/payment-cash.entity.js +20 -0
- package/dist/general/entities/payment-method-option.entity.d.ts +20 -0
- package/dist/general/entities/payment-method-option.entity.js +35 -0
- package/dist/general/entities/payment-method.entity.d.ts +17 -16
- package/dist/general/entities/payment-method.entity.js +13 -17
- package/dist/general/entities/payment-pix.entity.d.ts +6 -0
- package/dist/general/entities/payment-pix.entity.js +21 -0
- package/dist/general/entities/payment-wallet.entity.d.ts +5 -0
- package/dist/general/entities/payment-wallet.entity.js +20 -0
- package/dist/general/entities/payment.entity.d.ts +8 -0
- package/dist/general/entities/payment.entity.js +29 -0
- package/dist/general/enums/payment-type.enum.d.ts +2 -1
- package/dist/general/enums/payment-type.enum.js +1 -0
- package/dist/general/interfaces/i-payment-card.d.ts +5 -0
- package/dist/general/interfaces/i-payment-card.js +2 -0
- package/dist/general/interfaces/i-payment-cash.d.ts +3 -0
- package/dist/general/interfaces/i-payment-cash.js +2 -0
- package/dist/general/interfaces/i-payment-method-option.d.ts +18 -0
- package/dist/general/interfaces/i-payment-method-option.js +2 -0
- package/dist/general/interfaces/i-payment-method.d.ts +15 -15
- package/dist/general/interfaces/i-payment-pix.d.ts +4 -0
- package/dist/general/interfaces/i-payment-pix.js +2 -0
- package/dist/general/interfaces/i-payment-wallet.d.ts +3 -0
- package/dist/general/interfaces/i-payment-wallet.js +2 -0
- package/dist/general/interfaces/i-payment.d.ts +6 -0
- package/dist/general/interfaces/i-payment.js +2 -0
- package/dist/general/interfaces/index.d.ts +6 -0
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +1 -2
- package/dist/partner/entities/partner.entity.js +0 -1
- package/dist/partner/interfaces/i-partner.d.ts +1 -2
- package/dist/subscription/entities/subscription.entity.d.ts +3 -1
- package/dist/subscription/entities/subscription.entity.js +4 -2
- package/dist/subscription/interfaces/i-subscription.d.ts +3 -0
- package/package.json +1 -1
@@ -5,7 +5,6 @@ import { DeliveryAreaFixedEntity } from '../../general/entities/dellivery-area-f
|
|
5
5
|
import { MessagerChannelEntity } from '../../general/entities/messager-channel.entity';
|
6
6
|
import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
|
7
7
|
import { OriginEntity } from '../../general/entities/origin.entity';
|
8
|
-
import { PaymentMethodEntity } from '../../general/entities/payment-method.entity';
|
9
8
|
import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
|
10
9
|
import { ICompany } from '../interfaces';
|
11
10
|
export declare class CompanyEntity implements ICompany {
|
@@ -29,7 +28,6 @@ export declare class CompanyEntity implements ICompany {
|
|
29
28
|
name: string;
|
30
29
|
origin: OriginEntity;
|
31
30
|
paymentProvider: PaymentProviderEntity;
|
32
|
-
paymentsMethods: PaymentMethodEntity[];
|
33
31
|
phoneNumber: string;
|
34
32
|
sandbox: boolean;
|
35
33
|
tags: string[];
|
@@ -31,7 +31,6 @@ var CompanyEntity = /** @class */ (function () {
|
|
31
31
|
this.name = '';
|
32
32
|
this.origin = new origin_entity_1.OriginEntity();
|
33
33
|
this.paymentProvider = new payment_provider_entity_1.PaymentProviderEntity();
|
34
|
-
this.paymentsMethods = [];
|
35
34
|
this.phoneNumber = '';
|
36
35
|
this.sandbox = false;
|
37
36
|
this.tags = [];
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { DocTypeEnum, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin,
|
1
|
+
import { DocTypeEnum, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin, IPaymentProvider } from '../../general';
|
2
2
|
export interface ICompany {
|
3
3
|
active: boolean;
|
4
4
|
address: IAddress;
|
5
5
|
bgImageUrl?: string;
|
6
|
+
config: IMobyoApiConfig;
|
6
7
|
containerId: string;
|
7
8
|
createdAt: Date;
|
8
9
|
deliveryArea: IDeliveryArea[];
|
@@ -10,18 +11,16 @@ export interface ICompany {
|
|
10
11
|
doc: string;
|
11
12
|
docType: DocTypeEnum;
|
12
13
|
email: string;
|
14
|
+
fullName: string;
|
13
15
|
id: string;
|
14
16
|
imageUrl?: string;
|
15
|
-
logoUrl?: string;
|
16
17
|
internationalCode: string;
|
18
|
+
logoUrl?: string;
|
17
19
|
messagerChannels: IMessagerChannel[];
|
18
|
-
config: IMobyoApiConfig;
|
19
20
|
name: string;
|
20
21
|
origin: IOrigin;
|
21
22
|
paymentProvider: IPaymentProvider;
|
22
|
-
paymentsMethods: IPaymentMethod[];
|
23
23
|
phoneNumber: string;
|
24
|
-
fullName: string;
|
25
24
|
sandbox: boolean;
|
26
25
|
tags: string[];
|
27
26
|
updatedAt: Date;
|
@@ -25,7 +25,6 @@ export class CompanyEntity {
|
|
25
25
|
name = '';
|
26
26
|
origin = new OriginEntity();
|
27
27
|
paymentProvider = new PaymentProviderEntity();
|
28
|
-
paymentsMethods = [];
|
29
28
|
phoneNumber = '';
|
30
29
|
sandbox = false;
|
31
30
|
tags = [];
|
@@ -43,4 +42,4 @@ export class CompanyEntity {
|
|
43
42
|
}
|
44
43
|
}
|
45
44
|
}
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9jb21wYW55LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUl0RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQztBQUNyRixPQUFPLEVBQUUsWUFBWSxFQ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xuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XHJcbiAgRG9jVHlwZUVudW0sXHJcbiAgSUFkZHJlc3MsXHJcbiAgSURlbGl2ZXJ5QXJlYSxcclxuICBJRGVsaXZlcnlBcmVhRml4ZWQsXHJcbiAgSU1lc3NhZ2VyQ2hhbm5lbCxcclxuICBJTW9ieW9BcGlDb25maWcsXHJcbiAgSU9yaWdpbixcclxuICBJUGF5bWVudFByb3ZpZGVyLFxyXG59IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJQ29tcGFueSB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyNSlcclxuXHJcbiAgYWN0aXZlOiBib29sZWFuO1xyXG4gIGFkZHJlc3M6IElBZGRyZXNzO1xyXG4gIGJnSW1hZ2VVcmw/OiBzdHJpbmc7XHJcbiAgY29uZmlnOiBJTW9ieW9BcGlDb25maWc7XHJcbiAgY29udGFpbmVySWQ6IHN0cmluZztcclxuICBjcmVhdGVkQXQ6IERhdGU7XHJcbiAgZGVsaXZlcnlBcmVhOiBJRGVsaXZlcnlBcmVhW107XHJcbiAgZGVsaXZlcnlBcmVhRml4ZWQ/OiBJRGVsaXZlcnlBcmVhRml4ZWQgfCBudWxsO1xyXG4gIGRvYzogc3RyaW5nO1xyXG4gIGRvY1R5cGU6IERvY1R5cGVFbnVtO1xyXG4gIGVtYWlsOiBzdHJpbmc7XHJcbiAgZnVsbE5hbWU6IHN0cmluZztcclxuICBpZDogc3RyaW5nO1xyXG4gIGltYWdlVXJsPzogc3RyaW5nO1xyXG4gIGludGVybmF0aW9uYWxDb2RlOiBzdHJpbmc7XHJcbiAgbG9nb1VybD86IHN0cmluZztcclxuICBtZXNzYWdlckNoYW5uZWxzOiBJTWVzc2FnZXJDaGFubmVsW107XHJcbiAgbmFtZTogc3RyaW5nO1xyXG4gIG9yaWdpbjogSU9yaWdpbjtcclxuICBwYXltZW50UHJvdmlkZXI6IElQYXltZW50UHJvdmlkZXI7XHJcbiAgcGhvbmVOdW1iZXI6IHN0cmluZztcclxuICBzYW5kYm94OiBib29sZWFuO1xyXG4gIHRhZ3M6IHN0cmluZ1tdO1xyXG4gIHVwZGF0ZWRBdDogRGF0ZTtcclxuICB2ZXJzaW9uOiBzdHJpbmc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjUpXHJcbn1cclxuIl19
|
@@ -8,11 +8,17 @@ export { DeliveryAreaFixedEntity } from './dellivery-area-fixed.entity';
|
|
8
8
|
export { MessagerChannelEntity } from './messager-channel.entity';
|
9
9
|
export { MobyoApiConfigEntity } from './mobyo-apiconfig.entity';
|
10
10
|
export { OriginEntity } from './origin.entity';
|
11
|
+
export { PaymentCardEntity } from './payment-card.entity';
|
12
|
+
export { PaymentCashEntity } from './payment-cash.entity';
|
13
|
+
export { PaymentMethodOptionEntity } from './payment-method-option.entity';
|
11
14
|
export { PaymentMethodEntity } from './payment-method.entity';
|
15
|
+
export { PaymentPixEntity } from './payment-pix.entity';
|
12
16
|
export { PaymentProviderAgentEntity } from './payment-provider-agent.entity';
|
13
17
|
export { PaymentProviderEntity } from './payment-provider.entity';
|
14
18
|
export { PaymentTokenDataEntity } from './payment-token-data.entity';
|
15
19
|
export { PaymentTokenEntity } from './payment-token.entity';
|
20
|
+
export { PaymentWalletEntity } from './payment-wallet.entity';
|
21
|
+
export { PaymentEntity } from './payment.entity';
|
16
22
|
export { RatingEntity } from './rating.entity';
|
17
23
|
export { SponsorshipValueEntity } from './sponsorship-value.entity';
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDaEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDeEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDaEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQz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VudC10b2tlbi1kYXRhLmVudGl0eSc7XG5leHBvcnQgeyBQYXltZW50VG9rZW5FbnRpdHkgfSBmcm9tICcuL3BheW1lbnQtdG9rZW4uZW50aXR5JztcbmV4cG9ydCB7IFBheW1lbnRXYWxsZXRFbnRpdHkgfSBmcm9tICcuL3BheW1lbnQtd2FsbGV0LmVudGl0eSc7XG5leHBvcnQgeyBQYXltZW50RW50aXR5IH0gZnJvbSAnLi9wYXltZW50LmVudGl0eSc7XG5leHBvcnQgeyBSYXRpbmdFbnRpdHkgfSBmcm9tICcuL3JhdGluZy5lbnRpdHknO1xuZXhwb3J0IHsgU3BvbnNvcnNoaXBWYWx1ZUVudGl0eSB9IGZyb20gJy4vc3BvbnNvcnNoaXAtdmFsdWUuZW50aXR5JztcbiJdfQ==
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export class PaymentCardEntity {
|
2
|
+
// #region Properties (3)
|
3
|
+
brand = '';
|
4
|
+
maskedNumber = '';
|
5
|
+
tokenId = '';
|
6
|
+
// #endregion Properties (3)
|
7
|
+
// #region Constructors (1)
|
8
|
+
constructor(data) {
|
9
|
+
if (data) {
|
10
|
+
for (let key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1jYXJkLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3BheW1lbnQtY2FyZC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlCQUFpQjtJQUM1Qix5QkFBeUI7SUFFbEIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixZQUFZLEdBQVc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gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export class PaymentCashEntity {
|
2
|
+
// #region Properties (1)
|
3
|
+
changeFor = 0;
|
4
|
+
// #endregion Properties (1)
|
5
|
+
// #region Constructors (1)
|
6
|
+
constructor(data) {
|
7
|
+
if (data) {
|
8
|
+
for (let key in data) {
|
9
|
+
if (data.hasOwnProperty(key) && key in this) {
|
10
|
+
this[key] = data[key];
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1jYXNoLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3BheW1lbnQtY2FzaC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlCQUFpQjtJQUM1Qix5QkFBeUI7SUFFbEIsU0FBUyxHQUFXLENBQUMsQ0FBQztJQUU3Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBaUM7UUFDM0MsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQYXltZW50Q2FzaCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xuXG5leHBvcnQgY2xhc3MgUGF5bWVudENhc2hFbnRpdHkgaW1wbGVtZW50cyBJUGF5bWVudENhc2gge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEpXG5cbiAgcHVibGljIGNoYW5nZUZvcjogbnVtYmVyID0gMDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UGF5bWVudENhc2hFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { PaymentChannelEnum } from '../enums/payment-channel.enum';
|
2
|
+
import { PaymentModeEnum } from '../enums/payment-mode.enum';
|
3
|
+
import { PaymentTypeEnum } from '../enums/payment-type.enum';
|
4
|
+
export class PaymentMethodOptionEntity {
|
5
|
+
// #region Properties (13)
|
6
|
+
active = false;
|
7
|
+
channel = PaymentChannelEnum.AUTOMATION;
|
8
|
+
createdAt = new Date();
|
9
|
+
fee = 0;
|
10
|
+
id = '';
|
11
|
+
index = 0;
|
12
|
+
maxAmount = 0;
|
13
|
+
minAmount = 0;
|
14
|
+
mode = PaymentModeEnum.MANUAL;
|
15
|
+
name = '';
|
16
|
+
token = '';
|
17
|
+
type = PaymentTypeEnum.CREDIT_CARD;
|
18
|
+
updatedAt = new Date();
|
19
|
+
// #endregion Properties (13)
|
20
|
+
// #region Constructors (1)
|
21
|
+
constructor(data) {
|
22
|
+
if (data) {
|
23
|
+
for (let key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2Qtb3B0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3BheW1lbnQtbWV0aG9kLW9wdGlvbi5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbkUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUc3RCxNQUFNLE9BQU8seUJBQXlCO0lBQ3BDLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3hCLE9BQU8sR0FBdUIsa0JBQWtCLENBQUMsVUFBVSxDQUFDO0lBQzVELFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLEdBQUcsR0FBVyxDQUFDLENBQUM7SUFDaEIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixLQUFLLEdBQVcsQ0FBQyxDQUFDO0lBQ2xCLFNBQVMsR0FBVyxDQUFDLENBQUM7SUFDdEIsU0FBUyxHQUFXLENBQUMsQ0FBQztJQUN0QixJQUFJLEd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nVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,22 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
import { PaymentModeEnum } from '../enums/payment-mode.enum';
|
3
|
-
import { PaymentTypeEnum } from '../enums/payment-type.enum';
|
1
|
+
import { PaymentTypeEnum } from '..';
|
4
2
|
export class PaymentMethodEntity {
|
5
|
-
// #region Properties (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
// #region Properties (11)
|
4
|
+
card = null;
|
5
|
+
cash = null;
|
6
|
+
code = '';
|
7
|
+
currency = 'BRL';
|
10
8
|
id = '';
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
updatedAt = new Date();
|
19
|
-
// #endregion Properties (13)
|
9
|
+
method = PaymentTypeEnum.CASH;
|
10
|
+
pix = null;
|
11
|
+
prepaid = false;
|
12
|
+
type = 'OFFLINE';
|
13
|
+
value = 0;
|
14
|
+
wallet = null;
|
15
|
+
// #endregion Properties (11)
|
20
16
|
// #region Constructors (1)
|
21
17
|
constructor(data) {
|
22
18
|
if (data) {
|
@@ -28,4 +24,4 @@ export class PaymentMethodEntity {
|
|
28
24
|
}
|
29
25
|
}
|
30
26
|
}
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvcGF5bWVudC1tZXRob2QuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxJQUFJLENBQUM7QUFPckMsTUFBTSxPQUFPLG1CQUFtQjtJQUM5QiwwQkFBMEI7SUFFMUIsSUFBSSxHQUE4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kgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class PaymentPixEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
pixKey = '';
|
4
|
+
urlQrImage = '';
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1waXguZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvcGF5bWVudC1waXguZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxnQkFBZ0I7SUFDM0IseUJBQXlCO0lBRWxCLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFDcEIsVUFBVSxHQUFXLEVBQUUsQ0FBQztJQUUvQiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBZ0M7UUFDMUMsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQYXltZW50UGl4IH0gZnJvbSAnLi4vaW50ZXJmYWNlcyc7XG5cbmV4cG9ydCBjbGFzcyBQYXltZW50UGl4RW50aXR5IGltcGxlbWVudHMgSVBheW1lbnRQaXgge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgcHVibGljIHBpeEtleTogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyB1cmxRckltYWdlOiBzdHJpbmcgPSAnJztcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UGF5bWVudFBpeEVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export class PaymentWalletEntity {
|
2
|
+
// #region Properties (1)
|
3
|
+
name = '';
|
4
|
+
// #endregion Properties (1)
|
5
|
+
// #region Constructors (1)
|
6
|
+
constructor(data) {
|
7
|
+
if (data) {
|
8
|
+
for (let key in data) {
|
9
|
+
if (data.hasOwnProperty(key) && key in this) {
|
10
|
+
this[key] = data[key];
|
11
|
+
}
|
12
|
+
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0YT86IFBhcnRpYWw8UGF5bWVudFdhbGxldEVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { PaymentMethodEntity } from './payment-method.entity';
|
2
|
+
export class PaymentEntity {
|
3
|
+
// #region Properties (3)
|
4
|
+
methods = [];
|
5
|
+
pending = 0;
|
6
|
+
prepaid = 0;
|
7
|
+
// #endregion Properties (3)
|
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
|
+
if (data.methods) {
|
17
|
+
this.methods = data.methods.map((method) => new PaymentMethodEntity(method));
|
18
|
+
}
|
19
|
+
else {
|
20
|
+
this.methods = [];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9wYXltZW50LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUU5RCxNQUFNLE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udGl0eVtdID0gW107XG4gIHB1YmxpYyBwZW5kaW5nOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgcHJlcGFpZDogbnVtYmVyID0gMDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UGF5bWVudEVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgaWYgKGRhdGEubWV0aG9kcykge1xuICAgICAgICB0aGlzLm1ldGhvZHMgPSBkYXRhLm1ldGhvZHMubWFwKChtZXRob2QpID0+IG5ldyBQYXltZW50TWV0aG9kRW50aXR5KG1ldGhvZCkpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5tZXRob2RzID0gW107XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -18,5 +18,6 @@ export var PaymentTypeEnum;
|
|
18
18
|
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
19
19
|
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
20
20
|
PaymentTypeEnum["BILLING"] = "BILLING";
|
21
|
+
PaymentTypeEnum["BANK_SLIP"] = "BANK_SLIP";
|
21
22
|
})(PaymentTypeEnum || (PaymentTypeEnum = {}));
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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ceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LWNhc2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcGF5bWVudC1jYXNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElQYXltZW50Q2FzaCB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxKVxyXG5cclxuICBjaGFuZ2VGb3I6IE51bWJlcjtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC1vcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcGF5bWVudC1tZXRob2Qtb3B0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQYXltZW50Q2hhbm5lbEVudW0gfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LWNoYW5uZWwuZW51bSc7XG5pbXBvcnQgeyBQYXltZW50TW9kZUVudW0gfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LW1vZGUuZW51bSc7XG5pbXBvcnQgeyBQYXltZW50VHlwZUVudW0gfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LXR5cGUuZW51bSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRNZXRob2RPcHRpb24ge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxuXG4gIGFjdGl2ZTogYm9vbGVhbjtcbiAgY2hhbm5lbDogUGF5bWVudENoYW5uZWxFbnVtO1xuICBjcmVhdGVkQXQ6IERhdGU7XG4gIGZlZTogbnVtYmVyO1xuICBpZDogc3RyaW5nO1xuICBpbmRleDogbnVtYmVyO1xuICBtYXhBbW91bnQ6IG51bWJlcjtcbiAgbWluQW1vdW50OiBudW1iZXI7XG4gIG1vZGU6IFBheW1lbnRNb2RlRW51bTtcbiAgbmFtZTogc3RyaW5nO1xuICB0b2tlbjogc3RyaW5nO1xuICB0eXBlOiBQYXltZW50VHlwZUVudW07XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2ludGVyZmFjZXMvaS1wYXltZW50LW1ldGhvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGF5bWVudFR5cGVFbnVtIH0gZnJvbSAnLi4nO1xyXG5pbXBvcnQgeyBJUGF5bWVudENhcmQgfSBmcm9tICcuL2ktcGF5bWVudC1jYXJkJztcclxuaW1wb3J0IHsgSVBheW1lbnRDYXNoIH0gZnJvbSAnLi9pLXBheW1lbnQtY2FzaCc7XHJcbmltcG9ydCB7IElQYXltZW50UGl4IH0gZnJvbSAnLi9pLXBheW1lbnQtcGl4JztcclxuaW1wb3J0IHsgSVBheW1lbnRXYWxsZXQgfSBmcm9tICcuL2ktcGF5bWVudC13YWxsZXQn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
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LXdhbGxldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2ludGVyZmFjZXMvaS1wYXltZW50LXdhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUGF5bWVudFdhbGxldCB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxKVxyXG5cclxuICBuYW1lOiBzdHJpbmc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMSlcclxufVxyXG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLXBheW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQYXltZW50TWV0aG9kIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElQYXltZW50IHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDMpXHJcblxyXG4gIG1ldGhvZHM6IElQYXltZW50TWV0aG9kW107XHJcbiAgcGVuZGluZzogbnVtYmVyO1xyXG4gIHByZXBhaWQ6IG51bWJlcjtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgzKVxyXG59XHJcbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
1
|
// index.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AnLi9pLXBheW1lbnQtY2FyZCc7XG5leHBvcnQgeyBJUGF5bWVudENhc2ggfSBmcm9tICcuL2ktcGF5bWVudC1jYXNoJztcbmV4cG9ydCB7IElQYXltZW50TWV0aG9kIH0gZnJvbSAnLi9pLXBheW1lbnQtbWV0aG9kJztcbmV4cG9ydCB7IElQYXltZW50TWV0aG9kT3B0aW9uIH0gZnJvbSAnLi9pLXBheW1lbnQtbWV0aG9kLW9wdGlvbic7XG5leHBvcnQgeyBJUGF5bWVudFBpeCB9IGZyb20gJy4vaS1wYXltZW50LXBpeCc7XG5leHBvcnQgeyBJUGF5bWVudFByb3ZpZGVyIH0gZnJvbSAnLi9pLXBheW1lbnQtcHJvdmlkZXInO1xuZXhwb3J0IHsgSVBheW1lbnRQcm92aWRlckFnZW50IH0gZnJvbSAnLi9pLXBheW1lbnQtcHJvdmlkZXItYWdlbnQnO1xuZXhwb3J0IHsgSVBheW1lbnRUb2tlbiB9IGZyb20gJy4vaS1wYXltZW50LXRva2VuJztcbmV4cG9ydCB7IElQYXltZW50VG9rZW5EYXRhIH0gZnJvbSAnLi9pLXBheW1lbnQtdG9rZW4tZGF0YSc7XG5leHBvcnQgeyBJUGF5bWVudFdhbGxldCB9IGZyb20gJy4vaS1wYXltZW50LXdhbGxldCc7XG5leHBvcnQgeyBJUmF0aW5nIH0gZnJvbSAnLi9pLXJhdGluZyc7XG5leHBvcnQgeyBJU3BvbnNvcnNoaXBWYWx1ZSB9IGZyb20gJy4vaS1zcG9uc29yc2hpcC12YWx1ZSc7XG4iXX0=
|
@@ -14,7 +14,6 @@ export class PartnerEntity {
|
|
14
14
|
logoUrl = '';
|
15
15
|
name = '';
|
16
16
|
paymentProvider = new PaymentProviderEntity();
|
17
|
-
paymentsMethods = [];
|
18
17
|
phoneNumber = '';
|
19
18
|
sandbox = false;
|
20
19
|
tags = [];
|
@@ -32,4 +31,4 @@ export class PartnerEntity {
|
|
32
31
|
}
|
33
32
|
}
|
34
33
|
}
|
35
|
-
//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|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXJ0bmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3BhcnRuZXIvaW50ZXJmYWNlcy9pLXBhcnRuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElBZGRyZXNzLCBJUGF5bWVudFByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IERvY1R5cGVFbnVtIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElQYXJ0bmVyIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE4KVxyXG5cclxuICBhY3RpdmU6IGJvb2xlYW47XHJcbiAgYWRkcmVzczogSUFkZHJlc3M7XHJcbiAgZG9jOiBzdHJpbmc7XHJcbiAgZG9jVHlwZTogRG9jVHlwZUVudW07XHJcbiAgZW1haWw6IHN0cmluZztcclxuICBmdWxsTmFtZTogc3RyaW5nO1xyXG4gIGlkOiBzdHJpbmc7XHJcbiAgaW1hZ2VVcmw/OiBzdHJpbmc7XHJcbiAgaW50ZXJuYXRpb25hbENvZGU6IHN0cmluZztcclxuICBsb2dvVXJsPzogc3RyaW5nO1xyXG4gIG5hbWU6IHN0cmluZztcclxuICBwYXltZW50UHJvdmlkZXI6IElQYXltZW50UHJvdmlkZXI7XHJcbiAgcGhvbmVOdW1iZXI6IHN0cmluZztcclxuICBzYW5kYm94OiBib29sZWFuO1xyXG4gIHRhZ3M6IHN0cmluZ1tdO1xyXG4gIHVwZGF0ZWRBdDogRGF0ZTtcclxuICB2ZXJzaW9uOiBzdHJpbmc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTgpXHJcbn1cclxuIl19
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { IntervalTypeEnum } from '../../general';
|
1
|
+
import { IntervalTypeEnum, PaymentEntity } from '../../general';
|
2
2
|
import { SubscriptionStatusEnum } from '../enums';
|
3
3
|
import { SubscriptionCompanyEntity } from './subscription-company.entity';
|
4
4
|
export class SubscriptionEntity {
|
5
|
-
// #region Properties (
|
5
|
+
// #region Properties (27)
|
6
6
|
amount = 0;
|
7
7
|
appId = '';
|
8
|
+
appName = '';
|
8
9
|
cancellationReason = '';
|
9
10
|
company = new SubscriptionCompanyEntity();
|
10
11
|
createdAt = new Date();
|
@@ -28,7 +29,8 @@ export class SubscriptionEntity {
|
|
28
29
|
status = SubscriptionStatusEnum.PENDING;
|
29
30
|
tags = [];
|
30
31
|
updatedAt = new Date();
|
31
|
-
|
32
|
+
payment = new PaymentEntity();
|
33
|
+
// #endregion Properties (27)
|
32
34
|
// #region Constructors (1)
|
33
35
|
constructor(data) {
|
34
36
|
if (data) {
|
@@ -40,4 +42,4 @@ export class SubscriptionEntity {
|
|
40
42
|
}
|
41
43
|
}
|
42
44
|
}
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXdCLGdCQUFnQixFQUFFLGFBQWEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV0RixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFFbEQsT0FBTyxFQUFFLHlC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ICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBJQ3VzdG9tVmFyaWFibGUsIEludGVydmFsVHlwZUVudW0gfSBmcm9tICcuLi8uLi9nZW5lcmFsJztcbmltcG9ydCB7IElQYXltZW50IH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcGF5bWVudCc7XG5pbXBvcnQgeyBJSW52b2ljZSB9IGZyb20gJy4uLy4uL2ludm9pY2UnO1xuaW1wb3J0IHsgU3Vic2NyaXB0aW9uU3RhdHVzRW51bSB9IGZyb20gJy4uL2VudW1zJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25Db21wYW55IH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1jb21wYW55JztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25JdGVtIH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1pdGVtJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25Mb2cgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWxvZyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVN1YnNjcmlwdGlvbiB7XG4gIC8vICNyZ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