1e3b75d86aa3c7bb994cbda7a1b6c4c60b1ca1e0
[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 _0x26d4=['Request','UpdateVoiceAgentReport','../client','create'];(function(_0x52e23a,_0xb9af55){var _0x57b177=function(_0x592f81){while(--_0x592f81){_0x52e23a['push'](_0x52e23a['shift']());}};_0x57b177(++_0xb9af55);}(_0x26d4,0x172));var _0x426d=function(_0x40017b,_0x29ae62){_0x40017b=_0x40017b-0x0;var _0x41d9fa=_0x26d4[_0x40017b];return _0x41d9fa;};'use strict';var client=require(_0x426d('0x0'));exports[_0x426d('0x1')]=function(_0x3b6a96){return client['Request']('CreateVoiceAgentReport',{'body':_0x3b6a96,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x5cf925,_0x321638,_0x4d9379){return client[_0x426d('0x2')]('UpdateVoiceAgentReport',{'body':_0x5cf925,'options':{'where':{'uniqueid':_0x321638,'interface':_0x4d9379,'agentcomplete':!![]}},'log':_0x426d('0x3')});};