d4a382b49f88c567ea6b38495cc6e2a857d52675
[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 _0xdb28=['Request','CreateReportAgentPreview','../client','createHistory','campaign'];(function(_0x39f9a8,_0x3016d1){var _0x23375c=function(_0x47ecc9){while(--_0x47ecc9){_0x39f9a8['push'](_0x39f9a8['shift']());}};_0x23375c(++_0x3016d1);}(_0xdb28,0x106));var _0x8db2=function(_0x1bd27f,_0x51219b){_0x1bd27f=_0x1bd27f-0x0;var _0x10dd49=_0xdb28[_0x1bd27f];return _0x10dd49;};'use strict';var client=require(_0x8db2('0x0'));exports[_0x8db2('0x1')]=function(_0x1dc797){return function(){_0x1dc797[_0x8db2('0x2')]=_0x1dc797['queue'];return client[_0x8db2('0x3')](_0x8db2('0x4'),{'body':_0x1dc797,'log':_0x8db2('0x4')});};};