Built motion from commit 1fa89557.|2.6.10
[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 _0x2f87=['create','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0x2f87,0x1a9));var _0x72f8=function(_0x11b17d,_0x1704a7){_0x11b17d=_0x11b17d-0x0;var _0x1b53dc=_0x2f87[_0x11b17d];return _0x1b53dc;};'use strict';var client=require(_0x72f8('0x0'));exports[_0x72f8('0x1')]=function(_0x225f80){return client[_0x72f8('0x2')](_0x72f8('0x3'),{'body':_0x225f80,'log':_0x72f8('0x3')});};exports[_0x72f8('0x4')]=function(_0x1b2708,_0x270572,_0x230719){return client['Request'](_0x72f8('0x5'),{'body':_0x1b2708,'options':{'where':{'uniqueid':_0x270572,'interface':_0x230719,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};