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 _0xf22e=['Request','CreateVoiceAgentReport','UpdateVoiceAgentReport','../client'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xf22e,0xc3));var _0xef22=function(_0x44ee7c,_0x178e28){_0x44ee7c=_0x44ee7c-0x0;var _0x3abd77=_0xf22e[_0x44ee7c];return _0x3abd77;};'use strict';var client=require(_0xef22('0x0'));exports['create']=function(_0x34a178){return client[_0xef22('0x1')](_0xef22('0x2'),{'body':_0x34a178,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x1255bb,_0x6133e,_0x470d9e){return client[_0xef22('0x1')](_0xef22('0x3'),{'body':_0x1255bb,'options':{'where':{'uniqueid':_0x6133e,'interface':_0x470d9e,'agentcomplete':!![]}},'log':_0xef22('0x3')});};