c868e37676e020df6cb431871cd434726e78b50f
[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 _0x0295=['CreateReportAgentPreview','../client','campaign'];(function(_0x22b3f0,_0x566298){var _0x4204e9=function(_0x156c01){while(--_0x156c01){_0x22b3f0['push'](_0x22b3f0['shift']());}};_0x4204e9(++_0x566298);}(_0x0295,0x1f0));var _0x5029=function(_0x184486,_0x36669d){_0x184486=_0x184486-0x0;var _0x55c949=_0x0295[_0x184486];return _0x55c949;};'use strict';var client=require(_0x5029('0x0'));exports['createHistory']=function(_0x5e71d0){return function(){_0x5e71d0[_0x5029('0x1')]=_0x5e71d0['queue'];return client['Request'](_0x5029('0x2'),{'body':_0x5e71d0,'log':_0x5029('0x2')});};};