@leisurelink/integration-hub-client
v3.1.7
Published
Integration hub client
Downloads
451
Readme
Integration Hub Client Overview
The purpose of this client is to provide a layer of abstraction on top of the Integration Hub API.
Guides
Installation and Usage Translation and Validation Integration Hub JSON Requests and Responses
Services Required
- authentic-api
- availability-api
- pricing-service
- fees-microservice
- integration-hub-api
- legal-policies-microservice
- media-api
- pmc-api
- promotions-microservice
- taxes-api
- vrware-booking-api
- vrware-room-rates
Development Setup
The module uses babeljs to transpile the ES2015 code to ES5. The transpilation allows the usage of ES2015 syntax and features without mandating the implementor use ES2015. Instead it runs on any ES5.1 compatible client (Node: 4.x > 0.10)
https://github.com/LeisureLink/dreamcatcher-api/tree/BLUE_IH_SAPI/express/api-schema/v1
Publishing
This client is setup to auto-publish to npm when a new tag has been created from master. To publish your changes:
- Make sure your changes you want published have been merged into
master
via pull request - You are on the
master
branch npm version {major|minor|patch}
Once a new version has been set, the preversion script will make sure you are on the master branch, and the postversion script will push the changes to the version as well as the new tag that gets created. CircleCI will then npm publish
after all tests have successfully passed.