import gql from 'graphql-tag';
import { client } from '@operato/graphql';
export async function evaluateEquipment(equipmentInput) {
    var response = (await client.query({
        query: gql `
        query FetchevaluateEquipment($equipmentInput: EquipmentInput!) {
          evaluateEquipment(equipmentInput: $equipmentInput) {
            type
            result
          }
        }
      `,
        variables: { equipmentInput }
    })).data;
    return response.evaluateEquipment.result;
}
//# sourceMappingURL=evaluate-equipment.js.map