Built motion from commit (unavailable).|2.5.18
[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 _0xf6a6=['CreateVoiceAgentReport','update','UpdateVoiceAgentReport','Request'];(function(_0x2c3988,_0x302e54){var _0x2994c1=function(_0x167be6){while(--_0x167be6){_0x2c3988['push'](_0x2c3988['shift']());}};_0x2994c1(++_0x302e54);}(_0xf6a6,0x147));var _0x6f6a=function(_0x426c15,_0x49aba7){_0x426c15=_0x426c15-0x0;var _0x2e7a50=_0xf6a6[_0x426c15];return _0x2e7a50;};'use strict';var client=require('../client');exports['create']=function(_0x50c757){return client[_0x6f6a('0x0')](_0x6f6a('0x1'),{'body':_0x50c757,'log':_0x6f6a('0x1')});};exports[_0x6f6a('0x2')]=function(_0x35efb7,_0x3a519e,_0x311d5c){return client['Request']('UpdateVoiceAgentReport',{'body':_0x35efb7,'options':{'where':{'uniqueid':_0x3a519e,'interface':_0x311d5c,'agentcomplete':!![]}},'log':_0x6f6a('0x3')});};