a1d7745b1cd0d646414001c3f882f0ec5fd89fb9
[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 _0x1e6f=['UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0x2abaae,_0x29fd8b){var _0x5b5745=function(_0x2f6218){while(--_0x2f6218){_0x2abaae['push'](_0x2abaae['shift']());}};_0x5b5745(++_0x29fd8b);}(_0x1e6f,0x79));var _0xf1e6=function(_0x7033c6,_0x45ce18){_0x7033c6=_0x7033c6-0x0;var _0x36805b=_0x1e6f[_0x7033c6];return _0x36805b;};'use strict';var client=require(_0xf1e6('0x0'));exports[_0xf1e6('0x1')]=function(_0x3db5bb){return client[_0xf1e6('0x2')]('CreateVoiceAgentReport',{'body':_0x3db5bb,'log':_0xf1e6('0x3')});};exports['update']=function(_0x235005,_0x52711d,_0x331fc8){return client[_0xf1e6('0x2')](_0xf1e6('0x4'),{'body':_0x235005,'options':{'where':{'uniqueid':_0x52711d,'interface':_0x331fc8,'agentcomplete':!![]}},'log':_0xf1e6('0x4')});};