AckdbPersonMergeResult

Outcome of a person merge. `merged: false` = both ids already resolved to the same human (a no-op).

Properties

winnerIdstringrequired
loserIdstringrequired

Equals winnerId on a no-op.

mergedbooleanrequired
keysMovedinteger
contactsRepointedinteger

Loser edges moved to the winner as-is.

contactMergesinteger

Loser edges folded into a winner edge at the same company.

eventsRestampedinteger

entity_events rows re-attributed to the winner.

candidatesResolvedinteger
mergeEventEmittedboolean

True 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
}