# Release 1.4.10 ### Add custom platforms name in a platform collection ![](https://i.imgur.com/UEPPXZ7.png) ### Add to rake live chat configurations config type === system companyName = "Organization" Planned date on UAT: Planned date on PROD: 14 Jan ## Step by step 1. Update NICE inContact module - functionality for new proactive messages logic 2. Setup on redis instance redis-event-handler 3. > ✔ 🔨 ❌ - [✔] Ability to create session betweeen organizations, workspaces. - [✔] New Session watcher with redis + rabbitMQ - [✔] Refactor inactivity in session with redis + rabbitMQ - [✔] Use cookies for rake user app system users > Add filter on domains - [✔] Widget - **[✔][working]** Google Analytics **(W5GOL-1850)** - need list of events - **[✔][working]** JS API (discuss) - ✔ Set visitor [docs](/nx6I4wZfRhisClay7q0Yqw#Set-sender-data): - name - email - phoneNumber - ✔ Allow webmaster to open/close/hide widget with a button on page - ✔ Allow webmaster to close session [docs](/nx6I4wZfRhisClay7q0Yqw#Close-session) - Set and update custom variables in browser session - ✔ Check if rakeUserApp agents are available - ✔ Last visit timestamp [docs](/nx6I4wZfRhisClay7q0Yqw#Get-last-visit-timestamp) - ✔ Count of sessions [docs](/nx6I4wZfRhisClay7q0Yqw#Get-count-of-sessions) - ✔ get Current clientId - ✔ set Current clientId > have result only on web-site where it called. Not rewrite local storage value - ✔ Current sessionId - ✔ Disable sound [docs](/nx6I4wZfRhisClay7q0Yqw#Set-sound-mode) - ✔ States: - maximized - minimized - hidden - have active session - with agent - with bot - ✔ Callback events: - after load - on chat opened - on chat minimized - on session start - on message - **[✔][working]** Always open widget on bottom-right **(W5GOL-1852)** - Create report sith benchmark - Change logic pf proactive rules --- - [🔨] Routing rules for workspace - widget style - [🔨] Add animation on start widget. Edit this in rlc_config - prepare example of libs - just in db and widget. Not make changes for now in admin and rakeUserApp - [❌] Customized message and icon(s) on tab **(W5GOL-1853, W5GOL-1854)** --- - [❌] Different rlc-configuration on different pages - [❌] (not priority) image pop-up with animation some seconds after load - [❌] react component **(W5GOL-1840)** ## Check in DB ## Changes in DB ### systemStatistic_TrackingTypes db.systemStatistic_TrackingTypes.insert([ { statisticsTrackingTypeId: 1, name: "Session with reply from Agent" }, { statisticsTrackingTypeId: 2, name: "Session without reply from Agent" }, { statisticsTrackingTypeId: 3, name: "Visits" }, { statisticsTrackingTypeId: 4, name: "Response Time" }, { statisticsTrackingTypeId: 5, name: "First response Time" }, { statisticsTrackingTypeId: 6, name: "Session Duration" } ]) ### proactiveMessageTypes db.proactiveMessageTypes.insert([ { typeId: 1, name: "With start session" }, { typeId: 2, name: "Witout start session" }, { typeId: 3, name: "With reply" }, ]) ### update rakeLiveChat_Bot records for proactive meesage type (in noSql booster) ``` let records = db.rakeLiveChat_Bots.find({proactiveMessage: {$ne: []}}).toArray() for(let record of records) { for(let proactive of record.proactiveMessage){ proactive.typeId = 2 } db.rakeLiveChat_Bots.update({rakeLiveChatBotId: record.rakeLiveChatBotId}, {$set: {...record}}) } ``` ### system config 1) add url for visitor monitoring service 2) add url for system statistic service `statisticServiceUrl` ( approve name of this service with Andy add create custom url) ### rakeLiveChatBots 1) script for putting organizationName (WidgetTitle) ### rakeLiveChatConfiguration 1) delete organizationName (WidgetTitle) from this collection ( do not forget to change it in mongoose) ### ENVs 1) worker and widget services - add field `cryptoKey` ## The list of new names ## OTher - Check if rakeUserApp agents are available <details> <summary>more</summary> <p> ``` URL: /bots/${platformConfiguration.path}/:hash/availabe-agents method: GET response: case status == 200: if no available agents: returns { result: false }, if there are some available: returns { result: true}, case status == 400: { messsage: Internal server error } ``` </p> </details> - ✔ Last visit timestamp > [docs](/nx6I4wZfRhisClay7q0Yqw#Get-last-visit-timestamp) <details> <summary>more</summary> <p> ``` URL: /rake-live-chat/:hash/last-visit/timestamp?clientId= method: GET ``` </p> </details> - ✔ Count of sessions > [docs](/nx6I4wZfRhisClay7q0Yqw#Get-count-of-sessions) <details> <summary>more</summary> <p> ``` URL: /rake-live-chat/:hash/sessions/count?clientId= method: GET ``` </p> </details> - ✔ get Current clientId - set Current clientId > have result only on web-site where it called. Not rewrite local storage value - Current sessionId ✔ <details> <summary>more</summary> <p> ``` URL: /rake-live-chat/:hash/sessions/active?clientId= method: GET ``` </p> </details> ``` ## v1.4.10.1 ### DB changes 1. RLC configuration type: system, must include companyName 2. Add in platforms collection custom names for reports 3. Create collections for eventrigger logic fnctionality