@yuno-payments/dashboard-api-mfe 0.40.25-REC-5257.0 → 0.40.26-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 +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +0 -1
- package/build/cjs/types/mutations/reports/reports.mutation.d.ts +0 -1
- package/build/cjs/types/types/reports/reports.d.ts +3 -16
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +2 -0
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +0 -1
- package/build/esm/types/mutations/reports/reports.mutation.d.ts +0 -1
- package/build/esm/types/types/reports/reports.d.ts +3 -16
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +2 -0
- package/build/index.d.ts +7 -20
- package/package.json +1 -1
|
@@ -252,7 +252,6 @@ export declare class Api extends HttpClient {
|
|
|
252
252
|
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
253
253
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
254
254
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
255
|
-
createReconciliationsReportV3<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
256
255
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
257
256
|
getTotalRowsForExport<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
258
257
|
reportsList<T>(): Promise<AxiosResponse<T>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Reports } from '../../types';
|
|
2
2
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
export declare function useCreateReconciliationsReportV2(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
4
|
-
export declare function useCreateReconciliationsReportV3(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
5
4
|
export declare function useCreateReportV2(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
6
5
|
export declare function useCountRowsForReport(): UseMutationResult<Reports.CountRowsReportsResponse, unknown>;
|
|
7
6
|
export declare function useCancelReport(): UseMutationResult<string, unknown>;
|
|
@@ -6,17 +6,9 @@ export declare namespace Reports {
|
|
|
6
6
|
merchant_reference_id: string;
|
|
7
7
|
}
|
|
8
8
|
interface ICreateReportsResponse {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
merchant_reference_id: string;
|
|
13
|
-
start_date: string;
|
|
14
|
-
end_date: string;
|
|
15
|
-
created_at: string;
|
|
16
|
-
updated_at: string;
|
|
17
|
-
user_code: string;
|
|
18
|
-
url?: string | null;
|
|
19
|
-
total_lines?: number;
|
|
9
|
+
status: 'COMPLETED' | 'PENDING';
|
|
10
|
+
total_lines: number;
|
|
11
|
+
url: string | null;
|
|
20
12
|
}
|
|
21
13
|
interface CountRowsReportsResponse {
|
|
22
14
|
total_rows: number;
|
|
@@ -126,11 +118,6 @@ export interface ICreateReportsRequest {
|
|
|
126
118
|
updated_at_end?: string;
|
|
127
119
|
};
|
|
128
120
|
}
|
|
129
|
-
export interface ICreateReconciliationsReportV3Request {
|
|
130
|
-
accounts: string[];
|
|
131
|
-
columns: string[];
|
|
132
|
-
filters: Record<string, unknown>;
|
|
133
|
-
}
|
|
134
121
|
export interface IListScheduledReportsResponse {
|
|
135
122
|
id?: string;
|
|
136
123
|
code?: string;
|
|
@@ -20,6 +20,7 @@ export declare namespace SmartRouting {
|
|
|
20
20
|
decline_types: string[];
|
|
21
21
|
has_split: boolean;
|
|
22
22
|
order: number;
|
|
23
|
+
retry: boolean;
|
|
23
24
|
type: OutputType;
|
|
24
25
|
}
|
|
25
26
|
export type RouteType = 'PROVIDER' | 'ENDING' | 'SMART_ROUTING';
|
|
@@ -262,6 +263,7 @@ export declare namespace SmartRouting {
|
|
|
262
263
|
index: number;
|
|
263
264
|
processed_status: string;
|
|
264
265
|
processed_sub_status?: string;
|
|
266
|
+
retry: boolean;
|
|
265
267
|
}
|
|
266
268
|
export interface PaymentRoutes {
|
|
267
269
|
route: PaymentRoute[];
|