cecon-interfaces 1.5.83 → 1.5.85

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.83",
3
+ "version": "1.5.85",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,6 @@
1
1
  import { IPayioJwtPayload } from '../interfaces/i-payload';
2
2
  import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
3
+ import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
3
4
  import { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
4
5
  import { PayioJwtPayloadSubscriptionEntity } from './payload-subscription.entity';
5
6
  import { PayioJwtPayloadUserEntity } from './payload-user.entity';
@@ -9,6 +10,7 @@ export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
9
10
  device: PayioJwtPayloadDeviceEntity | null;
10
11
  exp: number;
11
12
  iat: number;
13
+ info: IPayioJwtPayloadInfo | null;
12
14
  iss: string;
13
15
  permissions: string[];
14
16
  sub: string;
@@ -2,15 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioJwtPayloadEntity = void 0;
4
4
  var PayioJwtPayloadEntity = /** @class */ (function () {
5
- // #endregion Properties (11)
5
+ // #endregion Properties (12)
6
6
  // #region Constructors (1)
7
7
  function PayioJwtPayloadEntity(data) {
8
- // #region Properties (11)
8
+ // #region Properties (12)
9
9
  this.app = null;
10
10
  this.aud = '';
11
11
  this.device = null;
12
12
  this.exp = 0;
13
13
  this.iat = 0;
14
+ this.info = null;
14
15
  this.iss = '';
15
16
  this.permissions = [];
16
17
  this.sub = '';
@@ -0,0 +1,6 @@
1
+ export interface IPayioJwtPayloadInfo {
2
+ companyId: string;
3
+ companyName: string;
4
+ containerId: string | null;
5
+ containerName: string | null;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import { IPayioJwtPayloadApp } from './i-payload-app';
2
2
  import { IPayioJwtPayloadDevice } from './i-payload-device';
3
+ import { IPayioJwtPayloadInfo } from './i-payload-info';
3
4
  import { IPayioJwtPayloadSubscription } from './i-payload-subscription';
4
5
  import { IPayioJwtPayloadUser } from './i-payload-user';
5
6
  export interface IPayioJwtPayload {
@@ -22,6 +23,7 @@ export interface IPayioJwtPayload {
22
23
  */
23
24
  iss: string;
24
25
  permissions: string[];
26
+ info: IPayioJwtPayloadInfo | null;
25
27
  sub: string;
26
28
  subscription: IPayioJwtPayloadSubscription | null;
27
29
  type: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.83",
3
+ "version": "1.5.85",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",