{"_id":"@avaya/infinity-omni-sdk-messaging-ui","_rev":"18-b4ff1b6d3f197b8b1b4b8564116987ae","name":"@avaya/infinity-omni-sdk-messaging-ui","dist-tags":{"latest":"1.0.5"},"versions":{"0.0.1":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"0.0.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@0.0.1","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"kwineman","email":"keatonwineman@gmail.com"}],"dist":{"shasum":"74c348af5df9d87e20da094c0e104d1ff7c850f1","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-0.0.1.tgz","fileCount":5,"integrity":"sha512-i9lHPOY9FI7t434Sd3i969C0GWKi+ktMOyLDSlVkvQWJPvnzS33kMPVCYguX9tDtuf8YrbH6xvenGlkrV8lIxQ==","signatures":[{"sig":"MEQCIGZQdCy/td06ZtdfwbDLjg+NcpFy24SzPxdb+7qhwb7lAiAnzdUV6KISaRATfcao6czmGPFkVMvh/CaR6L2+vRUUBw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3717744},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-0.0.1.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"raziandev","email":"raziandev@gmail.com"},"_resolved":"/Users/saumabhapal/saumabha/git-repos/web-release-artifact-0.0.1/tarballs/avaya-infinity-omni-sdk-messaging-ui-0.0.1.tgz","_integrity":"sha512-i9lHPOY9FI7t434Sd3i969C0GWKi+ktMOyLDSlVkvQWJPvnzS33kMPVCYguX9tDtuf8YrbH6xvenGlkrV8lIxQ==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) for messaging that can be easily integrated into the Client website to enable messagi","directories":{},"_nodeVersion":"22.16.0","dependencies":{"antd":"^5.15.4","react":"^18.2.0","redux":"^5.0.0","lodash":"^4.17.21","i18next":"^23.10.1","react-dom":"^18.2.0","emoji-mart":"^5.5.2","react-uuid":"^2.0.0","remark-gfm":"^4.0.1","react-redux":"^9.0.4","react-i18next":"^15.0.1","react-markdown":"^10.1.0","react-to-print":"3.1.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.2.2","@ant-design/icons":"^5.4.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.0.0","@testing-library/jest-dom":"^6.4.5","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^0.0.1","@avaya/infinity-omni-sdk-messaging":"^0.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_0.0.1_1750084124587_0.6847609424104406","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"1.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.0","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"kwineman","email":"keatonwineman@gmail.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"dist":{"shasum":"09192fa3a6509cbb0b681acf1e7a19331351884b","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.0.tgz","fileCount":5,"integrity":"sha512-EawwiIYe+kKwQPEW0/tFU53OwbnXBHYmGaVjIZbCdzHYWFnxyrPMzwhNzfW8DgsRDTqJMuTU/pI+XB4svQpykg==","signatures":[{"sig":"MEQCICJs1Yb35T7rgfEbD7a2qwxL6Q+cUGTpGaIQuhafhYkwAiBjqbOB8fD1eyhUsqcUuR2b2jSgFPhOyao+tZbSiLYW/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3692767},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.0.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"raziandev","actor":{"name":"raziandev","type":"user","email":"raziandev@gmail.com"},"email":"raziandev@gmail.com"},"_resolved":"/Users/saumabhapal/saumabha/git-repos/web-release-artifact-1.0.0/tarballs/avaya-infinity-omni-sdk-messaging-ui-1.0.0.tgz","_integrity":"sha512-EawwiIYe+kKwQPEW0/tFU53OwbnXBHYmGaVjIZbCdzHYWFnxyrPMzwhNzfW8DgsRDTqJMuTU/pI+XB4svQpykg==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a Web Component enabling you to easily add Avaya Infinity™ chat capabilities into your Client website.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"antd":"^5.15.4","react":"^18.2.0","redux":"^5.0.0","lodash":"^4.17.21","i18next":"^23.10.1","react-dom":"^18.2.0","emoji-mart":"^5.5.2","react-uuid":"^2.0.0","remark-gfm":"^4.0.1","react-redux":"^9.0.4","react-i18next":"^15.0.1","react-markdown":"^10.1.0","react-to-print":"3.1.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.2.2","@ant-design/icons":"^5.4.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.0.0","@testing-library/jest-dom":"^6.4.5","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.0","@avaya/infinity-omni-sdk-messaging":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.0_1750767593328_0.10509746861919034","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"1.0.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.1","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"kwineman","email":"keatonwineman@gmail.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"dist":{"shasum":"9c092239d6ae0964a7e80e27c66439577861a43e","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.1.tgz","fileCount":5,"integrity":"sha512-xB8vsyoWQPM4LcPjF0yng7Et4B2QwT6JUH6aa8w/qxySDneYEFFOsFxQu4784yVXdMBHmP7W5XPMwdxVMXeBwg==","signatures":[{"sig":"MEUCIQDwNnv3o54o0wp8gffqGZKp472itSl8QJ9/JlLs9MVLeAIgDThru2Ip/l8VyIuTvtikxT2LIQUN/7NrD0gw99Yf8wM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3696504},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.1.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"mahajana","email":"mahajana@avaya.com"},"_resolved":"/Users/mahajana/Work_Directory/omni-sdk-releases/1.0.1/tarballs/avaya-infinity-omni-sdk-messaging-ui-1.0.1.tgz","_integrity":"sha512-xB8vsyoWQPM4LcPjF0yng7Et4B2QwT6JUH6aa8w/qxySDneYEFFOsFxQu4784yVXdMBHmP7W5XPMwdxVMXeBwg==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","directories":{},"_nodeVersion":"22.14.0","dependencies":{"antd":"^5.15.4","react":"^18.2.0","redux":"^5.0.0","lodash":"^4.17.21","i18next":"^23.10.1","react-dom":"^18.2.0","emoji-mart":"^5.5.2","react-uuid":"^2.0.0","remark-gfm":"^4.0.1","react-redux":"^9.0.4","react-i18next":"^15.0.1","react-markdown":"^10.1.0","react-to-print":"3.1.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.2.2","@ant-design/icons":"^5.4.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.0.0","@testing-library/jest-dom":"^6.4.5","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.1","@avaya/infinity-omni-sdk-messaging":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.1_1763469923779_0.41669862403893476","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"1.0.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.2","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"dist":{"shasum":"4a0a9374163c9c9917a75953ad7ef7ca189ae321","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.2.tgz","fileCount":5,"integrity":"sha512-Lsy/ng/ke/teRQE7vuw4WotUQ+GMjc2BJhSHBz+H5P9XhKVxh5444RhLGw5uNEc3nRsrS2DOzvXpWjgEVKzANg==","signatures":[{"sig":"MEQCIBzapzLkV6MiipWmnZUsCI/xCpWxSF7C9BxPcgFaGUCbAiB6TbENljl3e0BihjerdN286ly19ootRyI7PR6i7Za6yQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3861848},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.2.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},"_resolved":"/Users/skabbinahitt/Documents/projectRepos/omni-sdk/web/build-tmp/messaging-ui/avaya-infinity-omni-sdk-messaging-ui-1.0.2.tgz","_integrity":"sha512-Lsy/ng/ke/teRQE7vuw4WotUQ+GMjc2BJhSHBz+H5P9XhKVxh5444RhLGw5uNEc3nRsrS2DOzvXpWjgEVKzANg==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","directories":{},"_nodeVersion":"22.16.0","dependencies":{"antd":"^5.15.4","react":"^18.2.0","redux":"^5.0.0","lodash":"^4.17.21","i18next":"^23.10.1","react-dom":"^18.2.0","emoji-mart":"^5.5.2","react-uuid":"^2.0.0","remark-gfm":"^4.0.1","react-redux":"^9.0.4","react-i18next":"^15.0.1","react-markdown":"^10.1.0","react-to-print":"3.1.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.2.2","@ant-design/icons":"^5.4.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.0.0","@testing-library/jest-dom":"^6.4.5","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.2","@avaya/infinity-omni-sdk-messaging":"^1.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.2_1765541501095_0.04064356831490179","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"1.0.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.3","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"gaffara","email":"gaffara@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"ptognini77","email":"ptognini@avaya.com"},{"name":"kamau3","email":"kamau3@avaya.com"},{"name":"lcramlet-avaya","email":"lancecramlet@avaya.com"},{"name":"jmiddd","email":"jmidd@avaya.com"},{"name":"ggoulet_avaya","email":"ggoulet@avaya.com"},{"name":"shulkdog","email":"peter.c.schuelke@gmail.com"},{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"dist":{"shasum":"726451c79e3196d8e93588a3a738221968100fbf","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.3.tgz","fileCount":5,"integrity":"sha512-AirlX40VFagpeNt/1cVC8C0JgdeDRKMqdJawiQVS6h/XLFqP5l9jbByeRiSn5kqLmYxsB99iTxMRTLOm5jfngw==","signatures":[{"sig":"MEUCIGKOyXFKxPMTZoV3Sf/gyK9Zqoe+vZlceuTS6uvrtyklAiEA9dJQIRweW9HLe/ob8iiwAVCsTJYyIM8volpTYr+1MTg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3872660},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.3.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},"_resolved":"/Users/skabbinahitt/Documents/projectRepos/omni-sdk/web/build-tmp/avaya-infinity-omni-sdk-messaging-ui-1.0.3.tgz","_integrity":"sha512-AirlX40VFagpeNt/1cVC8C0JgdeDRKMqdJawiQVS6h/XLFqP5l9jbByeRiSn5kqLmYxsB99iTxMRTLOm5jfngw==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","directories":{},"_nodeVersion":"22.16.0","dependencies":{"antd":"^5.15.4","react":"^18.2.0","redux":"^5.0.0","lodash":"^4.17.21","i18next":"^23.10.1","react-dom":"^18.2.0","emoji-mart":"^5.5.2","react-uuid":"^2.0.0","remark-gfm":"^4.0.1","react-redux":"^9.0.4","react-i18next":"^15.0.1","react-markdown":"^10.1.0","react-to-print":"3.1.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.2.2","@ant-design/icons":"^5.4.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.0.0","@testing-library/jest-dom":"^6.4.5","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.3","@avaya/infinity-omni-sdk-messaging":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.3_1770896088006_0.6478416202102499","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@avaya/infinity-omni-sdk-messaging-ui","version":"1.0.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.4","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"gaffara","email":"gaffara@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"ptognini77","email":"ptognini@avaya.com"},{"name":"kamau3","email":"kamau3@avaya.com"},{"name":"lcramlet-avaya","email":"lancecramlet@avaya.com"},{"name":"jmiddd","email":"jmidd@avaya.com"},{"name":"ggoulet_avaya","email":"ggoulet@avaya.com"},{"name":"shulkdog","email":"peter.c.schuelke@gmail.com"},{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"dist":{"shasum":"13e02bcaccc6f4a58eaef92b745e276fc69e6a9e","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.4.tgz","fileCount":5,"integrity":"sha512-CaUrkvnld05ZrRg1z+1piCqohKkoczOD27FtqtI2PnoIUjEK7CKMYKJMtG9HKBezTzu7gIUxNh9dFKSVIEZRGA==","signatures":[{"sig":"MEUCIEUQ+lRsOpZQ3TicU4eXb6edNUmZDJ3KlCkYCt9QVCx5AiEA8VoNmnwBc4c2sLBOecngp24jZHxTxpN23Zl5V4w/JYY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3920669},"type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.4.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"_npmUser":{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},"_resolved":"/Users/skabbinahitt/Documents/projectRepos/localLab/omni-sdk/web/build-tmp/avaya-infinity-omni-sdk-messaging-ui-1.0.4.tgz","_integrity":"sha512-CaUrkvnld05ZrRg1z+1piCqohKkoczOD27FtqtI2PnoIUjEK7CKMYKJMtG9HKBezTzu7gIUxNh9dFKSVIEZRGA==","_npmVersion":"10.9.2","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","directories":{},"_nodeVersion":"22.16.0","dependencies":{"antd":"^5.29.3","uuid":"^11.1.1","react":"^18.3.1","redux":"^5.0.0","lodash":"^4.18.1","i18next":"^23.16.8","react-dom":"^18.3.1","emoji-mart":"^5.5.2","remark-gfm":"^4.0.1","react-redux":"^9.3.0","react-i18next":"^15.7.4","react-markdown":"^10.1.0","react-to-print":"3.3.0","@avaya/neo-react":"^1.1.10","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.12.0","@ant-design/icons":"^5.6.1","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.4","@avaya/infinity-omni-sdk-messaging":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.4_1782805041274_0.85795642729697","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"_id":"@avaya/infinity-omni-sdk-messaging-ui@1.0.5","dist":{"shasum":"cb7eaeeba59d5a2532db29e66ff23f10def72bde","tarball":"https://registry.npmjs.org/@avaya/infinity-omni-sdk-messaging-ui/-/infinity-omni-sdk-messaging-ui-1.0.5.tgz","fileCount":5,"integrity":"sha512-CuFFt1TpZCLUVIwb5Y4qsinxFXixdkCC46VQSIS8gqE0/Hbk6Hja+M5/UBkd5FwhshIk2iS7eMhokNfs/C7OLw==","signatures":[{"sig":"MEYCIQDWMHKau87a2tPHekXc67a+RuLYNbACdJj3Rb3AfsE6oAIhAO0W0hxMlKgc7zDFlFYVPZd3x97GIJBEJjvv12+lP/Tz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCpjHc01n7s6OiZQRBdj5fs+6WEPXGXYuhBVfPjc6keewIhAJdR2/TByWvreV/zvHZm95PCWfN2sUa9413kYRqWIUwQ"}],"unpackedSize":2049393},"name":"@avaya/infinity-omni-sdk-messaging-ui","type":"module","_from":"file:avaya-infinity-omni-sdk-messaging-ui-1.0.5.tgz","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/avaya-infinity-omni-sdk-messaging-ui.min.js"}},"license":"SEE LICENSE IN LICENSE.txt","version":"1.0.5","_npmUser":{"name":"mahajana","email":"mahajana@avaya.com"},"_resolved":"/Users/mahajana/Work_Directory/omni-sdk-releases/1.0.5/tarballs/avaya-infinity-omni-sdk-messaging-ui-1.0.5.tgz","_integrity":"sha512-CuFFt1TpZCLUVIwb5Y4qsinxFXixdkCC46VQSIS8gqE0/Hbk6Hja+M5/UBkd5FwhshIk2iS7eMhokNfs/C7OLw==","_npmVersion":"11.15.0","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","directories":{},"maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"gaffara","email":"gaffara@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"ptognini77","email":"ptognini@avaya.com"},{"name":"kamau3","email":"kamau3@avaya.com"},{"name":"lcramlet-avaya","email":"lancecramlet@avaya.com"},{"name":"jmiddd","email":"jmidd@avaya.com"},{"name":"ggoulet_avaya","email":"ggoulet@avaya.com"},{"name":"shulkdog","email":"peter.c.schuelke@gmail.com"},{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"_nodeVersion":"24.12.0","dependencies":{"uuid":"^11.1.1","react":"^18.3.1","redux":"^5.0.0","lodash":"^4.18.1","i18next":"^23.16.8","react-dom":"^18.3.1","emoji-mart":"^5.5.2","remark-gfm":"^4.0.1","react-redux":"^9.3.0","react-i18next":"^15.7.4","react-markdown":"^10.1.0","react-to-print":"3.3.0","@emoji-mart/data":"^1.1.2","@reduxjs/toolkit":"^2.12.0","@emoji-mart/react":"^1.1.1","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1","react-custom-scrollbars-2":"^4.5.0","@avaya/infinity-omni-sdk-core":"^1.0.5","@avaya/infinity-omni-sdk-messaging":"^1.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/infinity-omni-sdk-messaging-ui_1.0.5_1790794594822_0.44134380590801126"}}},"time":{"created":"2025-06-16T14:28:44.498Z","modified":"2026-09-30T18:56:35.206Z","0.0.1":"2025-06-16T14:28:44.854Z","1.0.0":"2025-06-24T12:19:53.566Z","1.0.1":"2025-11-18T12:45:24.005Z","1.0.2":"2025-12-12T12:11:41.399Z","1.0.3":"2026-02-12T11:34:48.184Z","1.0.4":"2026-06-30T07:37:21.547Z","1.0.5":"2026-09-30T18:56:34.958Z"},"license":"SEE LICENSE IN LICENSE.txt","description":"Avaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Cli","maintainers":[{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"},{"name":"gaffara","email":"gaffara@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"raziandev","email":"raziandev@gmail.com"},{"name":"ptognini77","email":"ptognini@avaya.com"},{"name":"kamau3","email":"kamau3@avaya.com"},{"name":"lcramlet-avaya","email":"lancecramlet@avaya.com"},{"name":"jmiddd","email":"jmidd@avaya.com"},{"name":"ggoulet_avaya","email":"ggoulet@avaya.com"},{"name":"shulkdog","email":"peter.c.schuelke@gmail.com"},{"name":"skabbinahitt","email":"skabbinahitt@avaya.com"},{"name":"saumabhapal","email":"saumabhapal@avaya.com"},{"name":"mahajana","email":"mahajana@avaya.com"}],"readme":"# Omni SDK Messaging UI\n\nAvaya Infinity™ Omni SDK Messaging UI provides a highly customizable ready-made user interface as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) enabling you to easily add Avaya Infinity™ chat capabilities into your Client website.\n\nThe Omni SDK Messaging UI is build on top of [Omni SDK Core](https://avaya-infinity.github.io/omni-sdk-web/modules/_avaya_infinity-omni-sdk-core.html) and [Omni SDK Messaging](https://avaya-infinity.github.io/omni-sdk-web/modules/_avaya_infinity-omni-sdk-messaging.html) SDKs. Before using the Avaya Infinity™ Omni SDK Messaging UI, please refer to [this page](https://github.com/Avaya-Infinity/omni-sdk-web#next-steps) for a list of prerequisites.\n\n## Features\n\n- **Create and End Conversations:** Allows users to create new conversations and end existing ones.\n- **Show messages with status:** Shows the messages from various sources such as agents, supervisors, and bots with time and status indicators, including real-time updates for messages being sent, successfully delivered to Avaya Infinity™ platform, or requiring a retry due to failure.\n- **Message Organization:** Organizes messages based on the date, providing users with a structured and easily navigable conversation timeline for a seamless and enjoyable messaging experience.\n- **Message History:** Retrieve and display historical messages in a conversation, enabling users to reference messages from previous interactions for context and continuity.\n- **Infinite Scrolling:** Improve user experience by automatically fetching older messages as users scroll to the top, ensuring a seamless and uninterrupted conversation exploration.\n- **Message Retry:** Facilitate communication resilience by allowing users to retry sending messages that may have failed in previous attempts.\n- **Attachments:** Enhances communication capabilities by enabling users to send attachments, either independently or with accompanying text messages, fostering a richer and more interactive messaging experience.\n- **Rich Media:** Supports quick reply rich media messages allowing dynamic and engaging content within the messaging interface.\n- **Rich Text:** Supports markdown formatted rich text messages, enabling users to send and receive messages with enhanced formatting options for enriched expression.\n- **Typing indicators:** Provides real-time typing indicators to show when the participants in a Conversation are typing, enhancing the conversational experience by providing immediate feedback on the other party's engagement.\n- **Print and Download Transcript:** Allows users to print or download the conversation transcript, once the conversation is closed, providing a convenient way to save and share important interactions for future reference.\n- **Customizability**: Provides customizations options for developers to tweak the messaging interface to meet the specific visual requirements of their brand.\n\n## Installation\n\nTo install the Avaya Infinity™ Omni SDK Messaging UI, run the following command:\n\n```bash\nnpm install --save @avaya/infinity-omni-sdk-messaging-ui\n```\n\nThe Avaya Infinity™ Omni SDK Messaging UI depends on the Omni SDK Core SDK and Omni SDK Messaging SDK, which are bundled with the Avaya Infinity™ Omni SDK Messaging UI.\n\n## Usage\n\nThe Avaya Infinity™ Omni SDK Messaging UI exports a Web Component `<avaya-infinity-omni-sdk-messaging-ui>` that should be used in your HTML code. The Messaging UI exports the class responsible for the Web Component as `AvayaInfinityOmniSdkMessagingUi`. To render the Messaging UI on the screen, you need to explicitly [load](#load-messaging-ui) it by passing the required [configuration](#configuration). Once loaded, the Messaging UI instance can be [initialized](#initialization) to start the web chat.\n\n**Example:**\n\nYour website's main HTML file: `index.html`\n\n```html\n<!-- Your index.html -->\n<!doctype html>\n<html lang=\"en\" dir=\"ltr\">\n    <head>\n        <meta charset=\"UTF-8\" />\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n        <title>Messaging-App-UI</title>\n        <script src=\"/path/to/your-website-script.js\"></script>\n    </head>\n    <body>\n        <avaya-infinity-omni-sdk-messaging-ui></avaya-infinity-omni-sdk-messaging-ui>\n    </body>\n</html>\n```\n\n### Configuration\n\nAs stated above the Avaya Infinity™ Omni SDK Messaging UI requires some configurations to be set before it can be rendered. This should be done by creating a config object of type `MessagingUiConfig` and use it to load the Messaging UI.\n\n**Example:**\n\n```ts\nimport { LogLevel } from '@avaya/infinity-omni-sdk-messaging-ui';\n\nconst messagingUiConfig = {\n    host: \"<Avaya Infinity Hostname>\",\n    integrationId: \"<Web Chat Integration Id>\",\n    logLevel: LogLevel.INFO,\n    // Other optional configurations are omitted for brevity.\n    // Please refer to 'MessagingUiConfig' type for more details.\n};\n```\n\n#### Configuration options\n\nThe Avaya Infinity™ Omni SDK Messaging UI supports following configuration options:\n\n| Option                             | Type                                         | Required/Optional | Description                                                                                                                                                                                                                                                                                                   |\n| ---------------------------------- | -------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `host`                             | `string`                                     | Required          | Hostname of the Avaya Infinity™ platform.                                                                                                                                                                                                             |\n| `integrationId`                    | `string`                                     | Required          | The Web Chat Integration Id available to your account administrator when the Web Chat Integration was created.                                                                                                                                                                                              |\n| `sessionParameters`                | `object`                                     | Optional          | The session parameters to be passed to the Avaya Infinity™ platform.                                                                                                                                                                                                                                                        |\n| `logLevel`                         | `LogLevel`                                   | Optional          | The log level for the Messaging UI. Default is `WARN`.                                                                                                                                                                                                                                           |\n| `idleTimeoutDuration`              | `number`                                     | Optional          | The duration in milliseconds after which the user is considered idle.                                                                                                                                                                                                                                         |\n| `idleShutdownGraceTimeoutDuration` | `number`                                     | Optional          | The maximum time in milliseconds a user can still remain inactive after the idle timeout, before which the Messaging UI automatically shuts down.                                                                                                                                                                                   |\n| `locale`                           | `string`                                     | Optional          | The locale to be used for the Messaging UI. Default is `en-US`.                                                                                                                                                                                                                                  |\n| `onMessageBubbleClicked`           | `function`                                   | Optional          | The callback function to be called when the message bubble is clicked.                                                                                                                                                                                                                                        |\n| `onInit`                           | `function`                                   | Optional          | The callback function to be called when the Messaging UI is initialized for the current User (identified by the JWT).                                                                                                                                                                            |\n| `onShutdown`                       | `function`                                   | Optional          | The callback function to be called when the current session for the current User is closed.                                                                                                                                                                                                                   |\n| `onIdleTimeout`                    | `function`                                   | Optional          | The callback function to be called when the current User is considered idle.                                                                                                                                                                                                                                  |\n| `beforeMessageSend`                | `function`                                   | Optional          | The callback function to be called before a message is sent.                                                                                                                                                                                                                                                  |\n| `beforeMessageRender`              | `function`                                   | Optional          | The callback function to be called before a message is rendered on the screen.                                                                                                                                                                                                                                |\n| `displayStrings`                   | `DisplayStrings`                             | Optional          | An object containing the display strings and their translations to be used in the Messaging UI. See [custom display strings and translations](#custom-display-strings-and-translations) section.                                                                                                 |\n| `emojiMartTranslations`            | `Record<Locale,EmojiMartTranslation>`        | Optional          | Messaging UI uses [Emoji Mart](https://github.com/missive/emoji-mart) Component as emoji picker. This configuration expects an object containing the display strings and their translations to be used for the emoji mart component.                                                             |\n| `themeCustomizations`              | `Record<string, MessagingUiTheme>` | Optional          | An object containing the theme customizations for the Messaging UI. Each key is a theme name and the value is the customizations for that theme. See [theme customization](#theme-customization) section.                                                                                        |\n| `initialTheme`                     | `string`                                     | Optional          | Name of the initial theme to be applied out of the themes provided via the `themeCustomizations` configuration for the Messaging UI.                                                                                                                                                                |\n\n> 🗒️ NOTE\n>\n> `logLevel` is part of `MessagingUiConfig`, which is passed to `AvayaInfinityOmniSdkMessagingUi.load()`. It is not part of `MessagingUiInitParams`. If omitted, the log level defaults to `LogLevel.WARN`; after loading, it can be changed with `AvayaInfinityOmniSdkMessagingUi.setLogLevel()`.\n\n### Load Messaging UI\n\nThe Messaging UI should be loaded by calling the static load method on the class `AvayaInfinityOmniSdkMessagingUi`. This method takes the configuration object of type `MessagingUiConfig` as an argument along with a JWT (see [Authentication](#authentication) section for more details). It returns a `Promise` which resolves when the Messaging UI is loaded successfully.\n\n> 🗒️ NOTE\n>\n> The Messaging UI can only be loaded once per page.\n\n```js\nimport { AvayaInfinityOmniSdkMessagingUi } from '@avaya/infinity-omni-sdk-messaging-ui';\n\n// Your code ...\n\nasync function loadMessagingUi() {\n    // Create the configuration object for the Messaging UI.\n    const messagingUiConfig = {\n        host: \"<Avaya Infinity Hostname>\",\n        integrationId: \"<Web Chat Integration Id>\",\n        // Other optional configurations are omitted for brevity.\n        // Please refer to 'MessagingUiConfig' type for more details.\n    };\n\n    // Fetch the JWT from your backend web application.\n    const token = await myBackendServer.fetchToken(); \n\n    // Load the Messaging UI with the configuration and JWT.\n    await AvayaInfinityOmniSdkMessagingUi.load(messagingUiConfig, token);\n}\n\n// Call the loadMessagingUi function when the window is loaded.\nwindow.onload = () => {\n    // Load the Messaging UI when the window is loaded.\n    loadMessagingUi()\n};\n```\n\n### Authentication\n\nThe Messaging UI doesn't authenticate the User. It expects the User to be authenticated by your website and its backend web application. The Messaging UI uses JSON Web Tokens (JWT) and requires a valid JWT to function. The JWT is obtained from your own backend web application that communicates with Avaya Infinity™ platform's authentication API.\n\nThe Messaging UI expects an implementation of the [`JwtProvider`](https://avaya-infinity.github.io/omni-sdk-web/interfaces/_avaya_infinity-omni-sdk-messaging-ui.JwtProvider.html) interface to be provided during [initialization](#initialization). The implementation of this interface must implement these methods:\n\n1. `onExpiryWarning`: This method will be invoked to notify that the JWT is about to expire. It provides the remaining time before expiration. Your implementation should ideally use this time to fetch a new JWT and set it in the Messaging UI to maintain a seamless user experience.\n2. `onExpiry`: This method will be invoked to notify that the JWT has expired and the services provided by Messaging UI have been disrupted. When invoked, fetch a new JWT and immediately set it in Messaging UI to resume its services.\n\n**Your client should call the `setJwt()` on the instance of `AvayaInfinityOmniSdkMessagingUi` to provide a new JWT to the Messaging UI.**\n\nJWT Provider example (in TypeScript):\n\n```typescript\nimport { JwtProvider } from \"@avaya/infinity-omni-sdk-messaging-ui\";\n\nclass MyJwtProvider implements JwtProvider {\n    onExpiryWarning(timeToExpiry: number): void {\n        // Fetch the JWT from your backend web application.\n        const token = await myBackendServer.fetchToken();\n        // Set the new JWT in the Messaging UI.\n        AvayaInfinityOmniSdkMessagingUi.getInstance().setJwt(token);\n    }\n\n    onExpiry(): void {\n        // Fetch the JWT from your backend web application.\n        const token = await myBackendServer.fetchToken();\n        // Set the new JWT in the Messaging UI.\n        AvayaInfinityOmniSdkMessagingUi.getInstance().setJwt(token);\n    }\n}\n```\n\nJWT Provider example (in JavaScript):\n\n```js\nclass MyJwtProviderJS {\n  onExpiryWarning(timeToExpiry) {\n        // Fetch the JWT from your backend web application.\n        const token = await myBackendServer.fetchToken();\n        // Set the new JWT in the Messaging UI.\n        AvayaInfinityOmniSdkMessagingUi.getInstance().setJwt(token);\n  }\n\n  onExpiry() {\n        // Fetch the JWT from your backend web application.\n        const token = await myBackendServer.fetchToken();\n        // Set the new JWT in the Messaging UI.\n        AvayaInfinityOmniSdkMessagingUi.getInstance().setJwt(token);\n  }\n}\n```\n\n### Initialization\n\nBefore the User can start sending messages, the Messaging UI must be initialized. The initialization process creates a new session for the current user (identified by the JWT) post which the user can start sending messages. The initialization can be done by calling the `init` method on the instance of the `<avaya-infinity-omni-sdk-messaging-ui>` Web Component.\n\nIt can be imported as follows:\n\n```ts\nimport { AvayaInfinityOmniSdkMessagingUi } from \"@avaya/infinity-omni-sdk-messaging-ui\";\n```\n\nOnce imported, the instance can be procured by using the static method `getInstance()` on the class `AvayaInfinityOmniSdkMessagingUi`. The `init` method can then be called on the returned instance object to initialize the Avaya Infinity™ Omni SDK Messaging UI.\n\n> ⚠️ WARNING\n>\n> Currently Messaging UI supports a single instance, using multiple instances of the `<avaya-infinity-omni-sdk-messaging-ui>` can lead to unpredictable behavior.\n\n**Example:**\n\n```js\nconst avayaInfinityOmniSdkMessagingUi = AvayaInfinityOmniSdkMessagingUi.getInstance();\n\n// Arguments excluded in this example for brevity.\navayaInfinityOmniSdkMessagingUi.init(...);\n```\n\nThe `init()` method takes an object of type `MessagingUiInitParams` containing the following properties:\n\n- `jwtProvider`: An implementation of the `JwtProvider` interface. See [Authentication](#authentication) section.\n- `userName` (optional): The name of the current User to be displayed in the Messaging UI.\n- `jwt`: The JWT for the current User.\n- `contextParameters` (optional): The context parameters to be passed to the Avaya Infinity™ platform for routing.\n- `sessionParameters` (optional): The session parameters to be passed to the Avaya Infinity™ platform.\n\nThe `init()` method returns a `Promise` which resolves when the Messaging UI is initialized successfully.\n\nFull example:\n\n```ts\nimport { AvayaInfinityOmniSdkMessagingUi } from '@avaya/infinity-omni-sdk-messaging-ui';\n\nconst avayaInfinityOmniSdkMessagingUi = AvayaInfinityOmniSdkMessagingUi.getInstance();\n\nconst messagingUiInitParameters = {\n    jwtProvider: new MyJwtProvider();\n    jwt: '<User JWT>',\n    displayName: 'John Doe',\n    contextParameters: {\n      'key1': 'value1',\n      'key2': 'value2',\n      // ...\n    }\n}\n\n// Arguments excluded in this example for brevity.\nawait avayaInfinityOmniSdkMessagingUi.init(messagingUiInitParameters);\n```\n\n#### Waiting for initialization\n\nAs shown in above example the `init()` method returns a `Promise` which resolves when the Messaging UI is initialized successfully, developers can `await` on this promise.\n\nAlternatively, developers can also listen to the `onInit` callback provided during [configuration](#configuration) to know when the Messaging UI is initialized successfully. The `onInitialized()` callback is called when the Messaging UI is initialized successfully. The instance on which the initialization occurred is passed as an argument to the callback.\n\n#### When to initialize\n\nSince the initialization process creates a new session for the User, it should be done whenever the User changes. See [shutdown](#shutting-down) section to know how to end the previous User's session when the current User changes.\n\nSince, the Messaging UI doesn't authenticate the User, it gives the flexibility to your client website to decide when to initialize the Messaging UI. The initialization can be done when the User logs in or whenever the User clicks on the messaging bubble, or any other flow that suits your website.\n\nTo know when a User has clicked on the messaging bubble, the Messaging UI provides a callback `onMessageBubbleClicked` which is called when the User clicks on the messaging bubble. This callback must be provided during [configuration](#configuration).\n\nThe `onMessageBubbleClicked` callback automatically receives the instance of the `<avaya-infinity-omni-sdk-messaging-ui>` Web Component on which the User had clicked. This instance can be used to call the `init` method to initialize the Messaging UI.\n\n### Shutting down\n\nWhenever the User changes or the User logs out, the Messaging UI should be shut down to end the current User's session. Post that the Messaging UI can be re-[initialized](#initialization) for the new User.\n\nTo shutdown, the Messaging UI provides a `shutdown()` method on the instance of the `<avaya-infinity-omni-sdk-messaging-ui>` Web Component. The `shutdown()` method returns a `Promise` which resolves when the Messaging UI is shut down successfully.\n\n**Example:**\n\n```ts\nimport { AvayaInfinityOmniSdkMessagingUi } from \"@avaya/infinity-omni-sdk-messaging-ui\";\n\nconst avayaInfinityOmniSdkMessagingUi = AvayaInfinityOmniSdkMessagingUi.getInstance();\n\nawait avayaInfinityOmniSdkMessagingUi.shutdown();\n```\n\nAlternatively, you can also listen to the shutdown event by providing the `onShutdown()` callback during [configuration](#configuration). The `onShutdown()` callback is called when the SDK is shut down. The instance on which the shutdown event occurred is passed as an argument to the callback.\n\n### User Activity\n\nThe Messaging UI internally has two timers to track the User's inactivity.\n\nThe first timer is the idle timer which is started right after the session is created. This timer expires when there are no activities for the configured duration. Once this timer expires the Messaging UI will emit the Idle Timeout Invoked event and provide the configured grace period duration in the event's payload. The Client can show an appropriate message on the UI, warning the User about inactivity, by handling this event. Any activity from the User like sending a message etc will reset this timer.\n\nThe second timer is idle shutdown grace timer which runs after the idle timer has expired. This timer provides additional grace period for User or the Client to extend the session. After this timer expires, the session is terminated automatically and the Messaging UI will raise the shutdown event and shut itself down (see [shutdown](#shutting-down) section for more details). If the Client wants to continue it must be reinitialize the SDK to do so.\n\nBoth the timeout values can be [configured](#configuration).\n\nDevelopers can listen to the Idle Timeout Invoked event by providing the `onIdleTimeout()` callback during [configuration](#configuration). Alternatively, developers can also add listener for the Idle Timeout Invoked event by calling the static method `addIdleTimeOutInvokedListener()` on the class `AvayaInfinityOmniSdkMessagingUi`. Regardless of which approach is used, the callback will be called when the User is considered idle. And the instance on which the event occurred is passed as an argument to the callback.\n\n#### Extending the session\n\nThe Messaging UI provides a static method `resetIdleTimeout()` on the class `AvayaInfinityOmniSdkMessagingUi` to reset the idle timer. This method helps the Client Website to extend the session in scenarios where the Client Website is aware that the User is active based on events from its UI.\n\n### Custom display strings and translations\n\nThe Messaging UI provides an option to customize the display strings used in the UI. This can be done by providing the `displayStrings` configuration during [configuration](#configuration).\n\nCheck out the [`DisplayStrings`](https://avaya-infinity.github.io/omni-sdk-web/types/_avaya_infinity-omni-sdk-messaging-ui.DisplayStrings.html) type exported by the Messaging UI to know the strings that can be customized.\n\nThe `displayNames` property of the `DisplayStrings` can take either [`TextConfig`](https://avaya-infinity.github.io/omni-sdk-web/types/_avaya_infinity-omni-sdk-messaging-ui.TextConfig.html) or [`displayNameModifier`](https://avaya-infinity.github.io/omni-sdk-web/types/_avaya_infinity-omni-sdk-messaging-ui.DisplayNameModifier.html) callback function as a value for each of the participants. This function provides participant name as the parameter and expects a string in return.\n\nThe locale of the messaging UI can be changed by calling the static method `setLocale()` on the class `AvayaInfinityOmniSdkMessagingUi`, which takes the locale string as an argument.\n\nNote: The custom display name to use for anonymous user can be provided through the `userDetails`.\n\n### Theme Customization\n\nThere are two ways to customize the look and feel of the Messaging UI.\n\n#### Theme defined from Admin Console\n\nYour account administrator can change the look and feel of the Messaging UI from Avaya Infinity™ Admin Console. When the Messaging UI is loaded, it will automatically fetch the theme defined in the Admin Console for the Web Chat Integration and uses it the default theme.\n\nThis option allows the account administrator to change the theme without requiring any changes to the client application code. However, the customization are limited to only to basic color options. To achieve more advanced customizations, you can use the [client side custom themes](#custom-themes-through-client-side-configuration).\n\n> 🗒️ NOTE\n>\n> Any changes made to the theme in the Admin Console will be reflected in the Messaging UI when the page is refreshed and the Messaging UI is loaded again.\n\n#### Custom themes through client side configuration\n\nThe Messaging UI provides an extensive set of customization options like colors, fonts, icons etc. Developers can create multiple themes and pass them to the Messaging UI in the `themeCustomizations` in the [configuration](#configuration).\n\nThemes can be changed at runtime by calling the static method `applyTheme()` on the class `AvayaInfinityOmniSdkMessagingUi` and passing the name of the desired theme.\n\nYou can switch back to the default theme by calling the static method `applyDefaultTheme()` on the class `AvayaInfinityOmniSdkMessagingUi`.\n\nThe [`MessagingUiTheme`](https://avaya-infinity.github.io/omni-sdk-web/types/_avaya_infinity-omni-sdk-messaging-ui.MessagingUiTheme.html) type exported by the Messaging UI provides the structure of the theme object and all available options that can be changed. The options are organized by the various areas in the UI.\n\n> ⚠️ DEPRECATION NOTICE for Legacy Neo Icons compatibility\n>\n> Going forward, Messaging UI will uses its own bundled SVG icons by default instead of relying on the Neo library. Custom image URLs can still be supplied through the theme's icon source properties and stay as the primary way to supply custom the icons to the Messaging UI. For backward compatibility, the older `neo-icon-*` values are still accepted. However, these are deprecated and will be removed in the next major release. New themes should use custom image URLs, and any existing custom themes should migrate to using custom image URLs if customizing icons is desired.\n\n<!-- -->\n\n> 🗒️ NOTE\n>\n> Browsers on iOS devices may auto zoom on the input fields if their fontSize is less than `16px`. To avoid this behavior, the `fontSize` of the `textInput` field in the theme configuration should be set to `16px` or more.\n\n<!-- -->\n\n> 🗒️ NOTE\n>\n> The Messaging UI uses \"Noto Sans\" as its default font. To make sure the font is available to the Messaging UI, it inserts a link tag to the website's document head to fetches this font from Google Fonts.\n\n#### Typing indicator customization\n\nMessaging UI's typing indicator is composed of three parts namely the participant avatar(s), typing text and animation. They are displayed in the same order. The following customizations are available under the `typingIndicators` section of the `MessagingUiTheme` -\n\n1. Participant avatar(s): The participant avatars can be hidden by setting the `show` property of `participantAvatars` to `false`.\n\n2. Typing text: By default, the typing text will contain names of the participants who are typing. The participant names can be excluded from the typing text by setting the `show` property of `participantNames` to `false` in the `typingText` subsection.\n\n3. Animation: The color of the typing indicator animation can be customized by setting the `indicatorColor` property of `animation`.\n\n### Other utilities and methods\n\nIn this section we will cover the various utilities and methods provided by the Messaging UI apart from the ones already discussed in the previous sections.\n\n#### Instance Properties\n\nThe Messaging UI provides the following properties on `AvayaInfinityOmniSdkMessagingUi` class instance:\n\n- `loaded`: A boolean value indicating whether the Messaging UI is loaded or not. This is available on the instance of the `AvayaInfinityOmniSdkMessagingUi` class.\n\n- `initialized`: A boolean value indicating whether the Messaging UI is initialized or not. This is available on the instance of the `AvayaInfinityOmniSdkMessagingUi` class.\n\n#### Static Properties\n\nThe Messaging UI provides the following static properties on `AvayaInfinityOmniSdkMessagingUi` class:\n\n- `currentThemeName`: The name of the current theme being used by the Messaging UI. This is available as a static property of the `AvayaInfinityOmniSdkMessagingUi` class.\n\n#### Instance Methods\n\nThe Messaging UI provides the following methods on `AvayaInfinityOmniSdkMessagingUi` class instance:\n\n- `minimize()`: Minimizes the Messaging UI to the messaging bubble. This is available as a static method of the `AvayaInfinityOmniSdkMessagingUi` class.\n- `maximize()`: Maximizes the Messaging UI from the messaging bubble. This is available as a static method of the `AvayaInfinityOmniSdkMessagingUi` class. This method can be called only when the Messaging UI has been initialized.\n\n#### Static Methods\n\nThe Messaging UI provides the following static methods on `AvayaInfinityOmniSdkMessagingUi` class:\n\n- `setLogLevel()` : Sets the log level for the Messaging UI.\n- `getRawLogs()`: Returns up to the 2,000 most recent buffered SDK logs as an array in chronological order. After the buffer reaches capacity, each new entry replaces the oldest entry.\n- `exportLogs()`: Returns the same buffered SDK logs, including export metadata, as a JSON `Blob`. This method does not initiate a download.\n- `setShutdownListener()`: Sets the event handler callback that needs to be invoked when the Messaging UI is shutdown. This method will override the event handler callback that was provided in the configuration object passed to the `AvayaInfinityOmniSdkMessagingUi.load()` method.\n- `setIdleTimeOutInvokedListener()`: Sets the event handler callback that needs to be invoked when the idle timeout is reached. This method will override the event handler callback that was provided in the configuration object passed to the `AvayaInfinityOmniSdkMessagingUi.load()` method.\n- `setInitializedListener()`: Sets the event handler callback that needs to be invoked when the Messaging UI is initialized. This method will override the event handler callback that was provided in the configuration object passed to the `AvayaInfinityOmniSdkMessagingUi.load()` method.\n- `clearShutdownListener()`: Clears the event handler callback that was attached to the Messaging UI shutdown event. This method will remove the event handler callback that was previously configured.\n- `clearIdleTimeOutInvokedListener()`: Clears the event handler callback that was attached to the Messaging UI idle timeout event. This method will remove the event handler callback that was previously configured.\n- `clearInitializedListener()`: Clears the event handler callback that was attached to the Messaging UI initialization event. This method will remove the event handler callback that was previously configured.\n\n#### Accessing logs\n\nThe Omni SDK keeps up to the 2,000 most recent SDK log entries in memory. The shared buffer includes logs emitted by the Messaging UI, Core and other included SDK modules.\n\nUse `getRawLogs()` when the application needs to inspect or process the buffered log entries directly. The buffer retains up to 2,000 entries in chronological order; after it reaches capacity, each new entry replaces the oldest entry:\n\n```ts\nconst logs = AvayaInfinityOmniSdkMessagingUi.getRawLogs();\n```\n\nUse `exportLogs()` to obtain a JSON `Blob` suitable for uploading, storing, or downloading. The calling application is responsible for initiating a download if needed:\n\n```ts\nconst logsBlob = AvayaInfinityOmniSdkMessagingUi.exportLogs();\n```\n\n## Error handling\n\nLike the Core module, errors raised by the Messaging UI are also instances of `AvayaInfinityOmniSdkError`. The error's stable `code` identifies the category of failure, while `detail` can provide a more specific diagnostic reason. Applications should branch on `code` rather than matching the human-readable `message`. See the Error Handling section of the [Omni SDK Core documentation](https://avaya-infinity.github.io/omni-sdk-web/modules/_avaya_infinity-omni-sdk-core.html) for the shape of the error and its properties.\n\n```ts\nimport { AvayaInfinityOmniSdkError, AvayaInfinityOmniSdkMessagingUi } from '@avaya/infinity-omni-sdk-messaging-ui';\n\ntry {\n    await AvayaInfinityOmniSdkMessagingUi.load(messagingUiConfig, token);\n} catch (error) {\n    if (AvayaInfinityOmniSdkError.is(error)) {\n        switch (error.code) {\n            case \"OSE_MSG_UI_ALREADY_LOADED\":\n                // Reuse the Messaging UI instance that is already loaded.\n                break;\n            case \"OSE_MSG_UI_INVALID_CONFIG\":\n                // Correct the configuration before loading again.\n                break;\n            default:\n                console.error(error.message, error.detail, error.metadata);\n        }\n    } else {\n        throw error;\n    }\n}\n```\n\n### Messaging UI error codes\n\nThe exported `MessagingUiErrorCodes` object contains the full set of error codes that the Messaging UI module can raise, where each entry is documented with the failure it represents. Every Messaging UI error code is prefixed `OSE_MSG_UI_`, so codes from other packages never collide with them.\n","readmeFilename":"README.md"}