@yuno-payments/dashboard-api-mfe 0.36.55-imper-beta.4 → 0.36.55
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 +5 -211
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +1 -2
- package/build/cjs/types/queries/accounts/accounts.query.d.ts +0 -5
- package/build/cjs/types/queries/users/users.query.d.ts +1 -1
- package/build/esm/index.js +5 -211
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -2
- package/build/esm/types/queries/accounts/accounts.query.d.ts +0 -5
- package/build/esm/types/queries/users/users.query.d.ts +1 -1
- package/build/index.d.ts +3 -9
- package/package.json +1 -1
|
@@ -260,8 +260,7 @@ export declare class Api extends HttpClient {
|
|
|
260
260
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
261
261
|
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
262
262
|
getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
|
|
263
|
-
getUsersToImpersonate(organizationCode: string
|
|
264
|
-
getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<Organization.Account[]>>;
|
|
263
|
+
getUsersToImpersonate(organizationCode: string): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
265
264
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
266
265
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
267
266
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|
|
@@ -16,8 +16,3 @@ 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<{
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
code: string;
|
|
23
|
-
}>, unknown>;
|
|
@@ -7,7 +7,7 @@ export declare function useEmailVerification(email: string): UseQueryResult<User
|
|
|
7
7
|
export declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
8
8
|
export declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
9
9
|
export declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
10
|
-
export declare function useGetUsersToImpersonate(organizationCode: string
|
|
10
|
+
export declare function useGetUsersToImpersonate(organizationCode: string): UseQueryResult<User.UsersToImpersonateUser[], AxiosError>;
|
|
11
11
|
export declare function useCommunications(payload: {
|
|
12
12
|
start_date: string;
|
|
13
13
|
end_date: string;
|