@yuno-payments/dashboard-api-mfe 0.36.51-beta.2 → 0.36.51-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,6 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
2
  import { SmartRouting } from '../../types';
3
- import { AxiosError, AxiosResponse } from 'axios';
3
+ import { AxiosError } from 'axios';
4
4
  import { BFFErrorResponse } from '../../mutations';
5
5
  export interface ErrorProp {
6
6
  name?: string;
@@ -26,5 +26,5 @@ export declare function useGetSmartRoutingSearchConditionValues({ text, conditio
26
26
  conditionType: string;
27
27
  }): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
28
28
  export declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
29
- export declare function use3DSExemptions(): UseQueryResult<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
29
+ export declare function use3DSExemptions(): UseQueryResult<SmartRouting.ThreeDSExemptionsResponse, AxiosError<BFFErrorResponse>>;
30
30
  export declare function useNetworkTokensOnboarding(): UseQueryResult<SmartRouting.NetworkTokensOnboardingResponse, AxiosError<BFFErrorResponse>>;
@@ -246,7 +246,7 @@ export declare namespace SmartRouting {
246
246
  export type DeclineTypes = {
247
247
  label: string;
248
248
  name: string;
249
- group_type?: DeclineGroupType;
249
+ group?: DeclineGroupType;
250
250
  is_used: boolean;
251
251
  step_type?: StepType;
252
252
  }[];
package/build/index.d.ts CHANGED
@@ -2138,7 +2138,7 @@ declare namespace SmartRouting {
2138
2138
  export type DeclineTypes = {
2139
2139
  label: string;
2140
2140
  name: string;
2141
- group_type?: DeclineGroupType;
2141
+ group?: DeclineGroupType;
2142
2142
  is_used: boolean;
2143
2143
  step_type?: StepType;
2144
2144
  }[];
@@ -4602,7 +4602,7 @@ declare function useGetSmartRoutingSearchConditionValues({ text, conditionType,
4602
4602
  conditionType: string;
4603
4603
  }): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
4604
4604
  declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
4605
- declare function use3DSExemptions(): UseQueryResult<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
4605
+ declare function use3DSExemptions(): UseQueryResult<SmartRouting.ThreeDSExemptionsResponse, AxiosError<BFFErrorResponse>>;
4606
4606
  declare function useNetworkTokensOnboarding(): UseQueryResult<SmartRouting.NetworkTokensOnboardingResponse, AxiosError<BFFErrorResponse>>;
4607
4607
 
4608
4608
  declare function useGetRoutingMonitorsTemplates(organizationCode: string): UseQueryResult<RoutingMonitors.TemplateSelector[], unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.36.51-beta.2",
3
+ "version": "0.36.51-beta.4",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",
@@ -106,4 +106,4 @@
106
106
  "ts-loader": "^9.4.4",
107
107
  "uuid": "^11.1.0"
108
108
  }
109
- }
109
+ }