4eefb9d098b07f7c20966e6c2610ea2eded4c4da
[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 _0x292c=['Request','CreateReportAgentPreview','../client','campaign','queue'];(function(_0xc6af24,_0x4119b3){var _0x267510=function(_0x1dd0a0){while(--_0x1dd0a0){_0xc6af24['push'](_0xc6af24['shift']());}};_0x267510(++_0x4119b3);}(_0x292c,0x66));var _0xc292=function(_0x2576d7,_0x167624){_0x2576d7=_0x2576d7-0x0;var _0x16a08c=_0x292c[_0x2576d7];return _0x16a08c;};'use strict';var client=require(_0xc292('0x0'));exports['createHistory']=function(_0x286dcb){return function(){_0x286dcb[_0xc292('0x1')]=_0x286dcb[_0xc292('0x2')];return client[_0xc292('0x3')](_0xc292('0x4'),{'body':_0x286dcb,'log':'CreateReportAgentPreview'});};};