Built motion from commit 511216ff.|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 _0xc646=['assign','hasOwnProperty','mergeDBDataToRealtime'];(function(_0x2ce8ac,_0x4c8c7b){var _0x565333=function(_0x4b9086){while(--_0x4b9086){_0x2ce8ac['push'](_0x2ce8ac['shift']());}};_0x565333(++_0x4c8c7b);}(_0xc646,0x1d1));var _0x6c64=function(_0x314bb5,_0x476e6a){_0x314bb5=_0x314bb5-0x0;var _0x32c85e=_0xc646[_0x314bb5];return _0x32c85e;};'use strict';function mergeDBDataToRealtime(_0x28a535,_0x345847){var _0x3825fe=Object[_0x6c64('0x0')]({},_0x28a535);for(var _0x136b0c in _0x345847){if(_0x3825fe[_0x6c64('0x1')](_0x136b0c)){_0x3825fe[_0x136b0c]=_0x345847[_0x136b0c];}}return _0x3825fe;}exports[_0x6c64('0x2')]=mergeDBDataToRealtime;