cecon-interfaces 1.9.50 → 1.9.52
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/payio/cards/entities/card.entity.mjs +3 -3
- package/dist/esm2022/payio/cards/interfaces/i-card.mjs +1 -1
- package/dist/esm2022/payio/user/entities/index.mjs +2 -1
- package/dist/esm2022/payio/user/entities/user-sessions.entity.mjs +15 -0
- package/dist/esm2022/payio/user/entities/user.entity.mjs +2 -3
- package/dist/esm2022/payio/user/interfaces/i-user-sessions.mjs +2 -0
- package/dist/esm2022/payio/user/interfaces/i-user.mjs +1 -1
- package/dist/esm2022/payio/user/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +19 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/cards/entities/card.entity.d.ts +2 -2
- package/dist/payio/cards/entities/card.entity.js +2 -2
- package/dist/payio/cards/interfaces/i-card.d.ts +8 -8
- package/dist/payio/user/entities/index.d.ts +1 -0
- package/dist/payio/user/entities/index.js +3 -1
- package/dist/payio/user/entities/user-sessions.entity.d.ts +7 -0
- package/dist/payio/user/entities/user-sessions.entity.js +19 -0
- package/dist/payio/user/entities/user.entity.d.ts +2 -2
- package/dist/payio/user/entities/user.entity.js +1 -2
- package/dist/payio/user/interfaces/i-user-sessions.d.ts +5 -0
- package/dist/payio/user/interfaces/i-user-sessions.js +2 -0
- package/dist/payio/user/interfaces/i-user.d.ts +2 -2
- package/dist/payio/user/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
@@ -24,8 +24,8 @@ export declare class PayioCardEntity implements IPayioCard {
|
|
24
24
|
statusProduction: EPayioCardStatusProduction;
|
25
25
|
tags: string[];
|
26
26
|
type: EPayioCardType;
|
27
|
-
|
28
|
-
|
27
|
+
unLockCode: string | null;
|
28
|
+
unLockedAt: Date | null;
|
29
29
|
updatedAt: Date;
|
30
30
|
constructor(data?: Partial<PayioCardEntity>);
|
31
31
|
}
|
@@ -27,8 +27,8 @@ var PayioCardEntity = /** @class */ (function () {
|
|
27
27
|
this.statusProduction = status_production_enum_1.EPayioCardStatusProduction.PENDING;
|
28
28
|
this.tags = [];
|
29
29
|
this.type = type_enum_1.EPayioCardType.VIRTUAL;
|
30
|
-
this.
|
31
|
-
this.
|
30
|
+
this.unLockCode = null;
|
31
|
+
this.unLockedAt = null;
|
32
32
|
this.updatedAt = new Date();
|
33
33
|
if (data) {
|
34
34
|
for (var key in data) {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ECardMode, EPayioCardStatus } from
|
2
|
-
import { EPayioCardStatusProduction } from
|
3
|
-
import { EPayioCardType } from
|
4
|
-
import { IPayioCardAccountProvider } from
|
5
|
-
import { IPayioCardConfig } from
|
6
|
-
import { IPayioCardData } from
|
1
|
+
import { ECardMode, EPayioCardStatus } from '../enums';
|
2
|
+
import { EPayioCardStatusProduction } from '../enums/status-production.enum';
|
3
|
+
import { EPayioCardType } from '../enums/type.enum';
|
4
|
+
import { IPayioCardAccountProvider } from './i-card-account-provider';
|
5
|
+
import { IPayioCardConfig } from './i-card-config';
|
6
|
+
import { IPayioCardData } from './i-card-data';
|
7
7
|
export interface IPayioCard {
|
8
8
|
accountProvider: IPayioCardAccountProvider;
|
9
9
|
active: boolean;
|
@@ -23,7 +23,7 @@ export interface IPayioCard {
|
|
23
23
|
statusProduction: EPayioCardStatusProduction;
|
24
24
|
tags: string[];
|
25
25
|
type: EPayioCardType;
|
26
|
-
|
27
|
-
|
26
|
+
unLockCode: string | null;
|
27
|
+
unLockedAt: Date | null;
|
28
28
|
updatedAt: Date;
|
29
29
|
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioUserEntity = exports.PayioUserReportEvidenceEntity = exports.PayioUserReportEntity = void 0;
|
3
|
+
exports.PayioUserEntity = exports.PayioUserSessionsEntity = exports.PayioUserReportEvidenceEntity = exports.PayioUserReportEntity = void 0;
|
4
4
|
var user_report_entity_1 = require("./user-report.entity");
|
5
5
|
Object.defineProperty(exports, "PayioUserReportEntity", { enumerable: true, get: function () { return user_report_entity_1.PayioUserReportEntity; } });
|
6
6
|
Object.defineProperty(exports, "PayioUserReportEvidenceEntity", { enumerable: true, get: function () { return user_report_entity_1.PayioUserReportEvidenceEntity; } });
|
7
|
+
var user_sessions_entity_1 = require("./user-sessions.entity");
|
8
|
+
Object.defineProperty(exports, "PayioUserSessionsEntity", { enumerable: true, get: function () { return user_sessions_entity_1.PayioUserSessionsEntity; } });
|
7
9
|
var user_entity_1 = require("./user.entity");
|
8
10
|
Object.defineProperty(exports, "PayioUserEntity", { enumerable: true, get: function () { return user_entity_1.PayioUserEntity; } });
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPayioUserSessions } from '../interfaces/i-user-sessions';
|
2
|
+
export declare class PayioUserSessionsEntity implements IPayioUserSessions {
|
3
|
+
companyId: string | null;
|
4
|
+
companyName: string | null;
|
5
|
+
deviceId: string | null;
|
6
|
+
constructor(data?: Partial<PayioUserSessionsEntity>);
|
7
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioUserSessionsEntity = void 0;
|
4
|
+
var PayioUserSessionsEntity = /** @class */ (function () {
|
5
|
+
function PayioUserSessionsEntity(data) {
|
6
|
+
this.companyId = null;
|
7
|
+
this.companyName = null;
|
8
|
+
this.deviceId = null;
|
9
|
+
if (data) {
|
10
|
+
for (var key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return PayioUserSessionsEntity;
|
18
|
+
}());
|
19
|
+
exports.PayioUserSessionsEntity = PayioUserSessionsEntity;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { UserEntity } from '../../../users';
|
2
2
|
import { IPayioUserReport } from '../interfaces';
|
3
3
|
import { IPayioUser } from '../interfaces/i-user';
|
4
|
+
import { PayioUserSessionsEntity } from './user-sessions.entity';
|
4
5
|
export declare class PayioUserEntity extends UserEntity implements IPayioUser {
|
5
6
|
accessCode: string | null;
|
6
7
|
accessCodeExpiration: Date | null;
|
7
8
|
code: string | null;
|
8
|
-
currentCompanyId: string | null;
|
9
|
-
currentCompanyName: string | null;
|
10
9
|
faceId: string | null;
|
11
10
|
faceImage64: string | null;
|
12
11
|
faceLastUpdate: Date | null;
|
13
12
|
reports: IPayioUserReport[];
|
13
|
+
sessions: PayioUserSessionsEntity[];
|
14
14
|
constructor(data?: Partial<PayioUserEntity>);
|
15
15
|
}
|
@@ -24,12 +24,11 @@ var PayioUserEntity = /** @class */ (function (_super) {
|
|
24
24
|
_this.accessCode = null;
|
25
25
|
_this.accessCodeExpiration = null;
|
26
26
|
_this.code = null;
|
27
|
-
_this.currentCompanyId = null;
|
28
|
-
_this.currentCompanyName = null;
|
29
27
|
_this.faceId = null;
|
30
28
|
_this.faceImage64 = null;
|
31
29
|
_this.faceLastUpdate = null;
|
32
30
|
_this.reports = [];
|
31
|
+
_this.sessions = [];
|
33
32
|
if (data) {
|
34
33
|
for (var key in data) {
|
35
34
|
if (data.hasOwnProperty(key) && key in _this) {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { IUser } from '../../../users';
|
2
2
|
import { IPayioUserReport } from './i-user-report';
|
3
|
+
import { IPayioUserSessions } from './i-user-sessions';
|
3
4
|
export interface IPayioUser extends IUser {
|
4
5
|
accessCode: string | null;
|
5
6
|
accessCodeExpiration: Date | null;
|
6
7
|
code: string | null;
|
7
|
-
|
8
|
-
currentCompanyName: string | null;
|
8
|
+
sessions: IPayioUserSessions[];
|
9
9
|
faceId: string | null;
|
10
10
|
faceImage64: string | null;
|
11
11
|
faceLastUpdate: Date | null;
|