d4d74c0cecdb6ae7fed2ae2f47c9af83fcb264c2
[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 _0xcb39=['../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC'];(function(_0x1b34a2,_0x54fd28){var _0x59120b=function(_0x29723f){while(--_0x29723f){_0x1b34a2['push'](_0x1b34a2['shift']());}};_0x59120b(++_0x54fd28);}(_0xcb39,0xee));var _0x9cb3=function(_0x1b2779,_0x181d22){_0x1b2779=_0x1b2779-0x0;var _0x162929=_0xcb39[_0x1b2779];return _0x162929;};'use strict';var client=require(_0x9cb3('0x0'));exports[_0x9cb3('0x1')]=function(_0x35d46e){return client[_0x9cb3('0x2')](_0x9cb3('0x3'),{'body':_0x35d46e,'log':_0x9cb3('0x3')});};exports[_0x9cb3('0x4')]=function(_0x1068b6,_0x2bcec9){return client[_0x9cb3('0x2')](_0x9cb3('0x5'),{'body':_0x2bcec9,'options':{'where':{'uniqueid':_0x1068b6},'order':[['id',_0x9cb3('0x6')]],'limit':0x1},'log':_0x9cb3('0x5')});};