c3530eac8d05d998f5ad47fb08ff758b746c71bc
[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 _0x00cb=['UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport','update'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x00cb,0xba));var _0xb00c=function(_0x2cb7ad,_0xcc7928){_0x2cb7ad=_0x2cb7ad-0x0;var _0x49054b=_0x00cb[_0x2cb7ad];return _0x49054b;};'use strict';var client=require(_0xb00c('0x0'));exports['create']=function(_0x210287){return client[_0xb00c('0x1')](_0xb00c('0x2'),{'body':_0x210287,'log':_0xb00c('0x2')});};exports[_0xb00c('0x3')]=function(_0x5075b8,_0x24ca6d,_0x53d657){return client['Request'](_0xb00c('0x4'),{'body':_0x5075b8,'options':{'where':{'uniqueid':_0x24ca6d,'interface':_0x53d657,'agentcomplete':!![]}},'log':_0xb00c('0x4')});};