d962594d3955f50af7e30e1c59c1b7f284a3839b
[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 _0xf7fd=['../client','queue','Request','CreateReportAgentPreview'];(function(_0x50a56f,_0x735bab){var _0x3b1339=function(_0x451f10){while(--_0x451f10){_0x50a56f['push'](_0x50a56f['shift']());}};_0x3b1339(++_0x735bab);}(_0xf7fd,0x14c));var _0xdf7f=function(_0x484e36,_0x4482d8){_0x484e36=_0x484e36-0x0;var _0xafc85d=_0xf7fd[_0x484e36];return _0xafc85d;};'use strict';var client=require(_0xdf7f('0x0'));exports['createHistory']=function(_0x47eb4e){return function(){_0x47eb4e['campaign']=_0x47eb4e[_0xdf7f('0x1')];return client[_0xdf7f('0x2')]('CreateReportAgentPreview',{'body':_0x47eb4e,'log':_0xdf7f('0x3')});};};