cecon-interfaces 1.6.86 → 1.6.87

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.6.86",
3
+ "version": "1.6.87",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,8 +6,10 @@ export declare class PayioAdminEntity implements IPayioAdmin {
6
6
  createdAt: Date;
7
7
  id: string;
8
8
  imageUrl: string | null;
9
+ internationalCode: string;
9
10
  lastAccessAt: Date | null;
10
11
  name: string;
12
+ phoneNumber: string;
11
13
  role: EPayioAdminRole;
12
14
  tags: string[];
13
15
  updatedAt: Date;
@@ -3,17 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioAdminEntity = void 0;
4
4
  var role_enum_1 = require("../enums/role.enum");
5
5
  var PayioAdminEntity = /** @class */ (function () {
6
- // #endregion Properties (11)
6
+ // #endregion Properties (13)
7
7
  // #region Constructors (1)
8
8
  function PayioAdminEntity(data) {
9
- // #region Properties (11)
9
+ // #region Properties (13)
10
10
  this.accessCount = null;
11
11
  this.active = true;
12
12
  this.createdAt = new Date();
13
13
  this.id = '';
14
14
  this.imageUrl = null;
15
+ this.internationalCode = '55';
15
16
  this.lastAccessAt = null;
16
17
  this.name = '';
18
+ this.phoneNumber = '';
17
19
  this.role = role_enum_1.EPayioAdminRole.USER;
18
20
  this.tags = [];
19
21
  this.updatedAt = new Date();
@@ -5,8 +5,10 @@ export interface IPayioAdmin {
5
5
  createdAt: Date;
6
6
  id: string;
7
7
  imageUrl: string | null;
8
+ internationalCode: string;
8
9
  lastAccessAt: Date | null;
9
10
  name: string;
11
+ phoneNumber: string;
10
12
  role: EPayioAdminRole;
11
13
  tags: string[];
12
14
  updatedAt: Date;
@@ -1,6 +1,7 @@
1
1
  import { MemberTypeEnum } from '../../member/enums';
2
2
  import { IUser } from '../interfaces';
3
3
  export declare class UserEntity implements IUser {
4
+ accessCount: number;
4
5
  active: boolean;
5
6
  createdAt: Date;
6
7
  currentCompanyId: string | null;
@@ -10,6 +11,7 @@ export declare class UserEntity implements IUser {
10
11
  id: string;
11
12
  imageUrl: string | null;
12
13
  internationalCode: string;
14
+ lastAccessAt: Date;
13
15
  name: string;
14
16
  phoneNumber: string;
15
17
  tags: string[];
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserEntity = void 0;
4
4
  var UserEntity = /** @class */ (function () {
5
- // #endregion Properties (14)
5
+ // #endregion Properties (16)
6
6
  // #region Constructors (1)
7
7
  function UserEntity(data) {
8
- // #region Properties (14)
8
+ // #region Properties (16)
9
+ this.accessCount = 0;
9
10
  this.active = true;
10
11
  this.createdAt = new Date();
11
12
  this.currentCompanyId = null;
@@ -15,6 +16,7 @@ var UserEntity = /** @class */ (function () {
15
16
  this.id = '';
16
17
  this.imageUrl = null;
17
18
  this.internationalCode = '55';
19
+ this.lastAccessAt = new Date();
18
20
  this.name = '';
19
21
  this.phoneNumber = '';
20
22
  this.tags = [];
@@ -8,6 +8,8 @@ export interface IUser {
8
8
  imageUrl: string | null;
9
9
  internationalCode: string;
10
10
  name: string;
11
+ accessCount: number;
12
+ lastAccessAt: Date;
11
13
  phoneNumber: string;
12
14
  tags: string[];
13
15
  type: MemberTypeEnum | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.86",
3
+ "version": "1.6.87",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",