2b6e05877a4cc9cdf6de748c5c849acf27fe7c43
[motion2.git] / server / services / ami / rpc / agentReportPreview.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 _0xacf9=['CreateReportAgentPreview','../client','campaign','queue','Request'];(function(_0x3df519,_0x263a38){var _0x57c4ec=function(_0x179b2f){while(--_0x179b2f){_0x3df519['push'](_0x3df519['shift']());}};_0x57c4ec(++_0x263a38);}(_0xacf9,0x11e));var _0x9acf=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0xacf9[_0x5d2803];return _0xdcad2c;};'use strict';var client=require(_0x9acf('0x0'));exports['createHistory']=function(_0x43ba7e){return function(){_0x43ba7e[_0x9acf('0x1')]=_0x43ba7e[_0x9acf('0x2')];return client[_0x9acf('0x3')](_0x9acf('0x4'),{'body':_0x43ba7e,'log':_0x9acf('0x4')});};};