chore: rename service folders to lowercase
This commit is contained in:
14
frontend/graphql/operations/archive-calendar-event.graphql
Normal file
14
frontend/graphql/operations/archive-calendar-event.graphql
Normal file
@@ -0,0 +1,14 @@
|
||||
mutation ArchiveCalendarEventMutation($input: ArchiveCalendarEventInput!) {
|
||||
archiveCalendarEvent(input: $input) {
|
||||
id
|
||||
title
|
||||
start
|
||||
end
|
||||
contact
|
||||
note
|
||||
isArchived
|
||||
createdAt
|
||||
archiveNote
|
||||
archivedAt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
mutation ArchiveChatConversationMutation($id: ID!) {
|
||||
archiveChatConversation(id: $id) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
10
frontend/graphql/operations/chat-conversations.graphql
Normal file
10
frontend/graphql/operations/chat-conversations.graphql
Normal file
@@ -0,0 +1,10 @@
|
||||
query ChatConversationsQuery {
|
||||
chatConversations {
|
||||
id
|
||||
title
|
||||
createdAt
|
||||
updatedAt
|
||||
lastMessageAt
|
||||
lastMessageText
|
||||
}
|
||||
}
|
||||
32
frontend/graphql/operations/chat-messages.graphql
Normal file
32
frontend/graphql/operations/chat-messages.graphql
Normal file
@@ -0,0 +1,32 @@
|
||||
query ChatMessagesQuery {
|
||||
chatMessages {
|
||||
id
|
||||
role
|
||||
text
|
||||
messageKind
|
||||
requestId
|
||||
eventType
|
||||
phase
|
||||
transient
|
||||
thinking
|
||||
tools
|
||||
toolRuns {
|
||||
name
|
||||
status
|
||||
input
|
||||
output
|
||||
at
|
||||
}
|
||||
changeSetId
|
||||
changeStatus
|
||||
changeSummary
|
||||
changeItems {
|
||||
entity
|
||||
action
|
||||
title
|
||||
before
|
||||
after
|
||||
}
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
mutation ConfirmLatestChangeSetMutation {
|
||||
confirmLatestChangeSet {
|
||||
ok
|
||||
}
|
||||
}
|
||||
|
||||
14
frontend/graphql/operations/create-calendar-event.graphql
Normal file
14
frontend/graphql/operations/create-calendar-event.graphql
Normal file
@@ -0,0 +1,14 @@
|
||||
mutation CreateCalendarEventMutation($input: CreateCalendarEventInput!) {
|
||||
createCalendarEvent(input: $input) {
|
||||
id
|
||||
title
|
||||
start
|
||||
end
|
||||
contact
|
||||
note
|
||||
isArchived
|
||||
createdAt
|
||||
archiveNote
|
||||
archivedAt
|
||||
}
|
||||
}
|
||||
10
frontend/graphql/operations/create-chat-conversation.graphql
Normal file
10
frontend/graphql/operations/create-chat-conversation.graphql
Normal file
@@ -0,0 +1,10 @@
|
||||
mutation CreateChatConversationMutation($title: String) {
|
||||
createChatConversation(title: $title) {
|
||||
id
|
||||
title
|
||||
createdAt
|
||||
updatedAt
|
||||
lastMessageAt
|
||||
lastMessageText
|
||||
}
|
||||
}
|
||||
6
frontend/graphql/operations/create-communication.graphql
Normal file
6
frontend/graphql/operations/create-communication.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
mutation CreateCommunicationMutation($input: CreateCommunicationInput!) {
|
||||
createCommunication(input: $input) {
|
||||
ok
|
||||
id
|
||||
}
|
||||
}
|
||||
88
frontend/graphql/operations/dashboard.graphql
Normal file
88
frontend/graphql/operations/dashboard.graphql
Normal file
@@ -0,0 +1,88 @@
|
||||
query DashboardQuery {
|
||||
dashboard {
|
||||
contacts {
|
||||
id
|
||||
name
|
||||
avatar
|
||||
company
|
||||
country
|
||||
location
|
||||
channels
|
||||
lastContactAt
|
||||
description
|
||||
}
|
||||
communications {
|
||||
id
|
||||
at
|
||||
contactId
|
||||
contact
|
||||
channel
|
||||
kind
|
||||
direction
|
||||
text
|
||||
audioUrl
|
||||
duration
|
||||
transcript
|
||||
}
|
||||
calendar {
|
||||
id
|
||||
title
|
||||
start
|
||||
end
|
||||
contact
|
||||
note
|
||||
isArchived
|
||||
createdAt
|
||||
archiveNote
|
||||
archivedAt
|
||||
}
|
||||
deals {
|
||||
id
|
||||
contact
|
||||
title
|
||||
company
|
||||
stage
|
||||
amount
|
||||
nextStep
|
||||
summary
|
||||
currentStepId
|
||||
steps {
|
||||
id
|
||||
title
|
||||
description
|
||||
status
|
||||
dueAt
|
||||
order
|
||||
completedAt
|
||||
}
|
||||
}
|
||||
feed {
|
||||
id
|
||||
at
|
||||
contact
|
||||
text
|
||||
proposal {
|
||||
title
|
||||
details
|
||||
key
|
||||
}
|
||||
decision
|
||||
decisionNote
|
||||
}
|
||||
pins {
|
||||
id
|
||||
contact
|
||||
text
|
||||
}
|
||||
documents {
|
||||
id
|
||||
title
|
||||
type
|
||||
owner
|
||||
scope
|
||||
updatedAt
|
||||
summary
|
||||
body
|
||||
}
|
||||
}
|
||||
}
|
||||
5
frontend/graphql/operations/log-pilot-note.graphql
Normal file
5
frontend/graphql/operations/log-pilot-note.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
mutation LogPilotNoteMutation($text: String!) {
|
||||
logPilotNote(text: $text) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
5
frontend/graphql/operations/login.graphql
Normal file
5
frontend/graphql/operations/login.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
mutation LoginMutation($phone: String!, $password: String!) {
|
||||
login(phone: $phone, password: $password) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
5
frontend/graphql/operations/logout.graphql
Normal file
5
frontend/graphql/operations/logout.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
mutation LogoutMutation {
|
||||
logout {
|
||||
ok
|
||||
}
|
||||
}
|
||||
17
frontend/graphql/operations/me.graphql
Normal file
17
frontend/graphql/operations/me.graphql
Normal file
@@ -0,0 +1,17 @@
|
||||
query MeQuery {
|
||||
me {
|
||||
user {
|
||||
id
|
||||
phone
|
||||
name
|
||||
}
|
||||
team {
|
||||
id
|
||||
name
|
||||
}
|
||||
conversation {
|
||||
id
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
mutation RollbackLatestChangeSetMutation {
|
||||
rollbackLatestChangeSet {
|
||||
ok
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
mutation SelectChatConversationMutation($id: ID!) {
|
||||
selectChatConversation(id: $id) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
5
frontend/graphql/operations/send-pilot-message.graphql
Normal file
5
frontend/graphql/operations/send-pilot-message.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
mutation SendPilotMessageMutation($text: String!) {
|
||||
sendPilotMessage(text: $text) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
6
frontend/graphql/operations/toggle-contact-pin.graphql
Normal file
6
frontend/graphql/operations/toggle-contact-pin.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
mutation ToggleContactPinMutation($contact: String!, $text: String!) {
|
||||
toggleContactPin(contact: $contact, text: $text) {
|
||||
ok
|
||||
pinned
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
mutation UpdateCommunicationTranscriptMutation($id: ID!, $transcript: [String!]!) {
|
||||
updateCommunicationTranscript(id: $id, transcript: $transcript) {
|
||||
ok
|
||||
id
|
||||
}
|
||||
}
|
||||
6
frontend/graphql/operations/update-feed-decision.graphql
Normal file
6
frontend/graphql/operations/update-feed-decision.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
mutation UpdateFeedDecisionMutation($id: ID!, $decision: String!, $decisionNote: String) {
|
||||
updateFeedDecision(id: $id, decision: $decision, decisionNote: $decisionNote) {
|
||||
ok
|
||||
id
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user