Built motion from commit f25620e4.|2.6.30
[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 _0xce65=['hasOwnProperty','mergeDBDataToRealtime','assign'];(function(_0x19115e,_0x507bab){var _0x45bbd4=function(_0x1308bf){while(--_0x1308bf){_0x19115e['push'](_0x19115e['shift']());}};_0x45bbd4(++_0x507bab);}(_0xce65,0x1ca));var _0x5ce6=function(_0x4c32bc,_0x3cefe4){_0x4c32bc=_0x4c32bc-0x0;var _0x26a3b4=_0xce65[_0x4c32bc];return _0x26a3b4;};'use strict';function mergeDBDataToRealtime(_0x3e803c,_0x599b03){var _0x3a03eb=Object[_0x5ce6('0x0')]({},_0x3e803c);for(var _0x2e2505 in _0x599b03){if(_0x3a03eb[_0x5ce6('0x1')](_0x2e2505)){_0x3a03eb[_0x2e2505]=_0x599b03[_0x2e2505];}}return _0x3a03eb;}exports[_0x5ce6('0x2')]=mergeDBDataToRealtime;