dd751fc8aa93a5e29f14d3566bfe7de9e0be7dab
[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 _0xeef0=['CreateVoiceAgentReport','update','Request','UpdateVoiceAgentReport','create'];(function(_0x1957e0,_0x28cf85){var _0x14a04a=function(_0x45520e){while(--_0x45520e){_0x1957e0['push'](_0x1957e0['shift']());}};_0x14a04a(++_0x28cf85);}(_0xeef0,0x1d5));var _0x0eef=function(_0x1cb18a,_0x33167a){_0x1cb18a=_0x1cb18a-0x0;var _0x22442e=_0xeef0[_0x1cb18a];return _0x22442e;};'use strict';var client=require('../client');exports[_0x0eef('0x0')]=function(_0x58684c){return client['Request'](_0x0eef('0x1'),{'body':_0x58684c,'log':'CreateVoiceAgentReport'});};exports[_0x0eef('0x2')]=function(_0x11cfc8,_0x2f74be,_0x98a092){return client[_0x0eef('0x3')](_0x0eef('0x4'),{'body':_0x11cfc8,'options':{'where':{'uniqueid':_0x2f74be,'interface':_0x98a092,'agentcomplete':!![]}},'log':_0x0eef('0x4')});};