Built motion from commit 9d0783e6.|2.6.13
[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 _0x3975=['hasOwnProperty','assign'];(function(_0x27500e,_0x452848){var _0x25f3bf=function(_0x32ae8e){while(--_0x32ae8e){_0x27500e['push'](_0x27500e['shift']());}};_0x25f3bf(++_0x452848);}(_0x3975,0xad));var _0x5397=function(_0x4a8b41,_0x3a6f41){_0x4a8b41=_0x4a8b41-0x0;var _0x4df231=_0x3975[_0x4a8b41];return _0x4df231;};'use strict';function mergeDBDataToRealtime(_0x1f7d0e,_0x38e6da){var _0x53befb=Object[_0x5397('0x0')]({},_0x1f7d0e);for(var _0x757f9b in _0x38e6da){if(_0x53befb[_0x5397('0x1')](_0x757f9b)){_0x53befb[_0x757f9b]=_0x38e6da[_0x757f9b];}}return _0x53befb;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;