cecon-interfaces 1.8.88 → 1.8.90

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.
@@ -0,0 +1 @@
1
+ export { ENatipayJwtTokenType } from './token-type.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENatipayJwtTokenType = void 0;
4
+ var token_type_enum_1 = require("./token-type.enum");
5
+ Object.defineProperty(exports, "ENatipayJwtTokenType", { enumerable: true, get: function () { return token_type_enum_1.ENatipayJwtTokenType; } });
@@ -0,0 +1,9 @@
1
+ export declare enum ENatipayJwtTokenType {
2
+ SIGNIN = "SIGNIN",
3
+ SIGNUP = "SIGNUP",
4
+ REFRESH_TOKEN = "REFRESH_TOKEN",
5
+ CHECKIN = "CHECKIN",
6
+ CHECKOUT = "CHECKOUT",
7
+ DEVICE = "DEVICE",
8
+ ACCESS_TOKEN = "ACCESS_TOKEN"
9
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENatipayJwtTokenType = void 0;
4
+ var ENatipayJwtTokenType;
5
+ (function (ENatipayJwtTokenType) {
6
+ ENatipayJwtTokenType["SIGNIN"] = "SIGNIN";
7
+ ENatipayJwtTokenType["SIGNUP"] = "SIGNUP";
8
+ ENatipayJwtTokenType["REFRESH_TOKEN"] = "REFRESH_TOKEN";
9
+ ENatipayJwtTokenType["CHECKIN"] = "CHECKIN";
10
+ ENatipayJwtTokenType["CHECKOUT"] = "CHECKOUT";
11
+ ENatipayJwtTokenType["DEVICE"] = "DEVICE";
12
+ ENatipayJwtTokenType["ACCESS_TOKEN"] = "ACCESS_TOKEN";
13
+ })(ENatipayJwtTokenType || (exports.ENatipayJwtTokenType = ENatipayJwtTokenType = {}));
@@ -1,2 +1,3 @@
1
1
  export * from './entities';
2
2
  export * from './interfaces';
3
+ export * from './enums';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
18
  __exportStar(require("./interfaces"), exports);
19
+ __exportStar(require("./enums"), exports);
@@ -1,6 +1,6 @@
1
1
  import { EPayuioActivationStatus } from '../../activation-key/enums/activation-key-status.enum';
2
2
  import { PayioPermissionEntity } from '../../permissions';
3
- import { JwtTokenType } from '../enums';
3
+ import { EPayioJwtTokenType } from '../enums';
4
4
  import { IPayioJwtPayload } from '../interfaces/i-payload';
5
5
  import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
6
6
  import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
@@ -19,7 +19,7 @@ export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
19
19
  jti: string;
20
20
  permissions: PayioPermissionEntity[];
21
21
  sub: string;
22
- type: JwtTokenType | null;
22
+ type: EPayioJwtTokenType | null;
23
23
  user: PayioJwtPayloadUserEntity | null;
24
24
  constructor(data?: Partial<PayioJwtPayloadEntity>);
25
25
  }
@@ -1,2 +1,2 @@
1
- export { JwtTokenType } from './token-type.enum';
1
+ export { EPayioJwtTokenType } from './token-type.enum';
2
2
  export { EPayioUserType } from './user-type.enum';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPayioUserType = exports.JwtTokenType = void 0;
3
+ exports.EPayioUserType = exports.EPayioJwtTokenType = void 0;
4
4
  var token_type_enum_1 = require("./token-type.enum");
5
- Object.defineProperty(exports, "JwtTokenType", { enumerable: true, get: function () { return token_type_enum_1.JwtTokenType; } });
5
+ Object.defineProperty(exports, "EPayioJwtTokenType", { enumerable: true, get: function () { return token_type_enum_1.EPayioJwtTokenType; } });
6
6
  var user_type_enum_1 = require("./user-type.enum");
7
7
  Object.defineProperty(exports, "EPayioUserType", { enumerable: true, get: function () { return user_type_enum_1.EPayioUserType; } });
@@ -1,4 +1,4 @@
1
- export declare enum JwtTokenType {
1
+ export declare enum EPayioJwtTokenType {
2
2
  SIGNIN = "SIGNIN",
3
3
  SIGNUP = "SIGNUP",
4
4
  REFRESH_TOKEN = "REFRESH_TOKEN",
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JwtTokenType = void 0;
4
- var JwtTokenType;
5
- (function (JwtTokenType) {
6
- JwtTokenType["SIGNIN"] = "SIGNIN";
7
- JwtTokenType["SIGNUP"] = "SIGNUP";
8
- JwtTokenType["REFRESH_TOKEN"] = "REFRESH_TOKEN";
9
- JwtTokenType["CHECKIN"] = "CHECKIN";
10
- JwtTokenType["CHECKOUT"] = "CHECKOUT";
11
- JwtTokenType["DEVICE"] = "DEVICE";
12
- JwtTokenType["ACCESS_TOKEN"] = "ACCESS_TOKEN";
13
- })(JwtTokenType || (exports.JwtTokenType = JwtTokenType = {}));
3
+ exports.EPayioJwtTokenType = void 0;
4
+ var EPayioJwtTokenType;
5
+ (function (EPayioJwtTokenType) {
6
+ EPayioJwtTokenType["SIGNIN"] = "SIGNIN";
7
+ EPayioJwtTokenType["SIGNUP"] = "SIGNUP";
8
+ EPayioJwtTokenType["REFRESH_TOKEN"] = "REFRESH_TOKEN";
9
+ EPayioJwtTokenType["CHECKIN"] = "CHECKIN";
10
+ EPayioJwtTokenType["CHECKOUT"] = "CHECKOUT";
11
+ EPayioJwtTokenType["DEVICE"] = "DEVICE";
12
+ EPayioJwtTokenType["ACCESS_TOKEN"] = "ACCESS_TOKEN";
13
+ })(EPayioJwtTokenType || (exports.EPayioJwtTokenType = EPayioJwtTokenType = {}));
@@ -1,6 +1,6 @@
1
1
  import { EPayuioActivationStatus } from '../../activation-key/enums/activation-key-status.enum';
2
2
  import { IPayioPermission } from '../../permissions';
3
- import { JwtTokenType } from '../enums';
3
+ import { EPayioJwtTokenType } from '../enums';
4
4
  import { IPayioJwtPayloadApp } from './i-payload-app';
5
5
  import { IPayioJwtPayloadDevice } from './i-payload-device';
6
6
  import { IPayioJwtPayloadInfo } from './i-payload-info';
@@ -31,6 +31,6 @@ export interface IPayioJwtPayload {
31
31
  jti: string;
32
32
  permissions: IPayioPermission[];
33
33
  sub: string;
34
- type: JwtTokenType | null;
34
+ type: EPayioJwtTokenType | null;
35
35
  user: IPayioJwtPayloadUser | null;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.88",
3
+ "version": "1.8.90",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",