@yuno-payments/dashboard-api-mfe 0.36.22 → 0.36.23
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 -2
- 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 -2
- package/build/esm/types/types/payment/payment.d.ts +4 -0
- package/build/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { GetPaymentsParams, GetTransactionDetailsV2Params, GetTransactionsParams, GetPaymentsEvaluatedParams, GetPayoutDetail, GetPayoutTransactionDetail } from '../../api';
|
|
3
|
-
import
|
|
3
|
+
import { Organization, Payment, Payouts, RefundPdfResponse, SendPaymentNotification } from '../../types';
|
|
4
4
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
5
5
|
import { AxiosError } from 'axios';
|
|
6
6
|
export declare function usePostPaymentsLazy(params: GetPaymentsParams): UseQueryResult<Payment.PaymentList | AxiosError>;
|
|
@@ -14,7 +14,7 @@ export declare function useGetTransactionRawResponse({ transaction_code, enabled
|
|
|
14
14
|
export declare function useGetPaymentsMethodsByCountry(params: Organization.PaymentMethods): UseQueryResult<Organization.PaymentMethods[], CustomAxiosResponse<null>>;
|
|
15
15
|
export declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
16
16
|
export declare function useGetCardBrands(): UseQueryResult<Payment.CardBrand[], unknown>;
|
|
17
|
-
export declare function useGetPaymentFilters(enabled?: boolean, section?:
|
|
17
|
+
export declare function useGetPaymentFilters(enabled?: boolean, section?: Payment.PaymentFiltersSection): UseQueryResult<Payment.Filters, CustomAxiosResponse>;
|
|
18
18
|
export declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
19
19
|
export declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
|
|
20
20
|
transaction_code: string;
|
|
@@ -328,6 +328,10 @@ export declare namespace Payment {
|
|
|
328
328
|
fst_response_code: string[];
|
|
329
329
|
fst_provider_score: string[];
|
|
330
330
|
}
|
|
331
|
+
enum PaymentFiltersSection {
|
|
332
|
+
PAYMENTS = "PAYMENTS",
|
|
333
|
+
INSIGHTS = "INSIGHTS"
|
|
334
|
+
}
|
|
331
335
|
interface TransactionHistoryByPayment {
|
|
332
336
|
payment_method_type: string;
|
|
333
337
|
amount_value: number;
|
package/build/index.d.ts
CHANGED
|
@@ -732,6 +732,10 @@ declare namespace Payment {
|
|
|
732
732
|
fst_response_code: string[];
|
|
733
733
|
fst_provider_score: string[];
|
|
734
734
|
}
|
|
735
|
+
enum PaymentFiltersSection {
|
|
736
|
+
PAYMENTS = "PAYMENTS",
|
|
737
|
+
INSIGHTS = "INSIGHTS"
|
|
738
|
+
}
|
|
735
739
|
interface TransactionHistoryByPayment {
|
|
736
740
|
payment_method_type: string;
|
|
737
741
|
amount_value: number;
|
|
@@ -4065,7 +4069,7 @@ declare function useGetTransactionRawResponse({ transaction_code, enabled, }: Ge
|
|
|
4065
4069
|
declare function useGetPaymentsMethodsByCountry(params: Organization.PaymentMethods): UseQueryResult<Organization.PaymentMethods[], CustomAxiosResponse<null>>;
|
|
4066
4070
|
declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
4067
4071
|
declare function useGetCardBrands(): UseQueryResult<Payment.CardBrand[], unknown>;
|
|
4068
|
-
declare function useGetPaymentFilters(enabled?: boolean, section?:
|
|
4072
|
+
declare function useGetPaymentFilters(enabled?: boolean, section?: Payment.PaymentFiltersSection): UseQueryResult<Payment.Filters, CustomAxiosResponse>;
|
|
4069
4073
|
declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders, unknown>;
|
|
4070
4074
|
declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
|
|
4071
4075
|
transaction_code: string;
|