Built motion from commit 85328c08.|2.5.50
[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 _0x5a1a=['Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport'];(function(_0x282f9a,_0x63dff){var _0x52528c=function(_0xcf1c4c){while(--_0xcf1c4c){_0x282f9a['push'](_0x282f9a['shift']());}};_0x52528c(++_0x63dff);}(_0x5a1a,0xfc));var _0xa5a1=function(_0x1c4409,_0x3b2e8f){_0x1c4409=_0x1c4409-0x0;var _0x356d8f=_0x5a1a[_0x1c4409];return _0x356d8f;};'use strict';var client=require('../client');exports['create']=function(_0x1165a5){return client[_0xa5a1('0x0')]('CreateVoiceAgentReport',{'body':_0x1165a5,'log':_0xa5a1('0x1')});};exports[_0xa5a1('0x2')]=function(_0x4aaf04,_0x96f1b2,_0x4f0336){return client['Request']('UpdateVoiceAgentReport',{'body':_0x4aaf04,'options':{'where':{'uniqueid':_0x96f1b2,'interface':_0x4f0336,'agentcomplete':!![]}},'log':_0xa5a1('0x3')});};