Built motion from commit 9d1906d1.|2.5.40
[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 _0xc384=['update','UpdateVoiceAgentReport','../client','create','Request','CreateVoiceAgentReport'];(function(_0x583259,_0x83a562){var _0x596d81=function(_0x3e60f4){while(--_0x3e60f4){_0x583259['push'](_0x583259['shift']());}};_0x596d81(++_0x83a562);}(_0xc384,0x182));var _0x4c38=function(_0x2b7049,_0xbb7c2b){_0x2b7049=_0x2b7049-0x0;var _0x5399ca=_0xc384[_0x2b7049];return _0x5399ca;};'use strict';var client=require(_0x4c38('0x0'));exports[_0x4c38('0x1')]=function(_0x3d2c18){return client[_0x4c38('0x2')](_0x4c38('0x3'),{'body':_0x3d2c18,'log':_0x4c38('0x3')});};exports[_0x4c38('0x4')]=function(_0x123f73,_0x44c719,_0x39eb14){return client[_0x4c38('0x2')]('UpdateVoiceAgentReport',{'body':_0x123f73,'options':{'where':{'uniqueid':_0x44c719,'interface':_0x39eb14,'agentcomplete':!![]}},'log':_0x4c38('0x5')});};