e07f6f6a97637588345a3bd3a01b896327be5f68
[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 _0x74b9=['queue','Request','CreateReportAgentPreview','../client'];(function(_0x5f746f,_0x5b05ab){var _0x198d15=function(_0x58c7e7){while(--_0x58c7e7){_0x5f746f['push'](_0x5f746f['shift']());}};_0x198d15(++_0x5b05ab);}(_0x74b9,0xd7));var _0x974b=function(_0x4ec2ee,_0x1323f4){_0x4ec2ee=_0x4ec2ee-0x0;var _0x5aa3a7=_0x74b9[_0x4ec2ee];return _0x5aa3a7;};'use strict';var client=require(_0x974b('0x0'));exports['createHistory']=function(_0x7e254d){return function(){_0x7e254d['campaign']=_0x7e254d[_0x974b('0x1')];return client[_0x974b('0x2')]('CreateReportAgentPreview',{'body':_0x7e254d,'log':_0x974b('0x3')});};};