c7cd980590a1598033a1c5dbce32e49fc7484fc8
[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 _0x1b73=['Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','create'];(function(_0x45b7a0,_0x3f2eb8){var _0x19f679=function(_0x13305d){while(--_0x13305d){_0x45b7a0['push'](_0x45b7a0['shift']());}};_0x19f679(++_0x3f2eb8);}(_0x1b73,0x1d5));var _0x31b7=function(_0x499b3c,_0x277688){_0x499b3c=_0x499b3c-0x0;var _0x3f00c4=_0x1b73[_0x499b3c];return _0x3f00c4;};'use strict';var client=require('../client');exports[_0x31b7('0x0')]=function(_0x25ee36){return client[_0x31b7('0x1')](_0x31b7('0x2'),{'body':_0x25ee36,'log':'CreateVoiceAgentReport'});};exports[_0x31b7('0x3')]=function(_0x59e606,_0x40fef2,_0x3682cc){return client['Request'](_0x31b7('0x4'),{'body':_0x59e606,'options':{'where':{'uniqueid':_0x40fef2,'interface':_0x3682cc,'agentcomplete':!![]}},'log':_0x31b7('0x4')});};