@yuno-payments/dashboard-api-mfe 0.36.30-beta.1 → 0.36.30-beta.3

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.
@@ -21,9 +21,7 @@ export declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.Pa
21
21
  export declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
22
22
  transaction_code: string;
23
23
  enabled?: boolean;
24
- }): UseQueryResult<Payment.TransactionDetails | {
25
- error: boolean;
26
- }, AxiosError<BFFErrorResponse>>;
24
+ }): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
27
25
  export declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
28
26
  payment_code: string;
29
27
  enabled?: boolean;
@@ -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
  }
@@ -4058,9 +4207,7 @@ declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMe
4058
4207
  declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
4059
4208
  transaction_code: string;
4060
4209
  enabled?: boolean;
4061
- }): UseQueryResult<Payment.TransactionDetails | {
4062
- error: boolean;
4063
- }, AxiosError<BFFErrorResponse>>;
4210
+ }): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
4064
4211
  declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
4065
4212
  payment_code: string;
4066
4213
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.36.30-beta.1",
3
+ "version": "0.36.30-beta.3",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",