Built motion from commit 10af8726.|2.6.34
[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 _0x06c1=['Request','CreateVoiceAgentReport','UpdateVoiceAgentReport','create'];(function(_0x4fa0ea,_0x2cd534){var _0x51d027=function(_0xe67342){while(--_0xe67342){_0x4fa0ea['push'](_0x4fa0ea['shift']());}};_0x51d027(++_0x2cd534);}(_0x06c1,0x103));var _0x106c=function(_0x1b2257,_0x341eab){_0x1b2257=_0x1b2257-0x0;var _0x35369b=_0x06c1[_0x1b2257];return _0x35369b;};'use strict';var client=require('../client');exports[_0x106c('0x0')]=function(_0x691953){return client[_0x106c('0x1')]('CreateVoiceAgentReport',{'body':_0x691953,'log':_0x106c('0x2')});};exports['update']=function(_0x48f10a,_0x1c50cf,_0x115ab1){return client[_0x106c('0x1')](_0x106c('0x3'),{'body':_0x48f10a,'options':{'where':{'uniqueid':_0x1c50cf,'interface':_0x115ab1,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};