05a8d1f0d3b44cc7daf0c6a8ba818274945f785a
[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 _0xa3ae=['createHistory','campaign','Request','CreateReportAgentPreview'];(function(_0x365bf1,_0x2e657a){var _0x132121=function(_0x3b0ba8){while(--_0x3b0ba8){_0x365bf1['push'](_0x365bf1['shift']());}};_0x132121(++_0x2e657a);}(_0xa3ae,0x140));var _0xea3a=function(_0x39f9f2,_0x37fc06){_0x39f9f2=_0x39f9f2-0x0;var _0x3febf8=_0xa3ae[_0x39f9f2];return _0x3febf8;};'use strict';var client=require('../client');exports[_0xea3a('0x0')]=function(_0x2ea7f0){return function(){_0x2ea7f0[_0xea3a('0x1')]=_0x2ea7f0['queue'];return client[_0xea3a('0x2')](_0xea3a('0x3'),{'body':_0x2ea7f0,'log':_0xea3a('0x3')});};};