Built motion from commit 19a84241.|2.5.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 _0x911b=['CreateVoiceAgentReport','UpdateVoiceAgentReport','create','Request'];(function(_0x404192,_0x5e084e){var _0x38f955=function(_0x12efdb){while(--_0x12efdb){_0x404192['push'](_0x404192['shift']());}};_0x38f955(++_0x5e084e);}(_0x911b,0x1ca));var _0xb911=function(_0x538dba,_0x5a72f6){_0x538dba=_0x538dba-0x0;var _0x1368ef=_0x911b[_0x538dba];return _0x1368ef;};'use strict';var client=require('../client');exports[_0xb911('0x0')]=function(_0x5c42f7){return client[_0xb911('0x1')](_0xb911('0x2'),{'body':_0x5c42f7,'log':_0xb911('0x2')});};exports['update']=function(_0x54ff44,_0x35ff80,_0x14980f){return client[_0xb911('0x1')](_0xb911('0x3'),{'body':_0x54ff44,'options':{'where':{'uniqueid':_0x35ff80,'interface':_0x14980f,'agentcomplete':!![]}},'log':_0xb911('0x3')});};