31d3ba51c1be49da085c6e85873062f4eedb8e3d
[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 _0xbf92=['mergeDBDataToRealtime','assign'];(function(_0x26616b,_0x53dd60){var _0x338d18=function(_0xab49df){while(--_0xab49df){_0x26616b['push'](_0x26616b['shift']());}};_0x338d18(++_0x53dd60);}(_0xbf92,0x127));var _0x2bf9=function(_0x294c6f,_0x142372){_0x294c6f=_0x294c6f-0x0;var _0x5560ff=_0xbf92[_0x294c6f];return _0x5560ff;};'use strict';function mergeDBDataToRealtime(_0x2d65e6,_0x4718ce){var _0x476ebe=Object[_0x2bf9('0x0')]({},_0x2d65e6);for(var _0x35c830 in _0x4718ce){if(_0x476ebe['hasOwnProperty'](_0x35c830)){_0x476ebe[_0x35c830]=_0x4718ce[_0x35c830];}}return _0x476ebe;}exports[_0x2bf9('0x1')]=mergeDBDataToRealtime;