Built motion from commit 0415ced0.|2.6.28
[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 _0x7b86=['hasOwnProperty'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0x7b86,0x1ce));var _0x67b8=function(_0x246119,_0x30a4f3){_0x246119=_0x246119-0x0;var _0x59c74f=_0x7b86[_0x246119];return _0x59c74f;};'use strict';function mergeDBDataToRealtime(_0x583814,_0x145778){var _0x1b6838=Object['assign']({},_0x583814);for(var _0x559d50 in _0x145778){if(_0x1b6838[_0x67b8('0x0')](_0x559d50)){_0x1b6838[_0x559d50]=_0x145778[_0x559d50];}}return _0x1b6838;}exports['mergeDBDataToRealtime']=mergeDBDataToRealtime;