3fdf4d02d4e740c782f1c20ab7ed40ef8cbb5762
[motion2.git] / server / services / ami / rpc / voiceAgentReport.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 _0xe1ef=['create','CreateVoiceAgentReport','update','Request','UpdateVoiceAgentReport','../client'];(function(_0x389a61,_0x20216c){var _0x1acde9=function(_0x3c72d3){while(--_0x3c72d3){_0x389a61['push'](_0x389a61['shift']());}};_0x1acde9(++_0x20216c);}(_0xe1ef,0x155));var _0xfe1e=function(_0x78c52,_0x48e123){_0x78c52=_0x78c52-0x0;var _0x225722=_0xe1ef[_0x78c52];return _0x225722;};'use strict';var client=require(_0xfe1e('0x0'));exports[_0xfe1e('0x1')]=function(_0x3d227d){return client['Request'](_0xfe1e('0x2'),{'body':_0x3d227d,'log':_0xfe1e('0x2')});};exports[_0xfe1e('0x3')]=function(_0x5271a7,_0x1cdf6a,_0x4e94ef){return client[_0xfe1e('0x4')](_0xfe1e('0x5'),{'body':_0x5271a7,'options':{'where':{'uniqueid':_0x1cdf6a,'interface':_0x4e94ef,'agentcomplete':!![]}},'log':_0xfe1e('0x5')});};