62309c71ec99f9736a0591fadd30cb133de0ec53
[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 _0xd239=['update','UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0x2c32fd,_0x93cdd0){var _0x3867e9=function(_0x757efa){while(--_0x757efa){_0x2c32fd['push'](_0x2c32fd['shift']());}};_0x3867e9(++_0x93cdd0);}(_0xd239,0x92));var _0x9d23=function(_0x55c253,_0x59f0d8){_0x55c253=_0x55c253-0x0;var _0x3123f1=_0xd239[_0x55c253];return _0x3123f1;};'use strict';var client=require(_0x9d23('0x0'));exports[_0x9d23('0x1')]=function(_0x22a6cb){return client[_0x9d23('0x2')](_0x9d23('0x3'),{'body':_0x22a6cb,'log':_0x9d23('0x3')});};exports[_0x9d23('0x4')]=function(_0x21f76b,_0x244586,_0x2fe856){return client[_0x9d23('0x2')](_0x9d23('0x5'),{'body':_0x21f76b,'options':{'where':{'uniqueid':_0x244586,'interface':_0x2fe856,'agentcomplete':!![]}},'log':_0x9d23('0x5')});};