Built motion from commit e1760111.|2.6.18
[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 _0x3ba0=['mergeDBDataToRealtime','hasOwnProperty'];(function(_0x4d8a8f,_0x2afd4c){var _0xfc4adc=function(_0xb89886){while(--_0xb89886){_0x4d8a8f['push'](_0x4d8a8f['shift']());}};_0xfc4adc(++_0x2afd4c);}(_0x3ba0,0xcb));var _0x03ba=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x3ba0[_0xa464c9];return _0x3d73c4;};'use strict';function mergeDBDataToRealtime(_0x595e96,_0x4f365c){var _0x3f4ce1=Object['assign']({},_0x595e96);for(var _0x59fac3 in _0x4f365c){if(_0x3f4ce1[_0x03ba('0x0')](_0x59fac3)){_0x3f4ce1[_0x59fac3]=_0x4f365c[_0x59fac3];}}return _0x3f4ce1;}exports[_0x03ba('0x1')]=mergeDBDataToRealtime;