UNPKG

tipi-services

Version:

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

16 lines (12 loc) 378 B
const Service = require('../../../Service') const Endpoints = require('./Endpoints') class MailsService extends Service { constructor (baseUrl) { super() this.endpoints = Endpoints(baseUrl) } async sendCheckInEmail (data) { return this.sendRequest({ endpoint: this.endpoints.sendCheckInMail, body: data }) } } module.exports = MailsService