e5f684521ec36ffce7d8751e0ec26b9345b7c236
[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 _0xfac9=['UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0x53d172,_0x46611b){var _0x1bd0a2=function(_0x19fb52){while(--_0x19fb52){_0x53d172['push'](_0x53d172['shift']());}};_0x1bd0a2(++_0x46611b);}(_0xfac9,0x1d2));var _0x9fac=function(_0x523f2a,_0x571003){_0x523f2a=_0x523f2a-0x0;var _0x3ff596=_0xfac9[_0x523f2a];return _0x3ff596;};'use strict';var client=require(_0x9fac('0x0'));exports[_0x9fac('0x1')]=function(_0x262784){return client[_0x9fac('0x2')](_0x9fac('0x3'),{'body':_0x262784,'log':_0x9fac('0x3')});};exports['update']=function(_0x66d1a9,_0x1290d6,_0x2dd84d){return client[_0x9fac('0x2')]('UpdateVoiceAgentReport',{'body':_0x66d1a9,'options':{'where':{'uniqueid':_0x1290d6,'interface':_0x2dd84d,'agentcomplete':!![]}},'log':_0x9fac('0x4')});};