Built motion from commit 449495f6.|2.6.27
[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 _0x2714=['mergeDBDataToRealtime','assign'];(function(_0x7ab092,_0x3de9c8){var _0xbca572=function(_0x5da948){while(--_0x5da948){_0x7ab092['push'](_0x7ab092['shift']());}};_0xbca572(++_0x3de9c8);}(_0x2714,0xdb));var _0x4271=function(_0x3fb28f,_0x390790){_0x3fb28f=_0x3fb28f-0x0;var _0x4d8b8c=_0x2714[_0x3fb28f];return _0x4d8b8c;};'use strict';function mergeDBDataToRealtime(_0x539276,_0x125657){var _0x59df8d=Object[_0x4271('0x0')]({},_0x539276);for(var _0x3e49aa in _0x125657){if(_0x59df8d['hasOwnProperty'](_0x3e49aa)){_0x59df8d[_0x3e49aa]=_0x125657[_0x3e49aa];}}return _0x59df8d;}exports[_0x4271('0x1')]=mergeDBDataToRealtime;