da9479b7e9cca0ef88ffb74c94d27d1f31f5494f
[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 _0x39e6=['Request','CreateReportAgentPreview','../client'];(function(_0x82b0b0,_0x4fb5b3){var _0x528e7a=function(_0x4df61a){while(--_0x4df61a){_0x82b0b0['push'](_0x82b0b0['shift']());}};_0x528e7a(++_0x4fb5b3);}(_0x39e6,0x9e));var _0x639e=function(_0x444b56,_0x2d602c){_0x444b56=_0x444b56-0x0;var _0x174f01=_0x39e6[_0x444b56];return _0x174f01;};'use strict';var client=require(_0x639e('0x0'));exports['createHistory']=function(_0x2b265a){return function(){_0x2b265a['campaign']=_0x2b265a['queue'];return client[_0x639e('0x1')](_0x639e('0x2'),{'body':_0x2b265a,'log':'CreateReportAgentPreview'});};};