6724a71919a82cae323055088f4fdf81d9af4064
[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 _0x609c=['mergeDBDataToRealtime','assign','hasOwnProperty'];(function(_0x2a6b55,_0x572485){var _0x3dd7fd=function(_0x52837f){while(--_0x52837f){_0x2a6b55['push'](_0x2a6b55['shift']());}};_0x3dd7fd(++_0x572485);}(_0x609c,0x151));var _0xc609=function(_0x2863d9,_0x333a1e){_0x2863d9=_0x2863d9-0x0;var _0x5055f0=_0x609c[_0x2863d9];return _0x5055f0;};'use strict';function mergeDBDataToRealtime(_0x435a7b,_0xe062d2){var _0x46077c=Object[_0xc609('0x0')]({},_0x435a7b);for(var _0x1a16d1 in _0xe062d2){if(_0x46077c[_0xc609('0x1')](_0x1a16d1)){_0x46077c[_0x1a16d1]=_0xe062d2[_0x1a16d1];}}return _0x46077c;}exports[_0xc609('0x2')]=mergeDBDataToRealtime;