0546101dc4789edcf6a2af8daedc58802b1c04a1
[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 _0x03e5=['UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0xf35bc1,_0x510803){var _0xa6b162=function(_0x1e5cc8){while(--_0x1e5cc8){_0xf35bc1['push'](_0xf35bc1['shift']());}};_0xa6b162(++_0x510803);}(_0x03e5,0x128));var _0x503e=function(_0x1e68f1,_0x3fb68a){_0x1e68f1=_0x1e68f1-0x0;var _0x2c3d4d=_0x03e5[_0x1e68f1];return _0x2c3d4d;};'use strict';var client=require(_0x503e('0x0'));exports[_0x503e('0x1')]=function(_0x4942){return client[_0x503e('0x2')](_0x503e('0x3'),{'body':_0x4942,'log':_0x503e('0x3')});};exports['update']=function(_0x3d8047,_0x2d1cd7,_0x5ae07a){return client[_0x503e('0x2')](_0x503e('0x4'),{'body':_0x3d8047,'options':{'where':{'uniqueid':_0x2d1cd7,'interface':_0x5ae07a,'agentcomplete':!![]}},'log':_0x503e('0x4')});};