Built motion from commit 06a208af.|2.6.26
[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 _0xd11e=['hasOwnProperty','mergeDBDataToRealtime','assign'];(function(_0x1a3419,_0x4dc0e5){var _0x467dae=function(_0x215e92){while(--_0x215e92){_0x1a3419['push'](_0x1a3419['shift']());}};_0x467dae(++_0x4dc0e5);}(_0xd11e,0x86));var _0xed11=function(_0x25fa25,_0x26b171){_0x25fa25=_0x25fa25-0x0;var _0x1a9bbd=_0xd11e[_0x25fa25];return _0x1a9bbd;};'use strict';function mergeDBDataToRealtime(_0x21fcdc,_0x3ad1ee){var _0x452a71=Object[_0xed11('0x0')]({},_0x21fcdc);for(var _0x14d39d in _0x3ad1ee){if(_0x452a71[_0xed11('0x1')](_0x14d39d)){_0x452a71[_0x14d39d]=_0x3ad1ee[_0x14d39d];}}return _0x452a71;}exports[_0xed11('0x2')]=mergeDBDataToRealtime;