cecon-interfaces 1.9.59 → 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.
Files changed (29) hide show
  1. package/dist/esm2022/payio/index.mjs +2 -1
  2. package/dist/esm2022/payio/payload/enums/token-type.enum.mjs +2 -1
  3. package/dist/esm2022/payio/user/entities/user-sessions.entity.mjs +4 -3
  4. package/dist/esm2022/payio/user/interfaces/i-user-sessions.mjs +1 -1
  5. package/dist/esm2022/payio/vision-config/entities/config.entity.mjs +13 -0
  6. package/dist/esm2022/payio/vision-config/entities/index.mjs +2 -0
  7. package/dist/esm2022/payio/vision-config/index.mjs +3 -0
  8. package/dist/esm2022/payio/vision-config/interfaces/i-config.mjs +2 -0
  9. package/dist/esm2022/payio/vision-config/interfaces/index.mjs +2 -0
  10. package/dist/fesm2022/cecon-interfaces.mjs +18 -3
  11. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  12. package/dist/payio/index.d.ts +1 -0
  13. package/dist/payio/index.js +1 -0
  14. package/dist/payio/payload/enums/token-type.enum.d.ts +1 -0
  15. package/dist/payio/payload/enums/token-type.enum.js +1 -0
  16. package/dist/payio/user/entities/user-sessions.entity.d.ts +4 -3
  17. package/dist/payio/user/entities/user-sessions.entity.js +3 -2
  18. package/dist/payio/user/interfaces/i-user-sessions.d.ts +3 -2
  19. package/dist/payio/vision-config/entities/config.entity.d.ts +5 -0
  20. package/dist/payio/vision-config/entities/config.entity.js +17 -0
  21. package/dist/payio/vision-config/entities/index.d.ts +1 -0
  22. package/dist/payio/vision-config/entities/index.js +5 -0
  23. package/dist/payio/vision-config/index.d.ts +2 -0
  24. package/dist/payio/vision-config/index.js +18 -0
  25. package/dist/payio/vision-config/interfaces/i-config.d.ts +3 -0
  26. package/dist/payio/vision-config/interfaces/i-config.js +2 -0
  27. package/dist/payio/vision-config/interfaces/index.d.ts +1 -0
  28. package/dist/payio/vision-config/interfaces/index.js +2 -0
  29. package/package.json +1 -1
@@ -27,3 +27,4 @@ export * from './big-chef-config';
27
27
  export * from './activation-batch';
28
28
  export * from './preparation-place';
29
29
  export * from './cards';
30
+ export * from './vision-config';
@@ -43,3 +43,4 @@ __exportStar(require("./big-chef-config"), exports);
43
43
  __exportStar(require("./activation-batch"), exports);
44
44
  __exportStar(require("./preparation-place"), exports);
45
45
  __exportStar(require("./cards"), exports);
46
+ __exportStar(require("./vision-config"), exports);
@@ -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
  }
@@ -0,0 +1,5 @@
1
+ import { IPayioVisionConfig } from '../interfaces/i-config';
2
+ export declare class PayioVisionConfigEntity implements IPayioVisionConfig {
3
+ id: string;
4
+ constructor(data?: Partial<PayioVisionConfigEntity>);
5
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioVisionConfigEntity = void 0;
4
+ var PayioVisionConfigEntity = /** @class */ (function () {
5
+ function PayioVisionConfigEntity(data) {
6
+ this.id = '';
7
+ if (data) {
8
+ for (var key in data) {
9
+ if (data.hasOwnProperty(key) && key in this) {
10
+ this[key] = data[key];
11
+ }
12
+ }
13
+ }
14
+ }
15
+ return PayioVisionConfigEntity;
16
+ }());
17
+ exports.PayioVisionConfigEntity = PayioVisionConfigEntity;
@@ -0,0 +1 @@
1
+ export { PayioVisionConfigEntity } from './config.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioVisionConfigEntity = void 0;
4
+ var config_entity_1 = require("./config.entity");
5
+ Object.defineProperty(exports, "PayioVisionConfigEntity", { enumerable: true, get: function () { return config_entity_1.PayioVisionConfigEntity; } });
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,3 @@
1
+ export interface IPayioVisionConfig {
2
+ id: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IPayioVisionConfig } from './i-config';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.59",
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",