eb4e073ae36767e4a8db82eda26e846da67ec9b7
[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 _0x8225=['Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client'];(function(_0x51311b,_0x2660c0){var _0x2a48d4=function(_0x5555c6){while(--_0x5555c6){_0x51311b['push'](_0x51311b['shift']());}};_0x2a48d4(++_0x2660c0);}(_0x8225,0x86));var _0x5822=function(_0x31aa84,_0x3bcc8b){_0x31aa84=_0x31aa84-0x0;var _0x2d9e3e=_0x8225[_0x31aa84];return _0x2d9e3e;};'use strict';var client=require(_0x5822('0x0'));exports['create']=function(_0xf8b5d){return client[_0x5822('0x1')](_0x5822('0x2'),{'body':_0xf8b5d,'log':_0x5822('0x2')});};exports[_0x5822('0x3')]=function(_0x43d051,_0x237a09,_0x2d3791){return client[_0x5822('0x1')](_0x5822('0x4'),{'body':_0x43d051,'options':{'where':{'uniqueid':_0x237a09,'interface':_0x2d3791,'agentcomplete':!![]}},'log':_0x5822('0x4')});};