@yuno-payments/dashboard-api-mfe 1.8.6 → 1.9.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 +1 -0
- package/build/cjs/types/queries/audit/audit-v3.query.d.ts +9 -0
- package/build/cjs/types/queries/audit/index.d.ts +1 -0
- package/build/cjs/types/types/audit/audit.d.ts +20 -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/audit/audit-v3.query.d.ts +9 -0
- package/build/esm/types/queries/audit/index.d.ts +1 -0
- package/build/esm/types/types/audit/audit.d.ts +20 -0
- package/build/index.d.ts +30 -2
- package/package.json +1 -1
|
@@ -180,6 +180,7 @@ export declare class Api extends HttpClient {
|
|
|
180
180
|
postApiLogsStatsErrors<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
181
181
|
postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
182
182
|
postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
|
|
183
|
+
getApiLogsV3ByPaymentCode<T>(paymentCode: string, createdAtFrom?: string): Promise<AxiosResponse<T>>;
|
|
183
184
|
useGetPaymentStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
184
185
|
useGetTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
185
186
|
useGetReconciliationTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import type { Audit } from '../../types';
|
|
3
|
+
import { BFFErrorResponse } from '../../mutations';
|
|
4
|
+
export interface UseGetApiLogsV3ByPaymentCodeOptions {
|
|
5
|
+
paymentCode: string;
|
|
6
|
+
createdAtFrom?: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function useGetApiLogsV3ByPaymentCode({ paymentCode, createdAtFrom, enabled, }: UseGetApiLogsV3ByPaymentCodeOptions): UseQueryResult<Audit.ApiLogsV3ListResponse, BFFErrorResponse>;
|
|
@@ -437,4 +437,24 @@ export declare namespace Audit {
|
|
|
437
437
|
request: unknown;
|
|
438
438
|
response: unknown;
|
|
439
439
|
}
|
|
440
|
+
interface ApiLogV3Item {
|
|
441
|
+
organization_code: string | null;
|
|
442
|
+
account_code: string | null;
|
|
443
|
+
method: string | null;
|
|
444
|
+
request_uri: string | null;
|
|
445
|
+
status_code: number | null;
|
|
446
|
+
payment_id: string | null;
|
|
447
|
+
trace_id: string | null;
|
|
448
|
+
request_body: unknown;
|
|
449
|
+
response_body: unknown;
|
|
450
|
+
response_time: number | null;
|
|
451
|
+
created_at: string | null;
|
|
452
|
+
}
|
|
453
|
+
interface ApiLogsV3ListResponse {
|
|
454
|
+
page: number;
|
|
455
|
+
size: number;
|
|
456
|
+
total_rows: number;
|
|
457
|
+
total_pages: number;
|
|
458
|
+
data: ApiLogV3Item[];
|
|
459
|
+
}
|
|
440
460
|
}
|