export type audit_log_CreateAuditLogEventAPIRequest = { /** * ActorID is the ID of the actor the event is attributed to. */ actorId?: string; /** * CompanyID is the company the actor belongs to, when the actor is a client user. */ companyId?: string; /** * Context carries event-specific metadata as arbitrary key/value pairs. */ context: Record; /** * EventDescription is a human-readable description of the event (max 500 characters). */ eventDescription: string; /** * CustomEventType is the event type to record (max 100 characters). */ eventType: string; /** * LastActivityAt is the frontend's latest evidence of user activity for the session * this event pertains to. On sessionEnded it stamps the entry's CreatedAt so the * inactivity timer reports the actual moment the user became idle; on sessionStarted * it carries the prior session's last-activity forward so the orphan backfill can * stamp the synthetic sessionEnded accurately. */ lastActivityAt?: string; };