79f6f144210617b22634c1b25420997913e3bf05
[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 _0x21b8=['hasOwnProperty','assign'];(function(_0x46bb60,_0x20e92b){var _0x2ed719=function(_0x44d2b7){while(--_0x44d2b7){_0x46bb60['push'](_0x46bb60['shift']());}};_0x2ed719(++_0x20e92b);}(_0x21b8,0xaf));var _0x821b=function(_0x10a9b1,_0x4bd69a){_0x10a9b1=_0x10a9b1-0x0;var _0x11245e=_0x21b8[_0x10a9b1];return _0x11245e;};'use strict';function mergeDBDataToRealtime(_0x38e06d,_0x1af5bb){var _0x2e247b=Object[_0x821b('0x0')]({},_0x38e06d);for(var _0x2ad557 in _0x1af5bb){if(_0x2e247b[_0x821b('0x1')](_0x2ad557)){_0x2e247b[_0x2ad557]=_0x1af5bb[_0x2ad557];}}return _0x2e247b;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;