Built motion from commit 9d0783e6.|2.6.13
[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 _0x2a47=['mergeDBDataToRealtime','assign','hasOwnProperty'];(function(_0xb17247,_0x4b94b5){var _0x3473ff=function(_0x4629e4){while(--_0x4629e4){_0xb17247['push'](_0xb17247['shift']());}};_0x3473ff(++_0x4b94b5);}(_0x2a47,0x1bd));var _0x72a4=function(_0x725b8e,_0xc22b48){_0x725b8e=_0x725b8e-0x0;var _0x43ac45=_0x2a47[_0x725b8e];return _0x43ac45;};'use strict';function mergeDBDataToRealtime(_0x3054c8,_0x462708){var _0x196ed0=Object[_0x72a4('0x0')]({},_0x3054c8);for(var _0x557768 in _0x462708){if(_0x196ed0[_0x72a4('0x1')](_0x557768)){_0x196ed0[_0x557768]=_0x462708[_0x557768];}}return _0x196ed0;}exports[_0x72a4('0x2')]=mergeDBDataToRealtime;