b61a57aa590e560264b61a473c5058d638568584
[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 _0xaf9c=['../client','create','Request','CreateOpenchannelQueueReport','DESC','UpdateOpenchannelQueueReport'];(function(_0x11c573,_0x9e7c6e){var _0x6b72de=function(_0x2e8a61){while(--_0x2e8a61){_0x11c573['push'](_0x11c573['shift']());}};_0x6b72de(++_0x9e7c6e);}(_0xaf9c,0xe4));var _0xcaf9=function(_0x47a349,_0x4699d9){_0x47a349=_0x47a349-0x0;var _0x18ab75=_0xaf9c[_0x47a349];return _0x18ab75;};'use strict';var client=require(_0xcaf9('0x0'));exports[_0xcaf9('0x1')]=function(_0x411bd6){return client[_0xcaf9('0x2')](_0xcaf9('0x3'),{'body':_0x411bd6,'log':_0xcaf9('0x3')});};exports['update']=function(_0x145f3e,_0x34cc1d){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x34cc1d,'options':{'where':{'uniqueid':_0x145f3e},'order':[['id',_0xcaf9('0x4')]],'limit':0x1},'log':_0xcaf9('0x5')});};