cecon-interfaces 1.5.94 → 1.5.97
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/payload/entities/payload.entity.mjs +2 -2
- package/dist/esm2022/payio/payload/interfaces/i-payload.mjs +1 -1
- package/dist/esm2022/users/entities/user.entity.mjs +5 -3
- package/dist/esm2022/users/interfaces/i-user.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +5 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/payload/entities/payload.entity.d.ts +1 -1
- package/dist/payio/payload/entities/payload.entity.js +1 -1
- package/dist/payio/payload/interfaces/i-payload.d.ts +2 -2
- package/dist/users/entities/user.entity.d.ts +2 -0
- package/dist/users/entities/user.entity.js +4 -2
- package/dist/users/interfaces/i-user.d.ts +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -8,12 +8,12 @@ import { PayioJwtPayloadUserEntity } from './payload-user.entity';
|
|
8
8
|
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
9
9
|
app: IPayioJwtPayloadApp | null;
|
10
10
|
aud: string;
|
11
|
-
currentSessionId: string | null;
|
12
11
|
device: PayioJwtPayloadDeviceEntity | null;
|
13
12
|
exp: number;
|
14
13
|
iat: number;
|
15
14
|
info: IPayioJwtPayloadInfo | null;
|
16
15
|
iss: string;
|
16
|
+
jti: string;
|
17
17
|
permissions: PayioPermissionRoleEntity[];
|
18
18
|
sub: string;
|
19
19
|
subscription: PayioJwtPayloadSubscriptionEntity | null;
|
@@ -8,12 +8,12 @@ var PayioJwtPayloadEntity = /** @class */ (function () {
|
|
8
8
|
// #region Properties (13)
|
9
9
|
this.app = null;
|
10
10
|
this.aud = '';
|
11
|
-
this.currentSessionId = null;
|
12
11
|
this.device = null;
|
13
12
|
this.exp = 0;
|
14
13
|
this.iat = 0;
|
15
14
|
this.info = null;
|
16
15
|
this.iss = '';
|
16
|
+
this.jti = '';
|
17
17
|
this.permissions = [];
|
18
18
|
this.sub = '';
|
19
19
|
this.subscription = null;
|
@@ -19,15 +19,15 @@ export interface IPayioJwtPayload {
|
|
19
19
|
* (Emitido em): Timestamp de quando o JWT foi emitido
|
20
20
|
*/
|
21
21
|
iat: number;
|
22
|
+
info: IPayioJwtPayloadInfo | null;
|
22
23
|
/**
|
23
24
|
* (Emissor): Identifica quem emitiu o JWT (o domínio da sua aplicação).
|
24
25
|
*/
|
25
26
|
iss: string;
|
27
|
+
jti: string;
|
26
28
|
permissions: IPayioPermissionRole[];
|
27
|
-
info: IPayioJwtPayloadInfo | null;
|
28
29
|
sub: string;
|
29
30
|
subscription: IPayioJwtPayloadSubscription | null;
|
30
31
|
type: string | null;
|
31
|
-
currentSessionId: string | null;
|
32
32
|
user: IPayioJwtPayloadUser | null;
|
33
33
|
}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UserEntity = void 0;
|
4
4
|
var UserEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (14)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function UserEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (14)
|
9
9
|
this.active = true;
|
10
10
|
this.createdAt = new Date();
|
11
|
+
this.currentCompanyId = null;
|
12
|
+
this.currentCompanyName = null;
|
11
13
|
this.email = null;
|
12
14
|
this.engaged = false;
|
13
15
|
this.id = '';
|