Built motion from commit 00bf23f6.|2.6.16
[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 _0x307b=['UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport','update'];(function(_0xdb7391,_0x3a69cf){var _0x53d9d0=function(_0x5a97fd){while(--_0x5a97fd){_0xdb7391['push'](_0xdb7391['shift']());}};_0x53d9d0(++_0x3a69cf);}(_0x307b,0xfb));var _0xb307=function(_0x32b2ee,_0x254347){_0x32b2ee=_0x32b2ee-0x0;var _0x3df6c3=_0x307b[_0x32b2ee];return _0x3df6c3;};'use strict';var client=require(_0xb307('0x0'));exports['create']=function(_0x427bd7){return client[_0xb307('0x1')]('CreateVoiceAgentReport',{'body':_0x427bd7,'log':_0xb307('0x2')});};exports[_0xb307('0x3')]=function(_0x5b0b35,_0x3e8f49,_0x1aa701){return client[_0xb307('0x1')](_0xb307('0x4'),{'body':_0x5b0b35,'options':{'where':{'uniqueid':_0x3e8f49,'interface':_0x1aa701,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};