Skip to main content

ActivityNotificationLine

@gravity-rail/sdk


@gravity-rail/sdk / ActivityNotificationLine

Interface: ActivityNotificationLine

One notification-worthy occurrence, with this recipient's marker state.

The row is the event, not a copy of it: eventType, family, workspaceUuid, actor, subject and the PHI-free detail are the spine's own fields, and kind is the priority-lane kind the same type feeds — None for a notification someone addressed to the reader (notification.delivered), which feeds no lane. kind has no default: every line states it. Titles are rendered client-side from type plus detail, as everywhere else on this API.

dedupeKey is the identity a client sends back to mark the row — not id, which exists to break ties in ordering and is not what read state keys on. occurredAt rides alongside so the mark can be read by primary key.

Properties​

accountUuid?​

optional accountUuid: string | null


actor​

actor: ActivityActorResponse


dedupeKey​

dedupeKey: string


detail?​

optional detail: AssignmentConcludedDetail | AssignmentStartedDetail | AssignmentTaskEnteredDetail | CallCompletedDetail | CallMissedDetail | CallNotPlacedDetail | CallQueuedDetail | CallStartedDetail | CallSummaryDetail | ChatAutoRepliedDetail | ChatAwaitingHumanDetail | ChatCallEndedDetail | ChatHumanRepliedDetail | ChatStartedDetail | ChatSummaryDetail | ConfigUpdatedDetail | ConnectionAuthorizationLostDetail | ConnectionAuthorizationRestoredDetail | DataRecordCreatedDetail | DataRecordUpdatedDetail | DomainLinkedDetail | DomainVerifiedDetail | EscalationOpenedDetail | EscalationResolvedDetail | ImportCompletedDetail | ImportStartedDetail | JourneyActivatedDetail | JourneyCompletedDetail | JourneyEnrolledDetail | JourneyStepTransitionedDetail | JourneyUnenrolledDetail | MemberAttributesChangedDetail | MemberCreatedDetail | MemberLabelsChangedDetail | MemberMessageReceivedDetail | MemberRemovedDetail | MemberRoleChangedDetail | MemberSubscriptionCanceledDetail | MemberSubscriptionStartedDetail | MessageSendFailedDetail | MessageSentDetail | NotificationDeliveredDetail | OperatorGroupMemberAddedDetail | OperatorGroupMemberRemovedDetail | OperatorInteractionDeclinedDetail | PhoneNumberArchivedDetail | PhoneNumberProvisionedDetail | PresenceWentOfflineDetail | PresenceWentOnlineDetail | PurchaseCompletedDetail | RoutineCompletedDetail | RoutineFailedDetail | RoutineStartedDetail | SubscriptionCanceledDetail | SubscriptionStartedDetail | SubscriptionUpdatedDetail | VoicemailListenedDetail | VoicemailReceivedDetail | VoicemailTranscribedDetail | WorkflowPublishedDetail | null


dismissedAt?​

optional dismissedAt: string | null


eventType​

eventType: ActivityEventType


family​

family: ActivityEventFamily


kind​

kind: OpenItemKind | null


occurredAt​

occurredAt: string


orgUuid?​

optional orgUuid: string | null


readAt?​

optional readAt: string | null


subject​

subject: ActivityRefResponse


workspaceUuid?​

optional workspaceUuid: string | null