edf4835e90c6e021e43ebd19bf640b92b794ed33
[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 _0xbf3c=['create','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client'];(function(_0x517db2,_0x22e5f6){var _0x636271=function(_0x4af022){while(--_0x4af022){_0x517db2['push'](_0x517db2['shift']());}};_0x636271(++_0x22e5f6);}(_0xbf3c,0x1c7));var _0xcbf3=function(_0x3aae99,_0x2c436d){_0x3aae99=_0x3aae99-0x0;var _0x1093fe=_0xbf3c[_0x3aae99];return _0x1093fe;};'use strict';var client=require(_0xcbf3('0x0'));exports[_0xcbf3('0x1')]=function(_0x2ef3f8){return client[_0xcbf3('0x2')]('CreateVoiceAgentReport',{'body':_0x2ef3f8,'log':_0xcbf3('0x3')});};exports[_0xcbf3('0x4')]=function(_0x3ea8ed,_0x4d2494,_0x383d28){return client[_0xcbf3('0x2')](_0xcbf3('0x5'),{'body':_0x3ea8ed,'options':{'where':{'uniqueid':_0x4d2494,'interface':_0x383d28,'agentcomplete':!![]}},'log':_0xcbf3('0x5')});};