Built motion from commit c116dc8b.|2.6.30
[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 _0x199a=['../client','createHistory','Request','CreateReportAgentPreview'];(function(_0x2ea536,_0x169f20){var _0xf2b2f6=function(_0xe4a89b){while(--_0xe4a89b){_0x2ea536['push'](_0x2ea536['shift']());}};_0xf2b2f6(++_0x169f20);}(_0x199a,0x158));var _0xa199=function(_0x51e299,_0x465fdf){_0x51e299=_0x51e299-0x0;var _0x350bb2=_0x199a[_0x51e299];return _0x350bb2;};'use strict';var client=require(_0xa199('0x0'));exports[_0xa199('0x1')]=function(_0x21cb51){return function(){_0x21cb51['campaign']=_0x21cb51['queue'];return client[_0xa199('0x2')](_0xa199('0x3'),{'body':_0x21cb51,'log':_0xa199('0x3')});};};