@yuno-payments/dashboard-api-mfe 0.36.30-beta.1 → 0.36.30-beta.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.
@@ -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.TransactionDetails, AxiosError<BFFErrorResponse>>;
27
25
  export declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
28
26
  payment_code: string;
29
27
  enabled?: boolean;
@@ -236,39 +236,153 @@ export declare namespace Payment {
236
236
  updated_at?: string;
237
237
  }
238
238
  interface TransactionDetails {
239
- id?: string;
240
- type?: string;
241
- transaction_data_type?: string;
242
- status?: string;
239
+ id?: number;
240
+ code?: string;
241
+ parent_id?: string;
242
+ payment_method_type?: string;
243
+ payment_id?: number;
243
244
  category?: string;
244
- amount?: {
245
- currency?: string;
246
- value: number;
247
- } | string;
248
- payment_method?: PaymentMethod;
245
+ status?: string;
246
+ customer_payment_method_code?: string;
247
+ amount?: number;
248
+ provider_id?: string;
249
+ created_at?: string;
250
+ updated_at?: string;
249
251
  response_code?: string;
252
+ one_time_token?: string;
253
+ type?: string;
250
254
  response_message?: string;
255
+ provider_raw_response?: string;
256
+ provider_transaction_id?: string;
257
+ provider_status?: string;
258
+ provider_status_detail?: string;
259
+ merchant_reference?: string;
251
260
  reason?: string;
252
261
  description?: string;
253
- merchant_reference?: string;
254
- provider_data?: ProviderData;
255
- created_at?: string;
256
- updated_at?: string;
257
- code?: string;
258
- customer_payment_method_code?: string;
259
- one_time_token?: string;
260
- parent_id?: string;
261
- payment_id?: number;
262
+ vault_on_success?: boolean;
262
263
  require_action_type?: string;
263
- vault_on_success?: string;
264
264
  parent_provider?: string;
265
+ provider_raw_notification?: string;
265
266
  account_integration_code?: string;
267
+ provider_action_data?: string;
266
268
  technical_reverse_provider_transaction_id?: string;
267
269
  technical_reverse_transaction_type?: string;
268
270
  technical_reverse_status?: string;
269
- fraud_screening?: FraudScreening;
270
- stand_alone?: string;
271
- purpose?: string;
271
+ provider_response_message?: string;
272
+ trace_id?: string;
273
+ checkout_url?: string;
274
+ payment?: PaymentTransactionDetail[];
275
+ bank_transfer?: string[];
276
+ bnpl?: string[];
277
+ card?: Card[];
278
+ card_transaction?: Card[];
279
+ payment_link?: string[];
280
+ ticket?: string[];
281
+ wallet?: string[];
282
+ customer_payer?: CustomerPayerTransactionDetail[];
283
+ error?: boolean;
284
+ provider_account_id?: string;
285
+ parent_payment_method_type?: string;
286
+ provider_third_party_account_id?: string;
287
+ provider_response_code?: string;
288
+ }
289
+ interface PaymentTransactionDetail {
290
+ id?: number;
291
+ code?: string;
292
+ account_code?: string;
293
+ currency_code?: string;
294
+ organization_code?: string;
295
+ }
296
+ interface Card {
297
+ id?: number;
298
+ type?: string;
299
+ brand?: string;
300
+ verify?: string;
301
+ capture?: boolean;
302
+ card_iin?: string;
303
+ card_lfd?: string;
304
+ category?: string;
305
+ created_at?: string;
306
+ updated_at?: string;
307
+ issuer_code?: string;
308
+ issuer_name?: string;
309
+ country_code?: string;
310
+ country_name?: string;
311
+ installments?: number;
312
+ three_ds_code?: string;
313
+ three_ds_ds_id?: string;
314
+ three_ds_token?: string;
315
+ transaction_id?: number;
316
+ sequence_number?: string;
317
+ soft_descriptor?: string;
318
+ three_ds_acs_id?: string;
319
+ card_holder_name?: string;
320
+ installment_info?: string;
321
+ three_ds_version?: string;
322
+ installments_type?: string;
323
+ three_ds_setup_id?: string;
324
+ authorization_code?: string;
325
+ card_number_length?: number;
326
+ installments_amount?: string;
327
+ internal_card_token?: string;
328
+ three_ds_cryptogram?: string;
329
+ card_expiration_year?: number;
330
+ three_ds_collect_url?: string;
331
+ three_ds_solution_id?: string;
332
+ card_expiration_month?: number;
333
+ three_ds_developer_id?: string;
334
+ three_ds_pares_status?: string;
335
+ three_ds_has_challenge?: string;
336
+ provider_transaction_id?: string;
337
+ three_ds_transaction_id?: string;
338
+ card_security_code_length?: number;
339
+ first_installment_deferral?: string;
340
+ retrieval_reference_number?: string;
341
+ third_party_transaction_id?: string;
342
+ three_ds_setup_reference_id?: string;
343
+ internal_security_code_token?: string;
344
+ fingerprint_code?: string;
345
+ three_ds_electronic_commerce_indicator?: string;
346
+ network_token_response_code?: string;
347
+ network_token_response_message?: string;
348
+ network_token_lfd?: string;
349
+ network_token_iin?: string;
350
+ network_token_expiration_month?: number;
351
+ network_token_expiration_year?: number;
352
+ network_token_par?: string;
353
+ network_token_status?: string;
354
+ }
355
+ interface CustomerPayerTransactionDetail {
356
+ id?: number;
357
+ email?: string;
358
+ gender?: string;
359
+ last_name?: string;
360
+ created_at?: string;
361
+ first_name?: string;
362
+ ip_address?: string;
363
+ payment_id?: number;
364
+ updated_at?: string;
365
+ nationality?: string;
366
+ phone_number?: string;
367
+ customer_code?: string;
368
+ date_of_birth?: string;
369
+ document_type?: string;
370
+ document_number?: string;
371
+ device_fingerprint?: string;
372
+ phone_country_code?: string;
373
+ browser_info_language?: string;
374
+ third_party_session_id?: string;
375
+ browser_info_user_agent?: string;
376
+ browser_info_color_depth?: string;
377
+ browser_info_java_enabled?: string;
378
+ browser_info_screen_width?: string;
379
+ browser_info_accept_header?: string;
380
+ browser_info_screen_height?: string;
381
+ browser_info_accept_browser?: string;
382
+ browser_info_accept_content?: string;
383
+ browser_info_javascript_enabled?: string;
384
+ organization_customer_external_id?: string;
385
+ browser_info_browser_time_difference?: string;
272
386
  }
