feat: add unified client timeline query
This commit is contained in:
61
frontend/graphql/operations/get-client-timeline.graphql
Normal file
61
frontend/graphql/operations/get-client-timeline.graphql
Normal file
@@ -0,0 +1,61 @@
|
||||
query GetClientTimelineQuery($contactId: ID!, $limit: Int) {
|
||||
getClientTimeline(contactId: $contactId, limit: $limit) {
|
||||
id
|
||||
contactId
|
||||
contentType
|
||||
contentId
|
||||
datetime
|
||||
message {
|
||||
id
|
||||
at
|
||||
contactId
|
||||
contact
|
||||
contactInboxId
|
||||
sourceExternalId
|
||||
sourceTitle
|
||||
channel
|
||||
kind
|
||||
direction
|
||||
text
|
||||
audioUrl
|
||||
duration
|
||||
transcript
|
||||
deliveryStatus
|
||||
}
|
||||
calendarEvent {
|
||||
id
|
||||
title
|
||||
start
|
||||
end
|
||||
contact
|
||||
note
|
||||
isArchived
|
||||
createdAt
|
||||
archiveNote
|
||||
archivedAt
|
||||
}
|
||||
recommendation {
|
||||
id
|
||||
at
|
||||
contact
|
||||
text
|
||||
proposal {
|
||||
title
|
||||
details
|
||||
key
|
||||
}
|
||||
decision
|
||||
decisionNote
|
||||
}
|
||||
document {
|
||||
id
|
||||
title
|
||||
type
|
||||
owner
|
||||
scope
|
||||
updatedAt
|
||||
summary
|
||||
body
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user