Skip to content

Subscription

Subscriptions for events tracking

Fields

appointmentUserDevicesSubscription · Appointment · Track changes in appointments where user is participated
conversationChangedSubscription · Conversation · Track changes in conversations
conversationMembershipUpdatedSubscription · ConversationMembership · Track new updates to members of conversations
formAnswerGroupModifiedSubscription · FormAnswerGroup · Track modifications of form answer groups
groupAppointmentClientsAddedSubscription · Appointment · Track clients added to group appointment
noteAddedSubscription · Note · Track added notes

Definition

"""
Subscriptions for events tracking
"""
type Subscription {
"""
Track changes in appointments where user is participated
"""
appointmentUserDevicesSubscription(
"""
The ID of the appointment to track
"""
id: ID
): Appointment
"""
Track changes in conversations
"""
conversationChangedSubscription(
"""
The ID of the conversation to track
"""
id: ID
): Conversation
"""
Track new members of conversations
"""
conversationMembershipAddedSubscription(
"""
The notes_type state of conversations, for getting last_task
"""
notesType: String
): ConversationMembership
"""
Track new updates to members of conversations
"""
conversationMembershipUpdatedSubscription(
"""
The notes_type state of conversations, for getting last_task
"""
notesType: String
): ConversationMembership
"""
Track modifications of form answer groups
"""
formAnswerGroupModifiedSubscription(
"""
The ID of trackable FormAnswerGroup
"""
id: ID
): FormAnswerGroup
"""
Track clients added to group appointment
"""
groupAppointmentClientsAddedSubscription: Appointment
"""
Track added notes
"""
noteAddedSubscription(
"""
The ID of the conversation to track
"""
conversationId: String
"""
The order of sorting results
"""
sortBy: String = "created_at_desc" @deprecated(reason: "Not used")
): Note
"""
Track user updates
"""
userUpdatedSubscription: UserNotificationsCount
"""
Track video chats
"""
videoChatsSubscription: VideoChatsSubscriptionPayload
}