93199740a45d59acded4c972bcb63a846855fe2f
[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 _0x9b1d=['mergeDBDataToRealtime','hasOwnProperty'];(function(_0x247aaa,_0x498ad1){var _0x33215a=function(_0x341711){while(--_0x341711){_0x247aaa['push'](_0x247aaa['shift']());}};_0x33215a(++_0x498ad1);}(_0x9b1d,0xed));var _0xd9b1=function(_0x56dd9a,_0xdc0140){_0x56dd9a=_0x56dd9a-0x0;var _0x174350=_0x9b1d[_0x56dd9a];return _0x174350;};'use strict';function mergeDBDataToRealtime(_0x4d9580,_0x36c786){var _0x12b2c2=Object['assign']({},_0x4d9580);for(var _0x3e877a in _0x36c786){if(_0x12b2c2[_0xd9b1('0x0')](_0x3e877a)){_0x12b2c2[_0x3e877a]=_0x36c786[_0x3e877a];}}return _0x12b2c2;}exports[_0xd9b1('0x1')]=mergeDBDataToRealtime;