Built motion from commit (unavailable).|2.5.0
[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 _0x2333=['Request','UpdateVoiceAgentReport','../client','create','CreateVoiceAgentReport'];(function(_0x39ffd1,_0x299703){var _0x31267e=function(_0x11b420){while(--_0x11b420){_0x39ffd1['push'](_0x39ffd1['shift']());}};_0x31267e(++_0x299703);}(_0x2333,0x11a));var _0x3233=function(_0x1727f0,_0x478057){_0x1727f0=_0x1727f0-0x0;var _0x2efacc=_0x2333[_0x1727f0];return _0x2efacc;};'use strict';var client=require(_0x3233('0x0'));exports[_0x3233('0x1')]=function(_0x4c4ec0){return client['Request'](_0x3233('0x2'),{'body':_0x4c4ec0,'log':_0x3233('0x2')});};exports['update']=function(_0x8fdc58,_0x1c473f,_0x698dea){return client[_0x3233('0x3')](_0x3233('0x4'),{'body':_0x8fdc58,'options':{'where':{'uniqueid':_0x1c473f,'interface':_0x698dea,'agentcomplete':!![]}},'log':_0x3233('0x4')});};