58b8ae57c25410aba1ebbb3df475833981b29277
[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 _0x8a50=['assign','hasOwnProperty','mergeDBDataToRealtime'];(function(_0x74745d,_0x177606){var _0x174ab3=function(_0x1c94e9){while(--_0x1c94e9){_0x74745d['push'](_0x74745d['shift']());}};_0x174ab3(++_0x177606);}(_0x8a50,0x183));var _0x08a5=function(_0x34e67f,_0x124398){_0x34e67f=_0x34e67f-0x0;var _0x1af67c=_0x8a50[_0x34e67f];return _0x1af67c;};'use strict';function mergeDBDataToRealtime(_0x502082,_0x229c06){var _0x59d116=Object[_0x08a5('0x0')]({},_0x502082);for(var _0x2e4773 in _0x229c06){if(_0x59d116[_0x08a5('0x1')](_0x2e4773)){_0x59d116[_0x2e4773]=_0x229c06[_0x2e4773];}}return _0x59d116;}exports[_0x08a5('0x2')]=mergeDBDataToRealtime;