Built motion from commit 4a17b4ed.|2.6.17
[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 _0x6bcd=['Request','UpdateVoiceAgentReport','../client','create'];(function(_0x4ce2e2,_0x3863ab){var _0x3ea6ec=function(_0x282060){while(--_0x282060){_0x4ce2e2['push'](_0x4ce2e2['shift']());}};_0x3ea6ec(++_0x3863ab);}(_0x6bcd,0x1c6));var _0xd6bc=function(_0x84000a,_0xb8fdab){_0x84000a=_0x84000a-0x0;var _0x564ff8=_0x6bcd[_0x84000a];return _0x564ff8;};'use strict';var client=require(_0xd6bc('0x0'));exports[_0xd6bc('0x1')]=function(_0x2cf9fd){return client[_0xd6bc('0x2')]('CreateVoiceAgentReport',{'body':_0x2cf9fd,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x11c2f0,_0x270091,_0xa1b3c5){return client[_0xd6bc('0x2')](_0xd6bc('0x3'),{'body':_0x11c2f0,'options':{'where':{'uniqueid':_0x270091,'interface':_0xa1b3c5,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};