Socket
Book a DemoInstallSign in
Socket

@nice-devone/shared-apps-lib

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nice-devone/shared-apps-lib

NICE CXone shared-apps-lib SDK

latest
Source
npmnpm
Version
25.3.1
Version published
Weekly downloads
83
-76.01%
Maintainers
3
Weekly downloads
 
Created
Source

NICE CXone shared-apps-lib SDK

  • Official SDK Documentation
  • NPM package
  • Sample Web App

Requirements

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

This is the official README file for the @nice-devone/shared-apps-lib library. It is a typescript library that empowers developers to integrate Component Loaders, enums, Helpers, Interfaces within their custom applications.

Features

  • Integration Component Loader: This component act as middleman to load integration component as per the appType.

  • Interfaces: Contains multiple interfaces like CXone Authresponse data, CXone digital contact, CXone screen pop data etc, which have been utilized in various places in CXone Agent application.

  • Hooks: With useScript hook we can load our custom script dynamically by specifying URL in script src param.

  • Watch RTC: To observe the voice quality monitor service using BUId, Agent Id, Agent Leg Id etc.

  • Utility Functions: Provides various helper functions like Validation Helper, load remote modules,app params helper, cxa extension helper, cxa screenpop helper.

  • Integration: To handle various custom events using CXone Agent Integration manager(Screen pop, digital contact, voice contact) also to transform type from SDK into Integration schema using Ccf Integration transformer.

  • Enums: Enumerations for various concepts used throughout the library like app type, generic constants, message type, regex pattern, agent states, digital contact status, digital event type.

Installation

npm install @nice-devone/shared-apps-lib

Peer Dependencies

This library relies on several peer dependencies, including:

@nice-devone/i18n

Usage

  • Import necessary modules:
import {
  ICXoneAgentIntegration,
  ClickToActCallback,
  CXoneAgentStateData,
  CXoneScreenPopData,
  CXoneVoiceContactData,
  CXoneDigitalContactData,
  LocaleChangeCallback,
  CXoneDigitalEventType,
  CXoneDigitalContactStatus,
  CXonePartnerPresenceSyncRule,
  CXonePartnerDetailsCallback,
} from '@nice-devone/shared-apps-lib';

Import other relevant functionalities as needed (e.g., CXoneDigitalContactData, PartnerDetailsCallback, CXoneAgentStateData, CXoneDigitalEventType etc.,)

2. Leverage SDK functionalities:

Refer to the official documentation for detailed usage examples on specific features like CXoneDigitalContactData, PartnerDeailsCallback, CXoneAgentStateDate, CXoneDigitalEventType etc.

Explore the available classes and methods within the library to interact with CXone shared-apps-libs functionalities.

### Documentation

For detailed documentation and developer related queries, Please visit [Official SDK Documentation](https://help.nice-incontact.com/content/agent/agentapplicationadministration/cxoneagent/cxasdk.htm?tocpath=Agent%20Application%20Administration%7CAgent%20Application%20Administration%7CCXone%20Agent%7C_____8)

### Compatibility

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

### License

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

### Support

For further assistance, refer to the official documentation or reach out to NICE CXone support channels.

### Additional Notes

Consider exploring the codebase for a more comprehensive understanding of the functionalities offered.

FAQs

Package last updated on 21 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.