@yuno-payments/dashboard-api-mfe 0.36.41-beta.2 → 0.36.41-beta.4

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
3
  import { 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<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse, 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
  }
package/build/index.d.ts CHANGED
@@ -2203,7 +2203,7 @@ declare namespace SmartRouting {
2203
2203
  three_ds_exemptions: string[];
2204
2204
  }
2205
2205
  export interface NetworkTokensOnboardingResponse {
2206
- network_tokens_onboarding: any[];
2206
+ available: boolean;
2207
2207
  }
2208
2208
  export {};
2209
2209
  }
@@ -4380,7 +4380,7 @@ declare function useGetSmartRoutingSearchConditionValues({ text, conditionType,
4380
4380
  }): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
4381
4381
  declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
4382
4382
  declare function use3DSExemptions(): UseQueryResult<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
4383
- declare function useNetworkTokensOnboarding(): UseQueryResult<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
4383
+ declare function useNetworkTokensOnboarding(): UseQueryResult<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse, BFFErrorResponse>>;
4384
4384
 
4385
4385
  declare function useGetRoutingMonitorsTemplates(organizationCode: string): UseQueryResult<RoutingMonitors.TemplateSelector[], unknown>;
4386
4386
  declare function useGetRoutingMonitorsTemplate(code: string, organizationCode: string): UseQueryResult<RoutingMonitors.Template, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.36.41-beta.2",
3
+ "version": "0.36.41-beta.4",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",