23b951b3bdc944fdcd05d52d3b6f7afeeddb6690
[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 _0x061e=['mergeDBDataToRealtime'];(function(_0x39ba00,_0x369bfb){var _0x50488=function(_0x19b46d){while(--_0x19b46d){_0x39ba00['push'](_0x39ba00['shift']());}};_0x50488(++_0x369bfb);}(_0x061e,0x191));var _0xe061=function(_0x1f2a8b,_0x2c23b9){_0x1f2a8b=_0x1f2a8b-0x0;var _0x280cd9=_0x061e[_0x1f2a8b];return _0x280cd9;};'use strict';function mergeDBDataToRealtime(_0x1608ff,_0x126f61){var _0x23b10b=Object['assign']({},_0x1608ff);for(var _0x364342 in _0x126f61){if(_0x23b10b['hasOwnProperty'](_0x364342)){_0x23b10b[_0x364342]=_0x126f61[_0x364342];}}return _0x23b10b;}exports[_0xe061('0x0')]=mergeDBDataToRealtime;