import gql from 'graphql-tag';

export const CANCEL_PAYER_CHANGE_REQUEST = gql`
  mutation CancelPayerChangeRequest($input: CancelPayerChangeRequest!) {
    cancelPayerChangeRequest(input: $input) {
      id
    }
  }
`;

export const PROCESS_PAYER_CHANGE_REQUEST = gql`
  mutation ProcessPayerChangeRequest($input: ProcessPayerChangeRequest!) {
    processPayerChangeRequest(input: $input) {
      affectedServiceIds
      effectiveDate
      id
      newContractId
      newContractPayerId
      newContractTitle
      originContractId
      originContractPayerId
      status
    }
  }
`;
