97d4c6547f098b4b509952b97139fb8806adc995
[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 _0x8206=['Request','CreateReportAgentPreview','createHistory','campaign'];(function(_0x312164,_0x31d051){var _0x4788d8=function(_0x3e598d){while(--_0x3e598d){_0x312164['push'](_0x312164['shift']());}};_0x4788d8(++_0x31d051);}(_0x8206,0x1d6));var _0x6820=function(_0x59625f,_0x3b2c76){_0x59625f=_0x59625f-0x0;var _0x498e1e=_0x8206[_0x59625f];return _0x498e1e;};'use strict';var client=require('../client');exports[_0x6820('0x0')]=function(_0x1ccf53){return function(){_0x1ccf53[_0x6820('0x1')]=_0x1ccf53['queue'];return client[_0x6820('0x2')](_0x6820('0x3'),{'body':_0x1ccf53,'log':_0x6820('0x3')});};};