@adtrackify/at-service-common 1.0.40 → 1.0.42

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/index.d.ts CHANGED
@@ -208,6 +208,12 @@ declare module '@adtrackify/at-service-common/clients/internal-api/index' {
208
208
 
209
209
  }
210
210
  declare module '@adtrackify/at-service-common/clients/internal-api/users-auth-client' {
211
+ import { User } from '@adtrackify/at-tracking-event-types';
212
+ import { ApiResponse } from '@adtrackify/at-service-common/types/api-response';
213
+ export interface UserResponseData {
214
+ user: User;
215
+ [key: string]: any;
216
+ }
211
217
  export class UsersAuthClient {
212
218
  SERVICE_API_ROOT_URL: string;
213
219
  BASE_API_URL: string;
@@ -253,11 +259,7 @@ declare module '@adtrackify/at-service-common/clients/internal-api/users-auth-cl
253
259
  data: any;
254
260
  status: any;
255
261
  }>;
256
- getUserByEmail: (email: string) => Promise<{
257
- headers: any;
258
- data: any;
259
- status: any;
260
- }>;
262
+ getUserByEmail: (email: string) => Promise<ApiResponse<UserResponseData>>;
261
263
  }
262
264
 
263
265
  }