Skip to main content

CapturedEffectResponse

@gravity-rail/sdk


@gravity-rail/sdk / CapturedEffectResponse

Interface: CapturedEffectResponse

One effect a test run prepared and did not perform, with its content.

memberId is the Member on the other end: the recipient of an outbound effect, the sender of an inbound one. phoneNumberId is the workspace phone number used (sms, whatsapp, phone_call) and inboxId the workspace inbox used (email); each is null for every other kind, and null once that phone number or inbox is deleted.

The display fields are read from those rows when the list is served. memberAddress is the Member's phone for a text or a call and their email for an email. workspaceAddress is the phone number's number or the inbox's address. Both are null for a notification and an escalation.

Properties​

body​

body: string | null


direction​

direction: CapturedEffectDirection


id​

id: number


inboxId​

inboxId: number | null


kind​

kind: CapturedEffectKind


mediaCount​

mediaCount: number


memberAddress​

memberAddress: string | null


memberId​

memberId: number


memberName​

memberName: string | null


occurredAt​

occurredAt: string


phoneNumberId​

phoneNumberId: number | null


subject​

subject: string | null


uuid​

uuid: string


workspaceAddress​

workspaceAddress: string | null