4b95a125ead556e1dc31eee9d427512e3febf74b
[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 _0xec37=['../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','DESC'];(function(_0x11016a,_0x160b6a){var _0x3ca33e=function(_0x14fce6){while(--_0x14fce6){_0x11016a['push'](_0x11016a['shift']());}};_0x3ca33e(++_0x160b6a);}(_0xec37,0x1e0));var _0x7ec3=function(_0x33fcbb,_0x291d0f){_0x33fcbb=_0x33fcbb-0x0;var _0x2efe40=_0xec37[_0x33fcbb];return _0x2efe40;};'use strict';var client=require(_0x7ec3('0x0'));exports[_0x7ec3('0x1')]=function(_0x4617cd){return client[_0x7ec3('0x2')](_0x7ec3('0x3'),{'body':_0x4617cd,'log':_0x7ec3('0x3')});};exports['update']=function(_0x40f84e,_0xd2075e){return client['Request'](_0x7ec3('0x4'),{'body':_0xd2075e,'options':{'where':{'uniqueid':_0x40f84e},'order':[['id',_0x7ec3('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};