Built motion from commit (unavailable).|2.5.19
[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 _0x904a=['UpdateVoiceAgentReport','Request','CreateVoiceAgentReport','update'];(function(_0x24681b,_0x31424e){var _0x10d992=function(_0x1c04bc){while(--_0x1c04bc){_0x24681b['push'](_0x24681b['shift']());}};_0x10d992(++_0x31424e);}(_0x904a,0xc5));var _0xa904=function(_0x27a3ca,_0x19fad1){_0x27a3ca=_0x27a3ca-0x0;var _0xa88821=_0x904a[_0x27a3ca];return _0xa88821;};'use strict';var client=require('../client');exports['create']=function(_0x4f66a2){return client[_0xa904('0x0')](_0xa904('0x1'),{'body':_0x4f66a2,'log':_0xa904('0x1')});};exports[_0xa904('0x2')]=function(_0x15e504,_0x11fd29,_0xc8bdb3){return client['Request']('UpdateVoiceAgentReport',{'body':_0x15e504,'options':{'where':{'uniqueid':_0x11fd29,'interface':_0xc8bdb3,'agentcomplete':!![]}},'log':_0xa904('0x3')});};