e553eb206e579f011344872112fcd1699089ac01
[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 _0xb201=['CreateVoiceAgentReport','Request','../client','create'];(function(_0x3ce767,_0xf3875a){var _0x255091=function(_0x5983ef){while(--_0x5983ef){_0x3ce767['push'](_0x3ce767['shift']());}};_0x255091(++_0xf3875a);}(_0xb201,0x8e));var _0x1b20=function(_0x125459,_0x5a6140){_0x125459=_0x125459-0x0;var _0x4f8814=_0xb201[_0x125459];return _0x4f8814;};'use strict';var client=require(_0x1b20('0x0'));exports[_0x1b20('0x1')]=function(_0x9447cb){return client['Request'](_0x1b20('0x2'),{'body':_0x9447cb,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x12268d,_0x360379,_0xd45001){return client[_0x1b20('0x3')]('UpdateVoiceAgentReport',{'body':_0x12268d,'options':{'where':{'uniqueid':_0x360379,'interface':_0xd45001,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};