@yuno-payments/dashboard-api-mfe 0.40.26-beta.1 → 0.41.0-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.
@@ -55,6 +55,7 @@ export declare class Api extends HttpClient {
55
55
  getPaymentMethodsAndProviders<T>(): Promise<AxiosResponse<T, any>>;
56
56
  getTransactionDetailsV2<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
57
57
  getTransactionRawResponse<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
58
+ postProviderRawResponse<T>(transactionCode: string, payload: Payment.ProviderRawResponse.Request): Promise<AxiosResponse<T, any>>;
58
59
  uploadChargebacks<T>(payload: Payment.UploadRequest, paymentId: string, transactionId: string, handleSetProgress: (progress: number) => void): Promise<AxiosResponse<T, any>>;
59
60
  getPaymentTransactionsDetails<T>({ transaction_code, }: {
60
61
  transaction_code: any;
@@ -11,3 +11,7 @@ export declare function useChargebacksUpload(): import("@tanstack/react-query").
11
11
  transactionId: string;
12
12
  handleSetProgress: (progress: number) => void;
13
13
  }, unknown>;
14
+ export declare function useProviderRawResponse(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Payment.ProviderRawResponse.Response, any, {}>, unknown, {
15
+ transactionCode: string;
16
+ payload: Payment.ProviderRawResponse.Request;
17
+ }, unknown>;
@@ -490,6 +490,13 @@ export declare namespace Payment {
490
490
  transaction_type: string;
491
491
  description?: string;
492
492
  }
493
+ namespace ProviderRawResponse {
494
+ interface Request {
495
+ trace_id: string;
496
+ provider_id: string;
497
+ }
498
+ type Response = Record<string, any>;
499
+ }
493
500
  }
494
501
  export interface PaymentMethodStyled {
495
502
  description: string;
@@ -20,7 +20,6 @@ export declare namespace SmartRouting {
20
20
  decline_types: string[];
21
21
  has_split: boolean;
22
22
  order: number;
23
- retry: boolean;
24
23
  type: OutputType;
25
24
  }
26
25
  export type RouteType = 'PROVIDER' | 'ENDING' | 'SMART_ROUTING';
@@ -263,7 +262,6 @@ export declare namespace SmartRouting {
263
262
  index: number;
264
263
  processed_status: string;
265
264
  processed_sub_status?: string;
266
- retry: boolean;
267
265
  }
268
266
  export interface PaymentRoutes {
269
267
  route: PaymentRoute[];