@yuno-payments/dashboard-api-mfe 0.40.25 → 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;
@@ -64,7 +65,6 @@ export declare class Api extends HttpClient {
64
65
  }): Promise<AxiosResponse<T, any>>;
65
66
  getDeveloperCredentials<T>(password: any, accountCode: any): Promise<AxiosResponse<T, any>>;
66
67
  getDeveloperCredentialsValidatePassword<T>(password: any): Promise<AxiosResponse<T, any>>;
67
- getDeveloperCredentialsValidatePasswordRegularUser<T>(password: any): Promise<AxiosResponse<T, any>>;
68
68
  getAllowedIps<T>(): Promise<AxiosResponse<T, any>>;
69
69
  patchAllowedIps<T>(request: AllowedList.Request): Promise<AxiosResponse<T, any>>;
70
70
  getOrganization<T>(): Promise<AxiosResponse<T, any>>;
@@ -1,10 +1,8 @@
1
1
  import { UseMutationResult } from '@tanstack/react-query';
2
- import { ResponseValidatePasswordRegularUser } from './types';
3
2
  export declare function usePostCreateCustomizedApiKeys(): UseMutationResult<unknown>;
4
3
  export declare function usePathCreateCustomizedApiKeys(): UseMutationResult<unknown>;
5
4
  export declare function useGetCustomizedApiKeysToken(): UseMutationResult<unknown>;
6
5
  export declare function usePostCredentialsValidatePassword(): UseMutationResult<unknown>;
7
- export declare function usePostCredentialsValidatePasswordRegularUser(): UseMutationResult<ResponseValidatePasswordRegularUser>;
8
6
  export declare function useDeleteCustomizedApiKeys(): UseMutationResult<unknown>;
9
7
  export declare function usePatchApiKeysEditNote(): UseMutationResult<unknown>;
10
8
  export declare function usePostApiKeysRoll(): UseMutationResult<unknown>;
@@ -1,2 +1 @@
1
1
  export * from './developers.mutation';
2
- export * from './types';
@@ -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;