7542a48d49e6b62b6c608b368b03a43c9567fa46
[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 _0xcc17=['CreateReportAgentPreview','campaign'];(function(_0x50d28c,_0x1fc497){var _0x51f234=function(_0x4110d7){while(--_0x4110d7){_0x50d28c['push'](_0x50d28c['shift']());}};_0x51f234(++_0x1fc497);}(_0xcc17,0x1cd));var _0x7cc1=function(_0x2f1762,_0xab43df){_0x2f1762=_0x2f1762-0x0;var _0x8ab21=_0xcc17[_0x2f1762];return _0x8ab21;};'use strict';var client=require('../client');exports['createHistory']=function(_0x4f760d){return function(){_0x4f760d[_0x7cc1('0x0')]=_0x4f760d['queue'];return client['Request']('CreateReportAgentPreview',{'body':_0x4f760d,'log':_0x7cc1('0x1')});};};