Built motion from commit d5e4af8c.|2.6.23
[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 _0xa3ac=['UpdateVoiceAgentReport','../client','create','Request'];(function(_0x7f5e4,_0x21af1b){var _0x5f1035=function(_0x325cad){while(--_0x325cad){_0x7f5e4['push'](_0x7f5e4['shift']());}};_0x5f1035(++_0x21af1b);}(_0xa3ac,0xd1));var _0xca3a=function(_0x2be7d0,_0x3ed00b){_0x2be7d0=_0x2be7d0-0x0;var _0x717c96=_0xa3ac[_0x2be7d0];return _0x717c96;};'use strict';var client=require(_0xca3a('0x0'));exports[_0xca3a('0x1')]=function(_0x30a447){return client['Request']('CreateVoiceAgentReport',{'body':_0x30a447,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x5326ce,_0xc993ff,_0x95c77){return client[_0xca3a('0x2')](_0xca3a('0x3'),{'body':_0x5326ce,'options':{'where':{'uniqueid':_0xc993ff,'interface':_0x95c77,'agentcomplete':!![]}},'log':_0xca3a('0x3')});};