Built motion from commit e6806ed6.|2.6.0
[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 _0xd74f=['update','UpdateVoiceAgentReport','create','CreateVoiceAgentReport'];(function(_0x3a78a0,_0x44985f){var _0x48e917=function(_0x1e428c){while(--_0x1e428c){_0x3a78a0['push'](_0x3a78a0['shift']());}};_0x48e917(++_0x44985f);}(_0xd74f,0x176));var _0xfd74=function(_0xcdff89,_0x479618){_0xcdff89=_0xcdff89-0x0;var _0x52a904=_0xd74f[_0xcdff89];return _0x52a904;};'use strict';var client=require('../client');exports[_0xfd74('0x0')]=function(_0x15769f){return client['Request']('CreateVoiceAgentReport',{'body':_0x15769f,'log':_0xfd74('0x1')});};exports[_0xfd74('0x2')]=function(_0x39d3a3,_0x524ff9,_0x52ee3e){return client['Request'](_0xfd74('0x3'),{'body':_0x39d3a3,'options':{'where':{'uniqueid':_0x524ff9,'interface':_0x52ee3e,'agentcomplete':!![]}},'log':_0xfd74('0x3')});};