cecon-interfaces 1.6.65 → 1.6.67
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/activation-key/entities/activation-key.entity.mjs +2 -2
- package/dist/esm2022/payio/activation-key/enums/activation-key-status.enum.mjs +5 -1
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- package/dist/esm2022/payio/app/entities/app.entity.mjs +1 -2
- package/dist/esm2022/payio/app/enums/app-slug.enum.mjs +3 -1
- package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/payio/distributors/entities/distributor-responsible.entity.mjs +22 -0
- package/dist/esm2022/payio/distributors/entities/distributor.entity.mjs +10 -8
- package/dist/esm2022/payio/distributors/entities/index.mjs +2 -1
- package/dist/esm2022/payio/distributors/enums/index.mjs +2 -0
- package/dist/esm2022/payio/distributors/enums/status.enum.mjs +17 -0
- package/dist/esm2022/payio/distributors/index.mjs +2 -1
- package/dist/esm2022/payio/distributors/interfaces/i-distributor-responsible.mjs +2 -0
- package/dist/esm2022/payio/distributors/interfaces/i-distributor.mjs +1 -1
- package/dist/esm2022/payio/distributors/interfaces/index.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -5
- package/dist/esm2022/payio/payio-members/entities/index.mjs +2 -0
- package/dist/esm2022/payio/payio-members/entities/member.entity.mjs +19 -0
- package/dist/esm2022/payio/payio-members/enums/index.mjs +2 -0
- package/dist/esm2022/payio/payio-members/enums/profile.enum.mjs +14 -0
- package/dist/esm2022/payio/payio-members/index.mjs +4 -0
- package/dist/esm2022/payio/payio-members/interfaces/i-member.mjs +2 -0
- package/dist/esm2022/payio/payio-members/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/resume-queues/enums/entities-type.enum.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs +81 -179
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.js +1 -1
- package/dist/payio/activation-key/enums/activation-key-status.enum.d.ts +5 -1
- package/dist/payio/activation-key/enums/activation-key-status.enum.js +4 -0
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +1 -1
- package/dist/payio/app/entities/app.entity.d.ts +0 -1
- package/dist/payio/app/entities/app.entity.js +0 -1
- package/dist/payio/app/enums/app-slug.enum.d.ts +2 -0
- package/dist/payio/app/enums/app-slug.enum.js +2 -0
- package/dist/payio/app/interfaces/i-app.d.ts +1 -2
- package/dist/payio/distributors/entities/distributor-responsible.entity.d.ts +11 -0
- package/dist/payio/distributors/entities/distributor-responsible.entity.js +26 -0
- package/dist/payio/distributors/entities/distributor.entity.d.ts +10 -7
- package/dist/payio/distributors/entities/distributor.entity.js +9 -7
- package/dist/payio/distributors/entities/index.d.ts +1 -0
- package/dist/payio/distributors/entities/index.js +3 -1
- package/dist/payio/distributors/enums/index.d.ts +1 -0
- package/dist/payio/distributors/enums/index.js +5 -0
- package/dist/payio/distributors/enums/status.enum.d.ts +15 -0
- package/dist/payio/distributors/enums/status.enum.js +19 -0
- package/dist/payio/distributors/index.d.ts +1 -0
- package/dist/payio/distributors/index.js +1 -0
- package/dist/payio/distributors/interfaces/i-distributor-responsible.d.ts +9 -0
- package/dist/payio/distributors/interfaces/i-distributor.d.ts +8 -6
- package/dist/payio/distributors/interfaces/index.d.ts +1 -0
- package/dist/payio/index.d.ts +1 -4
- package/dist/payio/index.js +1 -4
- package/dist/payio/payio-members/entities/index.d.ts +1 -0
- package/dist/payio/payio-members/entities/index.js +5 -0
- package/dist/payio/payio-members/entities/member.entity.d.ts +7 -0
- package/dist/payio/payio-members/entities/member.entity.js +40 -0
- package/dist/payio/payio-members/enums/index.d.ts +1 -0
- package/dist/payio/payio-members/enums/index.js +5 -0
- package/dist/payio/payio-members/enums/profile.enum.d.ts +9 -0
- package/dist/payio/payio-members/enums/profile.enum.js +16 -0
- package/dist/payio/{plan → payio-members}/index.d.ts +1 -0
- package/dist/payio/{plan → payio-members}/index.js +1 -0
- package/dist/payio/payio-members/interfaces/i-member.d.ts +5 -0
- package/dist/payio/payio-members/interfaces/index.d.ts +1 -0
- package/dist/payio/resume-queues/enums/entities-type.enum.d.ts +1 -1
- package/dist/payio/resume-queues/enums/entities-type.enum.js +2 -1
- package/package.json +1 -1
- package/dist/esm2022/payio/features/entities/feature.entity.mjs +0 -28
- package/dist/esm2022/payio/features/entities/index.mjs +0 -2
- package/dist/esm2022/payio/features/enum/feature-type.enum.mjs +0 -10
- package/dist/esm2022/payio/features/enum/index.mjs +0 -2
- package/dist/esm2022/payio/features/index.mjs +0 -4
- package/dist/esm2022/payio/features/interfaces/i-feature.mjs +0 -2
- package/dist/esm2022/payio/features/interfaces/index.mjs +0 -2
- package/dist/esm2022/payio/plan/entities/index.mjs +0 -2
- package/dist/esm2022/payio/plan/entities/plan.entity.mjs +0 -28
- package/dist/esm2022/payio/plan/index.mjs +0 -3
- package/dist/esm2022/payio/plan/interfaces/i-plan.mjs +0 -2
- package/dist/esm2022/payio/plan/interfaces/index.mjs +0 -2
- package/dist/esm2022/payio/subscriptions/entities/index.mjs +0 -5
- package/dist/esm2022/payio/subscriptions/entities/subscription-active-device.entity.mjs +0 -17
- package/dist/esm2022/payio/subscriptions/entities/subscription-log.entity.mjs +0 -19
- package/dist/esm2022/payio/subscriptions/entities/subscription-seat.entity.mjs +0 -9
- package/dist/esm2022/payio/subscriptions/entities/subscription.entity.mjs +0 -41
- package/dist/esm2022/payio/subscriptions/index.mjs +0 -3
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription-active-device.mjs +0 -2
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription-log.mjs +0 -2
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription-seat.mjs +0 -2
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription.mjs +0 -2
- package/dist/esm2022/payio/subscriptions/interfaces/index.mjs +0 -2
- package/dist/esm2022/payio/trials/entities/index.mjs +0 -2
- package/dist/esm2022/payio/trials/entities/trial.entity.mjs +0 -24
- package/dist/esm2022/payio/trials/index.mjs +0 -3
- package/dist/esm2022/payio/trials/interfaces/i-trial.mjs +0 -2
- package/dist/esm2022/payio/trials/interfaces/index.mjs +0 -2
- package/dist/payio/features/entities/feature.entity.d.ts +0 -17
- package/dist/payio/features/entities/feature.entity.js +0 -32
- package/dist/payio/features/entities/index.d.ts +0 -1
- package/dist/payio/features/entities/index.js +0 -5
- package/dist/payio/features/enum/feature-type.enum.d.ts +0 -8
- package/dist/payio/features/enum/feature-type.enum.js +0 -12
- package/dist/payio/features/enum/index.d.ts +0 -1
- package/dist/payio/features/enum/index.js +0 -5
- package/dist/payio/features/index.d.ts +0 -3
- package/dist/payio/features/index.js +0 -19
- package/dist/payio/features/interfaces/i-feature.d.ts +0 -15
- package/dist/payio/features/interfaces/index.d.ts +0 -1
- package/dist/payio/plan/entities/index.d.ts +0 -1
- package/dist/payio/plan/entities/index.js +0 -5
- package/dist/payio/plan/entities/plan.entity.d.ts +0 -18
- package/dist/payio/plan/entities/plan.entity.js +0 -32
- package/dist/payio/plan/interfaces/i-plan.d.ts +0 -16
- package/dist/payio/plan/interfaces/i-plan.js +0 -2
- package/dist/payio/plan/interfaces/index.d.ts +0 -1
- package/dist/payio/subscriptions/entities/index.d.ts +0 -4
- package/dist/payio/subscriptions/entities/index.js +0 -11
- package/dist/payio/subscriptions/entities/subscription-active-device.entity.d.ts +0 -6
- package/dist/payio/subscriptions/entities/subscription-active-device.entity.js +0 -21
- package/dist/payio/subscriptions/entities/subscription-log.entity.d.ts +0 -8
- package/dist/payio/subscriptions/entities/subscription-log.entity.js +0 -23
- package/dist/payio/subscriptions/entities/subscription-seat.entity.d.ts +0 -6
- package/dist/payio/subscriptions/entities/subscription-seat.entity.js +0 -14
- package/dist/payio/subscriptions/entities/subscription.entity.d.ts +0 -34
- package/dist/payio/subscriptions/entities/subscription.entity.js +0 -45
- package/dist/payio/subscriptions/index.d.ts +0 -2
- package/dist/payio/subscriptions/index.js +0 -18
- package/dist/payio/subscriptions/interfaces/i-subscription-active-device.d.ts +0 -4
- package/dist/payio/subscriptions/interfaces/i-subscription-active-device.js +0 -2
- package/dist/payio/subscriptions/interfaces/i-subscription-log.d.ts +0 -6
- package/dist/payio/subscriptions/interfaces/i-subscription-log.js +0 -2
- package/dist/payio/subscriptions/interfaces/i-subscription-seat.d.ts +0 -4
- package/dist/payio/subscriptions/interfaces/i-subscription-seat.js +0 -2
- package/dist/payio/subscriptions/interfaces/i-subscription.d.ts +0 -30
- package/dist/payio/subscriptions/interfaces/i-subscription.js +0 -2
- package/dist/payio/subscriptions/interfaces/index.d.ts +0 -4
- package/dist/payio/subscriptions/interfaces/index.js +0 -2
- package/dist/payio/trials/entities/index.d.ts +0 -1
- package/dist/payio/trials/entities/index.js +0 -5
- package/dist/payio/trials/entities/trial.entity.d.ts +0 -13
- package/dist/payio/trials/entities/trial.entity.js +0 -28
- package/dist/payio/trials/index.d.ts +0 -2
- package/dist/payio/trials/index.js +0 -18
- package/dist/payio/trials/interfaces/i-trial.d.ts +0 -11
- package/dist/payio/trials/interfaces/i-trial.js +0 -2
- package/dist/payio/trials/interfaces/index.d.ts +0 -1
- package/dist/payio/trials/interfaces/index.js +0 -2
- /package/dist/payio/{features/interfaces/i-feature.js → distributors/interfaces/i-distributor-responsible.js} +0 -0
- /package/dist/payio/{features/interfaces/index.js → payio-members/interfaces/i-member.js} +0 -0
- /package/dist/payio/{plan → payio-members}/interfaces/index.js +0 -0
@@ -1,34 +0,0 @@
|
|
1
|
-
import { CustomVariableEntity, EIntervalType, ESubsStatus, PaymentMethodEntity } from '../../../general';
|
2
|
-
import { PayioFeatureEntity } from '../../features';
|
3
|
-
import { IPayioSubscription } from '../interfaces/i-subscription';
|
4
|
-
import { PayioSubscriptionActiveDeviceEntity } from './subscription-active-device.entity';
|
5
|
-
import { PayioSubscriptionLogEntity } from './subscription-log.entity';
|
6
|
-
import { PayioSubscriptionSeatEntity } from './subscription-seat.entity';
|
7
|
-
export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
8
|
-
activationKey: string | null;
|
9
|
-
activeDevices: PayioSubscriptionActiveDeviceEntity[];
|
10
|
-
amount: number;
|
11
|
-
cancellationReason: string;
|
12
|
-
companyId: string;
|
13
|
-
createdAt: Date;
|
14
|
-
customVariables: CustomVariableEntity[];
|
15
|
-
expiresAt: Date;
|
16
|
-
id: string;
|
17
|
-
interval: number;
|
18
|
-
intervalType: EIntervalType;
|
19
|
-
items: PayioFeatureEntity[];
|
20
|
-
logs: PayioSubscriptionLogEntity[];
|
21
|
-
notes: string;
|
22
|
-
payment: PaymentMethodEntity | null;
|
23
|
-
planId: string;
|
24
|
-
planName: string;
|
25
|
-
renewPaymentDate: Date;
|
26
|
-
renovatedAt: Date;
|
27
|
-
seats: PayioSubscriptionSeatEntity[];
|
28
|
-
startsAt: Date;
|
29
|
-
status: ESubsStatus;
|
30
|
-
suspendedTimes: number;
|
31
|
-
tags: string[];
|
32
|
-
updatedAt: Date;
|
33
|
-
constructor(data?: Partial<PayioSubscriptionEntity>);
|
34
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioSubscriptionEntity = void 0;
|
4
|
-
var general_1 = require("../../../general");
|
5
|
-
var PayioSubscriptionEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (25)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function PayioSubscriptionEntity(data) {
|
9
|
-
// #region Properties (25)
|
10
|
-
this.activationKey = null;
|
11
|
-
this.activeDevices = [];
|
12
|
-
this.amount = 0;
|
13
|
-
this.cancellationReason = '';
|
14
|
-
this.companyId = '';
|
15
|
-
this.createdAt = new Date();
|
16
|
-
this.customVariables = [];
|
17
|
-
this.expiresAt = new Date();
|
18
|
-
this.id = '';
|
19
|
-
this.interval = 0;
|
20
|
-
this.intervalType = general_1.EIntervalType.MONTHS;
|
21
|
-
this.items = [];
|
22
|
-
this.logs = [];
|
23
|
-
this.notes = '';
|
24
|
-
this.payment = null;
|
25
|
-
this.planId = '';
|
26
|
-
this.planName = '';
|
27
|
-
this.renewPaymentDate = new Date();
|
28
|
-
this.renovatedAt = new Date();
|
29
|
-
this.seats = [];
|
30
|
-
this.startsAt = new Date();
|
31
|
-
this.status = general_1.ESubsStatus.PENDING;
|
32
|
-
this.suspendedTimes = 0;
|
33
|
-
this.tags = [];
|
34
|
-
this.updatedAt = new Date();
|
35
|
-
if (data) {
|
36
|
-
for (var key in data) {
|
37
|
-
if (data.hasOwnProperty(key) && key in this) {
|
38
|
-
this[key] = data[key];
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
return PayioSubscriptionEntity;
|
44
|
-
}());
|
45
|
-
exports.PayioSubscriptionEntity = PayioSubscriptionEntity;
|
@@ -1,18 +0,0 @@
|
|
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);
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { EIntervalType, ESubsStatus, ICustomVariable, IPaymentMethod } from '../../../general';
|
2
|
-
import { IPayioFeature } from '../../features';
|
3
|
-
import { IPayioSubscriptionActiveDevice } from './i-subscription-active-device';
|
4
|
-
import { IPayioSubscriptionLog } from './i-subscription-log';
|
5
|
-
export interface IPayioSubscription {
|
6
|
-
activeDevices: IPayioSubscriptionActiveDevice[];
|
7
|
-
amount: number;
|
8
|
-
cancellationReason: string;
|
9
|
-
companyId: string;
|
10
|
-
createdAt: Date;
|
11
|
-
customVariables: ICustomVariable[];
|
12
|
-
expiresAt: Date;
|
13
|
-
id: string;
|
14
|
-
interval: number;
|
15
|
-
intervalType: EIntervalType;
|
16
|
-
items: IPayioFeature[];
|
17
|
-
logs: IPayioSubscriptionLog[];
|
18
|
-
notes: string;
|
19
|
-
payment: IPaymentMethod | null;
|
20
|
-
planId: string;
|
21
|
-
planName: string;
|
22
|
-
activationKey: string | null;
|
23
|
-
renewPaymentDate: Date;
|
24
|
-
renovatedAt: Date;
|
25
|
-
startsAt: Date;
|
26
|
-
status: ESubsStatus;
|
27
|
-
suspendedTimes: number;
|
28
|
-
tags: string[];
|
29
|
-
updatedAt: Date;
|
30
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export { PayioTrialEntity } from './trial.entity';
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioTrialEntity = void 0;
|
4
|
-
var trial_entity_1 = require("./trial.entity");
|
5
|
-
Object.defineProperty(exports, "PayioTrialEntity", { enumerable: true, get: function () { return trial_entity_1.PayioTrialEntity; } });
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { IPayioTrial } from '../interfaces/i-trial';
|
2
|
-
export declare class PayioTrialEntity implements IPayioTrial {
|
3
|
-
companyId: string;
|
4
|
-
createdAt: Date;
|
5
|
-
id: string;
|
6
|
-
planId: string;
|
7
|
-
subscriptionId: string;
|
8
|
-
trialEndAt: Date;
|
9
|
-
trialStartAt: Date;
|
10
|
-
updatedAt: Date;
|
11
|
-
userId: string;
|
12
|
-
constructor(data?: Partial<PayioTrialEntity>);
|
13
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioTrialEntity = void 0;
|
4
|
-
var PayioTrialEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (9)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function PayioTrialEntity(data) {
|
8
|
-
// #region Properties (9)
|
9
|
-
this.companyId = '';
|
10
|
-
this.createdAt = new Date();
|
11
|
-
this.id = '';
|
12
|
-
this.planId = '';
|
13
|
-
this.subscriptionId = '';
|
14
|
-
this.trialEndAt = new Date();
|
15
|
-
this.trialStartAt = new Date();
|
16
|
-
this.updatedAt = new Date();
|
17
|
-
this.userId = '';
|
18
|
-
if (data) {
|
19
|
-
for (var key in data) {
|
20
|
-
if (data.hasOwnProperty(key) && key in this) {
|
21
|
-
this[key] = data[key];
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
return PayioTrialEntity;
|
27
|
-
}());
|
28
|
-
exports.PayioTrialEntity = PayioTrialEntity;
|
@@ -1,18 +0,0 @@
|
|
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);
|
@@ -1 +0,0 @@
|
|
1
|
-
export { IPayioTrial } from './i-trial';
|
File without changes
|
File without changes
|
File without changes
|