@in.pulse-crm/sdk 2.3.92 → 2.3.93
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/users.client.d.ts +1 -1
- package/dist/users.client.js +2 -2
- package/package.json +1 -1
- package/src/users.client.ts +2 -3
package/dist/users.client.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export default class UsersClient extends ApiClient {
|
|
|
10
10
|
* @param filters - Filtros opcionais para a query.
|
|
11
11
|
* @returns Uma resposta paginada contendo os usuários.
|
|
12
12
|
*/
|
|
13
|
-
getUsers(filters?: RequestFilters<User>): Promise<
|
|
13
|
+
getUsers(filters?: RequestFilters<User>): Promise<any>;
|
|
14
14
|
/**
|
|
15
15
|
* Obtém um usuário pelo ID.
|
|
16
16
|
* @param userId - O ID do usuário.
|
package/dist/users.client.js
CHANGED
|
@@ -19,8 +19,8 @@ class UsersClient extends api_client_1.default {
|
|
|
19
19
|
if (params.toString()) {
|
|
20
20
|
baseUrl += `?${params.toString()}`;
|
|
21
21
|
}
|
|
22
|
-
const
|
|
23
|
-
return
|
|
22
|
+
const response = await this.httpClient.get(baseUrl);
|
|
23
|
+
return response.data;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Obtém um usuário pelo ID.
|
package/package.json
CHANGED
package/src/users.client.ts
CHANGED
|
@@ -20,10 +20,9 @@ export default class UsersClient extends ApiClient {
|
|
|
20
20
|
baseUrl += `?${params.toString()}`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
const
|
|
24
|
-
await this.httpClient.get<PaginatedResponse<User>>(baseUrl);
|
|
23
|
+
const response = await this.httpClient.get(baseUrl);
|
|
25
24
|
|
|
26
|
-
return
|
|
25
|
+
return response.data;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
/**
|