Built motion from commit (unavailable).|2.5.9
[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 _0x18ab=['../client','create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x5a25af,_0x331302){var _0x17b8bd=function(_0x57a7c9){while(--_0x57a7c9){_0x5a25af['push'](_0x5a25af['shift']());}};_0x17b8bd(++_0x331302);}(_0x18ab,0xd2));var _0xb18a=function(_0xfa2a67,_0x41d689){_0xfa2a67=_0xfa2a67-0x0;var _0x5429f2=_0x18ab[_0xfa2a67];return _0x5429f2;};'use strict';var client=require(_0xb18a('0x0'));exports[_0xb18a('0x1')]=function(_0x264eaf){return client[_0xb18a('0x2')](_0xb18a('0x3'),{'body':_0x264eaf,'log':_0xb18a('0x3')});};exports['update']=function(_0x1fe5e5,_0x118d4a,_0x260f23){return client[_0xb18a('0x2')]('UpdateVoiceAgentReport',{'body':_0x1fe5e5,'options':{'where':{'uniqueid':_0x118d4a,'interface':_0x260f23,'agentcomplete':!![]}},'log':_0xb18a('0x4')});};