cecon-interfaces 1.6.20 → 1.6.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-question.mjs +1 -1
- package/dist/esm2022/payio/features/entities/feature.entity.mjs +28 -0
- package/dist/esm2022/payio/features/entities/index.mjs +2 -0
- package/dist/esm2022/payio/features/enum/feature-type.enum.mjs +10 -0
- package/dist/esm2022/payio/features/enum/index.mjs +2 -0
- package/dist/esm2022/payio/features/index.mjs +4 -0
- package/dist/esm2022/payio/features/interfaces/i-feature.mjs +2 -0
- package/dist/esm2022/payio/features/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +3 -1
- package/dist/esm2022/payio/plan/entities/index.mjs +2 -0
- package/dist/esm2022/payio/plan/entities/plan.entity.mjs +28 -0
- package/dist/esm2022/payio/plan/index.mjs +3 -0
- package/dist/esm2022/payio/plan/interfaces/i-plan.mjs +2 -0
- package/dist/esm2022/payio/plan/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/subscriptions/entities/index.mjs +1 -2
- package/dist/esm2022/payio/subscriptions/entities/subscription.entity.mjs +1 -2
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription.mjs +1 -1
- package/dist/esm2022/payio/subscriptions/interfaces/index.mjs +1 -1
- package/dist/esm2022/plan/entities/feature.entity.mjs +6 -6
- package/dist/esm2022/plan/enums/index.mjs +1 -2
- package/dist/esm2022/plan/interfaces/i-feature.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +74 -32
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-question.d.ts +1 -0
- package/dist/package.json +1 -1
- package/dist/payio/features/entities/feature.entity.d.ts +17 -0
- package/dist/payio/features/entities/feature.entity.js +32 -0
- package/dist/payio/features/entities/index.d.ts +1 -0
- package/dist/payio/features/entities/index.js +5 -0
- package/dist/payio/features/enum/feature-type.enum.d.ts +8 -0
- package/dist/payio/features/enum/feature-type.enum.js +12 -0
- package/dist/payio/features/enum/index.d.ts +1 -0
- package/dist/payio/features/enum/index.js +5 -0
- package/dist/payio/features/index.d.ts +3 -0
- package/dist/payio/features/index.js +19 -0
- package/dist/payio/features/interfaces/i-feature.d.ts +15 -0
- package/dist/payio/features/interfaces/index.d.ts +1 -0
- package/dist/payio/features/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +2 -0
- package/dist/payio/index.js +2 -0
- package/dist/payio/plan/entities/index.d.ts +1 -0
- package/dist/payio/plan/entities/index.js +5 -0
- package/dist/payio/plan/entities/plan.entity.d.ts +18 -0
- package/dist/payio/plan/entities/plan.entity.js +32 -0
- package/dist/payio/plan/index.d.ts +2 -0
- package/dist/payio/plan/index.js +18 -0
- package/dist/payio/plan/interfaces/i-plan.d.ts +16 -0
- package/dist/payio/plan/interfaces/i-plan.js +2 -0
- package/dist/payio/plan/interfaces/index.d.ts +1 -0
- package/dist/payio/plan/interfaces/index.js +2 -0
- package/dist/payio/subscriptions/entities/index.d.ts +0 -1
- package/dist/payio/subscriptions/entities/index.js +1 -3
- package/dist/payio/subscriptions/entities/subscription.entity.d.ts +2 -3
- package/dist/payio/subscriptions/entities/subscription.entity.js +0 -1
- package/dist/payio/subscriptions/interfaces/i-subscription.d.ts +2 -5
- package/dist/payio/subscriptions/interfaces/index.d.ts +0 -1
- package/dist/plan/entities/feature.entity.d.ts +2 -2
- package/dist/plan/entities/feature.entity.js +6 -6
- package/dist/plan/enums/index.d.ts +0 -1
- package/dist/plan/enums/index.js +1 -3
- package/dist/plan/interfaces/i-feature.d.ts +1 -1
- package/package.json +1 -1
- package/dist/esm2022/payio/subscriptions/entities/subscription-item.entity.mjs +0 -21
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription-item.mjs +0 -2
- package/dist/payio/subscriptions/entities/subscription-item.entity.d.ts +0 -10
- package/dist/payio/subscriptions/entities/subscription-item.entity.js +0 -25
- package/dist/payio/subscriptions/interfaces/i-subscription-item.d.ts +0 -8
- /package/dist/payio/{subscriptions/interfaces/i-subscription-item.js → features/interfaces/i-feature.js} +0 -0
package/dist/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
import { EPayuioFeatureType } from '../enum';
|
2
|
+
import { IPayioFeature } from '../interfaces/i-feature';
|
3
|
+
export declare class PayioFeatureEntity implements IPayioFeature {
|
4
|
+
appId: string | null;
|
5
|
+
createdAt: Date;
|
6
|
+
description: string;
|
7
|
+
id: string;
|
8
|
+
index: number;
|
9
|
+
quantity: number;
|
10
|
+
recurrent: boolean;
|
11
|
+
totalPrice: number;
|
12
|
+
type: EPayuioFeatureType;
|
13
|
+
unitPrice: number;
|
14
|
+
updatedAt: Date;
|
15
|
+
voucherKey: string | null;
|
16
|
+
constructor(data?: Partial<PayioFeatureEntity>);
|
17
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioFeatureEntity = void 0;
|
4
|
+
var enum_1 = require("../enum");
|
5
|
+
var PayioFeatureEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (12)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PayioFeatureEntity(data) {
|
9
|
+
// #region Properties (12)
|
10
|
+
this.appId = null;
|
11
|
+
this.createdAt = new Date();
|
12
|
+
this.description = '';
|
13
|
+
this.id = '';
|
14
|
+
this.index = 0;
|
15
|
+
this.quantity = 0;
|
16
|
+
this.recurrent = false;
|
17
|
+
this.totalPrice = 0;
|
18
|
+
this.type = enum_1.EPayuioFeatureType.DESCRIPTION;
|
19
|
+
this.unitPrice = 0;
|
20
|
+
this.updatedAt = new Date();
|
21
|
+
this.voucherKey = null;
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return PayioFeatureEntity;
|
31
|
+
}());
|
32
|
+
exports.PayioFeatureEntity = PayioFeatureEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioFeatureEntity } from './feature.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioFeatureEntity = void 0;
|
4
|
+
var feature_entity_1 = require("./feature.entity");
|
5
|
+
Object.defineProperty(exports, "PayioFeatureEntity", { enumerable: true, get: function () { return feature_entity_1.PayioFeatureEntity; } });
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayuioFeatureType = void 0;
|
4
|
+
var EPayuioFeatureType;
|
5
|
+
(function (EPayuioFeatureType) {
|
6
|
+
EPayuioFeatureType["FEATURE"] = "FEATURE";
|
7
|
+
EPayuioFeatureType["DESCRIPTION"] = "DESCRIPTION";
|
8
|
+
EPayuioFeatureType["VOUCHER"] = "VOUCHER";
|
9
|
+
EPayuioFeatureType["DISCOUNT"] = "DISCOUNT";
|
10
|
+
EPayuioFeatureType["ITEM"] = "ITEM";
|
11
|
+
EPayuioFeatureType["SEAT"] = "SEAT";
|
12
|
+
})(EPayuioFeatureType || (exports.EPayuioFeatureType = EPayuioFeatureType = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EPayuioFeatureType } from './feature-type.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayuioFeatureType = void 0;
|
4
|
+
var feature_type_enum_1 = require("./feature-type.enum");
|
5
|
+
Object.defineProperty(exports, "EPayuioFeatureType", { enumerable: true, get: function () { return feature_type_enum_1.EPayuioFeatureType; } });
|
@@ -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("./enum"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { EPayuioFeatureType } from '../enum';
|
2
|
+
export interface IPayioFeature {
|
3
|
+
appId: string | null;
|
4
|
+
createdAt: Date;
|
5
|
+
description: string;
|
6
|
+
id: string;
|
7
|
+
index: number;
|
8
|
+
quantity: number;
|
9
|
+
recurrent: boolean;
|
10
|
+
totalPrice: number;
|
11
|
+
type: EPayuioFeatureType;
|
12
|
+
unitPrice: number;
|
13
|
+
updatedAt: Date;
|
14
|
+
voucherKey: string | null;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioFeature } from './i-feature';
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -17,7 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./app"), exports);
|
18
18
|
__exportStar(require("./company"), exports);
|
19
19
|
__exportStar(require("./device"), exports);
|
20
|
+
__exportStar(require("./features"), exports);
|
20
21
|
__exportStar(require("./payload"), exports);
|
21
22
|
__exportStar(require("./permissions"), exports);
|
23
|
+
__exportStar(require("./plan"), exports);
|
22
24
|
__exportStar(require("./subscriptions"), exports);
|
23
25
|
__exportStar(require("./tokens"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioPlanEntity } from './plan.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioPlanEntity = void 0;
|
4
|
+
var plan_entity_1 = require("./plan.entity");
|
5
|
+
Object.defineProperty(exports, "PayioPlanEntity", { enumerable: true, get: function () { return plan_entity_1.PayioPlanEntity; } });
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { EIntervalType } from '../../../general';
|
2
|
+
import { PayioFeatureEntity } from '../../features';
|
3
|
+
import { IPayioPlan } from '../interfaces';
|
4
|
+
export declare class PayioPlanEntity implements IPayioPlan {
|
5
|
+
createdAt: Date;
|
6
|
+
features: PayioFeatureEntity[];
|
7
|
+
id: string;
|
8
|
+
identifier: string;
|
9
|
+
index: number;
|
10
|
+
interval: number;
|
11
|
+
intervalType: EIntervalType;
|
12
|
+
name: string;
|
13
|
+
price: number;
|
14
|
+
tags: string[];
|
15
|
+
trialDays: number;
|
16
|
+
updatedAt: Date;
|
17
|
+
constructor(data?: Partial<PayioPlanEntity>);
|
18
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioPlanEntity = void 0;
|
4
|
+
var general_1 = require("../../../general");
|
5
|
+
var PayioPlanEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (12)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PayioPlanEntity(data) {
|
9
|
+
// #region Properties (12)
|
10
|
+
this.createdAt = new Date();
|
11
|
+
this.features = [];
|
12
|
+
this.id = '';
|
13
|
+
this.identifier = 'payio-selfcheckout-3';
|
14
|
+
this.index = 0;
|
15
|
+
this.interval = 12;
|
16
|
+
this.intervalType = general_1.EIntervalType.MONTHS;
|
17
|
+
this.name = '';
|
18
|
+
this.price = 0;
|
19
|
+
this.tags = [];
|
20
|
+
this.trialDays = 0;
|
21
|
+
this.updatedAt = new Date();
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return PayioPlanEntity;
|
31
|
+
}());
|
32
|
+
exports.PayioPlanEntity = PayioPlanEntity;
|
@@ -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,16 @@
|
|
1
|
+
import { EIntervalType } from '../../../general';
|
2
|
+
import { IPayioFeature } from '../../features';
|
3
|
+
export interface IPayioPlan {
|
4
|
+
createdAt: Date;
|
5
|
+
features: IPayioFeature[];
|
6
|
+
id: string;
|
7
|
+
identifier: string;
|
8
|
+
index: number;
|
9
|
+
interval: number;
|
10
|
+
intervalType: EIntervalType;
|
11
|
+
tags: string[];
|
12
|
+
name: string;
|
13
|
+
trialDays: number;
|
14
|
+
price: number;
|
15
|
+
updatedAt: Date;
|
16
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioPlan } from './i-plan';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export { PayioSubscriptionActiveDeviceEntity } from './subscription-active-device.entity';
|
2
|
-
export { PayioSubscriptionItemEntity } from './subscription-item.entity';
|
3
2
|
export { PayioSubscriptionLogEntity } from './subscription-log.entity';
|
4
3
|
export { PayioSubscriptionSeatEntity } from './subscription-seat.entity';
|
5
4
|
export { PayioSubscriptionEntity } from './subscription.entity';
|
@@ -1,10 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioSubscriptionEntity = exports.PayioSubscriptionSeatEntity = exports.PayioSubscriptionLogEntity = exports.
|
3
|
+
exports.PayioSubscriptionEntity = exports.PayioSubscriptionSeatEntity = exports.PayioSubscriptionLogEntity = exports.PayioSubscriptionActiveDeviceEntity = void 0;
|
4
4
|
var subscription_active_device_entity_1 = require("./subscription-active-device.entity");
|
5
5
|
Object.defineProperty(exports, "PayioSubscriptionActiveDeviceEntity", { enumerable: true, get: function () { return subscription_active_device_entity_1.PayioSubscriptionActiveDeviceEntity; } });
|
6
|
-
var subscription_item_entity_1 = require("./subscription-item.entity");
|
7
|
-
Object.defineProperty(exports, "PayioSubscriptionItemEntity", { enumerable: true, get: function () { return subscription_item_entity_1.PayioSubscriptionItemEntity; } });
|
8
6
|
var subscription_log_entity_1 = require("./subscription-log.entity");
|
9
7
|
Object.defineProperty(exports, "PayioSubscriptionLogEntity", { enumerable: true, get: function () { return subscription_log_entity_1.PayioSubscriptionLogEntity; } });
|
10
8
|
var subscription_seat_entity_1 = require("./subscription-seat.entity");
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import { CustomVariableEntity, EIntervalType, ESubsStatus, PaymentMethodEntity } from '../../../general';
|
2
|
+
import { PayioFeatureEntity } from '../../features';
|
2
3
|
import { IPayioSubscription } from '../interfaces/i-subscription';
|
3
4
|
import { PayioSubscriptionActiveDeviceEntity } from './subscription-active-device.entity';
|
4
|
-
import { PayioSubscriptionItemEntity } from './subscription-item.entity';
|
5
5
|
import { PayioSubscriptionLogEntity } from './subscription-log.entity';
|
6
6
|
import { PayioSubscriptionSeatEntity } from './subscription-seat.entity';
|
7
7
|
export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
8
8
|
activeDevices: PayioSubscriptionActiveDeviceEntity[];
|
9
9
|
amount: number;
|
10
|
-
appIds: string[];
|
11
10
|
cancellationReason: string;
|
12
11
|
companyId: string;
|
13
12
|
createdAt: Date;
|
@@ -16,7 +15,7 @@ export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
|
16
15
|
id: string;
|
17
16
|
interval: number;
|
18
17
|
intervalType: EIntervalType;
|
19
|
-
items:
|
18
|
+
items: PayioFeatureEntity[];
|
20
19
|
logs: PayioSubscriptionLogEntity[];
|
21
20
|
notes: string;
|
22
21
|
payment: PaymentMethodEntity;
|
@@ -1,12 +1,10 @@
|
|
1
1
|
import { EIntervalType, ESubsStatus, ICustomVariable, IPaymentMethod } from '../../../general';
|
2
|
+
import { IPayioFeature } from '../../features';
|
2
3
|
import { IPayioSubscriptionActiveDevice } from './i-subscription-active-device';
|
3
|
-
import { IPayioSubscriptionItem } from './i-subscription-item';
|
4
4
|
import { IPayioSubscriptionLog } from './i-subscription-log';
|
5
|
-
import { IPayioSubscriptionSeat } from './i-subscription-seat';
|
6
5
|
export interface IPayioSubscription {
|
7
6
|
activeDevices: IPayioSubscriptionActiveDevice[];
|
8
7
|
amount: number;
|
9
|
-
appIds: string[];
|
10
8
|
cancellationReason: string;
|
11
9
|
companyId: string;
|
12
10
|
createdAt: Date;
|
@@ -15,7 +13,7 @@ export interface IPayioSubscription {
|
|
15
13
|
id: string;
|
16
14
|
interval: number;
|
17
15
|
intervalType: EIntervalType;
|
18
|
-
items:
|
16
|
+
items: IPayioFeature[];
|
19
17
|
logs: IPayioSubscriptionLog[];
|
20
18
|
notes: string;
|
21
19
|
payment: IPaymentMethod;
|
@@ -23,7 +21,6 @@ export interface IPayioSubscription {
|
|
23
21
|
planName: string;
|
24
22
|
renewPaymentDate: Date;
|
25
23
|
renovatedAt: Date;
|
26
|
-
seats: IPayioSubscriptionSeat[];
|
27
24
|
startsAt: Date;
|
28
25
|
status: ESubsStatus;
|
29
26
|
suspendedTimes: number;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export { IPayioSubscription } from './i-subscription';
|
2
2
|
export { IPayioSubscriptionActiveDevice } from './i-subscription-active-device';
|
3
|
-
export { IPayioSubscriptionItem } from './i-subscription-item';
|
4
3
|
export { IPayioSubscriptionLog } from './i-subscription-log';
|
5
4
|
export { IPayioSubscriptionSeat } from './i-subscription-seat';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EPlanFeatureType } from
|
2
|
-
import { IPlanFeature } from
|
1
|
+
import { EPlanFeatureType } from '../enums/plans-feature-type.enum';
|
2
|
+
import { IPlanFeature } from '../interfaces';
|
3
3
|
export declare class PlanFeatureEntity implements IPlanFeature {
|
4
4
|
appId: string;
|
5
5
|
createdAt: Date;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PlanFeatureEntity = void 0;
|
4
|
-
var
|
4
|
+
var plans_feature_type_enum_1 = require("../enums/plans-feature-type.enum");
|
5
5
|
var PlanFeatureEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (10)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PlanFeatureEntity(data) {
|
9
9
|
// #region Properties (10)
|
10
|
-
this.appId =
|
10
|
+
this.appId = '';
|
11
11
|
this.createdAt = new Date();
|
12
|
-
this.featureType =
|
13
|
-
this.id =
|
12
|
+
this.featureType = plans_feature_type_enum_1.EPlanFeatureType.FEATURE;
|
13
|
+
this.id = '';
|
14
14
|
this.index = 0;
|
15
|
-
this.name =
|
16
|
-
this.planId =
|
15
|
+
this.name = '';
|
16
|
+
this.planId = '';
|
17
17
|
this.price = 0;
|
18
18
|
this.quantity = 0;
|
19
19
|
this.updatedAt = new Date();
|
package/dist/plan/enums/index.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPlanIdentifier =
|
4
|
-
var plans_feature_type_enum_1 = require("./plans-feature-type.enum");
|
5
|
-
Object.defineProperty(exports, "EPlanFeatureType", { enumerable: true, get: function () { return plans_feature_type_enum_1.EPlanFeatureType; } });
|
3
|
+
exports.EPlanIdentifier = void 0;
|
6
4
|
var plans_identifier_enum_1 = require("./plans-identifier.enum");
|
7
5
|
Object.defineProperty(exports, "EPlanIdentifier", { enumerable: true, get: function () { return plans_identifier_enum_1.EPlanIdentifier; } });
|
package/package.json
CHANGED
@@ -1,21 +0,0 @@
|
|
1
|
-
export class PayioSubscriptionItemEntity {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3BheWlvL3N1YnNjcmlwdGlvbnMvZW50aXRpZXMvc3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTywyQkFBMkI7SUFDdEMseUJBQXlCO0lBRWxCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsUUFBUSxHQUFXLENBQUMsQ0FBQztJQUNyQixTQUFTLEdBQVksSUFBSSxDQUFDO0lBQzFCLFVBQVUsR0FBVyxDQUFDLENBQUM7SUFDdkIsU0FBUyxHQUFXLENBQUMsQ0FBQztJQUN0QixVQUFVLEdBQWtCLElBQUksQ0FBQztJQUV4Qyw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBMkM7UUFDckQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQYXlpb1N1YnNjcmlwdGlvbkl0ZW0gfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBQYXlpb1N1YnNjcmlwdGlvbkl0ZW1FbnRpdHkgaW1wbGVtZW50cyBJUGF5aW9TdWJzY3JpcHRpb25JdGVtIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDYpXHJcblxyXG4gIHB1YmxpYyBkZXNjcmlwdGlvbjogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHF1YW50aXR5OiBudW1iZXIgPSAxO1xyXG4gIHB1YmxpYyByZWN1cnJlbnQ6IGJvb2xlYW4gPSB0cnVlO1xyXG4gIHB1YmxpYyB0b3RhbFByaWNlOiBudW1iZXIgPSAwO1xyXG4gIHB1YmxpYyB1bml0UHJpY2U6IG51bWJlciA9IDA7XHJcbiAgcHVibGljIHZvdWNoZXJLZXk6IHN0cmluZyB8IG51bGwgPSBudWxsO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXHJcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXlpb1N1YnNjcmlwdGlvbkl0ZW1FbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24taXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9wYXlpby9zdWJzY3JpcHRpb25zL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24taXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUGF5aW9TdWJzY3JpcHRpb25JdGVtIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDUpXHJcblxyXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmc7XHJcbiAgcXVhbnRpdHk6IG51bWJlcjtcclxuICByZWN1cnJlbnQ6IGJvb2xlYW47XHJcbiAgdm91Y2hlcktleTogc3RyaW5nIHwgbnVsbDtcclxuICB0b3RhbFByaWNlOiBudW1iZXI7XHJcbiAgdW5pdFByaWNlOiBudW1iZXI7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNSlcclxufVxyXG4iXX0=
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { IPayioSubscriptionItem } from '../interfaces';
|
2
|
-
export declare class PayioSubscriptionItemEntity implements IPayioSubscriptionItem {
|
3
|
-
description: string;
|
4
|
-
quantity: number;
|
5
|
-
recurrent: boolean;
|
6
|
-
totalPrice: number;
|
7
|
-
unitPrice: number;
|
8
|
-
voucherKey: string | null;
|
9
|
-
constructor(data?: Partial<PayioSubscriptionItemEntity>);
|
10
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioSubscriptionItemEntity = void 0;
|
4
|
-
var PayioSubscriptionItemEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function PayioSubscriptionItemEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.description = '';
|
10
|
-
this.quantity = 1;
|
11
|
-
this.recurrent = true;
|
12
|
-
this.totalPrice = 0;
|
13
|
-
this.unitPrice = 0;
|
14
|
-
this.voucherKey = null;
|
15
|
-
if (data) {
|
16
|
-
for (var key in data) {
|
17
|
-
if (data.hasOwnProperty(key) && key in this) {
|
18
|
-
this[key] = data[key];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
return PayioSubscriptionItemEntity;
|
24
|
-
}());
|
25
|
-
exports.PayioSubscriptionItemEntity = PayioSubscriptionItemEntity;
|
File without changes
|