Built motion from commit (unavailable).|2.5.15
[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 _0x937d=['../client','queue','Request','CreateReportAgentPreview'];(function(_0x75e840,_0x5bb022){var _0x7899ba=function(_0x36c5c7){while(--_0x36c5c7){_0x75e840['push'](_0x75e840['shift']());}};_0x7899ba(++_0x5bb022);}(_0x937d,0x1f4));var _0xd937=function(_0x16808c,_0xa3a003){_0x16808c=_0x16808c-0x0;var _0x44ad03=_0x937d[_0x16808c];return _0x44ad03;};'use strict';var client=require(_0xd937('0x0'));exports['createHistory']=function(_0x5034a7){return function(){_0x5034a7['campaign']=_0x5034a7[_0xd937('0x1')];return client[_0xd937('0x2')](_0xd937('0x3'),{'body':_0x5034a7,'log':_0xd937('0x3')});};};