92b08bfa8a7558fa656ec8f2552a067d9cca4731
[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 _0xdace=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x37a0ab,_0x34b900){var _0x13ca1d=function(_0x3c6a41){while(--_0x3c6a41){_0x37a0ab['push'](_0x37a0ab['shift']());}};_0x13ca1d(++_0x34b900);}(_0xdace,0xad));var _0xedac=function(_0x3afe18,_0x26922c){_0x3afe18=_0x3afe18-0x0;var _0x19ed1f=_0xdace[_0x3afe18];return _0x19ed1f;};'use strict';var client=require(_0xedac('0x0'));exports[_0xedac('0x1')]=function(_0x422a31){return client[_0xedac('0x2')](_0xedac('0x3'),{'body':_0x422a31,'log':_0xedac('0x3')});};exports[_0xedac('0x4')]=function(_0x1bc6dd,_0x2bcfa3){return client[_0xedac('0x2')](_0xedac('0x5'),{'body':_0x2bcfa3,'options':{'where':{'uniqueid':_0x1bc6dd},'order':[['id',_0xedac('0x6')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};