@yuno-payments/dashboard-api-mfe 2.3.1 → 2.4.0
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/audit/audit.query.d.ts +1 -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.query.d.ts +1 -0
- package/build/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -421,6 +421,7 @@ export declare class Api extends HttpClient {
|
|
|
421
421
|
postAuditMonitors<T>(payload: Audit.AuditMonitorsParams): Promise<AxiosResponse<T, any>>;
|
|
422
422
|
getAuditMonitorDetail<T>(id: number | null): Promise<AxiosResponse<T, any>>;
|
|
423
423
|
getAuditEvents<T>(params: Audit.AuditEventsParams): Promise<AxiosResponse<T, any>>;
|
|
424
|
+
postDashboardLogs<T>(params: Audit.AuditEventsParams): Promise<AxiosResponse<T, any>>;
|
|
424
425
|
/**
|
|
425
426
|
* Fetches one audit event by its unique code. Powers the dashboard
|
|
426
427
|
* notification deep-link (DAS-15765): a bell card carries only the event
|
|
@@ -3,6 +3,7 @@ import { AxiosError } from 'axios';
|
|
|
3
3
|
import type { Audit } from '../../types';
|
|
4
4
|
import { BFFErrorResponse } from '../../mutations';
|
|
5
5
|
export declare function useGetAuditEvents(params: Audit.AuditEventsParams): UseQueryResult<Audit.AuditEvents, AxiosError>;
|
|
6
|
+
export declare function useGetDashboardLogs(params: Audit.AuditEventsParams): UseQueryResult<Audit.AuditEvents, AxiosError>;
|
|
6
7
|
/**
|
|
7
8
|
* Fetches one audit event by its unique code. Powers the dashboard
|
|
8
9
|
* notification deep-link (DAS-15765): clicking "View in audit log" on a bell
|