a234c31e7423c5c9f071b839376b8f67e32cceb2
[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 _0xad85=['../client','campaign','queue','Request','CreateReportAgentPreview'];(function(_0x288f5e,_0x205edd){var _0x476cc9=function(_0x796f53){while(--_0x796f53){_0x288f5e['push'](_0x288f5e['shift']());}};_0x476cc9(++_0x205edd);}(_0xad85,0x1c2));var _0x5ad8=function(_0x50c7e5,_0x380f0f){_0x50c7e5=_0x50c7e5-0x0;var _0x108f56=_0xad85[_0x50c7e5];return _0x108f56;};'use strict';var client=require(_0x5ad8('0x0'));exports['createHistory']=function(_0x167be9){return function(){_0x167be9[_0x5ad8('0x1')]=_0x167be9[_0x5ad8('0x2')];return client[_0x5ad8('0x3')](_0x5ad8('0x4'),{'body':_0x167be9,'log':'CreateReportAgentPreview'});};};