UNPKG

tipi-services

Version:

Node.js library to access wrapping REST API of tipi backend services

17 lines (12 loc) 383 B
const Service = require('../../../Service'); const Endpoints = require('./Endpoints') class ReportsService extends Service { constructor(baseUrl) { super() this.endpoints = Endpoints(baseUrl) } async propertiesOverall (query) { return this.sendRequest({ endpoint: this.endpoints.propertiesOverall, query }) } } module.exports = ReportsService