Built motion from commit ffdca78c.|2.6.24
[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 _0xbedf=['mergeDBDataToRealtime','assign'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0xbedf,0x1d1));var _0xfbed=function(_0x3d55a4,_0x57d61b){_0x3d55a4=_0x3d55a4-0x0;var _0x38c5c4=_0xbedf[_0x3d55a4];return _0x38c5c4;};'use strict';function mergeDBDataToRealtime(_0x35c680,_0x1ddf7a){var _0x2476b5=Object[_0xfbed('0x0')]({},_0x35c680);for(var _0x3b05df in _0x1ddf7a){if(_0x2476b5['hasOwnProperty'](_0x3b05df)){_0x2476b5[_0x3b05df]=_0x1ddf7a[_0x3b05df];}}return _0x2476b5;}exports[_0xfbed('0x1')]=mergeDBDataToRealtime;