cecon-interfaces 1.1.65 → 1.1.66
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/installation/entities/installation.entity.mjs +2 -2
- package/dist/esm2022/installation/interfaces/i-installation.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 +106 -68
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -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/package.json +1 -1
- 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/interfaces/i-subscription-item.d.ts → subscription-base/interfaces/i-subscription-base-item.d.ts} +1 -1
- 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 → 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
- /package/dist/{subscription/interfaces/i-subscription-item.js → subscription-base/interfaces/i-subscription-base-customer.js} +0 -0
- /package/dist/{subscription/interfaces/i-subscription-log.js → subscription-base/interfaces/i-subscription-base-item.js} +0 -0
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc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0cnVlO1xuICBwdWJsaWMgdG90YWxQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHVuaXRQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHZvdWNoZXJLZXk6IHN0cmluZyB8IG51bGwgPSBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25JdGVtRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWxvZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9z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ID0gXCJcIjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uTG9nRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -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
|