Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
purecloud-client-app-sdk
Advanced tools
A JavaScript library to deeply integrate a 3rd-party applications within PureCloud. This library handles App and UI-level integration concerns such as navigation, alerting, attention, and lifecycle management. For data access, plese use the PureCloud Platform API Javascript Client.
$ npm install purecloud-client-app-sdk
# -or-
$ yarn add purecloud-client-app-sdk
https://sdk-cdn.mypurecloud.com/client-apps/<taggedversion>/purecloud-client-app-sdk.js
https://sdk-cdn.mypurecloud.com/client-apps/<taggedversion>/purecloud-client-app-sdk-<hash>.min.js
In the simpliest form, a PureCloud App is simply a web page that enhances or extends PureCloud functionality. If you have a deployed web site, you could have a PureCloud app!
Use this API to improve the integration of your app with PureCloud. Navigate, notify, and request attention all through a simple JS API.
Use the PureCloud Platform API Javascript Client to access PureCloud data within your app.
After you've built your app, you will need to configure it to appear in your org.
PureCloud Apps can be added via the PureCloud UI under Admin > Integrations > Web
Alternatively, you can use the REST API or PureCloud SDKs to programmatically create a PureCloud App.
POST /api/v2/integrations
{
"integrationType": {
"id": "embedded-client-app"
}
}
The create call will return an {integrationInstanceId}.
Use the {integrationInstanceId} to configure the app.
You must provide the current version of the config as a version
property to the PUT. For the first update, this will be 1
(Not all of the following properties/values are required.)
PUT /api/v2/integrations/{integrationInstanceId}/config/current
{
"name": "Custom Application Name",
"notes": "Optional Application Notes",
"credentials": {},
"version": {currAppConfigVersion},
"properties" : {
"url" : "https://mypurecloud.github.io/client-app-sdk/help.html",
"sandbox" : "allow-forms,allow-modals,allow-popups,allow-presentation,allow-same-origin,allow-scripts",
"displayType": "standalone", // standalone, widget
"featureCategory": "", // directory, contactCenterInsights
/*
* PC Group IDs identifying users who will be able to see this embedded-client-app.
*
* Note: This only affects display within the PureCloud UI. App developers should not rely on
* this mechanism alone for user authorization. Check server-side before granting access to a
* user.
*/
"groups": []
},
"advanced": {
"i10n": {
"es": {
"name": "PureCloud ejemplo de la Ayuda"
},
"fr": {
"name": "PureCloud Aide Exemple"
}
},
"lifecycle": {
"ephemeral": false,
"hooks": {
"bootstrap": false,
"focus": false,
"blur": false,
"stop": false
}
},
"icon": {
"vector": "https://mypurecloud.github.io/client-app-sdk/img/066-lifebuoy.svg",
"24x24": "https://mypurecloud.github.io/client-app-sdk/img/066-lifebuoy-24x24.png",
"36x36": "https://mypurecloud.github.io/client-app-sdk/img/066-lifebuoy-36x36.png",
"48x48": "https://mypurecloud.github.io/client-app-sdk/img/066-lifebuoy-48x48.png",
"72x72": "https://mypurecloud.github.io/client-app-sdk/img/066-lifebuoy-72x72.png"
},
}
}
PATCH /api/v2/integrations/{integrationInstanceId}
{
"intendedState": "ENABLED"
}
The PureCloud Client Apps SDK is MIT Licensed
The PureCloud Client Apps SDK comprises other software and packages
MIT License
Copyright (c) Sindre Sorhus sindresorhus@gmail.com (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
IcoMoon icons used under CC By 4.0
https://github.com/Keyamoon/IcoMoon-Free
Example Icons made by FreePik from www.flaticon.com is licensed by CC 3.0 BY
Example Icons made by Cursor Creative from www.flaticon.com is licensed by CC 3.0 BY
Example Icons sourced from svgrepo are licensed by CC 4.0 BY
FAQs
Javascript API for integrating 3rd-party apps with Genesys Cloud
The npm package purecloud-client-app-sdk receives a total of 131 weekly downloads. As such, purecloud-client-app-sdk popularity was classified as not popular.
We found that purecloud-client-app-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.