Types

AuditEntry

A record of one change made to a deal's transactions, with the record before and after.

idrequired
string (uuid)
The audit entry id.
typerequired
string
What changed: workflow_event_change for a journey event, workflow_change for the deal's workflow, settings_change for a deal setting.
sub_typerequired
string
The kind of change, such as workflow_event_create or request_to_edit_investment.
record_idrequired
string | null (uuid)
The record that changed: the journey event for workflow_event_change, except the deal for workflow_event_move_back; otherwise the deal.
changed_by_user_idrequired
string | null (uuid)
The user who made the change.
investor_idrequired
string | null (uuid)
The investor the change was about, by user id. Null when there was none, or it was an external investor. On request_to_edit_investment it is the user who asked, and on mark_request_to_edit_received it is null, as in the app.
external_investor_idrequired
string | null (uuid)
The external investor the change was about. Null when there was none, or it was a platform user.
old_datarequired
object | null
The record before the change, as stored when the change was made.
new_datarequired
object | null
The record after the change, as stored when the change was made.
created_atrequired
string (date-time)
When the change was made.
updated_atrequired
string (date-time)
The same as created_at: audit entries never change.

Used by (2)