66939b41dfd103509929e21265d70ca487579bfa
[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 _0x74ee=['assign'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x74ee,0xaf));var _0xe74e=function(_0x5de172,_0x31e576){_0x5de172=_0x5de172-0x0;var _0x5dd0b5=_0x74ee[_0x5de172];return _0x5dd0b5;};'use strict';function mergeDBDataToRealtime(_0xc23873,_0x13adc6){var _0x5291c1=Object[_0xe74e('0x0')]({},_0xc23873);for(var _0x26d2ce in _0x13adc6){if(_0x5291c1['hasOwnProperty'](_0x26d2ce)){_0x5291c1[_0x26d2ce]=_0x13adc6[_0x26d2ce];}}return _0x5291c1;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;