@yuno-payments/dashboard-api-mfe 0.36.39 → 0.36.40
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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/queries/data-report/fraud/fraud.query.d.ts +2 -2
- package/build/cjs/types/types/data-report/fraud.types.d.ts +4 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/queries/data-report/fraud/fraud.query.d.ts +2 -2
- package/build/esm/types/types/data-report/fraud.types.d.ts +4 -0
- package/build/index.d.ts +6 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
3
|
-
import { Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse } from '../../../types/data-report';
|
|
3
|
+
import { Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksTotalRateAndEvolution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse } from '../../../types/data-report';
|
|
4
4
|
export declare function useInsightsFraudScreeningVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsFraudScreeningResumeResponse>>;
|
|
5
5
|
export declare function useInsightsFraudScreeningConversionRate(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsFraudConversionRateResponse>>;
|
|
6
6
|
export declare function useInsights3dsVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<Insights3dsResumeResponse>>;
|
|
@@ -8,7 +8,7 @@ export declare function useInsights3dsConversionRateAndEvolution(body: InsightsF
|
|
|
8
8
|
export declare function useInsights3dsDeclineReasons(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<Insights3dsDeclineReasons>>;
|
|
9
9
|
export declare function useInsights3dsFrictionlessVsChallenge(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<Insights3dsFrictionlessVsChallenge>>;
|
|
10
10
|
export declare function useInsightsChargebacksVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsChargebacksResumeResponse>>;
|
|
11
|
-
export declare function useInsightsChargebacksTotalRateAndEvolution(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<
|
|
11
|
+
export declare function useInsightsChargebacksTotalRateAndEvolution(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsChargebacksTotalRateAndEvolution>>;
|
|
12
12
|
export declare function useInsightsChargebacksWinRate(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsChargebacksWinRate>>;
|
|
13
13
|
export declare function useInsightsChargebacksDisputed(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsChargebacksDisputed>>;
|
|
14
14
|
export declare function useInsightsChargebacksByProviderAndCardBrand(body: InsightsFraudBody, params: InsightsFraudParams, options?: UseQueryOptions): UseQueryResult<AxiosResponse<InsightsChargebacksByProviderAndCardBrand>>;
|
|
@@ -115,6 +115,10 @@ export interface InsightsChargebacksResumeResponse {
|
|
|
115
115
|
succeeded_count_tx: ChargebacksCount;
|
|
116
116
|
not_succeeded_count_tx: ChargebacksCount;
|
|
117
117
|
}
|
|
118
|
+
export interface InsightsChargebacksTotalRateAndEvolution {
|
|
119
|
+
total_chargeback_rate: number;
|
|
120
|
+
chargeback_rate_periodicity: PeriodicityRecord;
|
|
121
|
+
}
|
|
118
122
|
export interface InsightsChargebacksWinRate {
|
|
119
123
|
total_win_rate: number;
|
|
120
124
|
insight_cbk_win_rates: PeriodicityRecord;
|