a129ca847ce9c4397e98005e5d665b7539be5490
[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 _0x7230=['hasOwnProperty'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7230,0x1ae));var _0x0723=function(_0x19b1fa,_0x4e693c){_0x19b1fa=_0x19b1fa-0x0;var _0x5697b5=_0x7230[_0x19b1fa];return _0x5697b5;};'use strict';function mergeDBDataToRealtime(_0x1c3528,_0xaecee0){var _0x468d35=Object['assign']({},_0x1c3528);for(var _0x1ab4d4 in _0xaecee0){if(_0x468d35[_0x0723('0x0')](_0x1ab4d4)){_0x468d35[_0x1ab4d4]=_0xaecee0[_0x1ab4d4];}}return _0x468d35;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;