4ab14192e58a7c8bc403a94cdf321a5f56f85270
[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 _0x9d3d=['update','UpdateVoiceAgentReport','create','Request'];(function(_0x3a5db5,_0x4483a2){var _0x545779=function(_0x3acebd){while(--_0x3acebd){_0x3a5db5['push'](_0x3a5db5['shift']());}};_0x545779(++_0x4483a2);}(_0x9d3d,0x96));var _0xd9d3=function(_0x584ad5,_0x4e23f8){_0x584ad5=_0x584ad5-0x0;var _0x33c6e8=_0x9d3d[_0x584ad5];return _0x33c6e8;};'use strict';var client=require('../client');exports[_0xd9d3('0x0')]=function(_0x14a2f0){return client[_0xd9d3('0x1')]('CreateVoiceAgentReport',{'body':_0x14a2f0,'log':'CreateVoiceAgentReport'});};exports[_0xd9d3('0x2')]=function(_0x123d39,_0x29f44b,_0x889226){return client['Request']('UpdateVoiceAgentReport',{'body':_0x123d39,'options':{'where':{'uniqueid':_0x29f44b,'interface':_0x889226,'agentcomplete':!![]}},'log':_0xd9d3('0x3')});};