@yuno-payments/dashboard-api-mfe 0.36.22 → 0.36.24
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/queries/payments/payments.query.d.ts +2 -1
- package/build/cjs/types/types/payment/payment.d.ts +4 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/queries/payments/payments.query.d.ts +2 -1
- package/build/esm/types/types/payment/payment.d.ts +4 -0
- package/build/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { GetPaymentsParams, GetTransactionDetailsV2Params, GetTransactionsParams, GetPaymentsEvaluatedParams, GetPayoutDetail, GetPayoutTransactionDetail } from '../../api';
|
|
3
3
|
import type { Organization, Payment, Payouts, RefundPdfResponse, SendPaymentNotification } from '../../types';
|
|
4
|
+
import { PaymentFiltersSection } from '../../types/payment/payment';
|
|
4
5
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
5
6
|
import { AxiosError } from 'axios';
|
|
6
7
|
export declare function usePostPaymentsLazy(params: GetPaymentsParams): UseQueryResult<Payment.PaymentList | AxiosError>;
|
|
@@ -14,7 +15,7 @@ export declare function useGetTransactionRawResponse({ transaction_code, enabled
|
|
|
14
15
|
export declare function useGetPaymentsMethodsByCountry(params: Organization.PaymentMethods): UseQueryResult<Organization.PaymentMethods[], CustomAxiosResponse<null>>;
|
|
15
16
|
export declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
16
17
|
export declare function useGetCardBrands(): UseQueryResult<Payment.CardBrand[], unknown>;
|
|
17
|
-
export declare function useGetPaymentFilters(enabled?: boolean, section?:
|
|
18
|
+
export declare function useGetPaymentFilters(enabled?: boolean, section?: PaymentFiltersSection): UseQueryResult<Payment.Filters, CustomAxiosResponse>;
|
|
18
19
|
export declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
19
20
|
export declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
|
|
20
21
|
transaction_code: string;
|