UNPKG

tipi-services

Version:

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

8 lines (6 loc) 297 B
const Endpoint = require('../../../helpers/Endpoint') module.exports = (baseUrl) => ({ checkInStatus: Endpoint.base(baseUrl).get('/reservations/checkInStatus'), checkIn: Endpoint.base(baseUrl).post('/reservations/checkIn'), pull: Endpoint.base(baseUrl).post('/reservations/pull') })