@yuno-payments/dashboard-api-mfe 0.36.30-beta.2 → 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,7 +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, AxiosError<BFFErrorResponse>>;
24
+ }): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
25
25
  export declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
26
26
  payment_code: string;
27
27
  enabled?: boolean;
@@ -236,6 +236,41 @@ 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;
243
+ category?: string;
244
+ amount?: {
245
+ currency?: string;
246
+ value: number;
247
+ } | string;
248
+ payment_method?: PaymentMethod;
249
+ response_code?: string;
250
+ response_message?: string;
251
+ reason?: string;
252
+ 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
+ require_action_type?: string;
263
+ vault_on_success?: string;
264
+ parent_provider?: string;
265
+ account_integration_code?: string;
266
+ technical_reverse_provider_transaction_id?: string;
267
+ technical_reverse_transaction_type?: string;
268
+ technical_reverse_status?: string;
269
+ fraud_screening?: FraudScreening;
270
+ stand_alone?: string;
271
+ purpose?: string;
272
+ }
273
+ interface PaymentTransactionDetail {
239
274
  id?: number;
240
275
  code?: string;
241
276
  parent_id?: string;
package/build/index.d.ts CHANGED
@@ -640,6 +640,41 @@ 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;
647
+ category?: string;
648
+ amount?: {
649
+ currency?: string;
650
+ value: number;
651
+ } | string;
652
+ payment_method?: PaymentMethod;
653
+ response_code?: string;
654
+ response_message?: string;
655
+ reason?: string;
656
+ 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
+ require_action_type?: string;
667
+ vault_on_success?: string;
668
+ parent_provider?: string;
669
+ account_integration_code?: string;
670
+ technical_reverse_provider_transaction_id?: string;
671
+ technical_reverse_transaction_type?: string;
672
+ technical_reverse_status?: string;
673
+ fraud_screening?: FraudScreening;
674
+ stand_alone?: string;
675
+ purpose?: string;
676
+ }
677
+ interface PaymentTransactionDetail {
643
678
  id?: number;
644
679
  code?: string;
645
680
  parent_id?: string;
@@ -4172,7 +4207,7 @@ declare function useGetPaymentMetricsFilters(): UseQueryResult<Payment.PaymentMe
4172
4207
  declare function useGetPaymentTransactionsDetails({ transaction_code, enabled, }: {
4173
4208
  transaction_code: string;
4174
4209
  enabled?: boolean;
4175
- }): UseQueryResult<Payment.TransactionDetails, AxiosError<BFFErrorResponse>>;
4210
+ }): UseQueryResult<Payment.PaymentTransactionDetail, AxiosError<BFFErrorResponse>>;
4176
4211
  declare function useGetTransactionHistoryByPaymentCode({ payment_code, enabled, }: {
4177
4212
  payment_code: string;
4178
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.2",
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",