Built motion from commit (unavailable).|2.5.28
[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 _0x8911=['UpdateVoiceAgentReport','../client','create','CreateVoiceAgentReport','Request'];(function(_0x2077d2,_0x24ddb6){var _0x20836f=function(_0x4b0280){while(--_0x4b0280){_0x2077d2['push'](_0x2077d2['shift']());}};_0x20836f(++_0x24ddb6);}(_0x8911,0xf1));var _0x1891=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x8911[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x1891('0x0'));exports[_0x1891('0x1')]=function(_0x2001a6){return client['Request'](_0x1891('0x2'),{'body':_0x2001a6,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x53acfd,_0x3ac95a,_0x443b95){return client[_0x1891('0x3')](_0x1891('0x4'),{'body':_0x53acfd,'options':{'where':{'uniqueid':_0x3ac95a,'interface':_0x443b95,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};