Built motion from commit (unavailable).|2.5.2
[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 _0x04c7=['create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport','../client'];(function(_0x352bfe,_0x3dcc6c){var _0x4c22ec=function(_0xd05ad9){while(--_0xd05ad9){_0x352bfe['push'](_0x352bfe['shift']());}};_0x4c22ec(++_0x3dcc6c);}(_0x04c7,0x8b));var _0x704c=function(_0x13e758,_0x317d23){_0x13e758=_0x13e758-0x0;var _0x5b53c3=_0x04c7[_0x13e758];return _0x5b53c3;};'use strict';var client=require(_0x704c('0x0'));exports[_0x704c('0x1')]=function(_0x79d768){return client[_0x704c('0x2')](_0x704c('0x3'),{'body':_0x79d768,'log':_0x704c('0x3')});};exports['update']=function(_0x59db30,_0x54852e,_0x149819){return client[_0x704c('0x2')](_0x704c('0x4'),{'body':_0x59db30,'options':{'where':{'uniqueid':_0x54852e,'interface':_0x149819,'agentcomplete':!![]}},'log':_0x704c('0x4')});};