cecon-interfaces 1.8.33 → 1.8.35
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/natipay/user/entities/user.entity.mjs +3 -1
- package/dist/esm2022/natipay/user/interfaces/i-user.mjs +1 -1
- package/dist/esm2022/payio/cash-config/interfaces/i-cash-config-operation.mjs +1 -1
- package/dist/esm2022/payio/chef-config/entities/webhook.entity.mjs +2 -1
- package/dist/esm2022/payio/chef-config/interfaces/i-webhook.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +3 -2
- package/dist/esm2022/payio/user/entities/index.mjs +2 -1
- package/dist/esm2022/payio/user/entities/user-report.entity.mjs +29 -0
- package/dist/esm2022/payio/user/entities/user.entity.mjs +10 -1
- package/dist/esm2022/payio/user/enums/evidence-type.enum.mjs +9 -0
- package/dist/esm2022/payio/user/enums/index.mjs +3 -0
- package/dist/esm2022/payio/user/enums/reports-type.enum.mjs +17 -0
- package/dist/esm2022/payio/user/interfaces/i-user-report.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/esm2022/payio/vision-terminal/entities/index.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/entities/vision-terminal.entity.mjs +25 -0
- package/dist/esm2022/payio/vision-terminal/index.mjs +3 -0
- package/dist/esm2022/payio/vision-terminal/interfaces/i-vision-terminal.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/interfaces/index.mjs +2 -0
- package/dist/esm2022/users/entities/user.entity.mjs +2 -8
- package/dist/esm2022/users/enums/payio-user-type.enum.mjs +2 -1
- package/dist/esm2022/users/interfaces/i-user.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +121 -35
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/user/entities/user.entity.d.ts +2 -0
- package/dist/natipay/user/entities/user.entity.js +2 -0
- package/dist/natipay/user/interfaces/i-user.d.ts +2 -0
- package/dist/payio/cash-config/interfaces/i-cash-config-operation.d.ts +1 -0
- package/dist/payio/chef-config/entities/webhook.entity.d.ts +1 -0
- package/dist/payio/chef-config/entities/webhook.entity.js +1 -0
- package/dist/payio/chef-config/interfaces/i-webhook.d.ts +1 -0
- package/dist/payio/index.d.ts +2 -1
- package/dist/payio/index.js +2 -1
- package/dist/payio/user/entities/index.d.ts +1 -0
- package/dist/payio/user/entities/index.js +4 -1
- package/dist/payio/user/entities/user-report.entity.d.ts +21 -0
- package/dist/payio/user/entities/user-report.entity.js +33 -0
- package/dist/payio/user/entities/user.entity.d.ts +10 -0
- package/dist/payio/user/entities/user.entity.js +9 -0
- package/dist/payio/user/enums/evidence-type.enum.d.ts +7 -0
- package/dist/payio/user/enums/evidence-type.enum.js +11 -0
- package/dist/payio/user/enums/index.d.ts +2 -0
- package/dist/payio/user/enums/index.js +7 -0
- package/dist/payio/user/enums/reports-type.enum.d.ts +15 -0
- package/dist/payio/user/enums/reports-type.enum.js +19 -0
- package/dist/payio/user/interfaces/i-user-report.d.ts +20 -0
- package/dist/payio/user/interfaces/i-user-report.js +2 -0
- package/dist/payio/user/interfaces/i-user.d.ts +10 -0
- package/dist/payio/user/interfaces/index.d.ts +1 -0
- package/dist/payio/vision-terminal/entities/index.d.ts +1 -0
- package/dist/payio/vision-terminal/entities/index.js +5 -0
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.d.ts +17 -0
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.js +29 -0
- package/dist/payio/vision-terminal/index.d.ts +2 -0
- package/dist/payio/vision-terminal/index.js +18 -0
- package/dist/payio/vision-terminal/interfaces/i-vision-terminal.d.ts +15 -0
- package/dist/payio/vision-terminal/interfaces/i-vision-terminal.js +2 -0
- package/dist/payio/vision-terminal/interfaces/index.d.ts +1 -0
- package/dist/payio/vision-terminal/interfaces/index.js +2 -0
- package/dist/users/entities/user.entity.d.ts +3 -6
- package/dist/users/entities/user.entity.js +0 -6
- package/dist/users/enums/payio-user-type.enum.d.ts +2 -1
- package/dist/users/enums/payio-user-type.enum.js +1 -0
- package/dist/users/interfaces/i-user.d.ts +0 -3
- package/package.json +1 -1
@@ -1,6 +1,8 @@
|
|
1
1
|
import { UserEntity } from '../../../users';
|
2
2
|
import { INatipayUser } from '../interfaces/i-user';
|
3
3
|
export declare class NatipayUserEntity extends UserEntity implements INatipayUser {
|
4
|
+
currentCompanyId: string | null;
|
5
|
+
currentCompanyName: string | null;
|
4
6
|
currentContainerId?: string | null | undefined;
|
5
7
|
currentContainerName?: string | null | undefined;
|
6
8
|
constructor(data?: Partial<NatipayUserEntity>);
|
@@ -21,6 +21,8 @@ var NatipayUserEntity = /** @class */ (function (_super) {
|
|
21
21
|
__extends(NatipayUserEntity, _super);
|
22
22
|
function NatipayUserEntity(data) {
|
23
23
|
var _this = _super.call(this) || this;
|
24
|
+
_this.currentCompanyId = null;
|
25
|
+
_this.currentCompanyName = null;
|
24
26
|
_this.currentContainerId = null;
|
25
27
|
_this.currentContainerName = null;
|
26
28
|
if (data) {
|
@@ -2,6 +2,7 @@ import { EBarcodeFormat } from '../../chef-config';
|
|
2
2
|
import { ETefProvider } from '../enums';
|
3
3
|
export interface IPayioCashConfigOperation {
|
4
4
|
balanceMethod: EBarcodeFormat | null;
|
5
|
+
/** @deprecated */
|
5
6
|
tabFormat: string | null;
|
6
7
|
tef: IPayioCashConfigOperationTef;
|
7
8
|
pdvId: string;
|
@@ -3,6 +3,7 @@ import { IPayioWebhook, IPayioWebhookHeader } from '../interfaces';
|
|
3
3
|
export declare class PayioWebhookEntity implements IPayioWebhook {
|
4
4
|
active: boolean;
|
5
5
|
headers: PayioWebhookHeaderEntity[];
|
6
|
+
id: string;
|
6
7
|
locked: boolean;
|
7
8
|
method: EWebhookMethod;
|
8
9
|
response: any;
|
package/dist/payio/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export * from './activation-key';
|
2
2
|
export * from './admins';
|
3
3
|
export * from './app';
|
4
|
+
export * from './cash-config';
|
4
5
|
export * from './chef-config';
|
5
6
|
export * from './company';
|
6
7
|
export * from './device';
|
@@ -18,5 +19,5 @@ export * from './resume-queues';
|
|
18
19
|
export * from './schedules';
|
19
20
|
export * from './tabs';
|
20
21
|
export * from './tokens';
|
21
|
-
export * from './cash-config';
|
22
22
|
export * from './user';
|
23
|
+
export * from './vision-terminal';
|
package/dist/payio/index.js
CHANGED
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./activation-key"), exports);
|
18
18
|
__exportStar(require("./admins"), exports);
|
19
19
|
__exportStar(require("./app"), exports);
|
20
|
+
__exportStar(require("./cash-config"), exports);
|
20
21
|
__exportStar(require("./chef-config"), exports);
|
21
22
|
__exportStar(require("./company"), exports);
|
22
23
|
__exportStar(require("./device"), exports);
|
@@ -34,5 +35,5 @@ __exportStar(require("./resume-queues"), exports);
|
|
34
35
|
__exportStar(require("./schedules"), exports);
|
35
36
|
__exportStar(require("./tabs"), exports);
|
36
37
|
__exportStar(require("./tokens"), exports);
|
37
|
-
__exportStar(require("./cash-config"), exports);
|
38
38
|
__exportStar(require("./user"), exports);
|
39
|
+
__exportStar(require("./vision-terminal"), exports);
|
@@ -1,5 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioUserEntity = void 0;
|
3
|
+
exports.PayioUserEntity = exports.PayioUserReportEvidenceEntity = exports.PayioUserReportEntity = void 0;
|
4
|
+
var user_report_entity_1 = require("./user-report.entity");
|
5
|
+
Object.defineProperty(exports, "PayioUserReportEntity", { enumerable: true, get: function () { return user_report_entity_1.PayioUserReportEntity; } });
|
6
|
+
Object.defineProperty(exports, "PayioUserReportEvidenceEntity", { enumerable: true, get: function () { return user_report_entity_1.PayioUserReportEvidenceEntity; } });
|
4
7
|
var user_entity_1 = require("./user.entity");
|
5
8
|
Object.defineProperty(exports, "PayioUserEntity", { enumerable: true, get: function () { return user_entity_1.PayioUserEntity; } });
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { UserReportEvidencesType, UserReportType } from '../enums';
|
2
|
+
import { IPayioUserReport, IPayioUserReportEvidences } from '../interfaces';
|
3
|
+
export declare class PayioUserReportEntity implements IPayioUserReport {
|
4
|
+
createdAt: Date;
|
5
|
+
data?: string | undefined;
|
6
|
+
description: string;
|
7
|
+
evidences: PayioUserReportEvidenceEntity[];
|
8
|
+
faceId: string;
|
9
|
+
faceImage64: string;
|
10
|
+
id: string;
|
11
|
+
type: UserReportType;
|
12
|
+
updatedAt: Date;
|
13
|
+
userId: string;
|
14
|
+
constructor(data?: Partial<PayioUserReportEntity>);
|
15
|
+
}
|
16
|
+
export declare class PayioUserReportEvidenceEntity implements IPayioUserReportEvidences {
|
17
|
+
base64?: string;
|
18
|
+
caption?: string;
|
19
|
+
type: UserReportEvidencesType;
|
20
|
+
url?: string;
|
21
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioUserReportEvidenceEntity = exports.PayioUserReportEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var PayioUserReportEntity = /** @class */ (function () {
|
6
|
+
function PayioUserReportEntity(data) {
|
7
|
+
this.createdAt = new Date();
|
8
|
+
this.description = '';
|
9
|
+
this.evidences = [];
|
10
|
+
this.faceId = '';
|
11
|
+
this.faceImage64 = '';
|
12
|
+
this.id = '';
|
13
|
+
this.type = enums_1.UserReportType.OTHER;
|
14
|
+
this.updatedAt = new Date();
|
15
|
+
this.userId = '';
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return PayioUserReportEntity;
|
25
|
+
}());
|
26
|
+
exports.PayioUserReportEntity = PayioUserReportEntity;
|
27
|
+
var PayioUserReportEvidenceEntity = /** @class */ (function () {
|
28
|
+
function PayioUserReportEvidenceEntity() {
|
29
|
+
this.type = enums_1.UserReportEvidencesType.OTHER;
|
30
|
+
}
|
31
|
+
return PayioUserReportEvidenceEntity;
|
32
|
+
}());
|
33
|
+
exports.PayioUserReportEvidenceEntity = PayioUserReportEvidenceEntity;
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { UserEntity } from '../../../users';
|
2
|
+
import { IPayioUserReport } from '../interfaces';
|
2
3
|
import { IPayioUser } from '../interfaces/i-user';
|
3
4
|
export declare class PayioUserEntity extends UserEntity implements IPayioUser {
|
5
|
+
accessCode: string | null;
|
6
|
+
accessCodeExpiration: Date | null;
|
7
|
+
code: string | null;
|
8
|
+
currentCompanyId: string | null;
|
9
|
+
currentCompanyName: string | null;
|
10
|
+
faceId: string | null;
|
11
|
+
faceImage64: string | null;
|
12
|
+
faceLastUpdate: Date | null;
|
13
|
+
reports: IPayioUserReport[];
|
4
14
|
constructor(data?: Partial<PayioUserEntity>);
|
5
15
|
}
|
@@ -21,6 +21,15 @@ var PayioUserEntity = /** @class */ (function (_super) {
|
|
21
21
|
__extends(PayioUserEntity, _super);
|
22
22
|
function PayioUserEntity(data) {
|
23
23
|
var _this = _super.call(this) || this;
|
24
|
+
_this.accessCode = null;
|
25
|
+
_this.accessCodeExpiration = null;
|
26
|
+
_this.code = null;
|
27
|
+
_this.currentCompanyId = null;
|
28
|
+
_this.currentCompanyName = null;
|
29
|
+
_this.faceId = null;
|
30
|
+
_this.faceImage64 = null;
|
31
|
+
_this.faceLastUpdate = null;
|
32
|
+
_this.reports = [];
|
24
33
|
if (data) {
|
25
34
|
for (var key in data) {
|
26
35
|
if (data.hasOwnProperty(key) && key in _this) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserReportEvidencesType = void 0;
|
4
|
+
var UserReportEvidencesType;
|
5
|
+
(function (UserReportEvidencesType) {
|
6
|
+
UserReportEvidencesType["IMAGE"] = "image";
|
7
|
+
UserReportEvidencesType["VIDEO"] = "video";
|
8
|
+
UserReportEvidencesType["AUDIO"] = "audio";
|
9
|
+
UserReportEvidencesType["TEXT"] = "text";
|
10
|
+
UserReportEvidencesType["OTHER"] = "other";
|
11
|
+
})(UserReportEvidencesType || (exports.UserReportEvidencesType = UserReportEvidencesType = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserReportType = exports.UserReportEvidencesType = void 0;
|
4
|
+
var evidence_type_enum_1 = require("./evidence-type.enum");
|
5
|
+
Object.defineProperty(exports, "UserReportEvidencesType", { enumerable: true, get: function () { return evidence_type_enum_1.UserReportEvidencesType; } });
|
6
|
+
var reports_type_enum_1 = require("./reports-type.enum");
|
7
|
+
Object.defineProperty(exports, "UserReportType", { enumerable: true, get: function () { return reports_type_enum_1.UserReportType; } });
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare enum UserReportType {
|
2
|
+
INAPPROPRIATE_BEHAVIOR = "Comportamento Inadequado",
|
3
|
+
FRAUD_ATTEMPT = "Tentativa de Fraude",
|
4
|
+
UNAUTHORIZED_ACCESS = "Acesso N\u00E3o Autorizado",
|
5
|
+
RULE_VIOLATION = "Viola\u00E7\u00E3o de Regras",
|
6
|
+
PAYMENT_ISSUE = "Problemas com Pagamento",
|
7
|
+
UNWANTED_RECURRENCE = "Reincid\u00EAncia Indesejada",
|
8
|
+
SPACE_MISUSE = "Uso Indevido de Espa\u00E7o",
|
9
|
+
THEFT_SUSPICION = "Suspeita de Roubo",
|
10
|
+
RESERVATION_PROBLEM = "Problemas com Reservas",
|
11
|
+
TEMPORARY_BAN = "Proibi\u00E7\u00E3o Tempor\u00E1ria",
|
12
|
+
PERMANENT_BAN = "Proibi\u00E7\u00E3o Permanente",
|
13
|
+
WARNING = "Aviso Pr\u00E9vio",
|
14
|
+
OTHER = "Outros"
|
15
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserReportType = void 0;
|
4
|
+
var UserReportType;
|
5
|
+
(function (UserReportType) {
|
6
|
+
UserReportType["INAPPROPRIATE_BEHAVIOR"] = "Comportamento Inadequado";
|
7
|
+
UserReportType["FRAUD_ATTEMPT"] = "Tentativa de Fraude";
|
8
|
+
UserReportType["UNAUTHORIZED_ACCESS"] = "Acesso N\u00E3o Autorizado";
|
9
|
+
UserReportType["RULE_VIOLATION"] = "Viola\u00E7\u00E3o de Regras";
|
10
|
+
UserReportType["PAYMENT_ISSUE"] = "Problemas com Pagamento";
|
11
|
+
UserReportType["UNWANTED_RECURRENCE"] = "Reincid\u00EAncia Indesejada";
|
12
|
+
UserReportType["SPACE_MISUSE"] = "Uso Indevido de Espa\u00E7o";
|
13
|
+
UserReportType["THEFT_SUSPICION"] = "Suspeita de Roubo";
|
14
|
+
UserReportType["RESERVATION_PROBLEM"] = "Problemas com Reservas";
|
15
|
+
UserReportType["TEMPORARY_BAN"] = "Proibi\u00E7\u00E3o Tempor\u00E1ria";
|
16
|
+
UserReportType["PERMANENT_BAN"] = "Proibi\u00E7\u00E3o Permanente";
|
17
|
+
UserReportType["WARNING"] = "Aviso Pr\u00E9vio";
|
18
|
+
UserReportType["OTHER"] = "Outros";
|
19
|
+
})(UserReportType || (exports.UserReportType = UserReportType = {}));
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UserReportType } from '../enums';
|
2
|
+
import { UserReportEvidencesType } from '../enums/evidence-type.enum';
|
3
|
+
export interface IPayioUserReport {
|
4
|
+
createdAt: Date;
|
5
|
+
faceId: string;
|
6
|
+
faceImage64: string;
|
7
|
+
id: string;
|
8
|
+
data?: string;
|
9
|
+
type: UserReportType;
|
10
|
+
description: string;
|
11
|
+
evidences: IPayioUserReportEvidences[];
|
12
|
+
updatedAt: Date;
|
13
|
+
userId: string;
|
14
|
+
}
|
15
|
+
export interface IPayioUserReportEvidences {
|
16
|
+
type: UserReportEvidencesType;
|
17
|
+
url?: string;
|
18
|
+
base64?: string;
|
19
|
+
caption?: string;
|
20
|
+
}
|
@@ -1,3 +1,13 @@
|
|
1
1
|
import { IUser } from '../../../users';
|
2
|
+
import { IPayioUserReport } from './i-user-report';
|
2
3
|
export interface IPayioUser extends IUser {
|
4
|
+
accessCode: string | null;
|
5
|
+
accessCodeExpiration: Date | null;
|
6
|
+
code: string | null;
|
7
|
+
currentCompanyId: string | null;
|
8
|
+
currentCompanyName: string | null;
|
9
|
+
faceId: string | null;
|
10
|
+
faceImage64: string | null;
|
11
|
+
faceLastUpdate: Date | null;
|
12
|
+
reports: IPayioUserReport[];
|
3
13
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioVisionTerminalEntity } from './vision-terminal.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioVisionTerminalEntity = void 0;
|
4
|
+
var vision_terminal_entity_1 = require("./vision-terminal.entity");
|
5
|
+
Object.defineProperty(exports, "PayioVisionTerminalEntity", { enumerable: true, get: function () { return vision_terminal_entity_1.PayioVisionTerminalEntity; } });
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IPayioVisionTerminal } from '../interfaces/i-vision-terminal';
|
2
|
+
export declare class PayioVisionTerminalEntity implements IPayioVisionTerminal {
|
3
|
+
createdAt: Date;
|
4
|
+
deviceId: string;
|
5
|
+
function: string;
|
6
|
+
hook: string | null;
|
7
|
+
hookAuthorization: string | null;
|
8
|
+
id: number;
|
9
|
+
ipAddress: string;
|
10
|
+
name: string;
|
11
|
+
password: string;
|
12
|
+
session: string | null;
|
13
|
+
type: string;
|
14
|
+
updatedAt: Date;
|
15
|
+
username: string;
|
16
|
+
constructor(data?: Partial<PayioVisionTerminalEntity>);
|
17
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioVisionTerminalEntity = void 0;
|
4
|
+
var PayioVisionTerminalEntity = /** @class */ (function () {
|
5
|
+
function PayioVisionTerminalEntity(data) {
|
6
|
+
this.createdAt = new Date();
|
7
|
+
this.deviceId = '';
|
8
|
+
this.function = '';
|
9
|
+
this.hook = null;
|
10
|
+
this.hookAuthorization = null;
|
11
|
+
this.id = 0;
|
12
|
+
this.ipAddress = '';
|
13
|
+
this.name = '';
|
14
|
+
this.password = '';
|
15
|
+
this.session = null;
|
16
|
+
this.type = '';
|
17
|
+
this.updatedAt = new Date();
|
18
|
+
this.username = '';
|
19
|
+
if (data) {
|
20
|
+
for (var key in data) {
|
21
|
+
if (data.hasOwnProperty(key) && key in this) {
|
22
|
+
this[key] = data[key];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return PayioVisionTerminalEntity;
|
28
|
+
}());
|
29
|
+
exports.PayioVisionTerminalEntity = PayioVisionTerminalEntity;
|
@@ -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,15 @@
|
|
1
|
+
export interface IPayioVisionTerminal {
|
2
|
+
createdAt: Date;
|
3
|
+
deviceId: string;
|
4
|
+
function: string;
|
5
|
+
hook: string | null;
|
6
|
+
hookAuthorization: string | null;
|
7
|
+
id: number;
|
8
|
+
ipAddress: string;
|
9
|
+
name: string;
|
10
|
+
password: string;
|
11
|
+
session: string | null;
|
12
|
+
type: string;
|
13
|
+
updatedAt: Date;
|
14
|
+
username: string;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioVisionTerminal } from './i-vision-terminal';
|
@@ -1,13 +1,10 @@
|
|
1
|
-
import { NatipayMemberTypeEnum } from
|
2
|
-
import { PayioUserTypeEnum } from
|
3
|
-
import { IUser } from
|
1
|
+
import { NatipayMemberTypeEnum } from "../../natipay";
|
2
|
+
import { PayioUserTypeEnum } from "../enums";
|
3
|
+
import { IUser } from "../interfaces";
|
4
4
|
export declare class UserEntity implements IUser {
|
5
5
|
accessCount: number;
|
6
6
|
active: boolean;
|
7
|
-
code: string | null;
|
8
7
|
createdAt: Date;
|
9
|
-
currentCompanyId: string | null;
|
10
|
-
currentCompanyName: string | null;
|
11
8
|
email: string | null;
|
12
9
|
id: string;
|
13
10
|
imageUrl: string | null;
|
@@ -3,16 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var UserEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (16)
|
7
|
-
// #region Constructors (1)
|
8
6
|
function UserEntity(data) {
|
9
|
-
// #region Properties (16)
|
10
7
|
this.accessCount = 0;
|
11
8
|
this.active = true;
|
12
|
-
this.code = null;
|
13
9
|
this.createdAt = new Date();
|
14
|
-
this.currentCompanyId = null;
|
15
|
-
this.currentCompanyName = null;
|
16
10
|
this.email = null;
|
17
11
|
this.id = '';
|
18
12
|
this.imageUrl = null;
|
@@ -12,4 +12,5 @@ var PayioUserTypeEnum;
|
|
12
12
|
PayioUserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
13
13
|
PayioUserTypeEnum["TESTER"] = "TESTER";
|
14
14
|
PayioUserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
15
|
+
PayioUserTypeEnum["SUPER_ADMIN"] = "SUPER_ADMIN";
|
15
16
|
})(PayioUserTypeEnum || (exports.PayioUserTypeEnum = PayioUserTypeEnum = {}));
|
@@ -4,15 +4,12 @@ export interface IUser {
|
|
4
4
|
accessCount: number;
|
5
5
|
active: boolean;
|
6
6
|
createdAt: Date;
|
7
|
-
currentCompanyId: string | null;
|
8
|
-
currentCompanyName: string | null;
|
9
7
|
email: string | null;
|
10
8
|
id: string;
|
11
9
|
imageUrl: string | null;
|
12
10
|
internationalCode: string;
|
13
11
|
lastAccessAt: Date;
|
14
12
|
name: string;
|
15
|
-
code: string | null;
|
16
13
|
phoneNumber: string;
|
17
14
|
tags: string[];
|
18
15
|
type: PayioUserTypeEnum | NatipayMemberTypeEnum;
|