tcs-endpoints

2.1.4 • Public • Published

TCS endpoints 🏯

The Chat Shop external endpoints

Development 💻

$ git clone git@github.com: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 💣

$ yarn test     # add -- --watch to monitor for changes 

Deploy 🚢

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)

🚨 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

Readme

Keywords

none

Package Sidebar

Install

npm i tcs-endpoints

Weekly Downloads

1

Version

2.1.4

License

The Chat Shop proprietary license

Unpacked Size

5.38 MB

Total Files

123

Last publish

Collaborators

  • thechatshop