Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0x8305=['update','UpdateOpenchannelQueueReport','../client','Request','CreateOpenchannelQueueReport'];(function(_0xf4226,_0x4a7294){var _0x3d61ad=function(_0x83e3ff){while(--_0x83e3ff){_0xf4226['push'](_0xf4226['shift']());}};_0x3d61ad(++_0x4a7294);}(_0x8305,0x1d3));var _0x5830=function(_0x19fbe5,_0xb8c460){_0x19fbe5=_0x19fbe5-0x0;var _0x4c2ec7=_0x8305[_0x19fbe5];return _0x4c2ec7;};'use strict';var client=require(_0x5830('0x0'));exports['create']=function(_0x4e0258){return client[_0x5830('0x1')]('CreateOpenchannelQueueReport',{'body':_0x4e0258,'log':_0x5830('0x2')});};exports[_0x5830('0x3')]=function(_0x609bce,_0xe9626e){return client[_0x5830('0x1')](_0x5830('0x4'),{'body':_0xe9626e,'options':{'where':{'uniqueid':_0x609bce},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};