b676109fcf5141ba8bd1486861601493fb4eb874
[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 _0x6a3b=['queue','Request','CreateReportAgentPreview','../client','createHistory','campaign'];(function(_0x12c1c7,_0x441f14){var _0x4cf7be=function(_0x255b7b){while(--_0x255b7b){_0x12c1c7['push'](_0x12c1c7['shift']());}};_0x4cf7be(++_0x441f14);}(_0x6a3b,0xcf));var _0xb6a3=function(_0x1786c9,_0x45d30f){_0x1786c9=_0x1786c9-0x0;var _0x382c62=_0x6a3b[_0x1786c9];return _0x382c62;};'use strict';var client=require(_0xb6a3('0x0'));exports[_0xb6a3('0x1')]=function(_0x42e7cd){return function(){_0x42e7cd[_0xb6a3('0x2')]=_0x42e7cd[_0xb6a3('0x3')];return client[_0xb6a3('0x4')](_0xb6a3('0x5'),{'body':_0x42e7cd,'log':_0xb6a3('0x5')});};};