@yuno-payments/dashboard-api-mfe 0.36.39 → 0.36.41-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.
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +1 -0
- package/build/cjs/types/queries/data-report/fraud/fraud.query.d.ts +2 -2
- package/build/cjs/types/queries/reports/reports.query.d.ts +1 -1
- package/build/cjs/types/queries/smart-routing/smart-routing.query.d.ts +1 -0
- package/build/cjs/types/types/data-report/fraud.types.d.ts +4 -0
- package/build/cjs/types/types/reconciliation/reconciliation.d.ts +2 -0
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +3 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -0
- package/build/esm/types/queries/data-report/fraud/fraud.query.d.ts +2 -2
- package/build/esm/types/queries/reports/reports.query.d.ts +1 -1
- package/build/esm/types/queries/smart-routing/smart-routing.query.d.ts +1 -0
- package/build/esm/types/types/data-report/fraud.types.d.ts +4 -0
- package/build/esm/types/types/reconciliation/reconciliation.d.ts +2 -0
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +3 -0
- package/build/index.d.ts +15 -4
- package/package.json +2 -2
|
@@ -464,6 +464,7 @@ export declare class Api extends HttpClient {
|
|
|
464
464
|
getInsightsConversionRateOverviewFraud3ds(body: ConversionRateBody, params: ConversionRateParams): Promise<AxiosResponse<ConversionRateOverviewFraud3ds>>;
|
|
465
465
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
466
466
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
467
|
+
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
467
468
|
createChartGPTChart<T>(payload: {
|
|
468
469
|
user_prompt: string;
|
|
469
470
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -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>>;
|
|
@@ -9,5 +9,5 @@ export declare function useGetDownloadReport(reportId: string, enabled: boolean
|
|
|
9
9
|
code: string;
|
|
10
10
|
}, unknown>;
|
|
11
11
|
export declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
12
|
-
export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<
|
|
12
|
+
export declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<CentralizedColumn[], unknown>;
|
|
13
13
|
export declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
@@ -26,3 +26,4 @@ export declare function useGetSmartRoutingSearchConditionValues({ text, conditio
|
|
|
26
26
|
}): UseQueryResult<SmartRouting.ConditionTypeValues & ErrorProp, unknown>;
|
|
27
27
|
export declare function useProviderConversionRatesData(): UseQueryResult<SmartRouting.SRConversionRates[] & ErrorProp, unknown>;
|
|
28
28
|
export declare function use3DSExemptions(): UseQueryResult<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
29
|
+
export declare function useNetworkTokensOnboarding(): UseQueryResult<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
@@ -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;
|
|
@@ -100,6 +100,7 @@ export declare namespace Reconciliation {
|
|
|
100
100
|
size: number;
|
|
101
101
|
};
|
|
102
102
|
interface Transaction {
|
|
103
|
+
primary_key: string;
|
|
103
104
|
account_code: string;
|
|
104
105
|
country: string;
|
|
105
106
|
type: string;
|
|
@@ -132,6 +133,7 @@ export declare namespace Reconciliation {
|
|
|
132
133
|
reconciliation_id: string;
|
|
133
134
|
}
|
|
134
135
|
type Settlement = {
|
|
136
|
+
primary_key: string;
|
|
135
137
|
organization_code: string;
|
|
136
138
|
account_id: string;
|
|
137
139
|
provider_merchant_id: string;
|