9c3982ba37ca52fa46e79ede1c48bd8efa15188c
[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 _0x1848=['Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client','create'];(function(_0x2b4944,_0x5ecd80){var _0x3eebea=function(_0x4faf43){while(--_0x4faf43){_0x2b4944['push'](_0x2b4944['shift']());}};_0x3eebea(++_0x5ecd80);}(_0x1848,0x1ea));var _0x8184=function(_0x1d728a,_0x275885){_0x1d728a=_0x1d728a-0x0;var _0x218439=_0x1848[_0x1d728a];return _0x218439;};'use strict';var client=require(_0x8184('0x0'));exports[_0x8184('0x1')]=function(_0x2ee063){return client[_0x8184('0x2')](_0x8184('0x3'),{'body':_0x2ee063,'log':'CreateVoiceAgentReport'});};exports[_0x8184('0x4')]=function(_0x3954b2,_0x23e158,_0x4fe056){return client[_0x8184('0x2')]('UpdateVoiceAgentReport',{'body':_0x3954b2,'options':{'where':{'uniqueid':_0x23e158,'interface':_0x4fe056,'agentcomplete':!![]}},'log':_0x8184('0x5')});};