import { DefaultClient } from "./Client"; export class AuditEvent { //audit/events/top_per_user/?filter_action=authorize_application static topForUser(action: string): Promise { return DefaultClient.fetch(["audit", "events", "top_per_user"], { "filter_action": action, }); } } export interface TopNEvent { application: { [key: string]: string}; counted_events: number; unique_users: number; }