Creates a base delta event wrapper for validating event data.
Raw event payload to validate.
Validates the attachments array of a delta message.
The raw attachments array.
Validates the authorEndUserIdentity field of a delta message.
The raw authorEndUserIdentity object.
Validates the authorNameRemoved field of a delta message.
The raw authorNameRemoved object.
Validates the authorUser field of a delta message.
The raw authorUser object.
Validates the _changes array of a delta message.
The raw _changes array.
Validates the channel field of a delta message.
The raw channel object.
Validates common delta event fields shared across all event types.
Validates eventType, traceId, caseId, interactionId, and sets timestamp. Called internally by parseAndValidate() method.
Raw event payload to validate.
Validates the contentRemoved field of a delta message.
The raw contentRemoved object.
Validates the customerStatistics field of a delta message.
The raw customerStatistics object.
Validates the delivered array of a delta message.
The raw delivered array.
Validates and extracts the message delta fields from the event data.
The raw event data containing the message information.
Validates the deviceFingerprint field of a delta message.
The raw deviceFingerprint object.
Validates the forward field of a delta message.
The raw forward object.
Validates the messageContent field of a delta message.
The raw messageContent object.
Validates the user object nested within a message note.
The raw note user object.
The index of the parent note in the messageNotes array.
Validates the messageNotes array of a delta message.
The raw messageNotes array.
Validates optional boolean fields on a delta message.
The raw message object.
Validates optional loose string fields on a delta message.
The raw message object.
Validates the reactionStatistics field of a delta message.
The raw reactionStatistics object.
Validates the recipients array of a delta message.
The raw recipients array.
Validates the replyChannel field of a delta message.
The raw replyChannel object.
Validates the replyToMessage field of a delta message.
The raw replyToMessage object.
Validates the tags array of a delta message.
The raw tags array.
Generated using TypeDoc
Represents a delta event for when a message is added to a case.