Built motion from commit da24aabd.|2.6.20
[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 _0x5d15=['assign','hasOwnProperty'];(function(_0x2d5314,_0x463a88){var _0x37cc44=function(_0x381c51){while(--_0x381c51){_0x2d5314['push'](_0x2d5314['shift']());}};_0x37cc44(++_0x463a88);}(_0x5d15,0x64));var _0x55d1=function(_0x1ebc6c,_0x58a00b){_0x1ebc6c=_0x1ebc6c-0x0;var _0x3a826d=_0x5d15[_0x1ebc6c];return _0x3a826d;};'use strict';function mergeDBDataToRealtime(_0x50e83c,_0x1708ef){var _0x1bbdb5=Object[_0x55d1('0x0')]({},_0x50e83c);for(var _0x32eaf5 in _0x1708ef){if(_0x1bbdb5[_0x55d1('0x1')](_0x32eaf5)){_0x1bbdb5[_0x32eaf5]=_0x1708ef[_0x32eaf5];}}return _0x1bbdb5;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;