Built motion from commit da617fac.|2.6.6
[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 _0x76ff=['create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x347d10,_0x2d798f){var _0x1154c5=function(_0x201ce9){while(--_0x201ce9){_0x347d10['push'](_0x347d10['shift']());}};_0x1154c5(++_0x2d798f);}(_0x76ff,0xc4));var _0xf76f=function(_0x20b80e,_0x1c61e9){_0x20b80e=_0x20b80e-0x0;var _0xcc904b=_0x76ff[_0x20b80e];return _0xcc904b;};'use strict';var client=require('../client');exports[_0xf76f('0x0')]=function(_0x1ed857){return client[_0xf76f('0x1')](_0xf76f('0x2'),{'body':_0x1ed857,'log':_0xf76f('0x2')});};exports['update']=function(_0x513a1a,_0x284176,_0x16f162){return client[_0xf76f('0x1')]('UpdateVoiceAgentReport',{'body':_0x513a1a,'options':{'where':{'uniqueid':_0x284176,'interface':_0x16f162,'agentcomplete':!![]}},'log':_0xf76f('0x3')});};