Built motion from commit 87cd5f02.|2.5.48
[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 _0x0684=['update','UpdateVoiceAgentReport','Request','CreateVoiceAgentReport'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x0684,0x1f2));var _0x4068=function(_0x2a7cbf,_0x65db9d){_0x2a7cbf=_0x2a7cbf-0x0;var _0x225a99=_0x0684[_0x2a7cbf];return _0x225a99;};'use strict';var client=require('../client');exports['create']=function(_0x162149){return client[_0x4068('0x0')](_0x4068('0x1'),{'body':_0x162149,'log':_0x4068('0x1')});};exports[_0x4068('0x2')]=function(_0x2d513a,_0x37b7d4,_0x8e750a){return client[_0x4068('0x0')](_0x4068('0x3'),{'body':_0x2d513a,'options':{'where':{'uniqueid':_0x37b7d4,'interface':_0x8e750a,'agentcomplete':!![]}},'log':_0x4068('0x3')});};