afc1d671e32f86de9f3fed3a3fe66f52d938f133
[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 _0xa8b6=['CreateVoiceAgentReport','UpdateVoiceAgentReport','../client','create','Request'];(function(_0x4a1e77,_0x67f54c){var _0x154b3a=function(_0x299114){while(--_0x299114){_0x4a1e77['push'](_0x4a1e77['shift']());}};_0x154b3a(++_0x67f54c);}(_0xa8b6,0x1ec));var _0x6a8b=function(_0x39ac67,_0x50a474){_0x39ac67=_0x39ac67-0x0;var _0x4e3649=_0xa8b6[_0x39ac67];return _0x4e3649;};'use strict';var client=require(_0x6a8b('0x0'));exports[_0x6a8b('0x1')]=function(_0x3bd631){return client[_0x6a8b('0x2')](_0x6a8b('0x3'),{'body':_0x3bd631,'log':_0x6a8b('0x3')});};exports['update']=function(_0x20308f,_0x338174,_0x20cc71){return client[_0x6a8b('0x2')](_0x6a8b('0x4'),{'body':_0x20308f,'options':{'where':{'uniqueid':_0x338174,'interface':_0x20cc71,'agentcomplete':!![]}},'log':_0x6a8b('0x4')});};