ff3887a41b2876202a700763369d64ed8d284692
[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 _0x03b0=['createHistory','campaign','Request','CreateReportAgentPreview','../client'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x03b0,0x185));var _0x003b=function(_0x40a825,_0x3bac79){_0x40a825=_0x40a825-0x0;var _0x273a54=_0x03b0[_0x40a825];return _0x273a54;};'use strict';var client=require(_0x003b('0x0'));exports[_0x003b('0x1')]=function(_0x1445ab){return function(){_0x1445ab[_0x003b('0x2')]=_0x1445ab['queue'];return client[_0x003b('0x3')](_0x003b('0x4'),{'body':_0x1445ab,'log':_0x003b('0x4')});};};