3714683f0b41bd9e07a37d3b1102867fe16a1b40
[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 _0x1027=['UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x1027,0x65));var _0x7102=function(_0x3564d6,_0x37d1cb){_0x3564d6=_0x3564d6-0x0;var _0x1f2267=_0x1027[_0x3564d6];return _0x1f2267;};'use strict';var client=require(_0x7102('0x0'));exports[_0x7102('0x1')]=function(_0x55c798){return client[_0x7102('0x2')](_0x7102('0x3'),{'body':_0x55c798,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x44fd3d,_0x215736,_0x1f505a){return client[_0x7102('0x2')](_0x7102('0x4'),{'body':_0x44fd3d,'options':{'where':{'uniqueid':_0x215736,'interface':_0x1f505a,'agentcomplete':!![]}},'log':_0x7102('0x4')});};