@yuno-payments/dashboard-api-mfe 0.36.56-multiaccounts-1 → 0.36.56-multiaccounts-3

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.
@@ -261,7 +261,13 @@ export declare class Api extends HttpClient {
261
261
  getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
262
262
  getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
263
263
  getUsersToImpersonate(organizationCode: string, accountCodes?: string[]): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
264
- getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<Organization.Account[]>>;
264
+ getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<{
265
+ response: Array<{
266
+ name: string;
267
+ code_live: string;
268
+ code_testing: string;
269
+ }>;
270
+ }>>;
265
271
  updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
266
272
  inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
267
273
  unInviteUsersV2<T>({ userCode, organizationCode, }: {
@@ -16,8 +16,9 @@ export declare function useGetAccountsByUser(userCode: string): UseQueryResult<{
16
16
  accountsV2ByUser: Organization.Account[];
17
17
  error?: AxiosError;
18
18
  }, unknown>;
19
- export declare function useGetAccountsForImpersonation(organizationCode?: string): UseQueryResult<Array<{
19
+ export declare function useGetAccountsForImpersonation(organizationCode?: string, isTesting?: boolean): UseQueryResult<Array<{
20
20
  label: string;
21
21
  value: string;
22
- code: string;
22
+ code_live: string;
23
+ code_testing: string;
23
24
  }>, unknown>;