npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@nice-devone/digital-sdk

v24.4.0

Published

NICE CXone Digital SDK

Downloads

282

Readme

NICE CXone Digital SDK

Requirements

  • TypeScript 4.7
  • Runtime: ES2022 (WebSocket, Intl, Promise, EventTarget, CustomEvent, JSON, Date, etc.)
  • Custom application bundler (webpack, create-react-app, etc.)

This README file provides an overview of the @nice-devone/digital-sdk library. It is a typescript library that empowers developers to interact with digital-sdk functionalities within their applications built for the NICE CXone platform.

Features

  • Digital Client: To Interact with the CXone platform using the CXoneDigitalClient.

  • Contact Information: To get the contact details from (e.g., call alerts, work item updates).

  • Digital Service: To get the digital Service details like information about digital channels, invoke Out bound Channels, inbound channels etc.

  • Digital Contact Helper: Helper class to accomodate parsing logic for cxone-digital-contact.

  • User Slot Provider: Utilize user slot events like digital status, restart worker, terminate polling and refresh token etc.

  • Event Hub Provider: To initiate the event hub worker for digital contact and to terminate the polling of event hub api.

  • Contact Manager: To initialize the digital web socket connection and manage the user slot details and handling messages using digital web socket.

  • Browser Utils: For updating co-browser data using local storage and to use other utils.

Installation

npm install @nice-devone/digital-sdk

Peer Dependencies

This library relies on several peer dependencies, including:

@nice-devone/common-sdk 

@nice-devone/acd-sdk

@nice-devone/agent-sdk

@nice-devone/i18n

@nice-devone/shared-apps-lib

Ensure these dependencies are also installed and configured correctly for proper functionality.

Usage

  1. Import necessary modules:
import { CXoneDigitalClient } from '@nice-devone/digital-sdk';

Import other relevant functionalities as needed (e.g., call control, notifications)
  1. Initialize CXoneDigital Client:
const cxoneDigtialClient: CXoneDigitalClient = CXoneDigitalClient.instance;

cxoneDigtialClient.digitalService.getContactHistory('customerId); 
  1. Leverage SDK functionalities:

Refer to the official documentation for detailed usage examples on specific features like CXoneDigitalClient, CXoneDigitalContact,SortOrder etc.

Explore the available classes and methods within the library to interact with CXone digital-sdk functionalities.

Documentation

For detailed documentation and developer related queries, Please visit Link to developer documentation

Compatibility

This SDK is likely compatible with specific CXone ACD versions. Refer to the documentation for supported versions.

License

Check the license file for specific terms regarding the use of this SDK.

Additional Notes

Consider exploring the codebase (src/lib/digital) for a more comprehensive understanding of the functionalities offered.