04fe183db4a7018e65361f316ab566845b303cff
[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 _0x4de9=['../client','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport'];(function(_0x157db8,_0x44f84a){var _0x15d5ed=function(_0x562f1f){while(--_0x562f1f){_0x157db8['push'](_0x157db8['shift']());}};_0x15d5ed(++_0x44f84a);}(_0x4de9,0xbe));var _0x94de=function(_0x4b9dc9,_0x14b3a2){_0x4b9dc9=_0x4b9dc9-0x0;var _0x57b302=_0x4de9[_0x4b9dc9];return _0x57b302;};'use strict';var client=require(_0x94de('0x0'));exports['create']=function(_0x458254){return client[_0x94de('0x1')](_0x94de('0x2'),{'body':_0x458254,'log':_0x94de('0x2')});};exports[_0x94de('0x3')]=function(_0x4051cf,_0x66c90e,_0x25f382){return client[_0x94de('0x1')](_0x94de('0x4'),{'body':_0x4051cf,'options':{'where':{'uniqueid':_0x66c90e,'interface':_0x25f382,'agentcomplete':!![]}},'log':_0x94de('0x4')});};