e8fc66bff37a252a485b223236223cc39c887ac1
[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 _0x6652=['CreateVoiceAgentReport','update','UpdateVoiceAgentReport','../client','create','Request'];(function(_0x5f1d97,_0x41d751){var _0x18c94d=function(_0x1ded8f){while(--_0x1ded8f){_0x5f1d97['push'](_0x5f1d97['shift']());}};_0x18c94d(++_0x41d751);}(_0x6652,0xf3));var _0x2665=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x6652[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x2665('0x0'));exports[_0x2665('0x1')]=function(_0x214bfc){return client[_0x2665('0x2')](_0x2665('0x3'),{'body':_0x214bfc,'log':_0x2665('0x3')});};exports[_0x2665('0x4')]=function(_0x1888ca,_0xe0ebb5,_0x543eff){return client[_0x2665('0x2')]('UpdateVoiceAgentReport',{'body':_0x1888ca,'options':{'where':{'uniqueid':_0xe0ebb5,'interface':_0x543eff,'agentcomplete':!![]}},'log':_0x2665('0x5')});};