62b3155497f1e621c7c6581f5abb1f2f22c252bf
[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 _0x4902=['UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport','update'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x4902,0xa9));var _0x2490=function(_0x400a3d,_0x376549){_0x400a3d=_0x400a3d-0x0;var _0x25fb8a=_0x4902[_0x400a3d];return _0x25fb8a;};'use strict';var client=require(_0x2490('0x0'));exports[_0x2490('0x1')]=function(_0x59ebbe){return client[_0x2490('0x2')](_0x2490('0x3'),{'body':_0x59ebbe,'log':'CreateVoiceAgentReport'});};exports[_0x2490('0x4')]=function(_0x2b26ff,_0x468b05,_0x1d9a51){return client[_0x2490('0x2')]('UpdateVoiceAgentReport',{'body':_0x2b26ff,'options':{'where':{'uniqueid':_0x468b05,'interface':_0x1d9a51,'agentcomplete':!![]}},'log':_0x2490('0x5')});};