2278345d8127b635c82114255df87b3480f4e8f1
[motion2.git] / server / services / ami / realtime / utils.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbaf8=['hasOwnProperty','mergeDBDataToRealtime'];(function(_0x22dac7,_0x45d32a){var _0x3e6cfa=function(_0x4c2e9d){while(--_0x4c2e9d){_0x22dac7['push'](_0x22dac7['shift']());}};_0x3e6cfa(++_0x45d32a);}(_0xbaf8,0x94));var _0x8baf=function(_0x520c24,_0x3fb9af){_0x520c24=_0x520c24-0x0;var _0x377104=_0xbaf8[_0x520c24];return _0x377104;};'use strict';function mergeDBDataToRealtime(_0xe15433,_0x1738ce){var _0x9b82cb=Object['assign']({},_0xe15433);for(var _0x368dae in _0x1738ce){if(_0x9b82cb[_0x8baf('0x0')](_0x368dae)){_0x9b82cb[_0x368dae]=_0x1738ce[_0x368dae];}}return _0x9b82cb;}exports[_0x8baf('0x1')]=mergeDBDataToRealtime;