zendesk-request-wrapper
v1.1.2
Published
A utility library for Zendesk's App Framework that enables users to easily set global parameters for requests to a specific external host.
Downloads
128
Maintainers
Readme
Zendesk App's Framework Request Wrapper
This is a small typescript project that implements a wrapper around the ZAF client allowing for users to add in global params to all requests that go to a particular external host.
Installation
yarn add zendesk-request-wrapper
Usage
Config.setUrl('https://askstylo.com')
Config.setGlobalParams({ appName: 'Stylo Assist' });
const styloClient = new ZafClientWrapper(yourZendeskClientInstance);