9ef5052eb1a94c6e68f207592580ca0d20ef851d
[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 _0x7b2e=['Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x1fb5c2,_0x386a80){var _0x931579=function(_0x2dffb4){while(--_0x2dffb4){_0x1fb5c2['push'](_0x1fb5c2['shift']());}};_0x931579(++_0x386a80);}(_0x7b2e,0xc9));var _0xe7b2=function(_0x1688f6,_0x9ab079){_0x1688f6=_0x1688f6-0x0;var _0x144c86=_0x7b2e[_0x1688f6];return _0x144c86;};'use strict';var client=require('../client');exports['create']=function(_0x501c04){return client[_0xe7b2('0x0')](_0xe7b2('0x1'),{'body':_0x501c04,'log':_0xe7b2('0x1')});};exports['update']=function(_0x3d977c,_0x170068,_0x1afb3a){return client[_0xe7b2('0x0')]('UpdateVoiceAgentReport',{'body':_0x3d977c,'options':{'where':{'uniqueid':_0x170068,'interface':_0x1afb3a,'agentcomplete':!![]}},'log':_0xe7b2('0x2')});};