AckdbPersonMergeResult
Outcome of a person merge. `merged: false` = both ids already resolved to the same human (a no-op).
Properties
winnerIdstringrequiredloserIdstringrequiredEquals winnerId on a no-op.
mergedbooleanrequiredkeysMovedintegercontactsRepointedintegerLoser edges moved to the winner as-is.
contactMergesintegerLoser edges folded into a winner edge at the same company.
eventsRestampedintegerentity_events rows re-attributed to the winner.
candidatesResolvedintegermergeEventEmittedbooleanTrue for a completed merge: person.identity.merged is emitted on the winner with no company/contact. False for an already-merged no-op.
Example
AckdbPersonMergeResult example
{
"winnerId": "string",
"loserId": "string",
"merged": false,
"keysMoved": 0,
"contactsRepointed": 0,
"contactMerges": 0,
"eventsRestamped": 0,
"candidatesResolved": 0,
"mergeEventEmitted": false
}