93e2b32141380b83d5e24420e7db77e9a068f15f
[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 _0xd034=['../client','create','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport'];(function(_0x5ce7d6,_0x6d9f74){var _0x49ee1d=function(_0x33e003){while(--_0x33e003){_0x5ce7d6['push'](_0x5ce7d6['shift']());}};_0x49ee1d(++_0x6d9f74);}(_0xd034,0x9c));var _0x4d03=function(_0x2a8255,_0x2ab6cb){_0x2a8255=_0x2a8255-0x0;var _0x20d7a5=_0xd034[_0x2a8255];return _0x20d7a5;};'use strict';var client=require(_0x4d03('0x0'));exports[_0x4d03('0x1')]=function(_0x3d951a){return client[_0x4d03('0x2')]('CreateVoiceAgentReport',{'body':_0x3d951a,'log':_0x4d03('0x3')});};exports[_0x4d03('0x4')]=function(_0x3534ec,_0x11c04d,_0x2887f5){return client[_0x4d03('0x2')](_0x4d03('0x5'),{'body':_0x3534ec,'options':{'where':{'uniqueid':_0x11c04d,'interface':_0x2887f5,'agentcomplete':!![]}},'log':_0x4d03('0x5')});};