@yuno-payments/dashboard-api-mfe 0.36.53 → 0.36.55-imper-beta.1
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 +1 -1
- package/build/cjs/types/queries/accounts/accounts.query.d.ts +5 -0
- package/build/cjs/types/queries/users/users.query.d.ts +2 -1
- package/build/cjs/types/types/ai/ai.d.ts +2 -0
- package/build/cjs/types/types/payment/payment.d.ts +2 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -1
- package/build/esm/types/queries/accounts/accounts.query.d.ts +5 -0
- package/build/esm/types/queries/users/users.query.d.ts +2 -1
- package/build/esm/types/types/ai/ai.d.ts +2 -0
- package/build/esm/types/types/payment/payment.d.ts +2 -0
- package/build/index.d.ts +13 -3
- package/package.json +1 -1
|
@@ -260,7 +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): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
263
|
+
getUsersToImpersonate(organizationCode: string, accountCode?: string): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
264
264
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
265
265
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
266
266
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|
|
@@ -16,3 +16,8 @@ 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): UseQueryResult<User.UsersToImpersonateUser[], AxiosError>;
|
|
10
|
+
export declare function useGetUsersToImpersonate(organizationCode: string, accountCode?: string): UseQueryResult<User.UsersToImpersonateUser[], AxiosError>;
|
|
11
11
|
export declare function useCommunications(payload: {
|
|
12
12
|
start_date: string;
|
|
13
13
|
end_date: string;
|
|
@@ -18,6 +18,7 @@ export declare function useCommunications(payload: {
|
|
|
18
18
|
skip: number;
|
|
19
19
|
limit: number;
|
|
20
20
|
search_value: string;
|
|
21
|
+
channel: string[];
|
|
21
22
|
}): UseQueryResult<AI.CommunicationsListResponse, AxiosError>;
|
|
22
23
|
export declare function useCommunicationsFilters(): UseQueryResult<AI.CommunicationsFiltersResponse, AxiosError>;
|
|
23
24
|
export declare function useCommunicationDetails(communicationId: string, accountCode: string): UseQueryResult<AI.CommunicationDetailsResponse, AxiosError>;
|
|
@@ -28,6 +28,7 @@ export declare namespace AI {
|
|
|
28
28
|
order_id: string;
|
|
29
29
|
payment_id: string;
|
|
30
30
|
status: string;
|
|
31
|
+
sub_status: string;
|
|
31
32
|
destination_phone: string | null;
|
|
32
33
|
duration: number;
|
|
33
34
|
country: string;
|
|
@@ -63,6 +64,7 @@ export declare namespace AI {
|
|
|
63
64
|
order_id: string;
|
|
64
65
|
payment_id: string;
|
|
65
66
|
status: string;
|
|
67
|
+
sub_status?: string;
|
|
66
68
|
destination_phone: string | null;
|
|
67
69
|
duration: number;
|
|
68
70
|
country: string;
|
|
@@ -250,6 +250,7 @@ export declare namespace Payment {
|
|
|
250
250
|
response_message?: string;
|
|
251
251
|
reason?: string;
|
|
252
252
|
description?: string;
|
|
253
|
+
merchant_advice_code?: string;
|
|
253
254
|
merchant_reference?: string;
|
|
254
255
|
provider_data?: ProviderData;
|
|
255
256
|
created_at?: string;
|
|
@@ -291,6 +292,7 @@ export declare namespace Payment {
|
|
|
291
292
|
provider_transaction_id?: string;
|
|
292
293
|
provider_status?: string;
|
|
293
294
|
provider_status_detail?: string;
|
|
295
|
+
merchant_advice_code?: string;
|
|
294
296
|
merchant_reference?: string;
|
|
295
297
|
reason?: string;
|
|
296
298
|
description?: string;
|