@yuno-payments/dashboard-api-mfe 0.36.41-beta.3 → 0.36.41-beta.5

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.
@@ -1,6 +1,7 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
2
  import { SmartRouting } from '../../types';
3
- import { AxiosResponse } from 'axios';
3
+ import { AxiosError, AxiosResponse } from 'axios';
4
+ import { BFFErrorResponse } from '../../mutations';
4
5
  export interface ErrorProp {
5
6
  name?: string;
6
7
  }
@@ -26,4 +27,4 @@ export declare function useGetSmartRoutingSearchConditionValues({ text, conditio
26
27
  }): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
27
28
  export declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
28
29
  export declare function use3DSExemptions(): UseQueryResult<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
29
- export declare function useNetworkTokensOnboarding(): UseQueryResult<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
30
+ export declare function useNetworkTokensOnboarding(): UseQueryResult<SmartRouting.NetworkTokensOnboardingResponse, AxiosError<BFFErrorResponse>>;
@@ -311,7 +311,7 @@ export declare namespace SmartRouting {
311
311
  three_ds_exemptions: string[];
312
312
  }
313
313
  export interface NetworkTokensOnboardingResponse {
314
- network_tokens_onboarding: any[];
314
+ available: boolean;
315
315
  }
316
316
  export {};
317
317
  }