tcs-endpoints
v2.1.4
Published
The Chat Shop external endpoints
Downloads
10
Readme
TCS endpoints :japanese_castle:
The Chat Shop external endpoints
Development :computer:
$ git clone [email protected]:thechatshop/tcs-endpoints.git
$ cd tcs-endpoints
$ yarn install
Available endpoints
https://webhooks.chatservice.co/api/botengine/irish-postcode-validation
https://webhooks.chatservice.co/api/botengine/postcode-validation
https://webhooks.chatservice.co/api/botengine
https://webhooks.chatservice.co/api/chat-fuel/postcode
https://webhooks.chatservice.co/api/cron/daily
https://webhooks.chatservice.co/api/cron/hourly
https://webhooks.chatservice.co/api/escalations/created
https://webhooks.chatservice.co/api/livechat
https://webhooks.chatservice.co/api/mx1-sftp
https://webhooks.chatservice.co/api/trending-jobs/escalate
https://webhooks.chatservice.co/api/convert?target=https://some-endoint.com
https://webhooks.chatservice.co/api/mailgun/failure
https://webhooks.chatservice.co/api/ses-crm
https://webhooks.chatservice.co/api/ses-crm-staging
All endpoints require to pass a secret query param. Ask admins for the value.
For example POST: https://webhooks.chatservice.co/api/mailgun/failure?secret=xxxxxxxxxxxx
Testing :bomb:
$ yarn test # add -- --watch to monitor for changes
Deploy :ship:
This app will automatically get published under @thechatshop/your-module-name
on npm (when new code is on master and a new tag exists with vX.X.X
format)
:rotating_light: Check the config.yml for more
Here is an example:
git checkout master
# Will generate a tag as well
npm version patch #or major, minor, patch
git push --follow-tags
License
The Chat Shop proprietary license