@in.pulse-crm/sdk 2.6.8 → 2.6.9

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.
@@ -26,6 +26,10 @@ export interface SessionData {
26
26
  * Nome da instância.
27
27
  */
28
28
  instance: string;
29
+ /**
30
+ * Nome do usuário.
31
+ */
32
+ name: string;
29
33
  }
30
34
  export interface UserOnlineSession {
31
35
  data: SessionData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@in.pulse-crm/sdk",
3
- "version": "2.6.8",
3
+ "version": "2.6.9",
4
4
  "description": "SDKs for abstraction of api consumption of in.pulse-crm application",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,37 +1,42 @@
1
1
  import { User } from "./user.types";
2
2
 
3
3
  export interface LoginData {
4
- /**
5
- * Token de autenticação.
6
- */
7
- token: string;
8
- /**
9
- * Dados do usuário.
10
- */
11
- user: User;
4
+ /**
5
+ * Token de autenticação.
6
+ */
7
+ token: string;
8
+ /**
9
+ * Dados do usuário.
10
+ */
11
+ user: User;
12
12
  }
13
13
 
14
14
  export interface SessionData {
15
- /**
16
- * ID do usuário.
17
- */
18
- userId: number;
19
- /**
20
- * ID do setor do usuário.
21
- */
22
- sectorId: number
23
- /**
24
- * Papel do usuário.
25
- */
26
- role: string;
27
- /**
28
- * Nome da instância.
29
- */
30
- instance: string;
15
+ /**
16
+ * ID do usuário.
17
+ */
18
+ userId: number;
19
+ /**
20
+ * ID do setor do usuário.
21
+ */
22
+ sectorId: number;
23
+ /**
24
+ * Papel do usuário.
25
+ */
26
+ role: string;
27
+ /**
28
+ * Nome da instância.
29
+ */
30
+ instance: string;
31
+
32
+ /**
33
+ * Nome do usuário.
34
+ */
35
+ name: string;
31
36
  }
32
37
 
33
38
  export interface UserOnlineSession {
34
- data: SessionData;
35
- isPaused: boolean;
36
- onlineTokens: Array<string>;
37
- }
39
+ data: SessionData;
40
+ isPaused: boolean;
41
+ onlineTokens: Array<string>;
42
+ }