@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.
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +7 -1
- package/build/cjs/types/queries/accounts/accounts.query.d.ts +3 -2
- package/build/esm/index.js +7 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +7 -1
- package/build/esm/types/queries/accounts/accounts.query.d.ts +3 -2
- package/build/index.d.ts +10 -3
- package/package.json +1 -1
|
@@ -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<
|
|
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
|
-
|
|
22
|
+
code_live: string;
|
|
23
|
+
code_testing: string;
|
|
23
24
|
}>, unknown>;
|