ccb6a763aa84da499bc6b6972d28a3cbc5958af1
[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 _0xadb5=['queue','Request','CreateReportAgentPreview','createHistory','campaign'];(function(_0x447d94,_0x5dfbc5){var _0x3767ca=function(_0x5cac5f){while(--_0x5cac5f){_0x447d94['push'](_0x447d94['shift']());}};_0x3767ca(++_0x5dfbc5);}(_0xadb5,0xad));var _0x5adb=function(_0x1ef516,_0x16fe45){_0x1ef516=_0x1ef516-0x0;var _0x5f5cd1=_0xadb5[_0x1ef516];return _0x5f5cd1;};'use strict';var client=require('../client');exports[_0x5adb('0x0')]=function(_0x49fc17){return function(){_0x49fc17[_0x5adb('0x1')]=_0x49fc17[_0x5adb('0x2')];return client[_0x5adb('0x3')]('CreateReportAgentPreview',{'body':_0x49fc17,'log':_0x5adb('0x4')});};};