b91b959635db6d3d103bca82720381e299f9d6b6
[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 _0x3a08=['../client','create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x33fcbb,_0x291d0f){var _0x2efe40=function(_0x2e9442){while(--_0x2e9442){_0x33fcbb['push'](_0x33fcbb['shift']());}};_0x2efe40(++_0x291d0f);}(_0x3a08,0x172));var _0x83a0=function(_0x4c8a11,_0x193f3e){_0x4c8a11=_0x4c8a11-0x0;var _0x45c948=_0x3a08[_0x4c8a11];return _0x45c948;};'use strict';var client=require(_0x83a0('0x0'));exports[_0x83a0('0x1')]=function(_0xed1a3a){return client[_0x83a0('0x2')]('CreateVoiceAgentReport',{'body':_0xed1a3a,'log':_0x83a0('0x3')});};exports['update']=function(_0x4bf04b,_0x1b9b43,_0x141c15){return client[_0x83a0('0x2')](_0x83a0('0x4'),{'body':_0x4bf04b,'options':{'where':{'uniqueid':_0x1b9b43,'interface':_0x141c15,'agentcomplete':!![]}},'log':_0x83a0('0x4')});};