cecon-interfaces 1.5.95 → 1.5.97

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.95",
3
+ "version": "1.5.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,7 +24,7 @@ export interface IPayioJwtPayload {
24
24
  * (Emissor): Identifica quem emitiu o JWT (o domínio da sua aplicação).
25
25
  */
26
26
  iss: string;
27
- jti: string | null;
27
+ jti: string;
28
28
  permissions: IPayioPermissionRole[];
29
29
  sub: string;
30
30
  subscription: IPayioJwtPayloadSubscription | null;
@@ -3,6 +3,8 @@ import { IUser } from '../interfaces';
3
3
  export declare class UserEntity implements IUser {
4
4
  active: boolean;
5
5
  createdAt: Date;
6
+ currentCompanyId: string | null;
7
+ currentCompanyName: string | null;
6
8
  email: string | null;
7
9
  engaged: boolean;
8
10
  id: string;
@@ -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 (13)
5
+ // #endregion Properties (14)
6
6
  // #region Constructors (1)
7
7
  function UserEntity(data) {
8
- // #region Properties (13)
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 = '';
@@ -12,4 +12,6 @@ export interface IUser {
12
12
  tags: string[];
13
13
  type: MemberTypeEnum | null;
14
14
  updatedAt: Date;
15
+ currentCompanyId: string | null;
16
+ currentCompanyName: string | null;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.95",
3
+ "version": "1.5.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",