@zegal/zegal-client
v0.1.30
Published
zegal-client to be used by 3rd parties for integration.
Downloads
13
Keywords
Readme
zegal-client to be used by 3rd parties for integration.
To build all npm run build-all
Will build distro's for localhost, dev, staging, prod -- based on DL SERVER API URL
On browser in HTML:
JS
const zegal = new Zegal(<key>); await zegal.init() const GUIDE = "5ce239bd19b6660100be3d3a"; let g = await zegal.getDocumentGuide(GUIDE); const GUIDEGOUPNAME = "saas_agreement"; let guides = await zegal.getDocumentGuidesGroup(GUIDEGOUPNAME); const sortBy = ["groupName", "jurisdiction"]; let guidesPrice = await zegal.getAllDocumentGuidesPrices(sortBy);
Command line TESTING on DEV
export API_URL=https://api.dev-a.drabayashi.net
For deployment:
On every MR merged to a branch dev, staging, preprod, master the respective build is launched and file is pushed to configured bucket master being for prod build.