Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cce-unified-config

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cce-unified-config - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

18

index.js

@@ -32,2 +32,20 @@ const pkg = require('./package.json')

async changeFirstName(id, data) {
const agent = await this.findAgent(id)
// set desk setting refUrl
agent.person.firstName = data
// update agent
await axios.put('https://' + this.fqdn + agent.refURL, agent, {auth: this.auth})
console.log('agent password changed')
}
async changeLastName(id, data) {
const agent = await this.findAgent(id)
// set desk setting refUrl
agent.person.lastName = data
// update agent
await axios.put('https://' + this.fqdn + agent.refURL, agent, {auth: this.auth})
console.log('agent password changed')
}
async findAgent(agentId) {

@@ -34,0 +52,0 @@ const params = {q: agentId}

2

package.json
{
"name": "cce-unified-config",
"version": "0.4.0",
"version": "0.5.0",
"description": "JavaScript library for Cisco Contact Center Enterprise APIs",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc