feat(crm): add deal create/update controls with status and payment
This commit is contained in:
@@ -28,6 +28,8 @@ type Mutation {
|
||||
createCalendarEvent(input: CreateCalendarEventInput!): CalendarEvent!
|
||||
archiveCalendarEvent(input: ArchiveCalendarEventInput!): CalendarEvent!
|
||||
createCommunication(input: CreateCommunicationInput!): MutationWithIdResult!
|
||||
createDeal(input: CreateDealInput!): Deal!
|
||||
updateDeal(input: UpdateDealInput!): Deal!
|
||||
createWorkspaceDocument(input: CreateWorkspaceDocumentInput!): WorkspaceDocument!
|
||||
deleteWorkspaceDocument(id: ID!): MutationWithIdResult!
|
||||
updateCommunicationTranscript(id: ID!, transcript: [String!]!): MutationWithIdResult!
|
||||
@@ -90,6 +92,23 @@ input CreateWorkspaceDocumentInput {
|
||||
body: String
|
||||
}
|
||||
|
||||
input CreateDealInput {
|
||||
contactId: ID!
|
||||
title: String!
|
||||
stage: String
|
||||
amount: Int
|
||||
paidAmount: Int
|
||||
nextStep: String
|
||||
summary: String
|
||||
}
|
||||
|
||||
input UpdateDealInput {
|
||||
id: ID!
|
||||
stage: String
|
||||
amount: Int
|
||||
paidAmount: Int
|
||||
}
|
||||
|
||||
type MePayload {
|
||||
user: MeUser!
|
||||
team: MeTeam!
|
||||
@@ -228,6 +247,7 @@ type Deal {
|
||||
title: String!
|
||||
stage: String!
|
||||
amount: String!
|
||||
paidAmount: String!
|
||||
nextStep: String!
|
||||
summary: String!
|
||||
currentStepId: String!
|
||||
|
||||
Reference in New Issue
Block a user