25dd1464984a0ab4d436bf24695e14ab32c20ab0
[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 _0x7689=['Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client','create'];(function(_0x513dc3,_0x1509f9){var _0x26ab32=function(_0x124227){while(--_0x124227){_0x513dc3['push'](_0x513dc3['shift']());}};_0x26ab32(++_0x1509f9);}(_0x7689,0x17e));var _0x9768=function(_0x304d4f,_0x474580){_0x304d4f=_0x304d4f-0x0;var _0x30254b=_0x7689[_0x304d4f];return _0x30254b;};'use strict';var client=require(_0x9768('0x0'));exports[_0x9768('0x1')]=function(_0x4a2748){return client[_0x9768('0x2')](_0x9768('0x3'),{'body':_0x4a2748,'log':_0x9768('0x3')});};exports[_0x9768('0x4')]=function(_0x2578eb,_0x52b96d,_0xab29cd){return client[_0x9768('0x2')]('UpdateVoiceAgentReport',{'body':_0x2578eb,'options':{'where':{'uniqueid':_0x52b96d,'interface':_0xab29cd,'agentcomplete':!![]}},'log':_0x9768('0x5')});};