a898f5c7fe54ecab94d932791dea611bd7a5d473
[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 _0x48a2=['../client','create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x4aa02d,_0x3a1bec){var _0xaf9d0c=function(_0x27c9b9){while(--_0x27c9b9){_0x4aa02d['push'](_0x4aa02d['shift']());}};_0xaf9d0c(++_0x3a1bec);}(_0x48a2,0x109));var _0x248a=function(_0x8a912d,_0x53c52b){_0x8a912d=_0x8a912d-0x0;var _0x4fb44b=_0x48a2[_0x8a912d];return _0x4fb44b;};'use strict';var client=require(_0x248a('0x0'));exports[_0x248a('0x1')]=function(_0x31adcc){return client[_0x248a('0x2')](_0x248a('0x3'),{'body':_0x31adcc,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x3c9038,_0x1480da,_0x3a7256){return client['Request'](_0x248a('0x4'),{'body':_0x3c9038,'options':{'where':{'uniqueid':_0x1480da,'interface':_0x3a7256,'agentcomplete':!![]}},'log':_0x248a('0x4')});};