a1a9c6ddb8e51a7dd87f37d0a13dac77a7923180
[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 _0x42b4=['update','../client','create','Request','CreateVoiceAgentReport'];(function(_0x2c6c82,_0x53db72){var _0x39ebc9=function(_0x3e5cd0){while(--_0x3e5cd0){_0x2c6c82['push'](_0x2c6c82['shift']());}};_0x39ebc9(++_0x53db72);}(_0x42b4,0x11e));var _0x442b=function(_0x2dac24,_0x5e5bf4){_0x2dac24=_0x2dac24-0x0;var _0x576dde=_0x42b4[_0x2dac24];return _0x576dde;};'use strict';var client=require(_0x442b('0x0'));exports[_0x442b('0x1')]=function(_0x48bd2c){return client[_0x442b('0x2')]('CreateVoiceAgentReport',{'body':_0x48bd2c,'log':_0x442b('0x3')});};exports[_0x442b('0x4')]=function(_0x1a119b,_0x24c48d,_0x953acc){return client['Request']('UpdateVoiceAgentReport',{'body':_0x1a119b,'options':{'where':{'uniqueid':_0x24c48d,'interface':_0x953acc,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};