Comments

Threads

AddCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata
addContext(context: any) => voidYesFunction to add custom metadata
elementRef{ xpath: string }NoReference to DOM element where comment annotation was added

DeleteCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata

Messages

AddCommentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
commentCommentYesComment Object
metadataVeltEventMetadataYesEvent metadata

UpdateCommentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
commentCommentYesComment Object
metadataVeltEventMetadataYesEvent metadata

DeleteCommentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
commentCommentYesComment Object
metadataVeltEventMetadataYesEvent metadata

@Mentions

AssignUserEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
assignedToUserContactYesUser being assigned
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataNoEvent metadata

SubscribeCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata

UnsubscribeCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata

AutocompleteSearchEvent


PropertyTypeRequiredDescription
eventKeyboardEvent | InputEvent | EventYesThe triggering event
searchTextstringYesThe search text entered
type'contact' | 'custom'NoType of autocomplete search. Whether is the @mentions or custom list
metadataVeltEventMetadataNoEvent metadata

Custom List

AutocompleteSearchEvent


PropertyTypeRequiredDescription
eventKeyboardEvent | InputEvent | EventYesThe triggering event
searchTextstringYesThe search text entered
type'contact' | 'custom'NoType of autocomplete search. Whether is the @mentions or custom list
metadataVeltEventMetadataNoEvent metadata

Attachments

AddAttachmentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
attachmentsAddAttachmentResponse[]YesArray of attachment responses
metadataVeltEventMetadataYesEvent metadata

AddAttachmentResponse


PropertyTypeRequiredDescription
validbooleanYesWhether attachment is valid
fileFileNoFile object
maxAllowedSizenumberYesMaximum allowed file size
errorstringNoError message if invalid
attachmentAttachmentNoAttachment object

DeleteAttachmentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentIdnumberYesID of the comment
commentAnnotationCommentAnnotationYesComment annotation object
attachmentAttachmentYesAttachment Object
metadataVeltEventMetadataYesEvent metadata

Reactions

AddReactionEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
reactionReactionAnnotationYesReaction Object
metadataVeltEventMetadataYesEvent metadata

DeleteReactionEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
reactionReactionAnnotationYesReaction Object
metadataVeltEventMetadataYesEvent metadata

ToggleReactionEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
reactionReactionAnnotationYesReaction Object
metadataVeltEventMetadataYesEvent metadata

Status & Priority

UpdateStatusEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
newStatusCustomStatusYesNew status object
oldStatusCustomStatusYesPrevious status object
metadataVeltEventMetadataYesEvent metadata

ResolveCommentEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata

UpdatePriorityEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
newPriorityCustomPriorityNoNew Priority object
oldPriorityCustomPriorityNoPrevious Priority object
metadataVeltEventMetadataYesEvent metadata

ApproveCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata

AcceptCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata
actionUserUserYesUser who performed the action
replaceContentHtmlstringNoHTML content to replace with
replaceContentTextstringNoText content to replace with

RejectCommentAnnotationEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
metadataVeltEventMetadataYesEvent metadata
actionUserUserYesUser who performed the action
replaceContentHtmlstringNoHTML content to replace with
replaceContentTextstringNoText content to replace with

Recordings

DeleteRecordingEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
commentIdnumberYesID of the comment
recordingRecordedDataYesRecording data
metadataVeltEventMetadataYesEvent metadata

CopyLinkEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
linkstringYesCopied link
metadataVeltEventMetadataYesEvent metadata

GetLinkResponse


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
linkstring | nullYesGenerated link
metadataVeltEventMetadataYesEvent metadata

Access

UpdateAccessEvent


PropertyTypeRequiredDescription
annotationIdstringYesID of the annotation
commentAnnotationCommentAnnotationYesComment annotation object
newAccessModeCommentAccessModeNoNew access mode
oldAccessModeCommentAccessModeNoPrevious access mode
metadataVeltEventMetadataYesEvent metadata

UI

ComposerClickedEvent


PropertyTypeRequiredDescription
commentAnnotationCommentAnnotationNoComment annotation object. This is undefined if it’s a new comment annotation object.
metadataVeltEventMetadataYesEvent metadata

Comment Sidebar

CommentSidebarDataInitEvent


PropertyTypeRequiredDescription
buttonContextVeltButtonContextYesButton context
metadataVeltEventMetadataYesEvent metadata
commentAnnotationCommentAnnotationNoComment annotation object
commentCommentNoComment object
indexnumberNoIndex value
commentAnnotationsCommentAnnotation[]NoArray of comment annotations
systemFilteredAnnotationsCommentAnnotation[]NoFiltered comment annotations
unreadCommentAnnotationsMap{ [commentAnnotationId: string]: number }NoMap of unread comment counts

CommentSidebarDataUpdateEvent


PropertyTypeRequiredDescription
buttonContextVeltButtonContextYesButton context
metadataVeltEventMetadataYesEvent metadata
commentAnnotationCommentAnnotationNoComment annotation object
commentCommentNoComment object
indexnumberNoIndex value
commentAnnotationsCommentAnnotation[]NoArray of comment annotations
systemFilteredAnnotationsCommentAnnotation[]NoFiltered comment annotations
unreadCommentAnnotationsMap{ [commentAnnotationId: string]: number }NoMap of unread comment counts

