cecon-interfaces 1.5.81 → 1.5.83
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/permissions/entities/index.mjs +2 -0
- package/dist/esm2022/payio/permissions/entities/permission.entity.mjs +21 -0
- package/dist/esm2022/payio/permissions/index.mjs +3 -0
- package/dist/esm2022/payio/permissions/interfaces/i-permission.mjs +2 -0
- package/dist/esm2022/payio/permissions/interfaces/index.mjs +2 -0
- package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +5 -3
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
- package/dist/esm2022/subscription-company/entities/subscription.entity.mjs +1 -3
- package/dist/esm2022/subscription-company/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +26 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/permissions/entities/index.d.ts +1 -0
- package/dist/payio/permissions/entities/index.js +5 -0
- package/dist/payio/permissions/entities/permission.entity.d.ts +10 -0
- package/dist/payio/permissions/entities/permission.entity.js +25 -0
- package/dist/payio/permissions/index.d.ts +2 -0
- package/dist/payio/permissions/index.js +18 -0
- package/dist/payio/permissions/interfaces/i-permission.d.ts +8 -0
- package/dist/payio/permissions/interfaces/i-permission.js +2 -0
- package/dist/payio/permissions/interfaces/index.d.ts +1 -0
- package/dist/payio/permissions/interfaces/index.js +2 -0
- package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -0
- package/dist/subscription-base/entities/subscription-base.entity.js +4 -2
- package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -0
- package/dist/subscription-company/entities/subscription.entity.d.ts +0 -2
- package/dist/subscription-company/entities/subscription.entity.js +0 -2
- package/dist/subscription-company/interfaces/i-subscription.d.ts +0 -2
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioPermissionEntity } from './permission.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioPermissionEntity = void 0;
|
4
|
+
var permission_entity_1 = require("./permission.entity");
|
5
|
+
Object.defineProperty(exports, "PayioPermissionEntity", { enumerable: true, get: function () { return permission_entity_1.PayioPermissionEntity; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IPayioPermission } from '../interfaces/i-permission';
|
2
|
+
export declare class PayioPermissionEntity implements IPayioPermission {
|
3
|
+
createdAt: Date;
|
4
|
+
description: string;
|
5
|
+
id: string;
|
6
|
+
isActive: boolean;
|
7
|
+
name: string;
|
8
|
+
updatedAt: Date;
|
9
|
+
constructor(data?: Partial<PayioPermissionEntity>);
|
10
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioPermissionEntity = void 0;
|
4
|
+
var PayioPermissionEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioPermissionEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.createdAt = new Date();
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.isActive = true;
|
13
|
+
this.name = '';
|
14
|
+
this.updatedAt = new Date();
|
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 PayioPermissionEntity;
|
24
|
+
}());
|
25
|
+
exports.PayioPermissionEntity = PayioPermissionEntity;
|
@@ -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 @@
|
|
1
|
+
export { IPayioPermission } from './i-permission';
|
@@ -20,6 +20,8 @@ export declare class SubscriptionBaseEntity implements ISubscriptionBase {
|
|
20
20
|
payment: PaymentEntity;
|
21
21
|
paymentType: EPaymentType;
|
22
22
|
phoneNumbersNotification: string[];
|
23
|
+
planId: string;
|
24
|
+
planName: string;
|
23
25
|
recentInvoices: IInvoice[];
|
24
26
|
renewPaymentDate: Date;
|
25
27
|
renovatedAt: Date;
|
@@ -4,10 +4,10 @@ exports.SubscriptionBaseEntity = void 0;
|
|
4
4
|
var general_1 = require("../../general");
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var SubscriptionBaseEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (25)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function SubscriptionBaseEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (25)
|
11
11
|
this.amount = 0;
|
12
12
|
this.cancellationReason = '';
|
13
13
|
this.createdAt = new Date();
|
@@ -23,6 +23,8 @@ var SubscriptionBaseEntity = /** @class */ (function () {
|
|
23
23
|
this.payment = new general_1.PaymentEntity();
|
24
24
|
this.paymentType = general_1.EPaymentType.NONE;
|
25
25
|
this.phoneNumbersNotification = [];
|
26
|
+
this.planId = '';
|
27
|
+
this.planName = '';
|
26
28
|
this.recentInvoices = [];
|
27
29
|
this.renewPaymentDate = new Date();
|
28
30
|
this.renovatedAt = new Date();
|
@@ -5,8 +5,6 @@ import { SubscriptionCompanyProfileEntity } from './subscription-profile.entity'
|
|
5
5
|
export declare class SubscriptionCompanyEntity extends SubscriptionBaseEntity implements ISubscriptionCompany {
|
6
6
|
features: FeatureEntity[];
|
7
7
|
partnerId: string | null;
|
8
|
-
planId: string;
|
9
|
-
planName: string;
|
10
8
|
profile: SubscriptionCompanyProfileEntity;
|
11
9
|
constructor(data?: Partial<SubscriptionCompanyEntity>);
|
12
10
|
}
|
@@ -27,8 +27,6 @@ var SubscriptionCompanyEntity = /** @class */ (function (_super) {
|
|
27
27
|
// #region Properties (9)
|
28
28
|
_this.features = [];
|
29
29
|
_this.partnerId = '';
|
30
|
-
_this.planId = '';
|
31
|
-
_this.planName = '';
|
32
30
|
_this.profile = new subscription_profile_entity_1.SubscriptionCompanyProfileEntity();
|
33
31
|
if (data) {
|
34
32
|
for (var key in data) {
|
@@ -4,7 +4,5 @@ import { ISubscriptionCompanyProfile } from './i-subscription-profile';
|
|
4
4
|
export interface ISubscriptionCompany extends ISubscriptionBase {
|
5
5
|
features: IFeature[];
|
6
6
|
partnerId: string | null;
|
7
|
-
planId: string;
|
8
|
-
planName: string;
|
9
7
|
profile: ISubscriptionCompanyProfile;
|
10
8
|
}
|