Built motion from commit e6806ed6.|2.6.0
[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 _0x0523=['create','CreateOpenchannelQueueReport','update','Request','DESC','UpdateOpenchannelQueueReport','../client'];(function(_0x5a3406,_0x505c53){var _0x13787d=function(_0xdf8b54){while(--_0xdf8b54){_0x5a3406['push'](_0x5a3406['shift']());}};_0x13787d(++_0x505c53);}(_0x0523,0xfb));var _0x3052=function(_0xbf4c39,_0xc7a1a8){_0xbf4c39=_0xbf4c39-0x0;var _0x358db5=_0x0523[_0xbf4c39];return _0x358db5;};'use strict';var client=require(_0x3052('0x0'));exports[_0x3052('0x1')]=function(_0xda33e0){return client['Request'](_0x3052('0x2'),{'body':_0xda33e0,'log':'CreateOpenchannelQueueReport'});};exports[_0x3052('0x3')]=function(_0x436591,_0x3d1452){return client[_0x3052('0x4')]('UpdateOpenchannelQueueReport',{'body':_0x3d1452,'options':{'where':{'uniqueid':_0x436591},'order':[['id',_0x3052('0x5')]],'limit':0x1},'log':_0x3052('0x6')});};