summaryrefslogtreecommitdiffstats
path: root/src/services/graphql/contact.mutation.ts
blob: b82fc076eed52a1b4abef2d1d2f1da94dc66e395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * Send mail mutation.
 */
export const sendMailMutation = `mutation SendEmail(
  $subject: String!
  $body: String!
  $replyTo: String!
  $clientMutationId: String!
) {
  sendEmail(
    input: {
      clientMutationId: $clientMutationId
      body: $body
      replyTo: $replyTo
      subject: $subject
    }
  ) {
    clientMutationId
    message
    sent
    origin
    replyTo
    to
  }
}`;