Built motion from commit e1760111.|2.6.18
[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 _0x9fdd=['create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport','../client'];(function(_0x2abd22,_0x43fd11){var _0x479632=function(_0x143b84){while(--_0x143b84){_0x2abd22['push'](_0x2abd22['shift']());}};_0x479632(++_0x43fd11);}(_0x9fdd,0xb3));var _0xd9fd=function(_0x1e3af0,_0x4e655b){_0x1e3af0=_0x1e3af0-0x0;var _0x3414ca=_0x9fdd[_0x1e3af0];return _0x3414ca;};'use strict';var client=require(_0xd9fd('0x0'));exports[_0xd9fd('0x1')]=function(_0x44c25d){return client[_0xd9fd('0x2')](_0xd9fd('0x3'),{'body':_0x44c25d,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x13ce54,_0x117920,_0x221c33){return client[_0xd9fd('0x2')]('UpdateVoiceAgentReport',{'body':_0x13ce54,'options':{'where':{'uniqueid':_0x117920,'interface':_0x221c33,'agentcomplete':!![]}},'log':_0xd9fd('0x4')});};