@yuno-payments/dashboard-api-mfe 2.2.0 → 2.2.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 +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +0 -6
- package/build/cjs/types/mutations/audit/audit-api.mutation.d.ts +0 -3
- package/build/cjs/types/queries/audit/audit.query.d.ts +3 -1
- package/build/cjs/types/queries/index.d.ts +0 -2
- package/build/cjs/types/types/audit/audit.d.ts +0 -84
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +0 -6
- package/build/esm/types/mutations/audit/audit-api.mutation.d.ts +0 -3
- package/build/esm/types/queries/audit/audit.query.d.ts +3 -1
- package/build/esm/types/queries/index.d.ts +0 -2
- package/build/esm/types/types/audit/audit.d.ts +0 -84
- package/build/index.d.ts +5 -108
- package/package.json +1 -1
- package/build/cjs/types/msw/handlers/api-logs.d.ts +0 -1
- package/build/cjs/types/msw/handlers/webhooks.d.ts +0 -1
- package/build/cjs/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +0 -2
- package/build/cjs/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +0 -2
- package/build/cjs/types/queries/api-logs/api-logs-v3.query.d.ts +0 -9
- package/build/cjs/types/queries/api-logs/index.d.ts +0 -1
- package/build/cjs/types/queries/webhooks/index.d.ts +0 -1
- package/build/cjs/types/queries/webhooks/webhook-timeline.query.d.ts +0 -9
- package/build/esm/types/msw/handlers/api-logs.d.ts +0 -1
- package/build/esm/types/msw/handlers/webhooks.d.ts +0 -1
- package/build/esm/types/msw/mocks/api-logs/api-logs-v3.mock.d.ts +0 -2
- package/build/esm/types/msw/mocks/webhooks/webhook-timeline.mock.d.ts +0 -2
- package/build/esm/types/queries/api-logs/api-logs-v3.query.d.ts +0 -9
- package/build/esm/types/queries/api-logs/index.d.ts +0 -1
- package/build/esm/types/queries/webhooks/index.d.ts +0 -1
- package/build/esm/types/queries/webhooks/webhook-timeline.query.d.ts +0 -9
|
@@ -164,11 +164,6 @@ export declare class Api extends HttpClient {
|
|
|
164
164
|
payload: Audit.AuditWebhooksParams;
|
|
165
165
|
}): Promise<AxiosResponse<T>>;
|
|
166
166
|
postResendWebhooks<T>({ codes, }: Audit.AuditWebhooksResendParams): Promise<AxiosResponse<T>>;
|
|
167
|
-
postExportWebhooksLogs<T>(payload: Audit.ExportWebhooksLogsRequest): Promise<AxiosResponse<T>>;
|
|
168
|
-
getApiLogsV3<T>(paymentCode: string): Promise<AxiosResponse<T>>;
|
|
169
|
-
getWebhookTimeline<T>(paymentCode: string): Promise<AxiosResponse<T>>;
|
|
170
|
-
postExportDashboardLogs<T>(payload: Audit.ExportDashboardLogsRequest): Promise<AxiosResponse<T>>;
|
|
171
|
-
postExportMonitorsLogs<T>(payload: Audit.ExportMonitorsLogsRequest): Promise<AxiosResponse<T>>;
|
|
172
167
|
getAuditExportsList<T>(reportType: Audit.AuditExportReportType): Promise<AxiosResponse<T>>;
|
|
173
168
|
getAuditExportDownload<T>(reportId: string): Promise<AxiosResponse<T>>;
|
|
174
169
|
private getUnifiedExportsPath;
|
|
@@ -178,7 +173,6 @@ export declare class Api extends HttpClient {
|
|
|
178
173
|
postApiLogsStatsRequests<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
179
174
|
postApiLogsStatsErrors<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
180
175
|
postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
181
|
-
postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
|
|
182
176
|
createAuditSubscription<T>(payload: Audit.CreateAuditSubscriptionPayload): Promise<AxiosResponse<T>>;
|
|
183
177
|
listAuditSubscriptions<T>(): Promise<AxiosResponse<T>>;
|
|
184
178
|
deleteAuditSubscription<T>(code: string): Promise<AxiosResponse<T>>;
|
|
@@ -7,6 +7,3 @@ export interface UnifiedExportStartParams {
|
|
|
7
7
|
payload: Audit.UnifiedExportRequest;
|
|
8
8
|
}
|
|
9
9
|
export declare function useUnifiedExportStart(): UseMutationResult<Audit.UnifiedExportStartResponse, BFFErrorResponse, UnifiedExportStartParams>;
|
|
10
|
-
export declare function useExportWebhooksLogs(): UseMutationResult<string, BFFErrorResponse, Audit.ExportWebhooksLogsRequest>;
|
|
11
|
-
export declare function useExportDashboardLogs(): UseMutationResult<Audit.AuditExportResponse, BFFErrorResponse, Audit.ExportDashboardLogsRequest>;
|
|
12
|
-
export declare function useExportMonitorsLogs(): UseMutationResult<Audit.AuditExportResponse, BFFErrorResponse, Audit.ExportMonitorsLogsRequest>;
|
|
@@ -46,4 +46,6 @@ export declare function useGetUnifiedExportsList({ tab, page, size, enabled, }:
|
|
|
46
46
|
export declare function useGetApiLogsStatsRequests(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
47
47
|
export declare function useGetApiLogsStatsErrors(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
48
48
|
export declare function useGetApiLogsStatsErrorsByEndpoint(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsErrorsByEndpointResponse, BFFErrorResponse>;
|
|
49
|
-
export declare function
|
|
49
|
+
export declare function useGetApiLogsStatsRequestsV2(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
50
|
+
export declare function useGetApiLogsStatsErrorsV2(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsStatsResponse, BFFErrorResponse>;
|
|
51
|
+
export declare function useGetApiLogsStatsErrorsByEndpointV2(params: Audit.ApiLogsStatsParams): UseQueryResult<Audit.ApiLogsErrorsByEndpointResponse, BFFErrorResponse>;
|
|
@@ -32,8 +32,6 @@ export * from './organization-config';
|
|
|
32
32
|
export * from './onboarding';
|
|
33
33
|
export * from './recipients';
|
|
34
34
|
export * from './installments';
|
|
35
|
-
export * from './api-logs';
|
|
36
|
-
export * from './webhooks';
|
|
37
35
|
export * from './security';
|
|
38
36
|
export * from './concierge';
|
|
39
37
|
export * from './field-visibility';
|
|
@@ -110,18 +110,6 @@ export declare namespace Audit {
|
|
|
110
110
|
type: string;
|
|
111
111
|
percentage: number;
|
|
112
112
|
}
|
|
113
|
-
interface ExportWebhooksLogsRequest {
|
|
114
|
-
report_name: string;
|
|
115
|
-
account_code?: string[];
|
|
116
|
-
start_date: string;
|
|
117
|
-
end_date: string;
|
|
118
|
-
time_zone: string;
|
|
119
|
-
organizationCode?: string;
|
|
120
|
-
status_codes?: string[];
|
|
121
|
-
methods?: string[];
|
|
122
|
-
size?: number;
|
|
123
|
-
page?: number;
|
|
124
|
-
}
|
|
125
113
|
interface AuditApiJSON {
|
|
126
114
|
[key: string]: string;
|
|
127
115
|
}
|
|
@@ -180,28 +168,6 @@ export declare namespace Audit {
|
|
|
180
168
|
payment_code?: string;
|
|
181
169
|
transaction_code?: string;
|
|
182
170
|
}
|
|
183
|
-
interface ApiLogsV3Response {
|
|
184
|
-
data: ApiLogV3[];
|
|
185
|
-
page: number;
|
|
186
|
-
size: number;
|
|
187
|
-
total_rows: number;
|
|
188
|
-
total_pages: number;
|
|
189
|
-
}
|
|
190
|
-
interface ApiLogsV3Params {
|
|
191
|
-
page: number;
|
|
192
|
-
size: number;
|
|
193
|
-
periodicity?: string;
|
|
194
|
-
account_code?: string[];
|
|
195
|
-
organizationCode?: string;
|
|
196
|
-
status_codes?: string[];
|
|
197
|
-
methods?: string[];
|
|
198
|
-
start_date?: string;
|
|
199
|
-
end_date?: string;
|
|
200
|
-
search?: string;
|
|
201
|
-
time_zone?: string;
|
|
202
|
-
now?: string;
|
|
203
|
-
payment_code?: string;
|
|
204
|
-
}
|
|
205
171
|
interface WebhookTimelineItem {
|
|
206
172
|
id: number;
|
|
207
173
|
organization_code: string;
|
|
@@ -224,28 +190,6 @@ export declare namespace Audit {
|
|
|
224
190
|
payment_code?: string;
|
|
225
191
|
transaction_code?: string;
|
|
226
192
|
}
|
|
227
|
-
interface WebhookTimelineResponse {
|
|
228
|
-
data: WebhookTimelineItem[];
|
|
229
|
-
page: number;
|
|
230
|
-
size: number;
|
|
231
|
-
total_rows: number;
|
|
232
|
-
total_pages: number;
|
|
233
|
-
}
|
|
234
|
-
interface WebhookTimelineParams {
|
|
235
|
-
page: number;
|
|
236
|
-
size: number;
|
|
237
|
-
organizationCode?: string;
|
|
238
|
-
periodicity?: string;
|
|
239
|
-
account_code?: string[];
|
|
240
|
-
status_codes?: string[];
|
|
241
|
-
methods?: string[];
|
|
242
|
-
start_date?: string;
|
|
243
|
-
end_date?: string;
|
|
244
|
-
time_zone?: string;
|
|
245
|
-
now?: string;
|
|
246
|
-
payment_code?: string;
|
|
247
|
-
transaction_code?: string;
|
|
248
|
-
}
|
|
249
193
|
enum AuditExportReportType {
|
|
250
194
|
DASHBOARD = "DASHBOARD",
|
|
251
195
|
API = "API",
|
|
@@ -253,27 +197,6 @@ export declare namespace Audit {
|
|
|
253
197
|
MONITORS = "MONITORS"
|
|
254
198
|
}
|
|
255
199
|
type AuditExportStatus = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
256
|
-
interface ExportDashboardLogsRequest {
|
|
257
|
-
report_name: string;
|
|
258
|
-
account_code?: string[];
|
|
259
|
-
start_date: string;
|
|
260
|
-
end_date: string;
|
|
261
|
-
time_zone: string;
|
|
262
|
-
event?: string[];
|
|
263
|
-
source?: string[];
|
|
264
|
-
search?: string[];
|
|
265
|
-
}
|
|
266
|
-
interface ExportMonitorsLogsRequest {
|
|
267
|
-
report_name: string;
|
|
268
|
-
account_codes?: string[];
|
|
269
|
-
start_date: string;
|
|
270
|
-
end_date: string;
|
|
271
|
-
time_zone: string;
|
|
272
|
-
status?: string[];
|
|
273
|
-
payment_methods?: string[];
|
|
274
|
-
providers?: string[];
|
|
275
|
-
traffic_redistribution?: boolean;
|
|
276
|
-
}
|
|
277
200
|
type UnifiedExportTabType = 'dashboard-logs' | 'api-logs' | 'webhook-logs' | 'monitor-logs';
|
|
278
201
|
interface UnifiedExportRequest {
|
|
279
202
|
start_date: string;
|
|
@@ -358,13 +281,6 @@ export declare namespace Audit {
|
|
|
358
281
|
search?: string;
|
|
359
282
|
accounts?: string[];
|
|
360
283
|
}
|
|
361
|
-
interface ApiLogsListResponse {
|
|
362
|
-
page: number;
|
|
363
|
-
size: number;
|
|
364
|
-
total_rows: number;
|
|
365
|
-
total_pages: number;
|
|
366
|
-
data: ApiLogItem[];
|
|
367
|
-
}
|
|
368
284
|
interface ApiLogItem {
|
|
369
285
|
code: string;
|
|
370
286
|
url: string;
|