import gql from 'graphql-tag';

export const UPDATE_OPPORTUNITY = gql`
  mutation updateOpportunity($input: UpdateOpportunityInput!){
    updateOpportunity(input: $input) {
    error {
      message
      code
    }
  }
}
`;

export const SNOOZE_OPPORTUNITY = gql`
  mutation snoozeOpportunity($input: SnoozeOpportunityInput!){
    snoozeOpportunity(input: $input) {
    error {
      message
      code
    }
  }
}
`;

export const INVALIDATE_OPPORTUNITY = gql`
  mutation invalidateOpportunity($input: InvalidateOpportunityInput!){
    invalidateOpportunity(input: $input) {
    error {
      message
      code
    }
  }
}
`;

export const DISPLAY_OPPORTUNITY = gql`
  mutation displayOpportunity($input: DisplayOpportunityInput!){
    displayOpportunity(input: $input) {
    error {
      message
      code
    }
  }
}
`;
