const gql = require('graphql-tag')

const typeDef = gql`
  type Bill {
    id: ID
    fiat: Int
    fiatCode: String
    deviceId: ID
    created: DateTimeISO
    cashUnitOperationId: ID
  }

  type Query {
    bills(filters: JSONObject): [Bill] @auth
  }
`

module.exports = typeDef
