diff options
Diffstat (limited to 'src/services/graphql/contact.mutation.ts')
| -rw-r--r-- | src/services/graphql/contact.mutation.ts | 25 | 
1 files changed, 25 insertions, 0 deletions
| diff --git a/src/services/graphql/contact.mutation.ts b/src/services/graphql/contact.mutation.ts new file mode 100644 index 0000000..b82fc07 --- /dev/null +++ b/src/services/graphql/contact.mutation.ts @@ -0,0 +1,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 +  } +}`; | 
