Built motion from commit (unavailable).|2.5.4
[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 _0xf281=['CreateVoiceAgentReport','UpdateVoiceAgentReport','create','Request'];(function(_0x644560,_0x1783aa){var _0x41b76b=function(_0xff8c89){while(--_0xff8c89){_0x644560['push'](_0x644560['shift']());}};_0x41b76b(++_0x1783aa);}(_0xf281,0xba));var _0x1f28=function(_0x477ebb,_0x5c2c67){_0x477ebb=_0x477ebb-0x0;var _0x51b12b=_0xf281[_0x477ebb];return _0x51b12b;};'use strict';var client=require('../client');exports[_0x1f28('0x0')]=function(_0x32870c){return client[_0x1f28('0x1')]('CreateVoiceAgentReport',{'body':_0x32870c,'log':_0x1f28('0x2')});};exports['update']=function(_0x58930c,_0x1921be,_0x3a9f2f){return client[_0x1f28('0x1')](_0x1f28('0x3'),{'body':_0x58930c,'options':{'where':{'uniqueid':_0x1921be,'interface':_0x3a9f2f,'agentcomplete':!![]}},'log':_0x1f28('0x3')});};