Built motion from commit 97153652.|2.6.26
[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 _0xe411=['assign'];(function(_0x358230,_0x4769b8){var _0x55791b=function(_0x233fc3){while(--_0x233fc3){_0x358230['push'](_0x358230['shift']());}};_0x55791b(++_0x4769b8);}(_0xe411,0x1e8));var _0x1e41=function(_0x9c6c54,_0x531173){_0x9c6c54=_0x9c6c54-0x0;var _0x1c24c1=_0xe411[_0x9c6c54];return _0x1c24c1;};'use strict';function mergeDBDataToRealtime(_0x37a114,_0x302222){var _0x3f61f0=Object[_0x1e41('0x0')]({},_0x37a114);for(var _0x27f2df in _0x302222){if(_0x3f61f0['hasOwnProperty'](_0x27f2df)){_0x3f61f0[_0x27f2df]=_0x302222[_0x27f2df];}}return _0x3f61f0;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;