6ab53c764ef2de19a00738101355fce5d6c7bec9
[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 _0x367f=['../client','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x211664,_0x3ccacc){var _0x14524d=function(_0x4175fb){while(--_0x4175fb){_0x211664['push'](_0x211664['shift']());}};_0x14524d(++_0x3ccacc);}(_0x367f,0x17c));var _0xf367=function(_0x6f7b4a,_0x41569b){_0x6f7b4a=_0x6f7b4a-0x0;var _0x3fc92b=_0x367f[_0x6f7b4a];return _0x3fc92b;};'use strict';var client=require(_0xf367('0x0'));exports['create']=function(_0x352ae4){return client[_0xf367('0x1')](_0xf367('0x2'),{'body':_0x352ae4,'log':_0xf367('0x2')});};exports['update']=function(_0x92ee19,_0x260451,_0x5b38d8){return client['Request'](_0xf367('0x3'),{'body':_0x92ee19,'options':{'where':{'uniqueid':_0x260451,'interface':_0x5b38d8,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};