UNPKG

@complycube/api

Version:

ComplyCube's Node.js library for the AML/KYC API

29 lines (28 loc) 733 B
import { AxiosInstance } from "axios"; import { Resource } from "../Resource"; type Diff = { action?: string; path?: Array<string | number>; old?: string | null; new?: string | null; }; export type AuditLog = { id: string; resourceId: string; resourceType: string; clientId: string; trigger: string; action: string; memberId: string | null; diff: Diff | null; createdAt: string; }; export declare class AuditLogs extends Resource<AuditLog> { constructor(axiosInstance: AxiosInstance); get(id: string): Promise<AuditLog>; list({ page, pageSize }?: { page?: number; pageSize?: number; }): Promise<AuditLog[]>; } export {};