Built motion from commit (unavailable).|2.5.4
[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 _0x2141=['CreateVoiceAgentReport','UpdateVoiceAgentReport','../client','create','Request'];(function(_0x3cedc7,_0x4b681a){var _0x53ef2a=function(_0x99006e){while(--_0x99006e){_0x3cedc7['push'](_0x3cedc7['shift']());}};_0x53ef2a(++_0x4b681a);}(_0x2141,0x1ba));var _0x1214=function(_0x49acd6,_0x3403db){_0x49acd6=_0x49acd6-0x0;var _0x404db1=_0x2141[_0x49acd6];return _0x404db1;};'use strict';var client=require(_0x1214('0x0'));exports[_0x1214('0x1')]=function(_0x236d35){return client[_0x1214('0x2')](_0x1214('0x3'),{'body':_0x236d35,'log':_0x1214('0x3')});};exports['update']=function(_0x535db1,_0x1f8170,_0x2ffb3b){return client[_0x1214('0x2')](_0x1214('0x4'),{'body':_0x535db1,'options':{'where':{'uniqueid':_0x1f8170,'interface':_0x2ffb3b,'agentcomplete':!![]}},'log':_0x1214('0x4')});};