cecon-interfaces 1.6.92 → 1.6.94

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.92",
3
+ "version": "1.6.94",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,13 +1,13 @@
1
- import { MemberTypeEnum } from '../../member/enums';
1
+ import { PayioUserTypeEnum } from '../enums';
2
2
  import { IUser } from '../interfaces';
3
3
  export declare class UserEntity implements IUser {
4
4
  accessCount: number;
5
5
  active: boolean;
6
+ code: string | null;
6
7
  createdAt: Date;
7
8
  currentCompanyId: string | null;
8
9
  currentCompanyName: string | null;
9
10
  email: string | null;
10
- engaged: boolean;
11
11
  id: string;
12
12
  imageUrl: string | null;
13
13
  internationalCode: string;
@@ -15,7 +15,7 @@ export declare class UserEntity implements IUser {
15
15
  name: string;
16
16
  phoneNumber: string;
17
17
  tags: string[];
18
- type: MemberTypeEnum | null;
18
+ type: PayioUserTypeEnum;
19
19
  updatedAt: Date;
20
20
  constructor(data?: Partial<UserEntity>);
21
21
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserEntity = void 0;
4
+ var enums_1 = require("../enums");
4
5
  var UserEntity = /** @class */ (function () {
5
6
  // #endregion Properties (16)
6
7
  // #region Constructors (1)
@@ -8,11 +9,11 @@ var UserEntity = /** @class */ (function () {
8
9
  // #region Properties (16)
9
10
  this.accessCount = 0;
10
11
  this.active = true;
12
+ this.code = null;
11
13
  this.createdAt = new Date();
12
14
  this.currentCompanyId = null;
13
15
  this.currentCompanyName = null;
14
16
  this.email = null;
15
- this.engaged = false;
16
17
  this.id = '';
17
18
  this.imageUrl = null;
18
19
  this.internationalCode = '55';
@@ -20,7 +21,7 @@ var UserEntity = /** @class */ (function () {
20
21
  this.name = '';
21
22
  this.phoneNumber = '';
22
23
  this.tags = [];
23
- this.type = null;
24
+ this.type = enums_1.PayioUserTypeEnum.NONE;
24
25
  this.updatedAt = new Date();
25
26
  if (data) {
26
27
  for (var key in data) {
@@ -0,0 +1 @@
1
+ export { PayioUserTypeEnum } from './user-type.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioUserTypeEnum = void 0;
4
+ var user_type_enum_1 = require("./user-type.enum");
5
+ Object.defineProperty(exports, "PayioUserTypeEnum", { enumerable: true, get: function () { return user_type_enum_1.PayioUserTypeEnum; } });
@@ -0,0 +1,11 @@
1
+ export declare enum PayioUserTypeEnum {
2
+ NONE = "NONE",
3
+ USER = "USER",
4
+ PARTNER = "PARTNER",
5
+ ADMIN = "ADMIN",
6
+ CLIENT = "CLIENT",
7
+ CUSTOMER = "CUSTOMER",
8
+ DEVELOPER = "DEVELOPER",
9
+ TESTER = "TESTER",
10
+ DISTRIBUTOR = "DISTRIBUTOR"
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioUserTypeEnum = void 0;
4
+ var PayioUserTypeEnum;
5
+ (function (PayioUserTypeEnum) {
6
+ PayioUserTypeEnum["NONE"] = "NONE";
7
+ PayioUserTypeEnum["USER"] = "USER";
8
+ PayioUserTypeEnum["PARTNER"] = "PARTNER";
9
+ PayioUserTypeEnum["ADMIN"] = "ADMIN";
10
+ PayioUserTypeEnum["CLIENT"] = "CLIENT";
11
+ PayioUserTypeEnum["CUSTOMER"] = "CUSTOMER";
12
+ PayioUserTypeEnum["DEVELOPER"] = "DEVELOPER";
13
+ PayioUserTypeEnum["TESTER"] = "TESTER";
14
+ PayioUserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
15
+ })(PayioUserTypeEnum || (exports.PayioUserTypeEnum = PayioUserTypeEnum = {}));
@@ -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,19 +1,19 @@
1
- import { MemberTypeEnum } from '../../member/enums';
1
+ import { PayioUserTypeEnum } from '../enums';
2
2
  export interface IUser {
3
+ accessCount: number;
3
4
  active: boolean;
4
5
  createdAt: Date;
6
+ currentCompanyId: string | null;
7
+ currentCompanyName: string | null;
5
8
  email: string | null;
6
- engaged: boolean;
7
9
  id: string;
8
10
  imageUrl: string | null;
9
11
  internationalCode: string;
10
- name: string;
11
- accessCount: number;
12
12
  lastAccessAt: Date;
13
+ name: string;
14
+ code: string | null;
13
15
  phoneNumber: string;
14
16
  tags: string[];
15
- type: MemberTypeEnum | null;
17
+ type: PayioUserTypeEnum;
16
18
  updatedAt: Date;
17
- currentCompanyId: string | null;
18
- currentCompanyName: string | null;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.92",
3
+ "version": "1.6.94",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",