Built motion from commit bab6f49e.|2.6.17
[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 _0x2e35=['assign','hasOwnProperty','mergeDBDataToRealtime'];(function(_0x399ad3,_0x249e0f){var _0x290fed=function(_0x2c9415){while(--_0x2c9415){_0x399ad3['push'](_0x399ad3['shift']());}};_0x290fed(++_0x249e0f);}(_0x2e35,0x8a));var _0x52e3=function(_0x4f3589,_0x319c1c){_0x4f3589=_0x4f3589-0x0;var _0x3b5eb0=_0x2e35[_0x4f3589];return _0x3b5eb0;};'use strict';function mergeDBDataToRealtime(_0x4cd57b,_0x22b85f){var _0x550e7e=Object[_0x52e3('0x0')]({},_0x4cd57b);for(var _0x4a2e40 in _0x22b85f){if(_0x550e7e[_0x52e3('0x1')](_0x4a2e40)){_0x550e7e[_0x4a2e40]=_0x22b85f[_0x4a2e40];}}return _0x550e7e;}exports[_0x52e3('0x2')]=mergeDBDataToRealtime;