1e857ad2b187c5b28ff593eaaba507a169b98b9c
[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 _0xd22b=['Request','update'];(function(_0x6eb833,_0x2bb5e5){var _0xdfc38c=function(_0x13c4a4){while(--_0x13c4a4){_0x6eb833['push'](_0x6eb833['shift']());}};_0xdfc38c(++_0x2bb5e5);}(_0xd22b,0x1c8));var _0xbd22=function(_0x277421,_0x356987){_0x277421=_0x277421-0x0;var _0x534fc3=_0xd22b[_0x277421];return _0x534fc3;};'use strict';var client=require('../client');exports['create']=function(_0x49c3d2){return client[_0xbd22('0x0')]('CreateVoiceAgentReport',{'body':_0x49c3d2,'log':'CreateVoiceAgentReport'});};exports[_0xbd22('0x1')]=function(_0x341a9d,_0xefd3b9,_0x164389){return client[_0xbd22('0x0')]('UpdateVoiceAgentReport',{'body':_0x341a9d,'options':{'where':{'uniqueid':_0xefd3b9,'interface':_0x164389,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};