cecon-interfaces 1.9.60 → 1.9.62

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.
@@ -1,6 +1,7 @@
1
1
  export declare enum EPayioJwtTokenType {
2
2
  SIGNIN = "SIGNIN",
3
3
  SIGNUP = "SIGNUP",
4
+ SIGNOUT = "SIGNOUT",
4
5
  REFRESH_TOKEN = "REFRESH_TOKEN",
5
6
  CHECKIN = "CHECKIN",
6
7
  CHECKOUT = "CHECKOUT",
@@ -5,6 +5,7 @@ var EPayioJwtTokenType;
5
5
  (function (EPayioJwtTokenType) {
6
6
  EPayioJwtTokenType["SIGNIN"] = "SIGNIN";
7
7
  EPayioJwtTokenType["SIGNUP"] = "SIGNUP";
8
+ EPayioJwtTokenType["SIGNOUT"] = "SIGNOUT";
8
9
  EPayioJwtTokenType["REFRESH_TOKEN"] = "REFRESH_TOKEN";
9
10
  EPayioJwtTokenType["CHECKIN"] = "CHECKIN";
10
11
  EPayioJwtTokenType["CHECKOUT"] = "CHECKOUT";
@@ -1,8 +1,9 @@
1
- import { IPayioUserSession } from '../interfaces/i-user-sessions';
1
+ import { IPayioUserSession } from "../interfaces/i-user-sessions";
2
2
  export declare class PayioUserSessionEntity implements IPayioUserSession {
3
+ appId: string;
3
4
  companyId: string | null;
4
5
  companyName: string | null;
5
- deviceId: string | null;
6
- appId: string | null;
6
+ deviceId: string;
7
+ lastAccessAt: Date;
7
8
  constructor(data?: Partial<PayioUserSessionEntity>);
8
9
  }
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioUserSessionEntity = void 0;
4
4
  var PayioUserSessionEntity = /** @class */ (function () {
5
5
  function PayioUserSessionEntity(data) {
6
+ this.appId = '';
6
7
  this.companyId = null;
7
8
  this.companyName = null;
8
- this.deviceId = null;
9
- this.appId = null;
9
+ this.deviceId = '';
10
+ this.lastAccessAt = new Date();
10
11
  if (data) {
11
12
  for (var key in data) {
12
13
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,6 +1,7 @@
1
1
  export interface IPayioUserSession {
2
2
  companyId: string | null;
3
3
  companyName: string | null;
4
- deviceId: string | null;
5
- appId: string | null;
4
+ deviceId: string;
5
+ appId: string;
6
+ lastAccessAt: Date;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.60",
3
+ "version": "1.9.62",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",