cecon-interfaces 1.1.74 → 1.1.76

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  export declare enum MemberTypeEnum {
2
2
  PARTNER = "PARTNER",
3
3
  ADMIN = "ADMIN",
4
- CLIENT = "CLIENT"
4
+ CLIENT = "CLIENT",
5
+ CUSTOMER = "CUSTOMER"
5
6
  }
@@ -6,4 +6,5 @@ var MemberTypeEnum;
6
6
  MemberTypeEnum["PARTNER"] = "PARTNER";
7
7
  MemberTypeEnum["ADMIN"] = "ADMIN";
8
8
  MemberTypeEnum["CLIENT"] = "CLIENT";
9
+ MemberTypeEnum["CUSTOMER"] = "CUSTOMER";
9
10
  })(MemberTypeEnum || (exports.MemberTypeEnum = MemberTypeEnum = {}));
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,17 +1,18 @@
1
1
  import { IToken } from '../interfaces';
2
2
  export declare class TokenEntity implements IToken {
3
3
  active: boolean;
4
+ companyId: string | null;
5
+ companyName: string;
6
+ containerId: string | null;
4
7
  createdAt: number;
8
+ customerId: string | null;
9
+ description: string;
5
10
  expiresAt: number;
6
11
  id: string;
12
+ lastAccessAt: number;
7
13
  name: string;
8
- companyId: string;
9
- companyName: string;
10
- partnerId: string;
11
- containerId: string;
14
+ partnerId: string | null;
12
15
  sandbox: boolean;
13
- lastAccessAt: number;
14
- description: string;
15
16
  value: string;
16
17
  constructor(data?: Partial<TokenEntity>);
17
18
  }
@@ -2,22 +2,23 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TokenEntity = void 0;
4
4
  var TokenEntity = /** @class */ (function () {
5
- // #endregion Properties (18)
5
+ // #endregion Properties (14)
6
6
  // #region Constructors (1)
7
7
  function TokenEntity(data) {
8
- // #region Properties (18)
8
+ // #region Properties (14)
9
9
  this.active = true;
10
+ this.companyId = '';
11
+ this.companyName = '';
12
+ this.containerId = '';
10
13
  this.createdAt = Date.now();
14
+ this.customerId = '';
15
+ this.description = '';
11
16
  this.expiresAt = Date.now();
12
17
  this.id = '';
18
+ this.lastAccessAt = Date.now();
13
19
  this.name = '';
14
- this.companyId = '';
15
- this.companyName = '';
16
20
  this.partnerId = '';
17
- this.containerId = '';
18
21
  this.sandbox = false;
19
- this.lastAccessAt = Date.now();
20
- this.description = '';
21
22
  this.value = '';
22
23
  if (data) {
23
24
  for (var key in data) {
@@ -4,10 +4,11 @@ export interface IToken {
4
4
  expiresAt: number;
5
5
  id: string;
6
6
  name: string;
7
- companyId: string;
7
+ companyId: string | null;
8
8
  companyName: string;
9
- partnerId: string;
10
- containerId: string;
9
+ partnerId: string | null;
10
+ customerId: string | null;
11
+ containerId: string | null;
11
12
  sandbox: boolean;
12
13
  lastAccessAt: number;
13
14
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",