273
387
  interface TransactionDetailsResult {
274
388
  content: TransactionDetails[];
package/build/index.d.ts CHANGED
@@ -640,39 +640,153 @@ declare namespace Payment {
640
640
  updated_at?: string;
641
641
  }
642
642
  interface TransactionDetails {
643
- id?: string;
644
- type?: string;
645
- transaction_data_type?: string;
646
- status?: string;
643
+ id?: number;
644
+ code?: string;
645
+ parent_id?: string;
646
+ payment_method_type?: string;
647
+ payment_id?: number;
647
648
  category?: string;
648
- amount?: {
649
- currency?: string;
650
- value: number;
651
- } | string;
652
- payment_method?: PaymentMethod;
649
+ status?: string;
650
+ customer_payment_method_code?: string;
651
+ amount?: number;
652
+ provider_id?: string;
653
+ created_at?: string;
654
+ updated_at?: string;
653
655
  response_code?: string;
656
+ one_time_token?: string;
657
+ type?: string;
654
658
  response_message?: string;
659
+ provider_raw_response?: string;
660
+ provider_transaction_id?: string;
661
+ provider_status?: string;
662
+ provider_status_detail?: string;
663
+ merchant_reference?: string;
655
664
  reason?: string;
656
665
  description?: string;
657
- merchant_reference?: string;
658
- provider_data?: ProviderData;
659
- created_at?: string;
660
- updated_at?: string;
661
- code?: string;
662
- customer_payment_method_code?: string;
663
- one_time_token?: string;
664
- parent_id?: string;
665
- payment_id?: number;
666
+ vault_on_success?: boolean;
666
667
  require_action_type?: string;
667
- vault_on_success?: string;
668
668
  parent_provider?: string;
669
+ provider_raw_notification?: string;
669
670
  account_integration_code?: string;
671
+ provider_action_data?: string;
670
672
  technical_reverse_provider_transaction_id?: string;
671
673
  technical_reverse_transaction_type?: string;
672
674
  technical_reverse_status?: string;
673
- fraud_screening?: FraudScreening;
674
- stand_alone?: string;
675
- purpose?: string;
675
+ provider_response_message?: string;
676
+ trace_id?: string;
677
+ checkout_url?: string;
678
+ payment?: PaymentTransactionDetail[];
679
+ bank_transfer?: string[];
680
+ bnpl?: string[];
681
+ card?: Card[];
682
+ card_transaction?: Card[];
683
+ payment_link?: string[];
684
+ ticket?: string[];
685
+ wallet?: string[];
686
+ customer_payer?: CustomerPayerTransactionDetail[];
687
+ error?: boolean;
688
+ provider_account_id?: string;
689
+ parent_payment_method_type?: string;
690
+ provider_third_party_account_id?: string;
691
+ provider_response_code?: string;
692
+ }
693
+ interface PaymentTransactionDetail {
694
+ id?: number;
695
+ code?: string;
696
+ account_code?: string;
697
+ currency_code?: string;
698
+ organization_code?: string;
699
+ }
700
+ interface Card {
701
+ id?: number;
702
+ type?: string;
703
+ brand?: string;
704
+ verify?: string;
705
+ capture?: boolean;
706
+ card_iin?: string;
707
+ card_lfd?: string;
708
+ category?: string;
709
+ created_at?: string;
710
+ updated_at?: string;
711
+ issuer_code?: string;
712
+ issuer_name?: string;
713
+ country_code?: string;
714
+ country_name?: string;
715
+ installments?: number;
716
+ three_ds_code?: string;
717
+ three_ds_ds_id?: string;
718
+ three_ds_token?: string;
719
+ transaction_id?: number;
720
+ sequence_number?: string;
721
+ soft_descriptor?: string;
722
+ three_ds_acs_id?: string;
723
+ card_holder_name?: string;
724
+ installment_info?: string;
725
+ three_ds_version?: string;
726
+ installments_type?: string;
727
+ three_ds_setup_id?: string;
728
+ authorization_code?: string;
729
+ card_number_length?: number;
730
+ installments_amount?: string;
731
+ internal_card_token?: string;
732
+ three_ds_cryptogram?: string;
733
+ card_expiration_year?: number;
734
+ three_ds_collect_url?: string;
735
+ three_ds_solution_id?: string;
736
+ card_expiration_month?: number;
737
+ three_ds_developer_id?: string;
738
+ three_ds_pares_status?: string;
739
+ three_ds_has_challenge?: string;
740
+ provider_transaction_id?: string;
741
+ three_ds_transaction_id?: string;
742
+ card_security_code_length?: number;
743
+ first_installment_deferral?: string;
744
+ retrieval_reference_number?: string;
745
+ third_party_transaction_id?: string;
746
+ three_ds_setup_reference_id?: string;
747
+ internal_security_code_token?: string;
748
+ fingerprint_code?: string;
749
+ three_ds_electronic_commerce_indicator?: string;
750
+ network_token_response_code?: string;
751
+ network_token_response_message?: string;
752
+ network_token_lfd?: string;
753
+ network_token_iin?: string;
754
+ network_token_expiration_month?: number;
755
+ network_token_expiration_year?: number;
756
+ network_token_par?: string;
757
+ network_token_status?: string;
758
+ }
759
+ interface CustomerPayerTransactionDetail {
760
+ id?: number;
761
+ email?: string;
762
+ gender?: string;
763
+ last_name?: string;
764
+ created_at?: string;
765
+ first_name?: string;
766
+ ip_address?: string;
767
+ payment_id?: number;
768
+ updated_at?: string;
769
+ nationality?: string;
770
+ phone_number?: string;
771
+ customer_code?: string;
772
+ date_of_birth?: string;
773
+ document_type?: string;
774
+ document_number?: string;
775
+ device_fingerprint?: string;
776
+ phone_country_code?: string;
777
+ browser_info_language?: string;
778
+ third_party_session_id?: string;
779
+ browser_info_user_agent?: string;
780
+ browser_info_color_depth?: string;
781
+ browser_info_java_enabled?: string;
782
+ browser_info_screen_width?: string;
783
+ browser_info_accept_header?: string;
784
+ browser_info_screen_height?: string;
785
+ browser_info_accept_browser?: string;
786
+ browser_info_accept_content?: string;
787
+ browser_info_javascript_enabled?: string;
788
+ organization_customer_external_id?: string;
789
+ browser_info_browser_time_difference?: string;
676
790
  }
677
791
  interface TransactionDetailsResult {
678
792
  content: TransactionDetails[];
@@ -4058,9 +4172,7 @@ declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMe
4058
4172
  declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
4059
4173
  transaction_code: string;
4060
4174
  enabled?: boolean;
4061
- }): UseQueryResult<Payment.TransactionDetails | {
4062
- error: boolean;
4063
- }, AxiosError<BFFErrorResponse>>;
4175
+ }): UseQueryResult<Payment.TransactionDetails, AxiosError<BFFErrorResponse>>;
4064
4176
  declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
4065
4177
  payment_code: string;
4066
4178
  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.2",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",