@yuno-payments/dashboard-api-mfe 0.36.55-imper-beta.1 → 0.36.55-imper-beta.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 +2 -1
- package/build/cjs/types/queries/users/users.query.d.ts +1 -1
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +2 -1
- package/build/esm/types/queries/users/users.query.d.ts +1 -1
- package/build/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -260,7 +260,8 @@ 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,
|
|
263
|
+
getUsersToImpersonate(organizationCode: string, accountCodes?: string[]): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
264
|
+
getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<Organization.Account[]>>;
|
|
264
265
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
265
266
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
266
267
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|
|
@@ -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, accountCodes?: string[]): UseQueryResult<User.UsersToImpersonateUser[], AxiosError>;
|
|
11
11
|
export declare function useCommunications(payload: {
|
|
12
12
|
start_date: string;
|
|
13
13
|
end_date: string;
|
package/build/index.d.ts
CHANGED
|
@@ -4663,7 +4663,7 @@ declare function useEmailVerification(email: string): UseQueryResult<User.UserRe
|
|
|
4663
4663
|
declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
4664
4664
|
declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
4665
4665
|
declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
4666
|
-
declare function useGetUsersToImpersonate(organizationCode: string,
|
|
4666
|
+
declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[]): UseQueryResult<User.UsersToImpersonateUser[], AxiosError>;
|
|
4667
4667
|
declare function useCommunications(payload: {
|
|
4668
4668
|
start_date: string;
|
|
4669
4669
|
end_date: string;
|
|
@@ -5184,7 +5184,8 @@ declare class Api extends HttpClient {
|
|
|
5184
5184
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
5185
5185
|
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
5186
5186
|
getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
|
|
5187
|
-
getUsersToImpersonate(organizationCode: string,
|
|
5187
|
+
getUsersToImpersonate(organizationCode: string, accountCodes?: string[]): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
5188
|
+
getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<Organization.Account[]>>;
|
|
5188
5189
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
5189
5190
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
5190
5191
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|