egain-config
JavaScript library for interfacing with eGain back-end systems.
Last updated 2 years ago by ccondry .
UNLICENSED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install egain-config 
SYNC missed versions from official npm registry.

egain-config

JavaScript library for interfacing with eGain back-end systems. Check test/manual/provision.js for dCloud provisioning code.

Usage

const Egain = require('egain-config')
// create eGain interface object
const egain = new Egain({
  fqdn: 'cceece.dcloud.cisco.com',
  username: 'sa',
  password: 'C1sco12345'
})

// connect to egain database
egain.connect()
.then(egain => {
  // then list agents
  egain.agent.changeAttribute(5002, 'FIRST_NAME', 'Jimothy')
  .then(function () {
    console.log(`agent 5002 first name changed to 'Jimothy'`)
    process.exit(0)
  })
  .catch(e => {
    // error changing attribute
    console.log(e.message)
  })
})
.catch(e => {
  // error connecting to egain database
  console.log(e.message)
})

Current Tags

  • 0.10.1                                ...           latest (2 years ago)

26 Versions

  • 0.10.1                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.4                                ...           2 years ago
  • 0.8.3                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.1                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.4                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |