Built motion from commit a679711e.|2.6.15
[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 _0x767b=['mergeDBDataToRealtime','assign'];(function(_0x3034c0,_0x84d9f3){var _0x2d485b=function(_0x5df1e0){while(--_0x5df1e0){_0x3034c0['push'](_0x3034c0['shift']());}};_0x2d485b(++_0x84d9f3);}(_0x767b,0x143));var _0xb767=function(_0x1599cb,_0x5bb2e2){_0x1599cb=_0x1599cb-0x0;var _0x1b4c09=_0x767b[_0x1599cb];return _0x1b4c09;};'use strict';function mergeDBDataToRealtime(_0x5e665d,_0x1da961){var _0x9221a5=Object[_0xb767('0x0')]({},_0x5e665d);for(var _0x3598fb in _0x1da961){if(_0x9221a5['hasOwnProperty'](_0x3598fb)){_0x9221a5[_0x3598fb]=_0x1da961[_0x3598fb];}}return _0x9221a5;}exports[_0xb767('0x1')]=mergeDBDataToRealtime;