@yuno-payments/dashboard-api-mfe 0.38.1 → 0.38.2
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 +2 -2
- 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 +2 -1
- package/build/cjs/types/types/user/user.d.ts +5 -0
- package/build/esm/index.js +4 -4
- 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 +2 -1
- package/build/esm/types/types/user/user.d.ts +5 -0
- package/build/index.d.ts +9 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
3
|
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, TemplateReporting } from '../types';
|
|
4
|
+
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, TemplateReporting, GetUserFullResponse } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
7
7
|
import { ChangePaymentsWebhook } from '../mutations';
|
|
@@ -279,6 +279,7 @@ export declare class Api extends HttpClient {
|
|
|
279
279
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
280
280
|
deleteScheduledReport<T>(reportCode: string): Promise<AxiosResponse<T>>;
|
|
281
281
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
282
|
+
getUserFull(): Promise<AxiosResponse<GetUserFullResponse, any>>;
|
|
282
283
|
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
283
284
|
getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
|
|
284
285
|
getUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number, searchValue?: string): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
|
-
import { Accounts, User, AI } from '../../types';
|
|
3
|
+
import { Accounts, User, AI, GetUserFullResponse } from '../../types';
|
|
4
4
|
export declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
5
|
+
export declare function useGetUserFull(): UseQueryResult<GetUserFullResponse, unknown>;
|
|
5
6
|
export declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
6
7
|
export declare function useEmailVerification(email: string): UseQueryResult<User.UserResponseEmailVerification | string, unknown>;
|
|
7
8
|
export declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|