8856441f32b4bfa63d43ca57f7304f731470c6e8
[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 _0x5d66=['../client','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport'];(function(_0x48381d,_0x4ee067){var _0x1431d3=function(_0x492d96){while(--_0x492d96){_0x48381d['push'](_0x48381d['shift']());}};_0x1431d3(++_0x4ee067);}(_0x5d66,0x109));var _0x65d6=function(_0x2bdef5,_0x4e51e3){_0x2bdef5=_0x2bdef5-0x0;var _0x4fd352=_0x5d66[_0x2bdef5];return _0x4fd352;};'use strict';var client=require(_0x65d6('0x0'));exports['create']=function(_0x1aeb63){return client[_0x65d6('0x1')](_0x65d6('0x2'),{'body':_0x1aeb63,'log':_0x65d6('0x2')});};exports[_0x65d6('0x3')]=function(_0x4aa8dd,_0x3fe6f4,_0x515c77){return client[_0x65d6('0x1')](_0x65d6('0x4'),{'body':_0x4aa8dd,'options':{'where':{'uniqueid':_0x3fe6f4,'interface':_0x515c77,'agentcomplete':!![]}},'log':_0x65d6('0x4')});};