Built motion from commit 10af8726.|2.6.34
[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 _0x44d5=['assign','hasOwnProperty'];(function(_0x543451,_0x175362){var _0x1f3823=function(_0xd3ba66){while(--_0xd3ba66){_0x543451['push'](_0x543451['shift']());}};_0x1f3823(++_0x175362);}(_0x44d5,0x78));var _0x544d=function(_0x5becd6,_0x13e651){_0x5becd6=_0x5becd6-0x0;var _0x3b7b78=_0x44d5[_0x5becd6];return _0x3b7b78;};'use strict';function mergeDBDataToRealtime(_0x16d2c6,_0x581e03){var _0x5e8351=Object[_0x544d('0x0')]({},_0x16d2c6);for(var _0x6dfebf in _0x581e03){if(_0x5e8351[_0x544d('0x1')](_0x6dfebf)){_0x5e8351[_0x6dfebf]=_0x581e03[_0x6dfebf];}}return _0x5e8351;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;