UNPKG

tipi-services

Version:

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

10 lines (8 loc) 502 B
const Endpoint = require('../../../helpers/Endpoint') module.exports = (baseUrl) => ({ authorizationUrl: Endpoint.base(baseUrl).get('/xeroIntegrations/goki/authorizationUrl'), contacts: Endpoint.base(baseUrl).get('/xeroIntegrations/goki/contacts'), taxRates: Endpoint.base(baseUrl).get('/xeroIntegrations/goki/taxRates'), brandingThemes: Endpoint.base(baseUrl).get('/xeroIntegrations/goki/brandingThemes'), accounts: Endpoint.base(baseUrl).get('/xeroIntegrations/goki/accounts') })