066247f17c1ab7af9ed2de07a29d91af815923c4
[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 _0x544d=['UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport','update'];(function(_0x45f835,_0x548fa7){var _0x21d213=function(_0x56d780){while(--_0x56d780){_0x45f835['push'](_0x45f835['shift']());}};_0x21d213(++_0x548fa7);}(_0x544d,0xb5));var _0xd544=function(_0x4f3070,_0xa0e620){_0x4f3070=_0x4f3070-0x0;var _0x4c4675=_0x544d[_0x4f3070];return _0x4c4675;};'use strict';var client=require(_0xd544('0x0'));exports['create']=function(_0x37e12d){return client[_0xd544('0x1')](_0xd544('0x2'),{'body':_0x37e12d,'log':_0xd544('0x2')});};exports[_0xd544('0x3')]=function(_0x1b93e8,_0x240b1e,_0x20a47c){return client[_0xd544('0x1')]('UpdateVoiceAgentReport',{'body':_0x1b93e8,'options':{'where':{'uniqueid':_0x240b1e,'interface':_0x20a47c,'agentcomplete':!![]}},'log':_0xd544('0x4')});};