Interface: CallRefSummary
Defined in: packages/sdk/src/types/generated/entity_ref.ts:34
A phone call. It has no name at all, so the facts are the label.
durationSeconds is read-time arithmetic over the started/finished pair,
matching the design's ruling that a long-running kind's duration is derived
from its started/terminal events rather than stored.
direction reuses :class:lib.activity.details.CallDirection — the enum
the spine's own call.* detail payloads carry — rather than minting a
second two-member enum with the same values. A client that renders a call
line from a feed event and one from a hydrated ref must not have to map
between two spellings of "inbound", and a second enum is a mapping waiting
to drift. It is derived here from PhoneCall.inbound, a boolean, so no
stored text reaches it either way.
Properties
completed
completed:
boolean
Defined in: packages/sdk/src/types/generated/entity_ref.ts:37
direction
direction:
CallDirection
Defined in: packages/sdk/src/types/generated/entity_ref.ts:36
durationSeconds?
optionaldurationSeconds:number|null
Defined in: packages/sdk/src/types/generated/entity_ref.ts:38
kind?
optionalkind:"call"
Defined in: packages/sdk/src/types/generated/entity_ref.ts:35