cecon-interfaces 1.7.12 → 1.7.14
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/index.mjs +3 -2
- package/dist/esm2022/natipay/index.mjs +2 -0
- package/dist/esm2022/natipay/payload/entities/index.mjs +6 -0
- package/dist/esm2022/natipay/payload/entities/payload-app.entity.mjs +17 -0
- package/dist/esm2022/natipay/payload/entities/payload-device.entity.mjs +19 -0
- package/dist/esm2022/natipay/payload/entities/payload-info.entity.mjs +19 -0
- package/dist/esm2022/natipay/payload/entities/payload-user.entity.mjs +20 -0
- package/dist/esm2022/natipay/payload/entities/payload.entity.mjs +26 -0
- package/dist/esm2022/natipay/payload/index.mjs +3 -0
- package/dist/esm2022/natipay/payload/interfaces/i-payload-app.mjs +2 -0
- package/dist/esm2022/natipay/payload/interfaces/i-payload-device.mjs +2 -0
- package/dist/esm2022/natipay/payload/interfaces/i-payload-info.mjs +2 -0
- package/dist/esm2022/natipay/payload/interfaces/i-payload-user.mjs +2 -0
- package/dist/esm2022/natipay/payload/interfaces/i-payload.mjs +2 -0
- package/dist/esm2022/natipay/payload/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/permissions/entities/permission.entity.mjs +4 -3
- package/dist/esm2022/payio/permissions/enums/role.enum.mjs +4 -1
- package/dist/esm2022/payio/permissions/interfaces/i-permission.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +152 -47
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/natipay/index.d.ts +1 -0
- package/dist/natipay/index.js +17 -0
- package/dist/natipay/payload/entities/index.d.ts +5 -0
- package/dist/natipay/payload/entities/index.js +13 -0
- package/dist/natipay/payload/entities/payload-app.entity.d.ts +6 -0
- package/dist/natipay/payload/entities/payload-app.entity.js +21 -0
- package/dist/natipay/payload/entities/payload-device.entity.d.ts +8 -0
- package/dist/natipay/payload/entities/payload-device.entity.js +23 -0
- package/dist/natipay/payload/entities/payload-info.entity.d.ts +8 -0
- package/dist/natipay/payload/entities/payload-info.entity.js +23 -0
- package/dist/natipay/payload/entities/payload-user.entity.d.ts +9 -0
- package/dist/natipay/payload/entities/payload-user.entity.js +24 -0
- package/dist/natipay/payload/entities/payload.entity.d.ts +19 -0
- package/dist/natipay/payload/entities/payload.entity.js +30 -0
- package/dist/natipay/payload/index.d.ts +2 -0
- package/dist/natipay/payload/index.js +18 -0
- package/dist/natipay/payload/interfaces/i-payload-app.d.ts +4 -0
- package/dist/natipay/payload/interfaces/i-payload-app.js +2 -0
- package/dist/natipay/payload/interfaces/i-payload-device.d.ts +6 -0
- package/dist/natipay/payload/interfaces/i-payload-device.js +2 -0
- package/dist/natipay/payload/interfaces/i-payload-info.d.ts +6 -0
- package/dist/natipay/payload/interfaces/i-payload-info.js +2 -0
- package/dist/natipay/payload/interfaces/i-payload-user.d.ts +7 -0
- package/dist/natipay/payload/interfaces/i-payload-user.js +2 -0
- package/dist/natipay/payload/interfaces/i-payload.d.ts +29 -0
- package/dist/natipay/payload/interfaces/i-payload.js +2 -0
- package/dist/natipay/payload/interfaces/index.d.ts +5 -0
- package/dist/natipay/payload/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/payio/permissions/entities/permission.entity.d.ts +4 -3
- package/dist/payio/permissions/entities/permission.entity.js +2 -1
- package/dist/payio/permissions/enums/role.enum.d.ts +3 -0
- package/dist/payio/permissions/enums/role.enum.js +3 -0
- package/dist/payio/permissions/interfaces/i-permission.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -22,8 +22,8 @@ export * from './fcm-token-message';
|
|
22
22
|
export * from './feature';
|
23
23
|
export * from './general';
|
24
24
|
export * from './global-settings';
|
25
|
-
export * from './installation';
|
26
25
|
export * from './ifood';
|
26
|
+
export * from './installation';
|
27
27
|
export * from './invite';
|
28
28
|
export * from './invoice';
|
29
29
|
export * from './iugu';
|
@@ -38,6 +38,7 @@ export * from './monitor';
|
|
38
38
|
export * from './mottu';
|
39
39
|
export * from './nati-v1';
|
40
40
|
export * from './nati-v2';
|
41
|
+
export * from './natipay';
|
41
42
|
export * from './notification';
|
42
43
|
export * from './order';
|
43
44
|
export * from './partner';
|
package/dist/index.js
CHANGED
@@ -38,8 +38,8 @@ __exportStar(require("./fcm-token-message"), exports);
|
|
38
38
|
__exportStar(require("./feature"), exports);
|
39
39
|
__exportStar(require("./general"), exports);
|
40
40
|
__exportStar(require("./global-settings"), exports);
|
41
|
-
__exportStar(require("./installation"), exports);
|
42
41
|
__exportStar(require("./ifood"), exports);
|
42
|
+
__exportStar(require("./installation"), exports);
|
43
43
|
__exportStar(require("./invite"), exports);
|
44
44
|
__exportStar(require("./invoice"), exports);
|
45
45
|
__exportStar(require("./iugu"), exports);
|
@@ -54,6 +54,7 @@ __exportStar(require("./monitor"), exports);
|
|
54
54
|
__exportStar(require("./mottu"), exports);
|
55
55
|
__exportStar(require("./nati-v1"), exports);
|
56
56
|
__exportStar(require("./nati-v2"), exports);
|
57
|
+
__exportStar(require("./natipay"), exports);
|
57
58
|
__exportStar(require("./notification"), exports);
|
58
59
|
__exportStar(require("./order"), exports);
|
59
60
|
__exportStar(require("./partner"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './payload';
|
@@ -0,0 +1,17 @@
|
|
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("./payload"), exports);
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { NatipayJwtPayloadAppEntity } from './payload-app.entity';
|
2
|
+
export { NatipayJwtPayloadDeviceEntity } from './payload-device.entity';
|
3
|
+
export { NatipayJwtPayloadInfoEntity } from './payload-info.entity';
|
4
|
+
export { NatipayJwtPayloadUserEntity } from './payload-user.entity';
|
5
|
+
export { NatipayJwtPayloadEntity } from './payload.entity';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadEntity = exports.NatipayJwtPayloadUserEntity = exports.NatipayJwtPayloadInfoEntity = exports.NatipayJwtPayloadDeviceEntity = exports.NatipayJwtPayloadAppEntity = void 0;
|
4
|
+
var payload_app_entity_1 = require("./payload-app.entity");
|
5
|
+
Object.defineProperty(exports, "NatipayJwtPayloadAppEntity", { enumerable: true, get: function () { return payload_app_entity_1.NatipayJwtPayloadAppEntity; } });
|
6
|
+
var payload_device_entity_1 = require("./payload-device.entity");
|
7
|
+
Object.defineProperty(exports, "NatipayJwtPayloadDeviceEntity", { enumerable: true, get: function () { return payload_device_entity_1.NatipayJwtPayloadDeviceEntity; } });
|
8
|
+
var payload_info_entity_1 = require("./payload-info.entity");
|
9
|
+
Object.defineProperty(exports, "NatipayJwtPayloadInfoEntity", { enumerable: true, get: function () { return payload_info_entity_1.NatipayJwtPayloadInfoEntity; } });
|
10
|
+
var payload_user_entity_1 = require("./payload-user.entity");
|
11
|
+
Object.defineProperty(exports, "NatipayJwtPayloadUserEntity", { enumerable: true, get: function () { return payload_user_entity_1.NatipayJwtPayloadUserEntity; } });
|
12
|
+
var payload_entity_1 = require("./payload.entity");
|
13
|
+
Object.defineProperty(exports, "NatipayJwtPayloadEntity", { enumerable: true, get: function () { return payload_entity_1.NatipayJwtPayloadEntity; } });
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadAppEntity = void 0;
|
4
|
+
var NatipayJwtPayloadAppEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayJwtPayloadAppEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.id = '';
|
10
|
+
this.slug = '';
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return NatipayJwtPayloadAppEntity;
|
20
|
+
}());
|
21
|
+
exports.NatipayJwtPayloadAppEntity = NatipayJwtPayloadAppEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { INatipayJwtPayloadDevice } from '../interfaces/i-payload-device';
|
2
|
+
export declare class NatipayJwtPayloadDeviceEntity implements INatipayJwtPayloadDevice {
|
3
|
+
chefConfigId: string | null;
|
4
|
+
id: string;
|
5
|
+
name: string | null;
|
6
|
+
scheduleId: string | null;
|
7
|
+
constructor(data?: Partial<NatipayJwtPayloadDeviceEntity>);
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadDeviceEntity = void 0;
|
4
|
+
var NatipayJwtPayloadDeviceEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayJwtPayloadDeviceEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.chefConfigId = '';
|
10
|
+
this.id = '';
|
11
|
+
this.name = '';
|
12
|
+
this.scheduleId = '';
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return NatipayJwtPayloadDeviceEntity;
|
22
|
+
}());
|
23
|
+
exports.NatipayJwtPayloadDeviceEntity = NatipayJwtPayloadDeviceEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { INatipayJwtPayloadInfo } from '../interfaces/i-payload-info';
|
2
|
+
export declare class NatipayJwtPayloadInfoEntity implements INatipayJwtPayloadInfo {
|
3
|
+
companyId: string;
|
4
|
+
companyName: string;
|
5
|
+
containerId: string | null;
|
6
|
+
containerName: string | null;
|
7
|
+
constructor(data?: Partial<NatipayJwtPayloadInfoEntity>);
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadInfoEntity = void 0;
|
4
|
+
var NatipayJwtPayloadInfoEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayJwtPayloadInfoEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.companyId = '';
|
10
|
+
this.companyName = '';
|
11
|
+
this.containerId = null;
|
12
|
+
this.containerName = null;
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return NatipayJwtPayloadInfoEntity;
|
22
|
+
}());
|
23
|
+
exports.NatipayJwtPayloadInfoEntity = NatipayJwtPayloadInfoEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { INatipayJwtPayloadUser } from '../interfaces/i-payload-user';
|
2
|
+
export declare class NatipayJwtPayloadUserEntity implements INatipayJwtPayloadUser {
|
3
|
+
email: string | null;
|
4
|
+
id: string;
|
5
|
+
internationalCode: string;
|
6
|
+
name: string;
|
7
|
+
phoneNumber: string;
|
8
|
+
constructor(data?: Partial<NatipayJwtPayloadUserEntity>);
|
9
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadUserEntity = void 0;
|
4
|
+
var NatipayJwtPayloadUserEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayJwtPayloadUserEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.email = null;
|
10
|
+
this.id = '';
|
11
|
+
this.internationalCode = '';
|
12
|
+
this.name = '';
|
13
|
+
this.phoneNumber = '';
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return NatipayJwtPayloadUserEntity;
|
23
|
+
}());
|
24
|
+
exports.NatipayJwtPayloadUserEntity = NatipayJwtPayloadUserEntity;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { INatipayJwtPayload } from '../interfaces/i-payload';
|
2
|
+
import { INatipayJwtPayloadApp } from '../interfaces/i-payload-app';
|
3
|
+
import { INatipayJwtPayloadInfo } from '../interfaces/i-payload-info';
|
4
|
+
import { NatipayJwtPayloadDeviceEntity } from './payload-device.entity';
|
5
|
+
import { NatipayJwtPayloadUserEntity } from './payload-user.entity';
|
6
|
+
export declare class NatipayJwtPayloadEntity implements INatipayJwtPayload {
|
7
|
+
app: INatipayJwtPayloadApp | null;
|
8
|
+
aud: string;
|
9
|
+
device: NatipayJwtPayloadDeviceEntity | null;
|
10
|
+
exp?: number;
|
11
|
+
iat: number;
|
12
|
+
info: INatipayJwtPayloadInfo | null;
|
13
|
+
iss: string;
|
14
|
+
jti: string;
|
15
|
+
sub: string;
|
16
|
+
type: string | null;
|
17
|
+
user: NatipayJwtPayloadUserEntity | null;
|
18
|
+
constructor(data?: Partial<NatipayJwtPayloadEntity>);
|
19
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayJwtPayloadEntity = void 0;
|
4
|
+
var NatipayJwtPayloadEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (16)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayJwtPayloadEntity(data) {
|
8
|
+
// #region Properties (16)
|
9
|
+
this.app = null;
|
10
|
+
this.aud = '';
|
11
|
+
this.device = null;
|
12
|
+
this.exp = 0;
|
13
|
+
this.iat = 0;
|
14
|
+
this.info = null;
|
15
|
+
this.iss = '';
|
16
|
+
this.jti = '';
|
17
|
+
this.sub = '';
|
18
|
+
this.type = null;
|
19
|
+
this.user = null;
|
20
|
+
if (data) {
|
21
|
+
for (var key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return NatipayJwtPayloadEntity;
|
29
|
+
}());
|
30
|
+
exports.NatipayJwtPayloadEntity = NatipayJwtPayloadEntity;
|
@@ -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,29 @@
|
|
1
|
+
import { INatipayJwtPayloadApp } from './i-payload-app';
|
2
|
+
import { INatipayJwtPayloadDevice } from './i-payload-device';
|
3
|
+
import { INatipayJwtPayloadInfo } from './i-payload-info';
|
4
|
+
import { INatipayJwtPayloadUser } from './i-payload-user';
|
5
|
+
export interface INatipayJwtPayload {
|
6
|
+
app: INatipayJwtPayloadApp | null;
|
7
|
+
/**
|
8
|
+
* (Audiência): Identifica os destinatários pretendidos do JWT (sua aplicação).
|
9
|
+
*/
|
10
|
+
aud: string;
|
11
|
+
device: INatipayJwtPayloadDevice | null;
|
12
|
+
/**
|
13
|
+
* (Expiração): Timestamp de quando o JWT expira
|
14
|
+
*/
|
15
|
+
exp?: number;
|
16
|
+
/**
|
17
|
+
* (Emitido em): Timestamp de quando o JWT foi emitido
|
18
|
+
*/
|
19
|
+
iat: number;
|
20
|
+
info: INatipayJwtPayloadInfo | null;
|
21
|
+
/**
|
22
|
+
* (Emissor): Identifica quem emitiu o JWT (o domínio da sua aplicação).
|
23
|
+
*/
|
24
|
+
iss: string;
|
25
|
+
jti: string;
|
26
|
+
sub: string;
|
27
|
+
type: string | null;
|
28
|
+
user: INatipayJwtPayloadUser | null;
|
29
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { INatipayJwtPayload } from './i-payload';
|
2
|
+
export { INatipayJwtPayloadApp } from './i-payload-app';
|
3
|
+
export { INatipayJwtPayloadDevice } from './i-payload-device';
|
4
|
+
export { INatipayJwtPayloadInfo } from './i-payload-info';
|
5
|
+
export { INatipayJwtPayloadUser } from './i-payload-user';
|
package/dist/package.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
-
import { EPayioRole } from
|
2
|
-
import { IPayioPermission } from
|
1
|
+
import { EPayioRole } from "../enums";
|
2
|
+
import { IPayioPermission } from "../interfaces/i-permission";
|
3
3
|
export declare class PayioPermissionEntity implements IPayioPermission {
|
4
4
|
active: boolean;
|
5
|
+
code: string;
|
5
6
|
createdAt: Date;
|
6
7
|
description: string;
|
7
8
|
id: string;
|
8
|
-
isActive: boolean;
|
9
9
|
name: string;
|
10
10
|
role: EPayioRole;
|
11
|
+
tags: string[];
|
11
12
|
updatedAt: Date;
|
12
13
|
constructor(data?: Partial<PayioPermissionEntity>);
|
13
14
|
}
|
@@ -5,12 +5,13 @@ var enums_1 = require("../enums");
|
|
5
5
|
var PayioPermissionEntity = /** @class */ (function () {
|
6
6
|
function PayioPermissionEntity(data) {
|
7
7
|
this.active = true;
|
8
|
+
this.code = '';
|
8
9
|
this.createdAt = new Date();
|
9
10
|
this.description = '';
|
10
11
|
this.id = '';
|
11
|
-
this.isActive = true;
|
12
12
|
this.name = '';
|
13
13
|
this.role = enums_1.EPayioRole.GENERAL;
|
14
|
+
this.tags = [];
|
14
15
|
this.updatedAt = new Date();
|
15
16
|
if (data) {
|
16
17
|
for (var key in data) {
|
@@ -11,5 +11,8 @@ var EPayioRole;
|
|
11
11
|
EPayioRole["SETTINGS"] = "SETTINGS";
|
12
12
|
EPayioRole["GENERAL"] = "GENERAL";
|
13
13
|
EPayioRole["ACCOUNT"] = "ACCOUNT";
|
14
|
+
EPayioRole["CHEF_CONFIG"] = "CHEF_CONFIG";
|
15
|
+
EPayioRole["CHEF_SCHEDULE"] = "CHEF_SCHEDULE";
|
16
|
+
EPayioRole["CASH_CONFIG"] = "CASH_CONFIG";
|
14
17
|
EPayioRole["OWNER"] = "OWNER";
|
15
18
|
})(EPayioRole || (exports.EPayioRole = EPayioRole = {}));
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { EPayioRole } from '../enums/role.enum';
|
2
2
|
export interface IPayioPermission {
|
3
3
|
active: boolean;
|
4
|
+
code: string;
|
4
5
|
createdAt: Date;
|
5
6
|
description: string;
|
6
7
|
id: string;
|
7
|
-
isActive: boolean;
|
8
8
|
name: string;
|
9
9
|
role: EPayioRole;
|
10
|
+
tags: string[];
|
10
11
|
updatedAt: Date;
|
11
12
|
}
|