fa391fd34136cd4268ea6a300737e76df9cfe004
[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 _0x0c47=['UpdateVoiceAgentReport','../client','create'];(function(_0x88be93,_0x52fee1){var _0x1af1b5=function(_0x2685b3){while(--_0x2685b3){_0x88be93['push'](_0x88be93['shift']());}};_0x1af1b5(++_0x52fee1);}(_0x0c47,0x109));var _0x70c4=function(_0x33554b,_0x48162b){_0x33554b=_0x33554b-0x0;var _0x256954=_0x0c47[_0x33554b];return _0x256954;};'use strict';var client=require(_0x70c4('0x0'));exports[_0x70c4('0x1')]=function(_0x460a81){return client['Request']('CreateVoiceAgentReport',{'body':_0x460a81,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x49a3f4,_0x5473be,_0xedc054){return client['Request']('UpdateVoiceAgentReport',{'body':_0x49a3f4,'options':{'where':{'uniqueid':_0x5473be,'interface':_0xedc054,'agentcomplete':!![]}},'log':_0x70c4('0x2')});};