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
@@ -1,15 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
3
|
+
exports.SubscriptionBaseLogEntity = void 0;
|
4
|
+
var SubscriptionBaseLogEntity = /** @class */ (function () {
|
5
5
|
// #endregion Properties (4)
|
6
6
|
// #region Constructors (1)
|
7
|
-
function
|
7
|
+
function SubscriptionBaseLogEntity(data) {
|
8
8
|
// #region Properties (4)
|
9
9
|
this.createdAt = new Date();
|
10
|
-
this.description =
|
11
|
-
this.id =
|
12
|
-
this.notes =
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.notes = '';
|
13
13
|
if (data) {
|
14
14
|
for (var key in data) {
|
15
15
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -18,6 +18,6 @@ var SubscriptionLogEntity = /** @class */ (function () {
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
}
|
21
|
-
return
|
21
|
+
return SubscriptionBaseLogEntity;
|
22
22
|
}());
|
23
|
-
exports.
|
23
|
+
exports.SubscriptionBaseLogEntity = SubscriptionBaseLogEntity;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { FeatureEntity } from '../../feature';
|
2
|
+
import { CustomVariableEntity, EPaymentType, IntervalTypeEnum, PaymentEntity } from '../../general';
|
3
|
+
import { InvoiceEntity } from '../../invoice';
|
4
|
+
import { ESubscriptionStatus } from '../enums';
|
5
|
+
import { ISubscriptionBase } from '../interfaces/i-subscription-base';
|
6
|
+
import { SubscriptionBaseCustomerEntity } from './subscription-base-customer.entity';
|
7
|
+
import { SubscriptionBaseItemEntity } from './subscription-base-item.entity';
|
8
|
+
import { SubscriptionBaseLogEntity } from './subscription-base-log.entity';
|
9
|
+
export declare class SubscriptionBaseEntity implements ISubscriptionBase {
|
10
|
+
amount: number;
|
11
|
+
cancellationReason: string;
|
12
|
+
createdAt: Date;
|
13
|
+
customVariables: CustomVariableEntity[];
|
14
|
+
customer: SubscriptionBaseCustomerEntity;
|
15
|
+
expiresAt: Date;
|
16
|
+
features: FeatureEntity[];
|
17
|
+
id: string;
|
18
|
+
interval: number;
|
19
|
+
intervalType: IntervalTypeEnum;
|
20
|
+
invoices: InvoiceEntity[];
|
21
|
+
items: SubscriptionBaseItemEntity[];
|
22
|
+
logs: SubscriptionBaseLogEntity[];
|
23
|
+
notes: string;
|
24
|
+
payment: PaymentEntity;
|
25
|
+
paymentType: EPaymentType;
|
26
|
+
phoneNumberNotification: string;
|
27
|
+
recentInvoices: InvoiceEntity[];
|
28
|
+
renewPaymentDate: Date;
|
29
|
+
renovatedAt: Date;
|
30
|
+
startsAt: Date;
|
31
|
+
status: ESubscriptionStatus;
|
32
|
+
suspendedTimes: number;
|
33
|
+
tags: string[];
|
34
|
+
updatedAt: Date;
|
35
|
+
constructor(data?: Partial<SubscriptionBaseEntity>);
|
36
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SubscriptionBaseEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var subscription_base_customer_entity_1 = require("./subscription-base-customer.entity");
|
7
|
+
var SubscriptionBaseEntity = /** @class */ (function () {
|
8
|
+
// #endregion Properties (25)
|
9
|
+
// #region Constructors (1)
|
10
|
+
function SubscriptionBaseEntity(data) {
|
11
|
+
// #region Properties (25)
|
12
|
+
this.amount = 0;
|
13
|
+
this.cancellationReason = '';
|
14
|
+
this.createdAt = new Date();
|
15
|
+
this.customVariables = [];
|
16
|
+
this.customer = new subscription_base_customer_entity_1.SubscriptionBaseCustomerEntity();
|
17
|
+
this.expiresAt = new Date();
|
18
|
+
this.features = [];
|
19
|
+
this.id = '';
|
20
|
+
this.interval = 0;
|
21
|
+
this.intervalType = general_1.IntervalTypeEnum.MONTHS;
|
22
|
+
this.invoices = [];
|
23
|
+
this.items = [];
|
24
|
+
this.logs = [];
|
25
|
+
this.notes = '';
|
26
|
+
this.payment = new general_1.PaymentEntity();
|
27
|
+
this.paymentType = general_1.EPaymentType.NONE;
|
28
|
+
this.phoneNumberNotification = '';
|
29
|
+
this.recentInvoices = [];
|
30
|
+
this.renewPaymentDate = new Date();
|
31
|
+
this.renovatedAt = new Date();
|
32
|
+
this.startsAt = new Date();
|
33
|
+
this.status = enums_1.ESubscriptionStatus.PENDING;
|
34
|
+
this.suspendedTimes = 0;
|
35
|
+
this.tags = [];
|
36
|
+
this.updatedAt = new Date();
|
37
|
+
if (data) {
|
38
|
+
for (var key in data) {
|
39
|
+
if (data.hasOwnProperty(key) && key in this) {
|
40
|
+
this[key] = data[key];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
return SubscriptionBaseEntity;
|
46
|
+
}());
|
47
|
+
exports.SubscriptionBaseEntity = SubscriptionBaseEntity;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { EPaymentType, ICustomVariable, IPayment, IntervalTypeEnum } from '../../general';
|
2
|
+
import { IInvoice } from '../../invoice';
|
3
|
+
import { ESubscriptionStatus } from '../enums';
|
4
|
+
import { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
|
5
|
+
import { ISubscriptionBaseItem } from './i-subscription-base-item';
|
6
|
+
import { ISubscriptionBaseLog } from './i-subscription-base-log';
|
7
|
+
export interface ISubscriptionBase {
|
8
|
+
amount: number;
|
9
|
+
cancellationReason: string;
|
10
|
+
createdAt: Date;
|
11
|
+
customVariables: ICustomVariable[];
|
12
|
+
customer: ISubscriptionBaseCustomer;
|
13
|
+
expiresAt: Date;
|
14
|
+
id: string;
|
15
|
+
interval: number;
|
16
|
+
intervalType: IntervalTypeEnum;
|
17
|
+
invoices: IInvoice[];
|
18
|
+
items: ISubscriptionBaseItem[];
|
19
|
+
logs: ISubscriptionBaseLog[];
|
20
|
+
notes: string;
|
21
|
+
payment: IPayment;
|
22
|
+
paymentType: EPaymentType;
|
23
|
+
phoneNumberNotification: string;
|
24
|
+
recentInvoices: IInvoice[];
|
25
|
+
renewPaymentDate: Date;
|
26
|
+
renovatedAt: Date;
|
27
|
+
startsAt: Date;
|
28
|
+
status: ESubscriptionStatus;
|
29
|
+
suspendedTimes: number;
|
30
|
+
tags: string[];
|
31
|
+
updatedAt: Date;
|
32
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { ISubscriptionBase } from './i-subscription-base';
|
2
|
+
export { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
|
3
|
+
export { ISubscriptionBaseItem } from './i-subscription-base-item';
|
4
|
+
export { ISubscriptionBaseLog } from './i-subscription-base-log';
|
package/package.json
CHANGED
@@ -1,21 +0,0 @@
|
|
1
|
-
export class SubscriptionItemEntity {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic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O1xuICBwdWJsaWMgcXVhbnRpdHk6IG51bWJlciA9IDE7XG4gIHB1YmxpYyByZWN1cnJlbnQ6IGJvb2xlYW4gPSB0cnVlO1xuICBwdWJsaWMgdG90YWxQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHVuaXRQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHZvdWNoZXJLZXk6IHN0cmluZyB8IG51bGwgPSBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25JdGVtRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export class SubscriptionLogEntity {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3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HJpbmcgPSBcIlwiO1xuICBwdWJsaWMgaWQ6IHN0cmluZyA9IFwiXCI7XG4gIHB1YmxpYyBub3Rlczogc3RyaW5nID0gXCJcIjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uTG9nRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { ESubscriptionStatus } from './subscription-status.enum';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRVN1YnNjcmlwdGlvblN0YXR1cyB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtJztcbiJdfQ==
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export var ESubscriptionStatus;
|
2
|
-
(function (ESubscriptionStatus) {
|
3
|
-
ESubscriptionStatus["ACTIVE"] = "ACTIVE";
|
4
|
-
ESubscriptionStatus["CANCELLED"] = "CANCELLED";
|
5
|
-
ESubscriptionStatus["PLACED"] = "PLACED";
|
6
|
-
ESubscriptionStatus["EXPIRED"] = "EXPIRED";
|
7
|
-
ESubscriptionStatus["PENDING"] = "PENDING";
|
8
|
-
ESubscriptionStatus["TRIAL"] = "TRIAL";
|
9
|
-
ESubscriptionStatus["FREE"] = "FREE";
|
10
|
-
ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
|
11
|
-
})(ESubscriptionStatus || (ESubscriptionStatus = {}));
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnVtcy9zdWJzY3JpcHRpb24tc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksbUJBU1g7QUFURCxXQUFZLG1CQUFtQjtJQUM3Qix3Q0FBaUIsQ0FBQTtJQUNqQiw4Q0FBdUIsQ0FBQTtJQUN2Qix3Q0FBaUIsQ0FBQTtJQUNqQiwwQ0FBbUIsQ0FBQTtJQUNuQiwwQ0FBbUIsQ0FBQTtJQUNuQixzQ0FBZSxDQUFBO0lBQ2Ysb0NBQWEsQ0FBQTtJQUNiLDhDQUF1QixDQUFBO0FBQ3pCLENBQUMsRUFUVyxtQkFBbUIsS0FBbkIsbUJBQW1CLFFBUzlCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVN1YnNjcmlwdGlvblN0YXR1cyB7XHJcbiAgQUNUSVZFID0gJ0FDVElWRScsXHJcbiAgQ0FOQ0VMTEVEID0gJ0NBTkNFTExFRCcsXHJcbiAgUExBQ0VEID0gJ1BMQUNFRCcsXHJcbiAgRVhQSVJFRCA9ICdFWFBJUkVEJyxcclxuICBQRU5ESU5HID0gJ1BFTkRJTkcnLFxyXG4gIFRSSUFMID0gJ1RSSUFMJyxcclxuICBGUkVFID0gJ0ZSRUUnLFxyXG4gIFNVU1BFTkRFRCA9ICdTVVNQRU5ERUQnLFxyXG59XHJcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24taXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vaW50ZXJmYWNlcy9pLXN1YnNjcmlwdGlvbi1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25JdGVtIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg1KVxuXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmc7XG4gIHF1YW50aXR5OiBudW1iZXI7XG4gIHJlY3VycmVudDogYm9vbGVhbjtcbiAgdm91Y2hlcktleTogc3RyaW5nIHwgbnVsbDtcbiAgdG90YWxQcmljZTogbnVtYmVyO1xuICB1bml0UHJpY2U6IG51bWJlcjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDUpXG59XG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tbG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25Mb2cge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgY3JlYXRlZEF0OiBEYXRlO1xuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBub3Rlczogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNClcbn1cbiJdfQ==
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ISubscriptionItem } from '../interfaces';
|
2
|
-
export declare class SubscriptionItemEntity implements ISubscriptionItem {
|
3
|
-
description: string;
|
4
|
-
quantity: number;
|
5
|
-
recurrent: boolean;
|
6
|
-
totalPrice: number;
|
7
|
-
unitPrice: number;
|
8
|
-
voucherKey: string | null;
|
9
|
-
constructor(data?: Partial<SubscriptionItemEntity>);
|
10
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ISubscriptionLog } from "../interfaces/i-subscription-log";
|
2
|
-
export declare class SubscriptionLogEntity implements ISubscriptionLog {
|
3
|
-
createdAt: Date;
|
4
|
-
description: string;
|
5
|
-
id: string;
|
6
|
-
notes: string;
|
7
|
-
constructor(data?: Partial<SubscriptionLogEntity>);
|
8
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|