cecon-interfaces 1.0.75 → 1.0.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/feature/entities/feature.entity.mjs +25 -0
- package/dist/esm2022/feature/entities/index.mjs +2 -0
- package/dist/esm2022/feature/index.mjs +3 -0
- package/dist/esm2022/feature/interfaces/i-feature.mjs +2 -0
- package/dist/esm2022/feature/interfaces/index.mjs +2 -0
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/payment-status.enum.mjs +13 -0
- package/dist/esm2022/index.mjs +4 -1
- package/dist/esm2022/installation/entities/installation.entity.mjs +8 -9
- package/dist/esm2022/installation/interfaces/i-installation.mjs +1 -1
- package/dist/esm2022/invoice/entities/index.mjs +4 -0
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +23 -0
- package/dist/esm2022/invoice/entities/invoice-payment-method.entity.mjs +31 -0
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +32 -0
- package/dist/esm2022/invoice/enums/index.mjs +2 -0
- package/dist/esm2022/invoice/enums/invoices-status.enum.mjs +14 -0
- package/dist/esm2022/invoice/index.mjs +4 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-payment-method.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/index.mjs +2 -0
- package/dist/esm2022/subscription/entities/index.mjs +3 -0
- package/dist/esm2022/subscription/entities/subscription-invoice-history.entity.mjs +22 -0
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +32 -0
- package/dist/esm2022/subscription/enums/index.mjs +2 -0
- package/dist/esm2022/subscription/enums/subscription-status.enum.mjs +15 -0
- package/dist/esm2022/subscription/index.mjs +4 -0
- package/dist/esm2022/subscription/interfaces/i-subscription-invoice-history.mjs +2 -0
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +2 -0
- package/dist/esm2022/subscription/interfaces/index.mjs +2 -0
- package/dist/feature/entities/feature.entity.d.ts +15 -0
- package/dist/feature/entities/feature.entity.js +29 -0
- package/dist/feature/entities/index.d.ts +1 -0
- package/dist/feature/entities/index.js +5 -0
- package/dist/feature/index.d.ts +2 -0
- package/dist/feature/index.js +18 -0
- package/dist/feature/interfaces/i-feature.d.ts +13 -0
- package/dist/feature/interfaces/i-feature.js +2 -0
- package/dist/feature/interfaces/index.d.ts +1 -0
- package/dist/feature/interfaces/index.js +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +210 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/index.js +3 -1
- package/dist/general/enums/payment-status.enum.d.ts +11 -0
- package/dist/general/enums/payment-status.enum.js +15 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/installation/entities/installation.entity.d.ts +5 -6
- package/dist/installation/entities/installation.entity.js +7 -8
- package/dist/installation/interfaces/i-installation.d.ts +5 -6
- package/dist/invoice/entities/index.d.ts +3 -0
- package/dist/invoice/entities/index.js +9 -0
- package/dist/invoice/entities/invoice-item.entity.d.ts +12 -0
- package/dist/invoice/entities/invoice-item.entity.js +27 -0
- package/dist/invoice/entities/invoice-payment-method.entity.d.ts +20 -0
- package/dist/invoice/entities/invoice-payment-method.entity.js +35 -0
- package/dist/invoice/entities/invoice.entity.d.ts +23 -0
- package/dist/invoice/entities/invoice.entity.js +36 -0
- package/dist/invoice/enums/index.d.ts +1 -0
- package/dist/invoice/enums/index.js +5 -0
- package/dist/invoice/enums/invoices-status.enum.d.ts +12 -0
- package/dist/invoice/enums/invoices-status.enum.js +16 -0
- package/dist/invoice/index.d.ts +3 -0
- package/dist/invoice/index.js +19 -0
- package/dist/invoice/interfaces/i-invoice-item.d.ts +10 -0
- package/dist/invoice/interfaces/i-invoice-item.js +2 -0
- package/dist/invoice/interfaces/i-invoice-payment-method.d.ts +18 -0
- package/dist/invoice/interfaces/i-invoice-payment-method.js +2 -0
- package/dist/invoice/interfaces/i-invoice.d.ts +21 -0
- package/dist/invoice/interfaces/i-invoice.js +2 -0
- package/dist/invoice/interfaces/index.d.ts +3 -0
- package/dist/invoice/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/subscription/entities/index.d.ts +2 -0
- package/dist/subscription/entities/index.js +7 -0
- package/dist/subscription/entities/subscription-invoice-history.entity.d.ts +11 -0
- package/dist/subscription/entities/subscription-invoice-history.entity.js +26 -0
- package/dist/subscription/entities/subscription.entity.d.ts +22 -0
- package/dist/subscription/entities/subscription.entity.js +36 -0
- package/dist/subscription/enums/index.d.ts +1 -0
- package/dist/subscription/enums/index.js +5 -0
- package/dist/subscription/enums/subscription-status.enum.d.ts +13 -0
- package/dist/subscription/enums/subscription-status.enum.js +17 -0
- package/dist/subscription/index.d.ts +3 -0
- package/dist/subscription/index.js +19 -0
- package/dist/subscription/interfaces/i-subscription-invoice-history.d.ts +9 -0
- package/dist/subscription/interfaces/i-subscription-invoice-history.js +2 -0
- package/dist/subscription/interfaces/i-subscription.d.ts +20 -0
- package/dist/subscription/interfaces/i-subscription.js +2 -0
- package/dist/subscription/interfaces/index.d.ts +2 -0
- package/dist/subscription/interfaces/index.js +2 -0
- package/package.json +1 -1
@@ -0,0 +1,25 @@
|
|
1
|
+
export class FeatureEntity {
|
2
|
+
// #region Properties (10)
|
3
|
+
appId = '';
|
4
|
+
appMode = null;
|
5
|
+
companyId = '';
|
6
|
+
containerId = '';
|
7
|
+
createdAt = new Date();
|
8
|
+
deviceId = '';
|
9
|
+
id = '';
|
10
|
+
installationId = '';
|
11
|
+
planId = '';
|
12
|
+
subscriptionId = '';
|
13
|
+
// #endregion Properties (10)
|
14
|
+
// #region Constructors (1)
|
15
|
+
constructor(data) {
|
16
|
+
if (data) {
|
17
|
+
for (let key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+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gICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { FeatureEntity } from './feature.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZmVhdHVyZS9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGZWF0dXJlRW50aXR5IH0gZnJvbSAnLi9mZWF0dXJlLmVudGl0eSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZmVhdHVyZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuXG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mZWF0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ZlYXR1cmUvaW50ZXJmYWNlcy9pLWZlYXR1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwcE1vZGVFbnVtIH0gZnJvbSAnLi4vLi4vYXBwJztcblxuZXhwb3J0IGludGVyZmFjZSBJRmVhdHVyZSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxNilcblxuICAgIGFwcElkOiBzdHJpbmc7XG4gICAgYXBwTW9kZTogQXBwTW9kZUVudW0gfCBudWxsO1xuICAgIGNyZWF0ZWRBdDogRGF0ZTtcbiAgICBzdWJzY3JpcHRpb25JZDogc3RyaW5nO1xuICAgIGNvbXBhbnlJZDogc3RyaW5nO1xuICAgIGNvbnRhaW5lcklkOiBzdHJpbmc7XG4gICAgaWQ6IHN0cmluZztcbiAgICBkZXZpY2VJZDogc3RyaW5nO1xuICAgIHBsYW5JZDogc3RyaW5nO1xuICAgIGluc3RhbGxhdGlvbklkOiBzdHJpbmc7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDE2KVxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZmVhdHVyZS9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJRmVhdHVyZSB9IGZyb20gJy4vaS1mZWF0dXJlJztcbiJdfQ==
|
@@ -5,8 +5,9 @@ export { LeadOriginEnum } from './lead-origin.enum';
|
|
5
5
|
export { OsEnum } from './os.enum';
|
6
6
|
export { PaymentChannelEnum } from './payment-channel.enum';
|
7
7
|
export { PaymentModeEnum } from './payment-mode.enum';
|
8
|
+
export { PaymentStatusEnum } from './payment-status.enum';
|
8
9
|
export { PaymentTypeEnum } from './payment-type.enum';
|
9
10
|
export { LegalEntiyEnum } from './person-type.enum';
|
10
11
|
export { PlatfomrEnum } from './platform.enum';
|
11
12
|
export { PaymentProviderEnum } from './providers.enum';
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDOUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDbkMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQm9vbGVhblN0cmluZ0VudW0gfSBmcm9tICcuL2Jvb2xlYW4tc3RyaW5nLmVudW0nO1xuZXhwb3J0IHsgRG9jVHlwZUVudW0gfSBmcm9tICcuL2RvYy10eXBlLmVudW0nO1xuZXhwb3J0IHsgSW50ZXJ2YWxUeXBlRW51bSB9IGZyb20gJy4vaW50ZXJ2YWwtdHlwZS5lbnVtJztcbmV4cG9ydCB7IExlYWRPcmlnaW5FbnVtIH0gZnJvbSAnLi9sZWFkLW9yaWdpbi5lbnVtJztcbmV4cG9ydCB7IE9zRW51bSB9IGZyb20gJy4vb3MuZW51bSc7XG5leHBvcnQgeyBQYXltZW50Q2hhbm5lbEVudW0gfSBmcm9tICcuL3BheW1lbnQtY2hhbm5lbC5lbnVtJztcbmV4cG9ydCB7IFBheW1lbnRNb2RlRW51bSB9IGZyb20gJy4vcGF5bWVudC1tb2RlLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudFN0YXR1c0VudW0gfSBmcm9tICcuL3BheW1lbnQtc3RhdHVzLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudFR5cGVFbnVtIH0gZnJvbSAnLi9wYXltZW50LXR5cGUuZW51bSc7XG5leHBvcnQgeyBMZWdhbEVudGl5RW51bSB9IGZyb20gJy4vcGVyc29uLXR5cGUuZW51bSc7XG5leHBvcnQgeyBQbGF0Zm9tckVudW0gfSBmcm9tICcuL3BsYXRmb3JtLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudFByb3ZpZGVyRW51bSB9IGZyb20gJy4vcHJvdmlkZXJzLmVudW0nO1xuXG4iXX0=
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export var PaymentStatusEnum;
|
2
|
+
(function (PaymentStatusEnum) {
|
3
|
+
PaymentStatusEnum["PENDING"] = "PENDING";
|
4
|
+
PaymentStatusEnum["COMPLETED"] = "COMPLETED";
|
5
|
+
PaymentStatusEnum["FAILED"] = "FAILED";
|
6
|
+
PaymentStatusEnum["CANCELED"] = "CANCELED";
|
7
|
+
PaymentStatusEnum["REFUNDED"] = "REFUNDED";
|
8
|
+
PaymentStatusEnum["AUTHORIZED"] = "AUTHORIZED";
|
9
|
+
PaymentStatusEnum["DECLINED"] = "DECLINED";
|
10
|
+
PaymentStatusEnum["EXPIRED"] = "EXPIRED";
|
11
|
+
PaymentStatusEnum["DISPUTED"] = "DISPUTED";
|
12
|
+
})(PaymentStatusEnum || (PaymentStatusEnum = {}));
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1zdGF0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudW1zL3BheW1lbnQtc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksaUJBVVg7QUFWRCxXQUFZLGlCQUFpQjtJQUN6Qix3Q0FBbUIsQ0FBQTtJQUNuQiw0Q0FBdUIsQ0FBQTtJQUN2QixzQ0FBaUIsQ0FBQTtJQUNqQiwwQ0FBcUIsQ0FBQTtJQUNyQiwwQ0FBcUIsQ0FBQTtJQUNyQiw4Q0FBeUIsQ0FBQTtJQUN6QiwwQ0FBcUIsQ0FBQTtJQUNyQix3Q0FBbUIsQ0FBQTtJQUNuQiwwQ0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBVlcsaUJBQWlCLEtBQWpCLGlCQUFpQixRQVU1QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFBheW1lbnRTdGF0dXNFbnVtIHtcbiAgICBQRU5ESU5HID0gJ1BFTkRJTkcnLFxuICAgIENPTVBMRVRFRCA9ICdDT01QTEVURUQnLFxuICAgIEZBSUxFRCA9ICdGQUlMRUQnLFxuICAgIENBTkNFTEVEID0gJ0NBTkNFTEVEJyxcbiAgICBSRUZVTkRFRCA9ICdSRUZVTkRFRCcsXG4gICAgQVVUSE9SSVpFRCA9ICdBVVRIT1JJWkVEJyxcbiAgICBERUNMSU5FRCA9ICdERUNMSU5FRCcsXG4gICAgRVhQSVJFRCA9ICdFWFBJUkVEJyxcbiAgICBESVNQVVRFRCA9ICdESVNQVVRFRCdcbn1cbiJdfQ==
|
package/dist/esm2022/index.mjs
CHANGED
@@ -2,9 +2,11 @@ export * from './app';
|
|
2
2
|
export * from './company';
|
3
3
|
export * from './container';
|
4
4
|
export * from './device';
|
5
|
+
export * from './feature';
|
5
6
|
export * from './general';
|
6
7
|
export * from './installation';
|
7
8
|
export * from './invite';
|
9
|
+
export * from './invoice';
|
8
10
|
export * from './iugu';
|
9
11
|
export * from './lead';
|
10
12
|
export * from './member';
|
@@ -13,6 +15,7 @@ export * from './order';
|
|
13
15
|
export * from './partner';
|
14
16
|
export * from './plan';
|
15
17
|
export * from './purchases';
|
18
|
+
export * from './subscription';
|
16
19
|
export * from './token';
|
17
20
|
export * from './viacep';
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFFBQVEsQ0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 +1,23 @@
|
|
1
1
|
import { AppModeEnum } from '../../app';
|
2
2
|
export class InstallationEntity {
|
3
|
-
// #region Properties (
|
4
|
-
activationDate = new Date();
|
3
|
+
// #region Properties (16)
|
5
4
|
active = false;
|
5
|
+
appIconUrl = '';
|
6
6
|
appId = '';
|
7
|
+
appName = '';
|
7
8
|
createdAt = new Date();
|
8
9
|
customConfig = null;
|
9
10
|
expirationDate = new Date();
|
10
|
-
|
11
|
+
featureId = '';
|
11
12
|
id = '';
|
12
|
-
|
13
|
+
lastCheckAt = new Date();
|
13
14
|
mode = AppModeEnum.NATI_GO;
|
14
|
-
appName = '';
|
15
|
-
orderId = '';
|
16
|
-
renewPaymentDate = new Date();
|
17
15
|
subscriptionId = '';
|
16
|
+
suspended = false;
|
18
17
|
tags = [];
|
19
18
|
updatedAt = new Date();
|
20
19
|
version = '';
|
21
|
-
// #endregion Properties (
|
20
|
+
// #endregion Properties (16)
|
22
21
|
// #region Constructors (1)
|
23
22
|
constructor(data) {
|
24
23
|
if (data) {
|
@@ -30,4 +29,4 @@ export class InstallationEntity {
|
|
30
29
|
}
|
31
30
|
}
|
32
31
|
}
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbGF0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnN0YWxsYXRpb24vZW50aXRpZXMvaW5zdGFsbGF0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFdBQVcsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUd2RCxNQUFNLE9BQU8sa0JBQWtCO0lBQzNCLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3hCLFVBQVUsR0FBVyxFQUFFLENBQUM7SU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N0b3IoZGF0YT86IFBhcnRpYWw8SW5zdGFsbGF0aW9uRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YWxsYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW5zdGFsbGF0aW9uL2ludGVyZmFjZXMvaS1pbnN0YWxsYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwcENvbmZpZ1R5cGUsIEFwcE1vZGVFbnVtIH0gZnJvbSAnLi4vLi4vYXBwJztcblxuZXhwb3J0IGludGVyZmFjZSBJSW5zdGFsbGF0aW9uIHtcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE3KVxuXG4gICAgYWN0aXZlOiBib29sZWFuO1xuICAgIHN1c3BlbmRlZDogYm9vbGVhbjtcbiAgICBhcHBJY29uVXJsOiBzdHJpbmc7XG4gICAgYXBwSWQ6IHN0cmluZztcbiAgICBhcHBOYW1lOiBzdHJpbmc7XG4gICAgY3JlYXRlZEF0OiBEYXRlO1xuICAgIGN1c3RvbUNvbmZpZzogQXBwQ29uZmlnVHlwZTtcbiAgICBleHBpcmF0aW9uRGF0ZTogRGF0ZTtcbiAgICBpZDogc3RyaW5nO1xuICAgIG1vZGU6IEFwcE1vZGVFbnVtO1xuICAgIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gICAgZmVhdHVyZUlkOiBzdHJpbmc7XG4gICAgdGFnczogc3RyaW5nW107XG4gICAgdXBkYXRlZEF0OiBEYXRlO1xuICAgIGxhc3RDaGVja0F0OiBEYXRlO1xuICAgIHZlcnNpb246IHN0cmluZztcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTcpXG59XG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { InvoiceItemEntity } from './invoice-item.entity';
|
2
|
+
export { InvoicePaymentMethodEntity } from './invoice-payment-method.entity';
|
3
|
+
export { InvoiceEntity } from './invoice.entity';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJbnZvaWNlSXRlbUVudGl0eSB9IGZyb20gJy4vaW52b2ljZS1pdGVtLmVudGl0eSc7XG5leHBvcnQgeyBJbnZvaWNlUGF5bWVudE1ldGhvZEVudGl0eSB9IGZyb20gJy4vaW52b2ljZS1wYXltZW50LW1ldGhvZC5lbnRpdHknO1xuZXhwb3J0IHsgSW52b2ljZUVudGl0eSB9IGZyb20gJy4vaW52b2ljZS5lbnRpdHknO1xuXG4iXX0=
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export class InvoiceItemEntity {
|
2
|
+
// #region Properties (8)
|
3
|
+
description = '';
|
4
|
+
discounts = 0;
|
5
|
+
id = '';
|
6
|
+
quantity = 1;
|
7
|
+
sku = '';
|
8
|
+
taxes = 0;
|
9
|
+
totalPrice = 0;
|
10
|
+
unitPrice = 0;
|
11
|
+
// #endregion Properties (8)
|
12
|
+
// #region Constructors (1)
|
13
|
+
constructor(data) {
|
14
|
+
if (data) {
|
15
|
+
for (let key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1pdGVtLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZvaWNlL2VudGl0aWVzL2ludm9pY2UtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlCQUFpQjtJQUMxQix5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFXLENBQUMsQ0FBQztJQUNyQixHQUFHLEdBQVcsRUFBRSxDQUFDO0lBQ2pCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFDbEIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBRTdCLDRCQUE0QjtJQUU1Qiwy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biAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { PaymentStatusEnum, PaymentTypeEnum } from '../../general';
|
2
|
+
export class InvoicePaymentMethodEntity {
|
3
|
+
// #region Properties (15)
|
4
|
+
amount = 0;
|
5
|
+
brand = '';
|
6
|
+
createdAt = new Date();
|
7
|
+
currency = '';
|
8
|
+
expMonth = 0;
|
9
|
+
expYear = 0;
|
10
|
+
id = '';
|
11
|
+
last4 = '';
|
12
|
+
name = '';
|
13
|
+
pixQrCode = '';
|
14
|
+
pixUrl = '';
|
15
|
+
status = PaymentStatusEnum.PENDING;
|
16
|
+
transactionId = '';
|
17
|
+
type = PaymentTypeEnum.CREDIT_CARD;
|
18
|
+
updatedAt = new Date();
|
19
|
+
// #endregion Properties (15)
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1wYXltZW50LW1ldGhvZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9l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WVudFR5cGVFbnVtLkNSRURJVF9DQVJEO1xuICAgIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNSlcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8SW52b2ljZVBheW1lbnRNZXRob2RFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { InvoiceStatusEnum } from '../enums';
|
2
|
+
export class InvoiceEntity {
|
3
|
+
// #region Properties (16)
|
4
|
+
companyId = '';
|
5
|
+
containerId = '';
|
6
|
+
createdAt = new Date();
|
7
|
+
discounts = 0;
|
8
|
+
dueDateAt = new Date();
|
9
|
+
id = '';
|
10
|
+
invoiceNumber = '';
|
11
|
+
items = [];
|
12
|
+
notes = '';
|
13
|
+
paidDateAt = new Date();
|
14
|
+
paymentMethod = [];
|
15
|
+
status = InvoiceStatusEnum.PENDING;
|
16
|
+
subtotal = 0;
|
17
|
+
taxes = 0;
|
18
|
+
total = 0;
|
19
|
+
updatedAt = new Date();
|
20
|
+
// #endregion Properties (16)
|
21
|
+
// #region Constructors (1)
|
22
|
+
constructor(data) {
|
23
|
+
if (data) {
|
24
|
+
for (let key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFLN0MsTUFBTSxPQUFPLGFBQWE7SUFDdEIsMEJBQTBCO0lBRW5CLFNBQVMsR0FBVyxFQUFFLENBQUM7SUFDdkIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUM3QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsYUFBYSxHQUFXLEVBQUUsQ0FBQztJQUMzQixLQUFLLEdBQXdCLEVBQUUsQ0FBQztJQUNoQyxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFVBQVUsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzlCLGFBQWEsR0FBaUMsRUFBRSxDQUFDO0lBQ2pELE1BQU0sR0FBc0IsaUJBQWlCLENBQUMsT0FBTyxDQUFDO0lBQ3RELFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsS0FBSyxHQUFXLENBQUMsQ0FBQztJQUNsQixLQUFLLEdBQVcsQ0FBQyxDQUFDO0lBQ2xCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQ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xuICAgIHB1YmxpYyBpbnZvaWNlTnVtYmVyOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgaXRlbXM6IEludm9pY2VJdGVtRW50aXR5W10gPSBbXTtcbiAgICBwdWJsaWMgbm90ZXM6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBwYWlkRGF0ZUF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgICBwdWJsaWMgcGF5bWVudE1ldGhvZDogSW52b2ljZVBheW1lbnRNZXRob2RFbnRpdHlbXSA9IFtdO1xuICAgIHB1YmxpYyBzdGF0dXM6IEludm9pY2VTdGF0dXNFbnVtID0gSW52b2ljZVN0YXR1c0VudW0uUEVORElORztcbiAgICBwdWJsaWMgc3VidG90YWw6IG51bWJlciA9IDA7XG4gICAgcHVibGljIHRheGVzOiBudW1iZXIgPSAwO1xuICAgIHB1YmxpYyB0b3RhbDogbnVtYmVyID0gMDtcbiAgICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTYpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEludm9pY2VFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { InvoiceStatusEnum } from './invoices-status.enum';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEludm9pY2VTdGF0dXNFbnVtIH0gZnJvbSAnLi9pbnZvaWNlcy1zdGF0dXMuZW51bSc7XG4iXX0=
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export var InvoiceStatusEnum;
|
2
|
+
(function (InvoiceStatusEnum) {
|
3
|
+
InvoiceStatusEnum["ACTIVE"] = "ACTIVE";
|
4
|
+
InvoiceStatusEnum["CANCELLED"] = "CANCELLED";
|
5
|
+
InvoiceStatusEnum["EXPIRED"] = "EXPIRED";
|
6
|
+
InvoiceStatusEnum["PENDING"] = "PENDING";
|
7
|
+
InvoiceStatusEnum["PENDING_PAYMENT"] = "PENDING_PAYMENT";
|
8
|
+
InvoiceStatusEnum["PENDING_RENEWAL"] = "PENDING_RENEWAL";
|
9
|
+
InvoiceStatusEnum["TRIAL"] = "TRIAL";
|
10
|
+
InvoiceStatusEnum["FREE"] = "FREE";
|
11
|
+
InvoiceStatusEnum["FREE_TRIAL"] = "FREE_TRIAL";
|
12
|
+
InvoiceStatusEnum["FREE_TRIAL_EXPIRED"] = "FREE_TRIAL_EXPIRED";
|
13
|
+
})(InvoiceStatusEnum || (InvoiceStatusEnum = {}));
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZXMtc3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnVtcy9pbnZvaWNlcy1zdGF0dXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxpQkFXWDtBQVhELFdBQVksaUJBQWlCO0lBQ3pCLHNDQUFpQixDQUFBO0lBQ2pCLDRDQUF1QixDQUFBO0lBQ3ZCLHdDQUFtQixDQUFBO0lBQ25CLHdDQUFtQixDQUFBO0lBQ25CLHdEQUFtQyxDQUFBO0lBQ25DLHdEQUFtQyxDQUFBO0lBQ25DLG9DQUFlLENBQUE7SUFDZixrQ0FBYSxDQUFBO0lBQ2IsOENBQXlCLENBQUE7SUFDekIsOERBQXlDLENBQUE7QUFDN0MsQ0FBQyxFQVhXLGlCQUFpQixLQUFqQixpQkFBaUIsUUFXNUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBJbnZvaWNlU3RhdHVzRW51bSB7XHJcbiAgICBBQ1RJVkUgPSAnQUNUSVZFJyxcclxuICAgIENBTkNFTExFRCA9ICdDQU5DRUxMRUQnLFxyXG4gICAgRVhQSVJFRCA9ICdFWFBJUkVEJyxcclxuICAgIFBFTkRJTkcgPSAnUEVORElORycsXHJcbiAgICBQRU5ESU5HX1BBWU1FTlQgPSAnUEVORElOR19QQVlNRU5UJyxcclxuICAgIFBFTkRJTkdfUkVORVdBTCA9ICdQRU5ESU5HX1JFTkVXQUwnLFxyXG4gICAgVFJJQUwgPSAnVFJJQUwnLFxyXG4gICAgRlJFRSA9ICdGUkVFJyxcclxuICAgIEZSRUVfVFJJQUwgPSAnRlJFRV9UUklBTCcsXHJcbiAgICBGUkVFX1RSSUFMX0VYUElSRUQgPSAnRlJFRV9UUklBTF9FWFBJUkVEJyxcclxufVxyXG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW52b2ljZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9lbnVtcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuXG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg4KVxuXG4gICAgZGVzY3JpcHRpb246IHN0cmluZztcbiAgICBkaXNjb3VudHM6IG51bWJlcjtcbiAgICBpZDogc3RyaW5nO1xuICAgIHF1YW50aXR5OiBudW1iZXI7XG4gICAgc2t1OiBzdHJpbmc7XG4gICAgdGF4ZXM6IG51bWJlcjtcbiAgICB0b3RhbFByaWNlOiBudW1iZXI7XG4gICAgdW5pdFByaWNlOiBudW1iZXI7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDgpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLXBheW1lbnQtbWV0aG9kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UtcGF5bWVudC1tZXRob2QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBheW1lbnRTdGF0dXNFbnVtLCBQYXltZW50VHlwZUVudW0gfSBmcm9tICcuLi8uLi9nZW5lcmFsJztcblxuZXhwb3J0IGludGVyZmFjZSBJSW52b2ljZVBheW1lbnRNZXRob2Qge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTUpXG5cbiAgICBhbW91bnQ6IG51bWJlcjtcbiAgICBicmFuZDogc3RyaW5nO1xuICAgIGNyZWF0ZWRBdDogRGF0ZTtcbiAgICBjdXJyZW5jeTogc3RyaW5nO1xuICAgIGV4cE1vbnRoOiBudW1iZXI7XG4gICAgZXhwWWVhcjogbnVtYmVyO1xuICAgIGlkOiBzdHJpbmc7XG4gICAgbGFzdDQ6IHN0cmluZztcbiAgICBuYW1lOiBzdHJpbmc7XG4gICAgcGl4UXJDb2RlOiBzdHJpbmc7XG4gICAgcGl4VXJsOiBzdHJpbmc7XG4gICAgc3RhdHVzOiBQYXltZW50U3RhdHVzRW51bTtcbiAgICB0cmFuc2FjdGlvbklkOiBzdHJpbmc7XG4gICAgdHlwZTogUGF5bWVudFR5cGVFbnVtO1xuICAgIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTUpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia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+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJSW52b2ljZSB9IGZyb20gJy4vaS1pbnZvaWNlJztcbmV4cG9ydCB7IElJbnZvaWNlSXRlbSB9IGZyb20gJy4vaS1pbnZvaWNlLWl0ZW0nO1xuZXhwb3J0IHsgSUludm9pY2VQYXltZW50TWV0aG9kIH0gZnJvbSAnLi9pLWludm9pY2UtcGF5bWVudC1tZXRob2QnO1xuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { SubscriptionInvoiceHistoryEntity } from './subscription-invoice-history.entity';
|
2
|
+
export { SubscriptionEntity } from './subscription.entity';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uSW52b2ljZUhpc3RvcnlFbnRpdHkgfSBmcm9tICcuL3N1YnNjcmlwdGlvbi1pbnZvaWNlLWhpc3RvcnkuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLmVudGl0eSc7XG5cblxuXG4iXX0=
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { OrderStatusEnum } from '../../order';
|
2
|
+
export class SubscriptionInvoiceHistoryEntity {
|
3
|
+
// #region Properties (6)
|
4
|
+
amount = 0;
|
5
|
+
createdAt = new Date();
|
6
|
+
dueDate = new Date();
|
7
|
+
invoiceId = '';
|
8
|
+
paidDate = new Date();
|
9
|
+
status = OrderStatusEnum.PENDING;
|
10
|
+
// #endregion Properties (6)
|
11
|
+
// #region Constructors (1)
|
12
|
+
constructor(data) {
|
13
|
+
if (data) {
|
14
|
+
for (let key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWludm9pY2UtaGlzdG9yeS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1pbnZvaWNlLWhpc3RvcnkuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFHOUMsTUFBTSxPQUFPLGdDQUFnQztJQUN6Qyx5QkFBeUI7SUFFbEIsTUFBTSxHQUFXLENBQUMsQ0FBQztJQUNuQixTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUM3QixPQUFPLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUMzQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLFFBQVEsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzVCL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U3RhdHVzRW51bS5QRU5ESU5HO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25JbnZvaWNlSGlzdG9yeUVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { IntervalTypeEnum } from '../../general';
|
2
|
+
import { SubscriptionStatusEnum } from '../enums';
|
3
|
+
export class SubscriptionEntity {
|
4
|
+
// #region Properties (15)
|
5
|
+
cancellationReason = '';
|
6
|
+
createdAt = new Date();
|
7
|
+
customerId = '';
|
8
|
+
endDate = new Date();
|
9
|
+
id = '';
|
10
|
+
interval = 0;
|
11
|
+
intervalType = IntervalTypeEnum.MONTHS;
|
12
|
+
invoiceHistory = [];
|
13
|
+
notes = '';
|
14
|
+
planId = '';
|
15
|
+
renewPaymentDate = new Date();
|
16
|
+
startDate = new Date();
|
17
|
+
status = SubscriptionStatusEnum.PENDING;
|
18
|
+
trialEndDate = new Date();
|
19
|
+
updatedAt = new Date();
|
20
|
+
// #endregion Properties (15)
|
21
|
+
// #region Constructors (1)
|
22
|
+
constructor(data) {
|
23
|
+
if (data) {
|
24
|
+
for (let key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBSWxELE1BQU0sT0FBTyxrQkFBa0I7SUFDM0IsMEJBQTBCO0lBRW5CLGtCQUFrQixHQUFXLEVBQUUsQ0FBQztJQUNoQyxTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUM3QixVQUFVLEdBQVcsRUFBRSxDQUFDO0lBQ3hCLE9BQU8sR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzNCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFXLENBQUMsQ0FBQztJQUNyQixZQUFZLEdBQXFCLGdCQUFnQixDQUFDLE1BQU0sQ0FBQztJQUN6RCxjQUFjLEdBQXVDLEVBQUUsQ0FBQztJQUN4RCxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFDcEIsZ0JBQWdCLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUNwQyxTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUM3QixNQUFNLEdBQTJCLHNCQUFzQixDQUFDLE9BQU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leSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { SubscriptionStatusEnum } from './subscription-status.enum';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uU3RhdHVzRW51bSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtJztcbiJdfQ==
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export var SubscriptionStatusEnum;
|
2
|
+
(function (SubscriptionStatusEnum) {
|
3
|
+
SubscriptionStatusEnum["ACTIVE"] = "ACTIVE";
|
4
|
+
SubscriptionStatusEnum["CANCELLED"] = "CANCELLED";
|
5
|
+
SubscriptionStatusEnum["EXPIRED"] = "EXPIRED";
|
6
|
+
SubscriptionStatusEnum["PENDING"] = "PENDING";
|
7
|
+
SubscriptionStatusEnum["PENDING_PAYMENT"] = "PENDING_PAYMENT";
|
8
|
+
SubscriptionStatusEnum["PENDING_RENEWAL"] = "PENDING_RENEWAL";
|
9
|
+
SubscriptionStatusEnum["TRIAL"] = "TRIAL";
|
10
|
+
SubscriptionStatusEnum["FREE"] = "FREE";
|
11
|
+
SubscriptionStatusEnum["FREE_TRIAL"] = "FREE_TRIAL";
|
12
|
+
SubscriptionStatusEnum["FREE_TRIAL_EXPIRED"] = "FREE_TRIAL_EXPIRED";
|
13
|
+
SubscriptionStatusEnum["SUSPENDED"] = "SUSPENDED";
|
14
|
+
})(SubscriptionStatusEnum || (SubscriptionStatusEnum = {}));
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnVtcy9zdWJzY3JpcHRpb24tc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksc0JBWVg7QUFaRCxXQUFZLHNCQUFzQjtJQUM5QiwyQ0FBaUIsQ0FBQTtJQUNqQixpREFBdUIsQ0FBQTtJQUN2Qiw2Q0FBbUIsQ0FBQTtJQUNuQiw2Q0FBbUIsQ0FBQTtJQUNuQiw2REFBbUMsQ0FBQTtJQUNuQyw2REFBbUMsQ0FBQTtJQUNuQyx5Q0FBZSxDQUFBO0lBQ2YsdUNBQWEsQ0FBQTtJQUNiLG1EQUF5QixDQUFBO0lBQ3pCLG1FQUF5QyxDQUFBO0lBQ3pDLGlEQUF1QixDQUFBO0FBQzNCLENBQUMsRUFaVyxzQkFBc0IsS0FBdEIsc0JBQXNCLFFBWWpDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gU3Vic2NyaXB0aW9uU3RhdHVzRW51bSB7XHJcbiAgICBBQ1RJVkUgPSAnQUNUSVZFJyxcclxuICAgIENBTkNFTExFRCA9ICdDQU5DRUxMRUQnLFxyXG4gICAgRVhQSVJFRCA9ICdFWFBJUkVEJyxcclxuICAgIFBFTkRJTkcgPSAnUEVORElORycsXHJcbiAgICBQRU5ESU5HX1BBWU1FTlQgPSAnUEVORElOR19QQVlNRU5UJyxcclxuICAgIFBFTkRJTkdfUkVORVdBTCA9ICdQRU5ESU5HX1JFTkVXQUwnLFxyXG4gICAgVFJJQUwgPSAnVFJJQUwnLFxyXG4gICAgRlJFRSA9ICdGUkVFJyxcclxuICAgIEZSRUVfVFJJQUwgPSAnRlJFRV9UUklBTCcsXHJcbiAgICBGUkVFX1RSSUFMX0VYUElSRUQgPSAnRlJFRV9UUklBTF9FWFBJUkVEJyxcclxuICAgIFNVU1BFTkRFRCA9ICdTVVNQRU5ERUQnLFxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG5cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24taW52b2ljZS1oaXN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9pbnRlcmZhY2VzL2ktc3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24taW52b2ljZS1oaXN0b3J5JztcblxuIl19
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { AppModeEnum } from '../../app';
|
2
|
+
import { IFeature } from '../interfaces';
|
3
|
+
export declare class FeatureEntity implements IFeature {
|
4
|
+
appId: string;
|
5
|
+
appMode: AppModeEnum | null;
|
6
|
+
companyId: string;
|
7
|
+
containerId: string;
|
8
|
+
createdAt: Date;
|
9
|
+
deviceId: string;
|
10
|
+
id: string;
|
11
|
+
installationId: string;
|
12
|
+
planId: string;
|
13
|
+
subscriptionId: string;
|
14
|
+
constructor(data?: Partial<FeatureEntity>);
|
15
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FeatureEntity = void 0;
|
4
|
+
var FeatureEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (10)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function FeatureEntity(data) {
|
8
|
+
// #region Properties (10)
|
9
|
+
this.appId = '';
|
10
|
+
this.appMode = null;
|
11
|
+
this.companyId = '';
|
12
|
+
this.containerId = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.deviceId = '';
|
15
|
+
this.id = '';
|
16
|
+
this.installationId = '';
|
17
|
+
this.planId = '';
|
18
|
+
this.subscriptionId = '';
|
19
|
+
if (data) {
|
20
|
+
for (var key in data) {
|
21
|
+
if (data.hasOwnProperty(key) && key in this) {
|
22
|
+
this[key] = data[key];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return FeatureEntity;
|
28
|
+
}());
|
29
|
+
exports.FeatureEntity = FeatureEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { FeatureEntity } from './feature.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FeatureEntity = void 0;
|
4
|
+
var feature_entity_1 = require("./feature.entity");
|
5
|
+
Object.defineProperty(exports, "FeatureEntity", { enumerable: true, get: function () { return feature_entity_1.FeatureEntity; } });
|
@@ -0,0 +1,18 @@
|
|
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("./interfaces"), exports);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { AppModeEnum } from '../../app';
|
2
|
+
export interface IFeature {
|
3
|
+
appId: string;
|
4
|
+
appMode: AppModeEnum | null;
|
5
|
+
createdAt: Date;
|
6
|
+
subscriptionId: string;
|
7
|
+
companyId: string;
|
8
|
+
containerId: string;
|
9
|
+
id: string;
|
10
|
+
deviceId: string;
|
11
|
+
planId: string;
|
12
|
+
installationId: string;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IFeature } from './i-feature';
|