@yuno-payments/dashboard-api-mfe 0.36.33 → 0.36.34-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 +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/queries/payments/payments.query.d.ts +18 -19
- package/build/cjs/types/types/payment/payment.d.ts +149 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/queries/payments/payments.query.d.ts +18 -19
- package/build/esm/types/types/payment/payment.d.ts +149 -0
- package/build/index.d.ts +166 -19
- package/package.json +1 -1
|
@@ -4,34 +4,33 @@ import type { Organization, Payment, Payouts, RefundPdfResponse, SendPaymentNoti
|
|
|
4
4
|
import { PaymentFiltersSection } from '../../types/payment/payment';
|
|
5
5
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
6
6
|
import { AxiosError } from 'axios';
|
|
7
|
-
|
|
8
|
-
export declare function
|
|
7
|
+
import { BFFErrorResponse } from '../../mutations';
|
|
8
|
+
export declare function usePostPaymentsLazy(params: GetPaymentsParams): UseQueryResult<Payment.PaymentList, AxiosError<BFFErrorResponse>>;
|
|
9
|
+
export declare function usePostPaymentsEvaluated(params: GetPaymentsEvaluatedParams): UseQueryResult<Payment.PaymentList, AxiosError<BFFErrorResponse>>;
|
|
9
10
|
export declare function useGetPaymentV2({ paymentCode, enabled, }: {
|
|
10
11
|
paymentCode: string;
|
|
11
12
|
enabled?: boolean;
|
|
12
|
-
}): UseQueryResult<Payment.PaymentV2,
|
|
13
|
-
export declare function useGetTransactionDetailsV2({ payment_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult,
|
|
14
|
-
export declare function useGetTransactionRawResponse({ transaction_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult,
|
|
13
|
+
}): UseQueryResult<Payment.PaymentV2, AxiosError<BFFErrorResponse>>;
|
|
14
|
+
export declare function useGetTransactionDetailsV2({ payment_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
15
|
+
export declare function useGetTransactionRawResponse({ transaction_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
15
16
|
export declare function useGetPaymentsMethodsByCountry(params: Organization.PaymentMethods): UseQueryResult<Organization.PaymentMethods[], CustomAxiosResponse<null>>;
|
|
16
|
-
export declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders,
|
|
17
|
+
export declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders, AxiosError<BFFErrorResponse>>;
|
|
17
18
|
export declare function useGetCardBrands(): UseQueryResult<Payment.CardBrand[], unknown>;
|
|
18
19
|
export declare function useGetPaymentFilters(enabled?: boolean, section?: PaymentFiltersSection): UseQueryResult<Payment.Filters, CustomAxiosResponse>;
|
|
19
|
-
export declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders,
|
|
20
|
+
export declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders, AxiosError<BFFErrorResponse>>;
|
|
20
21
|
export declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
|
|
21
22
|
transaction_code: string;
|
|
22
23
|
enabled?: boolean;
|
|
23
|
-
}): UseQueryResult<Payment.
|
|
24
|
-
error: boolean;
|
|
25
|
-
}, unknown>;
|
|
24
|
+
}): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
|
|
26
25
|
export declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
|
|
27
26
|
payment_code: string;
|
|
28
27
|
enabled?: boolean;
|
|
29
|
-
}): UseQueryResult<Payment.TransactionHistoryByPayment,
|
|
30
|
-
export declare function usePostTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult
|
|
31
|
-
export declare function usePostFraudTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult
|
|
32
|
-
export declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details
|
|
33
|
-
export declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult
|
|
34
|
-
export declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult
|
|
35
|
-
export declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError
|
|
36
|
-
export declare function useGetProofOfPayment(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError
|
|
37
|
-
export declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError
|
|
28
|
+
}): UseQueryResult<Payment.TransactionHistoryByPayment, AxiosError<BFFErrorResponse>>;
|
|
29
|
+
export declare function usePostTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
30
|
+
export declare function usePostFraudTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
31
|
+
export declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
32
|
+
export declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
33
|
+
export declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
34
|
+
export declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError<BFFErrorResponse>>;
|
|
35
|
+
export declare function useGetProofOfPayment(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError<BFFErrorResponse>>;
|
|
36
|
+
export declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError<BFFErrorResponse>>;
|
|
@@ -270,6 +270,155 @@ export declare namespace Payment {
|
|
|
270
270
|
stand_alone?: string;
|
|
271
271
|
purpose?: string;
|
|
272
272
|
}
|
|
273
|
+
interface PaymentTransactionDetail {
|
|
274
|
+
id?: number;
|
|
275
|
+
code?: string;
|
|
276
|
+
parent_id?: string;
|
|
277
|
+
payment_method_type?: string;
|
|
278
|
+
payment_id?: number;
|
|
279
|
+
category?: string;
|
|
280
|
+
status?: string;
|
|
281
|
+
customer_payment_method_code?: string;
|
|
282
|
+
amount?: number;
|
|
283
|
+
provider_id?: string;
|
|
284
|
+
created_at?: string;
|
|
285
|
+
updated_at?: string;
|
|
286
|
+
response_code?: string;
|
|
287
|
+
one_time_token?: string;
|
|
288
|
+
type?: string;
|
|
289
|
+
response_message?: string;
|
|
290
|
+
provider_raw_response?: string;
|
|
291
|
+
provider_transaction_id?: string;
|
|
292
|
+
provider_status?: string;
|
|
293
|
+
provider_status_detail?: string;
|
|
294
|
+
merchant_reference?: string;
|
|
295
|
+
reason?: string;
|
|
296
|
+
description?: string;
|
|
297
|
+
vault_on_success?: boolean;
|
|
298
|
+
require_action_type?: string;
|
|
299
|
+
parent_provider?: string;
|
|
300
|
+
provider_raw_notification?: string;
|
|
301
|
+
account_integration_code?: string;
|
|
302
|
+
provider_action_data?: string;
|
|
303
|
+
technical_reverse_provider_transaction_id?: string;
|
|
304
|
+
technical_reverse_transaction_type?: string;
|
|
305
|
+
technical_reverse_status?: string;
|
|
306
|
+
provider_response_message?: string;
|
|
307
|
+
trace_id?: string;
|
|
308
|
+
checkout_url?: string;
|
|
309
|
+
payment?: PaymentTransactionDetail[];
|
|
310
|
+
bank_transfer?: string[];
|
|
311
|
+
bnpl?: string[];
|
|
312
|
+
card?: Card[];
|
|
313
|
+
card_transaction?: Card[];
|
|
314
|
+
payment_link?: string[];
|
|
315
|
+
ticket?: string[];
|
|
316
|
+
wallet?: string[];
|
|
317
|
+
customer_payer?: CustomerPayerTransactionDetail[];
|
|
318
|
+
error?: boolean;
|
|
319
|
+
provider_account_id?: string;
|
|
320
|
+
parent_payment_method_type?: string;
|
|
321
|
+
provider_third_party_account_id?: string;
|
|
322
|
+
provider_response_code?: string;
|
|
323
|
+
}
|
|
324
|
+
interface PaymentTransactionDetail {
|
|
325
|
+
id?: number;
|
|
326
|
+
code?: string;
|
|
327
|
+
account_code?: string;
|
|
328
|
+
currency_code?: string;
|
|
329
|
+
organization_code?: string;
|
|
330
|
+
}
|
|
331
|
+
interface Card {
|
|
332
|
+
id?: number;
|
|
333
|
+
type?: string;
|
|
334
|
+
brand?: string;
|
|
335
|
+
verify?: string;
|
|
336
|
+
capture?: boolean;
|
|
337
|
+
card_iin?: string;
|
|
338
|
+
card_lfd?: string;
|
|
339
|
+
category?: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
updated_at?: string;
|
|
342
|
+
issuer_code?: string;
|
|
343
|
+
issuer_name?: string;
|
|
344
|
+
country_code?: string;
|
|
345
|
+
country_name?: string;
|
|
346
|
+
installments?: number;
|
|
347
|
+
three_ds_code?: string;
|
|
348
|
+
three_ds_ds_id?: string;
|
|
349
|
+
three_ds_token?: string;
|
|
350
|
+
transaction_id?: number;
|
|
351
|
+
sequence_number?: string;
|
|
352
|
+
soft_descriptor?: string;
|
|
353
|
+
three_ds_acs_id?: string;
|
|
354
|
+
card_holder_name?: string;
|
|
355
|
+
installment_info?: string;
|
|
356
|
+
three_ds_version?: string;
|
|
357
|
+
installments_type?: string;
|
|
358
|
+
three_ds_setup_id?: string;
|
|
359
|
+
authorization_code?: string;
|
|
360
|
+
card_number_length?: number;
|
|
361
|
+
installments_amount?: string;
|
|
362
|
+
internal_card_token?: string;
|
|
363
|
+
three_ds_cryptogram?: string;
|
|
364
|
+
card_expiration_year?: number;
|
|
365
|
+
three_ds_collect_url?: string;
|
|
366
|
+
three_ds_solution_id?: string;
|
|
367
|
+
card_expiration_month?: number;
|
|
368
|
+
three_ds_developer_id?: string;
|
|
369
|
+
three_ds_pares_status?: string;
|
|
370
|
+
three_ds_has_challenge?: string;
|
|
371
|
+
provider_transaction_id?: string;
|
|
372
|
+
three_ds_transaction_id?: string;
|
|
373
|
+
card_security_code_length?: number;
|
|
374
|
+
first_installment_deferral?: string;
|
|
375
|
+
retrieval_reference_number?: string;
|
|
376
|
+
third_party_transaction_id?: string;
|
|
377
|
+
three_ds_setup_reference_id?: string;
|
|
378
|
+
internal_security_code_token?: string;
|
|
379
|
+
fingerprint_code?: string;
|
|
380
|
+
three_ds_electronic_commerce_indicator?: string;
|
|
381
|
+
network_token_response_code?: string;
|
|
382
|
+
network_token_response_message?: string;
|
|
383
|
+
network_token_lfd?: string;
|
|
384
|
+
network_token_iin?: string;
|
|
385
|
+
network_token_expiration_month?: number;
|
|
386
|
+
network_token_expiration_year?: number;
|
|
387
|
+
network_token_par?: string;
|
|
388
|
+
network_token_status?: string;
|
|
389
|
+
}
|
|
390
|
+
interface CustomerPayerTransactionDetail {
|
|
391
|
+
id?: number;
|
|
392
|
+
email?: string;
|
|
393
|
+
gender?: string;
|
|
394
|
+
last_name?: string;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
first_name?: string;
|
|
397
|
+
ip_address?: string;
|
|
398
|
+
payment_id?: number;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
nationality?: string;
|
|
401
|
+
phone_number?: string;
|
|
402
|
+
customer_code?: string;
|
|
403
|
+
date_of_birth?: string;
|
|
404
|
+
document_type?: string;
|
|
405
|
+
document_number?: string;
|
|
406
|
+
device_fingerprint?: string;
|
|
407
|
+
phone_country_code?: string;
|
|
408
|
+
browser_info_language?: string;
|
|
409
|
+
third_party_session_id?: string;
|
|
410
|
+
browser_info_user_agent?: string;
|
|
411
|
+
browser_info_color_depth?: string;
|
|
412
|
+
browser_info_java_enabled?: string;
|
|
413
|
+
browser_info_screen_width?: string;
|
|
414
|
+
browser_info_accept_header?: string;
|
|
415
|
+
browser_info_screen_height?: string;
|
|
416
|
+
browser_info_accept_browser?: string;
|
|
417
|
+
browser_info_accept_content?: string;
|
|
418
|
+
browser_info_javascript_enabled?: string;
|
|
419
|
+
organization_customer_external_id?: string;
|
|
420
|
+
browser_info_browser_time_difference?: string;
|
|
421
|
+
}
|
|
273
422
|
interface TransactionDetailsResult {
|
|
274
423
|
content: TransactionDetails[];
|
|
275
424
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -674,6 +674,155 @@ declare namespace Payment {
|
|
|
674
674
|
stand_alone?: string;
|
|
675
675
|
purpose?: string;
|
|
676
676
|
}
|
|
677
|
+
interface PaymentTransactionDetail {
|
|
678
|
+
id?: number;
|
|
679
|
+
code?: string;
|
|
680
|
+
parent_id?: string;
|
|
681
|
+
payment_method_type?: string;
|
|
682
|
+
payment_id?: number;
|
|
683
|
+
category?: string;
|
|
684
|
+
status?: string;
|
|
685
|
+
customer_payment_method_code?: string;
|
|
686
|
+
amount?: number;
|
|
687
|
+
provider_id?: string;
|
|
688
|
+
created_at?: string;
|
|
689
|
+
updated_at?: string;
|
|
690
|
+
response_code?: string;
|
|
691
|
+
one_time_token?: string;
|
|
692
|
+
type?: string;
|
|
693
|
+
response_message?: string;
|
|
694
|
+
provider_raw_response?: string;
|
|
695
|
+
provider_transaction_id?: string;
|
|
696
|
+
provider_status?: string;
|
|
697
|
+
provider_status_detail?: string;
|
|
698
|
+
merchant_reference?: string;
|
|
699
|
+
reason?: string;
|
|
700
|
+
description?: string;
|
|
701
|
+
vault_on_success?: boolean;
|
|
702
|
+
require_action_type?: string;
|
|
703
|
+
parent_provider?: string;
|
|
704
|
+
provider_raw_notification?: string;
|
|
705
|
+
account_integration_code?: string;
|
|
706
|
+
provider_action_data?: string;
|
|
707
|
+
technical_reverse_provider_transaction_id?: string;
|
|
708
|
+
technical_reverse_transaction_type?: string;
|
|
709
|
+
technical_reverse_status?: string;
|
|
710
|
+
provider_response_message?: string;
|
|
711
|
+
trace_id?: string;
|
|
712
|
+
checkout_url?: string;
|
|
713
|
+
payment?: PaymentTransactionDetail[];
|
|
714
|
+
bank_transfer?: string[];
|
|
715
|
+
bnpl?: string[];
|
|
716
|
+
card?: Card[];
|
|
717
|
+
card_transaction?: Card[];
|
|
718
|
+
payment_link?: string[];
|
|
719
|
+
ticket?: string[];
|
|
720
|
+
wallet?: string[];
|
|
721
|
+
customer_payer?: CustomerPayerTransactionDetail[];
|
|
722
|
+
error?: boolean;
|
|
723
|
+
provider_account_id?: string;
|
|
724
|
+
parent_payment_method_type?: string;
|
|
725
|
+
provider_third_party_account_id?: string;
|
|
726
|
+
provider_response_code?: string;
|
|
727
|
+
}
|
|
728
|
+
interface PaymentTransactionDetail {
|
|
729
|
+
id?: number;
|
|
730
|
+
code?: string;
|
|
731
|
+
account_code?: string;
|
|
732
|
+
currency_code?: string;
|
|
733
|
+
organization_code?: string;
|
|
734
|
+
}
|
|
735
|
+
interface Card {
|
|
736
|
+
id?: number;
|
|
737
|
+
type?: string;
|
|
738
|
+
brand?: string;
|
|
739
|
+
verify?: string;
|
|
740
|
+
capture?: boolean;
|
|
741
|
+
card_iin?: string;
|
|
742
|
+
card_lfd?: string;
|
|
743
|
+
category?: string;
|
|
744
|
+
created_at?: string;
|
|
745
|
+
updated_at?: string;
|
|
746
|
+
issuer_code?: string;
|
|
747
|
+
issuer_name?: string;
|
|
748
|
+
country_code?: string;
|
|
749
|
+
country_name?: string;
|
|
750
|
+
installments?: number;
|
|
751
|
+
three_ds_code?: string;
|
|
752
|
+
three_ds_ds_id?: string;
|
|
753
|
+
three_ds_token?: string;
|
|
754
|
+
transaction_id?: number;
|
|
755
|
+
sequence_number?: string;
|
|
756
|
+
soft_descriptor?: string;
|
|
757
|
+
three_ds_acs_id?: string;
|
|
758
|
+
card_holder_name?: string;
|
|
759
|
+
installment_info?: string;
|
|
760
|
+
three_ds_version?: string;
|
|
761
|
+
installments_type?: string;
|
|
762
|
+
three_ds_setup_id?: string;
|
|
763
|
+
authorization_code?: string;
|
|
764
|
+
card_number_length?: number;
|
|
765
|
+
installments_amount?: string;
|
|
766
|
+
internal_card_token?: string;
|
|
767
|
+
three_ds_cryptogram?: string;
|
|
768
|
+
card_expiration_year?: number;
|
|
769
|
+
three_ds_collect_url?: string;
|
|
770
|
+
three_ds_solution_id?: string;
|
|
771
|
+
card_expiration_month?: number;
|
|
772
|
+
three_ds_developer_id?: string;
|
|
773
|
+
three_ds_pares_status?: string;
|
|
774
|
+
three_ds_has_challenge?: string;
|
|
775
|
+
provider_transaction_id?: string;
|
|
776
|
+
three_ds_transaction_id?: string;
|
|
777
|
+
card_security_code_length?: number;
|
|
778
|
+
first_installment_deferral?: string;
|
|
779
|
+
retrieval_reference_number?: string;
|
|
780
|
+
third_party_transaction_id?: string;
|
|
781
|
+
three_ds_setup_reference_id?: string;
|
|
782
|
+
internal_security_code_token?: string;
|
|
783
|
+
fingerprint_code?: string;
|
|
784
|
+
three_ds_electronic_commerce_indicator?: string;
|
|
785
|
+
network_token_response_code?: string;
|
|
786
|
+
network_token_response_message?: string;
|
|
787
|
+
network_token_lfd?: string;
|
|
788
|
+
network_token_iin?: string;
|
|
789
|
+
network_token_expiration_month?: number;
|
|
790
|
+
network_token_expiration_year?: number;
|
|
791
|
+
network_token_par?: string;
|
|
792
|
+
network_token_status?: string;
|
|
793
|
+
}
|
|
794
|
+
interface CustomerPayerTransactionDetail {
|
|
795
|
+
id?: number;
|
|
796
|
+
email?: string;
|
|
797
|
+
gender?: string;
|
|
798
|
+
last_name?: string;
|
|
799
|
+
created_at?: string;
|
|
800
|
+
first_name?: string;
|
|
801
|
+
ip_address?: string;
|
|
802
|
+
payment_id?: number;
|
|
803
|
+
updated_at?: string;
|
|
804
|
+
nationality?: string;
|
|
805
|
+
phone_number?: string;
|
|
806
|
+
customer_code?: string;
|
|
807
|
+
date_of_birth?: string;
|
|
808
|
+
document_type?: string;
|
|
809
|
+
document_number?: string;
|
|
810
|
+
device_fingerprint?: string;
|
|
811
|
+
phone_country_code?: string;
|
|
812
|
+
browser_info_language?: string;
|
|
813
|
+
third_party_session_id?: string;
|
|
814
|
+
browser_info_user_agent?: string;
|
|
815
|
+
browser_info_color_depth?: string;
|
|
816
|
+
browser_info_java_enabled?: string;
|
|
817
|
+
browser_info_screen_width?: string;
|
|
818
|
+
browser_info_accept_header?: string;
|
|
819
|
+
browser_info_screen_height?: string;
|
|
820
|
+
browser_info_accept_browser?: string;
|
|
821
|
+
browser_info_accept_content?: string;
|
|
822
|
+
browser_info_javascript_enabled?: string;
|
|
823
|
+
organization_customer_external_id?: string;
|
|
824
|
+
browser_info_browser_time_difference?: string;
|
|
825
|
+
}
|
|
677
826
|
interface TransactionDetailsResult {
|
|
678
827
|
content: TransactionDetails[];
|
|
679
828
|
}
|
|
@@ -4051,37 +4200,35 @@ interface ErrorRoutingAIResponse {
|
|
|
4051
4200
|
declare function useAICreateWorkflow(organizationCode: string, options?: Omit<UseMutationOptions<CreateAIsResponse, AxiosError<ErrorRoutingAIResponse>, SmartRouting.PayloadAIWorkflowCreate, unknown> | undefined, 'mutationKey' | 'mutationFn'>): UseMutationResult<CreateAIsResponse, AxiosError<ErrorRoutingAIResponse>, SmartRouting.PayloadAIWorkflowCreate>;
|
|
4052
4201
|
declare function useGenerateFeedback(options?: Omit<UseMutationOptions<any, AxiosError<ErrorRoutingAIResponse>, AI.AIGenerate, unknown> | undefined, 'mutationKey' | 'mutationFn'>): UseMutationResult<any, AxiosError<ErrorRoutingAIResponse>, AI.AIGenerate>;
|
|
4053
4202
|
|
|
4054
|
-
declare function usePostPaymentsLazy(params: GetPaymentsParams): UseQueryResult<Payment.PaymentList
|
|
4055
|
-
declare function usePostPaymentsEvaluated(params: GetPaymentsEvaluatedParams): UseQueryResult<Payment.PaymentList,
|
|
4203
|
+
declare function usePostPaymentsLazy(params: GetPaymentsParams): UseQueryResult<Payment.PaymentList, AxiosError<BFFErrorResponse>>;
|
|
4204
|
+
declare function usePostPaymentsEvaluated(params: GetPaymentsEvaluatedParams): UseQueryResult<Payment.PaymentList, AxiosError<BFFErrorResponse>>;
|
|
4056
4205
|
declare function useGetPaymentV2({ paymentCode, enabled, }: {
|
|
4057
4206
|
paymentCode: string;
|
|
4058
4207
|
enabled?: boolean;
|
|
4059
|
-
}): UseQueryResult<Payment.PaymentV2,
|
|
4060
|
-
declare function useGetTransactionDetailsV2({ payment_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult,
|
|
4061
|
-
declare function useGetTransactionRawResponse({ transaction_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult,
|
|
4208
|
+
}): UseQueryResult<Payment.PaymentV2, AxiosError<BFFErrorResponse>>;
|
|
4209
|
+
declare function useGetTransactionDetailsV2({ payment_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
4210
|
+
declare function useGetTransactionRawResponse({ transaction_code, enabled, }: GetTransactionDetailsV2Params): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
4062
4211
|
declare function useGetPaymentsMethodsByCountry(params: Organization.PaymentMethods): UseQueryResult<Organization.PaymentMethods[], CustomAxiosResponse<null>>;
|
|
4063
|
-
declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders,
|
|
4212
|
+
declare function useGetPaymentMethodsAndProviders(): UseQueryResult<Payment.PaymentMethodsAndProviders, AxiosError<BFFErrorResponse>>;
|
|
4064
4213
|
declare function useGetCardBrands(): UseQueryResult<Payment.CardBrand[], unknown>;
|
|
4065
4214
|
declare function useGetPaymentFilters(enabled?: boolean, section?: PaymentFiltersSection): UseQueryResult<Payment.Filters, CustomAxiosResponse>;
|
|
4066
|
-
declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders,
|
|
4215
|
+
declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMethodsAndProviders, AxiosError<BFFErrorResponse>>;
|
|
4067
4216
|
declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
|
|
4068
4217
|
transaction_code: string;
|
|
4069
4218
|
enabled?: boolean;
|
|
4070
|
-
}): UseQueryResult<Payment.
|
|
4071
|
-
error: boolean;
|
|
4072
|
-
}, unknown>;
|
|
4219
|
+
}): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
|
|
4073
4220
|
declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
|
|
4074
4221
|
payment_code: string;
|
|
4075
4222
|
enabled?: boolean;
|
|
4076
|
-
}): UseQueryResult<Payment.TransactionHistoryByPayment,
|
|
4077
|
-
declare function usePostTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult
|
|
4078
|
-
declare function usePostFraudTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult
|
|
4079
|
-
declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details
|
|
4080
|
-
declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult
|
|
4081
|
-
declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult
|
|
4082
|
-
declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError
|
|
4083
|
-
declare function useGetProofOfPayment(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError
|
|
4084
|
-
declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError
|
|
4223
|
+
}): UseQueryResult<Payment.TransactionHistoryByPayment, AxiosError<BFFErrorResponse>>;
|
|
4224
|
+
declare function usePostTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
4225
|
+
declare function usePostFraudTransactions(params: GetTransactionsParams): UseQueryResult<Payment.TransactionDetailsResult, AxiosError<BFFErrorResponse>>;
|
|
4226
|
+
declare function useGetPayoutDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
4227
|
+
declare function useGetPayoutTransactionDetail(params: GetPayoutTransactionDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
4228
|
+
declare function useGetPayoutHistoryDetail(params: GetPayoutDetail): UseQueryResult<Payouts.Details, AxiosError<BFFErrorResponse>>;
|
|
4229
|
+
declare function useGetProofOfCancel(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError<BFFErrorResponse>>;
|
|
4230
|
+
declare function useGetProofOfPayment(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError<BFFErrorResponse>>;
|
|
4231
|
+
declare function useSendPaymentNotification(params: SendPaymentNotification.Params, body: SendPaymentNotification.Body, options: SendPaymentNotification.Options): UseQueryResult<SendPaymentNotification.Response, AxiosError<BFFErrorResponse>>;
|
|
4085
4232
|
|
|
4086
4233
|
declare function usePayoutsList(params: GetPaymentsParams | null): UseQueryResult<Payouts.List | AxiosError>;
|
|
4087
4234
|
declare function usePayoutsFilters(enabled?: boolean): UseQueryResult<Payouts.Filters>;
|