7a7695eb87da7a7fd2cade9b7b07e9a8fef924f0
[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 _0xe7c5=['CreateVoiceAgentReport','UpdateVoiceAgentReport','create','Request'];(function(_0x47c07d,_0xd9d19c){var _0x2036c3=function(_0x3122ec){while(--_0x3122ec){_0x47c07d['push'](_0x47c07d['shift']());}};_0x2036c3(++_0xd9d19c);}(_0xe7c5,0x18a));var _0x5e7c=function(_0x36fe51,_0x2267b3){_0x36fe51=_0x36fe51-0x0;var _0x30e4b1=_0xe7c5[_0x36fe51];return _0x30e4b1;};'use strict';var client=require('../client');exports[_0x5e7c('0x0')]=function(_0x46b5c8){return client[_0x5e7c('0x1')]('CreateVoiceAgentReport',{'body':_0x46b5c8,'log':_0x5e7c('0x2')});};exports['update']=function(_0x5a1840,_0x476b5e,_0x546dcb){return client[_0x5e7c('0x1')](_0x5e7c('0x3'),{'body':_0x5a1840,'options':{'where':{'uniqueid':_0x476b5e,'interface':_0x546dcb,'agentcomplete':!![]}},'log':_0x5e7c('0x3')});};