
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@nice-devone/shared-apps-lib
Advanced tools
WebSocket
, Intl
, Promise
, EventTarget
, CustomEvent
, JSON
, Date
, 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.
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.
npm install @nice-devone/shared-apps-lib
This library relies on several peer dependencies, including:
@nice-devone/i18n
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
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.