0d4407361eed101ecfa5753afe601fbac39e676a
[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 _0x4415=['update','UpdateVoiceAgentReport','../client','Request','CreateVoiceAgentReport'];(function(_0xab4bc7,_0x21309d){var _0x437763=function(_0x5cf0e0){while(--_0x5cf0e0){_0xab4bc7['push'](_0xab4bc7['shift']());}};_0x437763(++_0x21309d);}(_0x4415,0x101));var _0x5441=function(_0x2e04ef,_0x31a596){_0x2e04ef=_0x2e04ef-0x0;var _0x5722b0=_0x4415[_0x2e04ef];return _0x5722b0;};'use strict';var client=require(_0x5441('0x0'));exports['create']=function(_0x41b7d2){return client[_0x5441('0x1')](_0x5441('0x2'),{'body':_0x41b7d2,'log':_0x5441('0x2')});};exports[_0x5441('0x3')]=function(_0x266026,_0x543f82,_0x2b5b16){return client[_0x5441('0x1')](_0x5441('0x4'),{'body':_0x266026,'options':{'where':{'uniqueid':_0x543f82,'interface':_0x2b5b16,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};