71eceacb47ff023afb0193c73edb4bc2b9d577f9
[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 _0xae49=['Request','createHistory','queue'];(function(_0xee580,_0xb8bd01){var _0x4e0c91=function(_0x224d1d){while(--_0x224d1d){_0xee580['push'](_0xee580['shift']());}};_0x4e0c91(++_0xb8bd01);}(_0xae49,0x1d5));var _0x9ae4=function(_0x585f09,_0x492a8e){_0x585f09=_0x585f09-0x0;var _0x59f90a=_0xae49[_0x585f09];return _0x59f90a;};'use strict';var client=require('../client');exports[_0x9ae4('0x0')]=function(_0x8da16c){return function(){_0x8da16c['campaign']=_0x8da16c[_0x9ae4('0x1')];return client[_0x9ae4('0x2')]('CreateReportAgentPreview',{'body':_0x8da16c,'log':'CreateReportAgentPreview'});};};