1cd1284c5469f50e3a3a184153035dd467e09c16
[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 _0x20ef=['create','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client'];(function(_0x2a2c9a,_0x237ff4){var _0x549c0c=function(_0x4f12a5){while(--_0x4f12a5){_0x2a2c9a['push'](_0x2a2c9a['shift']());}};_0x549c0c(++_0x237ff4);}(_0x20ef,0x137));var _0xf20e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x20ef[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xf20e('0x0'));exports[_0xf20e('0x1')]=function(_0x1621bf){return client[_0xf20e('0x2')](_0xf20e('0x3'),{'body':_0x1621bf,'log':_0xf20e('0x3')});};exports[_0xf20e('0x4')]=function(_0x497890,_0x360ed3,_0x43492a){return client[_0xf20e('0x2')](_0xf20e('0x5'),{'body':_0x497890,'options':{'where':{'uniqueid':_0x360ed3,'interface':_0x43492a,'agentcomplete':!![]}},'log':_0xf20e('0x5')});};