55d9962eb6d5d227cadba89dbab41ecc55cfa6b9
[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 _0x04cc=['update','UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport'];(function(_0x29740e,_0x200cc1){var _0x89660b=function(_0x592aa9){while(--_0x592aa9){_0x29740e['push'](_0x29740e['shift']());}};_0x89660b(++_0x200cc1);}(_0x04cc,0x1d8));var _0xc04c=function(_0x67b97a,_0x503a86){_0x67b97a=_0x67b97a-0x0;var _0x1c50b2=_0x04cc[_0x67b97a];return _0x1c50b2;};'use strict';var client=require(_0xc04c('0x0'));exports['create']=function(_0xebaeba){return client[_0xc04c('0x1')](_0xc04c('0x2'),{'body':_0xebaeba,'log':_0xc04c('0x2')});};exports[_0xc04c('0x3')]=function(_0x246f8f,_0x2b8ce9,_0x495749){return client['Request'](_0xc04c('0x4'),{'body':_0x246f8f,'options':{'where':{'uniqueid':_0x2b8ce9,'interface':_0x495749,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};