cecon-interfaces 1.6.6 → 1.6.9
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/payload/entities/payload-app.entity.mjs +1 -2
- package/dist/esm2022/payio/payload/interfaces/i-payload-app.mjs +1 -1
- package/dist/esm2022/payio/subscriptions/entities/subscription.entity.mjs +6 -3
- package/dist/esm2022/payio/subscriptions/interfaces/i-subscription.mjs +1 -1
- package/dist/esm2022/payio/tokens/entities/index.mjs +2 -0
- package/dist/esm2022/payio/tokens/entities/token.entity.mjs +24 -0
- package/dist/esm2022/payio/tokens/index.mjs +3 -0
- package/dist/esm2022/payio/tokens/interfaces/i-token.mjs +2 -0
- package/dist/esm2022/payio/tokens/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +30 -4
- 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/payload/entities/payload-app.entity.d.ts +0 -1
- package/dist/payio/payload/entities/payload-app.entity.js +0 -1
- package/dist/payio/payload/interfaces/i-payload-app.d.ts +0 -1
- package/dist/payio/subscriptions/entities/subscription.entity.d.ts +3 -0
- package/dist/payio/subscriptions/entities/subscription.entity.js +5 -2
- package/dist/payio/subscriptions/interfaces/i-subscription.d.ts +3 -0
- package/dist/payio/tokens/entities/index.d.ts +1 -0
- package/dist/payio/tokens/entities/index.js +5 -0
- package/dist/payio/tokens/entities/token.entity.d.ts +13 -0
- package/dist/payio/tokens/entities/token.entity.js +28 -0
- package/dist/payio/tokens/index.d.ts +2 -0
- package/dist/payio/tokens/index.js +18 -0
- package/dist/payio/tokens/interfaces/i-token.d.ts +11 -0
- package/dist/payio/tokens/interfaces/i-token.js +2 -0
- package/dist/payio/tokens/interfaces/index.d.ts +1 -0
- package/dist/payio/tokens/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -3,7 +3,9 @@ import { IPayioSubscription } from '../interfaces/i-subscription';
|
|
3
3
|
import { PayioSubscriptionItemEntity } from './subscription-item.entity';
|
4
4
|
import { PayioSubscriptionLogEntity } from './subscription-log.entity';
|
5
5
|
export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
6
|
+
activeDevices: string[];
|
6
7
|
amount: number;
|
8
|
+
appIds: string[];
|
7
9
|
cancellationReason: string;
|
8
10
|
createdAt: Date;
|
9
11
|
customVariables: CustomVariableEntity[];
|
@@ -13,6 +15,7 @@ export declare class PayioSubscriptionEntity implements IPayioSubscription {
|
|
13
15
|
intervalType: EIntervalType;
|
14
16
|
items: PayioSubscriptionItemEntity[];
|
15
17
|
logs: PayioSubscriptionLogEntity[];
|
18
|
+
maxSeats: number;
|
16
19
|
notes: string;
|
17
20
|
payment: PaymentMethodEntity;
|
18
21
|
planId: string;
|
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioSubscriptionEntity = void 0;
|
4
4
|
var general_1 = require("../../../general");
|
5
5
|
var PayioSubscriptionEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (24)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PayioSubscriptionEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (24)
|
10
|
+
this.activeDevices = [];
|
10
11
|
this.amount = 0;
|
12
|
+
this.appIds = [];
|
11
13
|
this.cancellationReason = '';
|
12
14
|
this.createdAt = new Date();
|
13
15
|
this.customVariables = [];
|
@@ -17,6 +19,7 @@ var PayioSubscriptionEntity = /** @class */ (function () {
|
|
17
19
|
this.intervalType = general_1.EIntervalType.MONTHS;
|
18
20
|
this.items = [];
|
19
21
|
this.logs = [];
|
22
|
+
this.maxSeats = 0;
|
20
23
|
this.notes = '';
|
21
24
|
this.payment = new general_1.PaymentMethodEntity();
|
22
25
|
this.planId = '';
|
@@ -2,7 +2,9 @@ import { EIntervalType, ESubsStatus, ICustomVariable, IPaymentMethod } from '../
|
|
2
2
|
import { IPayioSubscriptionItem } from './i-subscription-item';
|
3
3
|
import { IPayioSubscriptionLog } from './i-subscription-log';
|
4
4
|
export interface IPayioSubscription {
|
5
|
+
activeDevices: string[];
|
5
6
|
amount: number;
|
7
|
+
appIds: string[];
|
6
8
|
cancellationReason: string;
|
7
9
|
createdAt: Date;
|
8
10
|
customVariables: ICustomVariable[];
|
@@ -12,6 +14,7 @@ export interface IPayioSubscription {
|
|
12
14
|
intervalType: EIntervalType;
|
13
15
|
items: IPayioSubscriptionItem[];
|
14
16
|
logs: IPayioSubscriptionLog[];
|
17
|
+
maxSeats: number;
|
15
18
|
notes: string;
|
16
19
|
payment: IPaymentMethod;
|
17
20
|
planId: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioTokenEntity } from './token.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioTokenEntity = void 0;
|
4
|
+
var token_entity_1 = require("./token.entity");
|
5
|
+
Object.defineProperty(exports, "PayioTokenEntity", { enumerable: true, get: function () { return token_entity_1.PayioTokenEntity; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioToken } from '../interfaces/i-token';
|
2
|
+
export declare class PayioTokenEntity implements IPayioToken {
|
3
|
+
createdAt: Date;
|
4
|
+
deviceId: string | null;
|
5
|
+
expiresAt: Date;
|
6
|
+
id: string;
|
7
|
+
ipAddress: string | null;
|
8
|
+
isRevoked: boolean;
|
9
|
+
refreshToken: string;
|
10
|
+
userAgent: string | null;
|
11
|
+
userId: string;
|
12
|
+
constructor(data?: Partial<PayioTokenEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioTokenEntity = void 0;
|
4
|
+
var PayioTokenEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioTokenEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
this.createdAt = new Date();
|
10
|
+
this.deviceId = null;
|
11
|
+
this.expiresAt = new Date();
|
12
|
+
this.id = '';
|
13
|
+
this.ipAddress = null;
|
14
|
+
this.isRevoked = false;
|
15
|
+
this.refreshToken = '';
|
16
|
+
this.userAgent = null;
|
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 PayioTokenEntity;
|
27
|
+
}());
|
28
|
+
exports.PayioTokenEntity = PayioTokenEntity;
|
@@ -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 { IPayioToken } from './i-token';
|