dd510b813c85daff733247dc96a856c6b3180249
[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 _0x26ef=['CreateVoiceAgentReport','update','UpdateVoiceAgentReport','create','Request'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x26ef,0x13e));var _0xf26e=function(_0x7a66bd,_0x9f8942){_0x7a66bd=_0x7a66bd-0x0;var _0x80d31=_0x26ef[_0x7a66bd];return _0x80d31;};'use strict';var client=require('../client');exports[_0xf26e('0x0')]=function(_0x404c4c){return client[_0xf26e('0x1')](_0xf26e('0x2'),{'body':_0x404c4c,'log':'CreateVoiceAgentReport'});};exports[_0xf26e('0x3')]=function(_0x58e163,_0x299137,_0x5a237b){return client['Request'](_0xf26e('0x4'),{'body':_0x58e163,'options':{'where':{'uniqueid':_0x299137,'interface':_0x5a237b,'agentcomplete':!![]}},'log':_0xf26e('0x4')});};