9cbc420e5ff0a01b5a4d33b79a9dadf0d88f2585
[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 _0xb6ff=['update','UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport'];(function(_0x9d4ce4,_0x510f23){var _0x555e00=function(_0x2572f9){while(--_0x2572f9){_0x9d4ce4['push'](_0x9d4ce4['shift']());}};_0x555e00(++_0x510f23);}(_0xb6ff,0x179));var _0xfb6f=function(_0x550d12,_0x5384bd){_0x550d12=_0x550d12-0x0;var _0x12103d=_0xb6ff[_0x550d12];return _0x12103d;};'use strict';var client=require(_0xfb6f('0x0'));exports['create']=function(_0x2403ce){return client[_0xfb6f('0x1')](_0xfb6f('0x2'),{'body':_0x2403ce,'log':_0xfb6f('0x2')});};exports[_0xfb6f('0x3')]=function(_0x3e0f14,_0x2c8dd6,_0x59e4af){return client[_0xfb6f('0x1')](_0xfb6f('0x4'),{'body':_0x3e0f14,'options':{'where':{'uniqueid':_0x2c8dd6,'interface':_0x59e4af,'agentcomplete':!![]}},'log':_0xfb6f('0x4')});};