2b5c9cb9bddc75e6a15016e0e7ea1fce071eb5ae
[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 _0x7f06=['update','UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport'];(function(_0x1347f8,_0x233feb){var _0x218368=function(_0x3f4ca3){while(--_0x3f4ca3){_0x1347f8['push'](_0x1347f8['shift']());}};_0x218368(++_0x233feb);}(_0x7f06,0x1dd));var _0x67f0=function(_0x46f2a5,_0x598e7f){_0x46f2a5=_0x46f2a5-0x0;var _0x42af39=_0x7f06[_0x46f2a5];return _0x42af39;};'use strict';var client=require(_0x67f0('0x0'));exports['create']=function(_0x6aa451){return client[_0x67f0('0x1')](_0x67f0('0x2'),{'body':_0x6aa451,'log':'CreateVoiceAgentReport'});};exports[_0x67f0('0x3')]=function(_0x39997f,_0x35a301,_0x537613){return client[_0x67f0('0x1')](_0x67f0('0x4'),{'body':_0x39997f,'options':{'where':{'uniqueid':_0x35a301,'interface':_0x537613,'agentcomplete':!![]}},'log':_0x67f0('0x4')});};