import gql from 'graphql-tag' ; import { client } from '@client/utils/apolloClient' ; import { RefetchQueryDescription } from 'apollo-client/core/watchQueryOptions' ; const RESEND_SMS_INVITE = gql `
  mutation resendSMSInvite($userId: String!) {
    resendSMSInvite(userId: $userId)
  }
` ; async function resendSMSInvite ( userId , refetchQueries ) { return ( client && client . mutate ( { mutation : RESEND_SMS_INVITE , variables : { userId } , refetchQueries } ) ) ; } export const userMutations = { resendSMSInvite } ;