1942442e644bdb8aadebd123c1aca293294875fc
[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 _0xbf52=['mergeDBDataToRealtime','assign'];(function(_0x1b6057,_0x43ac7e){var _0x19ed50=function(_0x15e650){while(--_0x15e650){_0x1b6057['push'](_0x1b6057['shift']());}};_0x19ed50(++_0x43ac7e);}(_0xbf52,0x1df));var _0x2bf5=function(_0x4645bd,_0x1ad4c){_0x4645bd=_0x4645bd-0x0;var _0x59ebbb=_0xbf52[_0x4645bd];return _0x59ebbb;};'use strict';function mergeDBDataToRealtime(_0x517f17,_0x19ec57){var _0x16bf81=Object[_0x2bf5('0x0')]({},_0x517f17);for(var _0x3a4576 in _0x19ec57){if(_0x16bf81['hasOwnProperty'](_0x3a4576)){_0x16bf81[_0x3a4576]=_0x19ec57[_0x3a4576];}}return _0x16bf81;}exports[_0x2bf5('0x1')]=mergeDBDataToRealtime;