Built motion from commit 00bf23f6.|2.6.16
[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 _0x0490=['assign','hasOwnProperty'];(function(_0x4cb582,_0x2d744a){var _0x2580e2=function(_0x5676e2){while(--_0x5676e2){_0x4cb582['push'](_0x4cb582['shift']());}};_0x2580e2(++_0x2d744a);}(_0x0490,0x17e));var _0x0049=function(_0x3f31e8,_0x244d08){_0x3f31e8=_0x3f31e8-0x0;var _0x4daa96=_0x0490[_0x3f31e8];return _0x4daa96;};'use strict';function mergeDBDataToRealtime(_0x1b7007,_0x5daeb9){var _0x3bc894=Object[_0x0049('0x0')]({},_0x1b7007);for(var _0x49777 in _0x5daeb9){if(_0x3bc894[_0x0049('0x1')](_0x49777)){_0x3bc894[_0x49777]=_0x5daeb9[_0x49777];}}return _0x3bc894;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;