Built motion from commit 4c281f94.|2.6.31
[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 _0xcf87=['CreateVoiceAgentReport','update','Request','../client','create'];(function(_0xfd780a,_0x3947cc){var _0x12bfa0=function(_0x3ece54){while(--_0x3ece54){_0xfd780a['push'](_0xfd780a['shift']());}};_0x12bfa0(++_0x3947cc);}(_0xcf87,0xe9));var _0x7cf8=function(_0x1cc063,_0x1d4623){_0x1cc063=_0x1cc063-0x0;var _0x1cd169=_0xcf87[_0x1cc063];return _0x1cd169;};'use strict';var client=require(_0x7cf8('0x0'));exports[_0x7cf8('0x1')]=function(_0x82fa9){return client['Request'](_0x7cf8('0x2'),{'body':_0x82fa9,'log':_0x7cf8('0x2')});};exports[_0x7cf8('0x3')]=function(_0x593c7d,_0xe5c034,_0x2b39be){return client[_0x7cf8('0x4')]('UpdateVoiceAgentReport',{'body':_0x593c7d,'options':{'where':{'uniqueid':_0xe5c034,'interface':_0x2b39be,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};