Built motion from commit (unavailable).|2.5.5
[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 _0x2392=['Request','CreateVoiceAgentReport','UpdateVoiceAgentReport','../client','create'];(function(_0x20d43d,_0xf4ed28){var _0x3e526a=function(_0x325736){while(--_0x325736){_0x20d43d['push'](_0x20d43d['shift']());}};_0x3e526a(++_0xf4ed28);}(_0x2392,0xd0));var _0x2239=function(_0x4f8e89,_0x1cafd2){_0x4f8e89=_0x4f8e89-0x0;var _0x49d2a0=_0x2392[_0x4f8e89];return _0x49d2a0;};'use strict';var client=require(_0x2239('0x0'));exports[_0x2239('0x1')]=function(_0x4bfc60){return client[_0x2239('0x2')](_0x2239('0x3'),{'body':_0x4bfc60,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x277193,_0x420e52,_0x3f3b7c){return client[_0x2239('0x2')](_0x2239('0x4'),{'body':_0x277193,'options':{'where':{'uniqueid':_0x420e52,'interface':_0x3f3b7c,'agentcomplete':!![]}},'log':_0x2239('0x4')});};