Recorder

RecordingDoneEvent


PropertyTypeRequiredDescription
recorderIdstringYesID of the recorder
fromUser | nullNoThe user who created the recorder
metadataRecorderMetadataNoMetadata for the recording
assetsRecorderDataAsset[]YesArray of recording assets for the latest version
assetsAllVersionsRecorderDataAsset[]YesArray of all versions of recording assets
transcriptionRecorderDataTranscriptionYesTranscription data for the recording

RecordingDeleteEvent


PropertyTypeRequiredDescription
recorderIdstringYesID of the recorder
fromUser | nullNoThe user who created the recorder
metadataRecorderMetadataNoMetadata for the recording
assetsRecorderDataAsset[]YesArray of recording assets for the latest version
assetsAllVersionsRecorderDataAsset[]YesArray of all versions of recording assets
transcriptionRecorderDataTranscriptionYesTranscription data for the recording

RecordingEditDoneEvent


PropertyTypeRequiredDescription
recorderIdstringYesID of the recorder
fromUser | nullNoThe user who created the recorder
metadataRecorderMetadataNoMetadata for the recording
assetsRecorderDataAsset[]YesArray of recording assets for the latest version
assetsAllVersionsRecorderDataAsset[]YesArray of all versions of recording assets
transcriptionRecorderDataTranscriptionYesTranscription data for the recording

RecordingSaveInitiatedEvent


PropertyTypeRequiredDescription
annotationIdstringNoID of the annotation. This property is only available when type is ‘edit’.
messagestringYesA descriptive message about the save initiation.
type'edit' | 'record'YesSpecifies whether the save was initiated for an ‘edit’ or a new ‘recording’.

TranscriptionDoneEvent


PropertyTypeRequiredDescription
recorderIdstringYesID of the recorder
fromUser | nullNoThe user who created the recorder
metadataRecorderMetadataNoMetadata for the recording
assetsRecorderDataAsset[]YesArray of recording assets for the latest version
assetsAllVersionsRecorderDataAsset[]YesArray of all versions of recording assets
transcriptionRecorderDataTranscriptionYesTranscription data for the recording

RecordingErrorEvent


PropertyTypeRequiredDescription
typestringYesThe type of error that occurred. eg: editFailed, recordingFailed, transcriptionFailed
messagestringYesA descriptive message about the error.
recorderIdstringNoID of the recorder, if the error is specific to one.

Single Editor Mode

AccessRequestEvent


This event object is related to requests for editor access. It is emitted for accessRequested, accessRequestCanceled, accessAccepted, and accessRejected events.

PropertyTypeRequiredDescription
viewerUserNoThe user who is the current viewer and is involved in the access request.
editorUserNoThe user who is the current editor at the time of the event.
timestampnumberNoUNIX timestamp (in milliseconds) of when the event occurred.
statusstringNoThe status of the access request (e.g., “requested”, “canceled”, “accepted”, “rejected” ).

SEMEvent


This event object is related to editor/viewer assignments and editor status changes. It is emitted for editorAssigned, viewerAssigned, and editorOnDifferentTabDetected events.

PropertyTypeRequiredDescription
viewerUserNoThe user who is the current viewer at the time of the event.
editorUserNoThe user who is the current editor at the time of the event.
timestampnumberNoUNIX timestamp (in milliseconds) of when the event occurred.
rolestringNoThe role relevant to the event, typically “editor” or “viewer” for assignment events.

Presence

PresenceUserStateChangeEvent


This event object is emitted when a user’s online status changes to online.

PropertyTypeRequiredDescription
userPresenceUserYesThe current user’s Presence object.
statestringYesThe new presence state of the user (e.g., online, offline, away).

Client

DocumentInitEvent


  • DocumentInitEvent can be of type: boolean | undefined
  • This represents the document initialization status.

ErrorEvent


PropertyTypeRequiredDescription
codestringYesError code
messagestringNoError message

List of error codes:

CodeDescription
token_expiredThe JWT token has expired

UserUpdateEvent


  • UserUpdateEvent will return data of type: User | null
  • If there is no user, it will return null else it will return the user object.

VeltButtonClickEvent


PropertyTypeRequiredDescription
buttonContextVeltButtonContextYesButton context
metadataVeltEventMetadataYesEvent metadata
commentAnnotationCommentAnnotationNoComment annotation object
commentCommentNoComment object
indexnumberNoIndex of the repeated component the button is in. eg: Comment, Notification component.
commentAnnotationsCommentAnnotation[]NoArray of comment annotations
systemFilteredAnnotationsCommentAnnotation[]NoFiltered comment annotations
unreadCommentAnnotationsMap{ [commentAnnotationId: string]: number }NoMap of unread comment counts
notificationNotificationNoNotification object
notificationsNotification[]NoArray of notifications