3728c8691a1dc0f76ee50d0371b6790bbd6ad324
[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 _0x3ac4=['create','CreateVoiceAgentReport','update','Request','UpdateVoiceAgentReport','../client'];(function(_0x4672d3,_0x241d5b){var _0x263b93=function(_0x33b92f){while(--_0x33b92f){_0x4672d3['push'](_0x4672d3['shift']());}};_0x263b93(++_0x241d5b);}(_0x3ac4,0x125));var _0x43ac=function(_0x5326ea,_0xf4ebfb){_0x5326ea=_0x5326ea-0x0;var _0x4fbcde=_0x3ac4[_0x5326ea];return _0x4fbcde;};'use strict';var client=require(_0x43ac('0x0'));exports[_0x43ac('0x1')]=function(_0x57b171){return client['Request'](_0x43ac('0x2'),{'body':_0x57b171,'log':_0x43ac('0x2')});};exports[_0x43ac('0x3')]=function(_0x2524e6,_0x12481a,_0x315895){return client[_0x43ac('0x4')](_0x43ac('0x5'),{'body':_0x2524e6,'options':{'where':{'uniqueid':_0x12481a,'interface':_0x315895,'agentcomplete':!![]}},'log':_0x43ac('0x5')});};