99fc15a45c7888bd8ff8f344f67a6007b74ad2d4
[motion2.git] / server / services / routing / rpc / chatQueueReport.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 _0x53d5=['Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create'];(function(_0x1a81bf,_0x5f3058){var _0x36da14=function(_0xb11fed){while(--_0xb11fed){_0x1a81bf['push'](_0x1a81bf['shift']());}};_0x36da14(++_0x5f3058);}(_0x53d5,0x1cc));var _0x553d=function(_0x4a9a0c,_0x120b8a){_0x4a9a0c=_0x4a9a0c-0x0;var _0x316d25=_0x53d5[_0x4a9a0c];return _0x316d25;};'use strict';var client=require(_0x553d('0x0'));exports[_0x553d('0x1')]=function(_0x217b81){return client[_0x553d('0x2')](_0x553d('0x3'),{'body':_0x217b81,'log':_0x553d('0x3')});};exports[_0x553d('0x4')]=function(_0x55d785,_0xd5d2f7){return client[_0x553d('0x2')](_0x553d('0x5'),{'body':_0xd5d2f7,'options':{'where':{'uniqueid':_0x55d785},'order':[['id',_0x553d('0x6')]],'limit':0x1},'log':_0x553d('0x5')});};