0.10.1 • Published 4 years ago

egain-config v0.10.1

Weekly downloads
2
License
UNLICENSED
Repository
gitlab
Last release
4 years ago

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)
})
0.10.1

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.9.1

4 years ago

0.8.4

4 years ago

0.8.3

4 years ago

0.8.1

4 years ago

0.8.2

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago