cf474cc39722ea6f753eaf362497209a1cb01b37
[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 _0xdb16=['Request','UpdateOpenchannelQueueReport','DESC','../client','create','CreateOpenchannelQueueReport'];(function(_0xeb5881,_0x468cdf){var _0x4ae9a2=function(_0x5ce733){while(--_0x5ce733){_0xeb5881['push'](_0xeb5881['shift']());}};_0x4ae9a2(++_0x468cdf);}(_0xdb16,0x1b3));var _0x6db1=function(_0x319784,_0x47e6d4){_0x319784=_0x319784-0x0;var _0x1917da=_0xdb16[_0x319784];return _0x1917da;};'use strict';var client=require(_0x6db1('0x0'));exports[_0x6db1('0x1')]=function(_0x50c42b){return client['Request'](_0x6db1('0x2'),{'body':_0x50c42b,'log':_0x6db1('0x2')});};exports['update']=function(_0x4e7449,_0x1bcba2){return client[_0x6db1('0x3')](_0x6db1('0x4'),{'body':_0x1bcba2,'options':{'where':{'uniqueid':_0x4e7449},'order':[['id',_0x6db1('0x5')]],'limit':0x1},'log':_0x6db1('0x4')});};