Built motion from commit ffdca78c.|2.6.24
[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 _0xdf76=['Request','UpdateVoiceAgentReport','create','CreateVoiceAgentReport'];(function(_0x268a90,_0x27653d){var _0x3e595b=function(_0x5f4a9c){while(--_0x5f4a9c){_0x268a90['push'](_0x268a90['shift']());}};_0x3e595b(++_0x27653d);}(_0xdf76,0x86));var _0x6df7=function(_0x383f90,_0x42edf5){_0x383f90=_0x383f90-0x0;var _0x101752=_0xdf76[_0x383f90];return _0x101752;};'use strict';var client=require('../client');exports[_0x6df7('0x0')]=function(_0x353a48){return client['Request'](_0x6df7('0x1'),{'body':_0x353a48,'log':_0x6df7('0x1')});};exports['update']=function(_0x5f0f78,_0x3a2ef1,_0x3110d1){return client[_0x6df7('0x2')](_0x6df7('0x3'),{'body':_0x5f0f78,'options':{'where':{'uniqueid':_0x3a2ef1,'interface':_0x3110d1,'agentcomplete':!![]}},'log':_0x6df7('0x3')});};