3eb958056099ad124955ff40b92b3ad3ca4f4414
[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 _0x32d3=['create','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client'];(function(_0x4dbdda,_0x11f07c){var _0x1acbf1=function(_0x1a9fc8){while(--_0x1a9fc8){_0x4dbdda['push'](_0x4dbdda['shift']());}};_0x1acbf1(++_0x11f07c);}(_0x32d3,0xbf));var _0x332d=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x32d3[_0x3b380d];return _0x54502b;};'use strict';var client=require(_0x332d('0x0'));exports[_0x332d('0x1')]=function(_0x5c1330){return client[_0x332d('0x2')](_0x332d('0x3'),{'body':_0x5c1330,'log':_0x332d('0x3')});};exports[_0x332d('0x4')]=function(_0x2cd22b,_0x395ac6,_0x323ac0){return client[_0x332d('0x2')](_0x332d('0x5'),{'body':_0x2cd22b,'options':{'where':{'uniqueid':_0x395ac6,'interface':_0x323ac0,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};