Built motion from commit d5e4af8c.|2.6.23
[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 _0x81d5=['../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC'];(function(_0xd63e3a,_0x1bd6eb){var _0x19c178=function(_0x56be0d){while(--_0x56be0d){_0xd63e3a['push'](_0xd63e3a['shift']());}};_0x19c178(++_0x1bd6eb);}(_0x81d5,0x1ab));var _0x581d=function(_0x2aca1e,_0x32799c){_0x2aca1e=_0x2aca1e-0x0;var _0x6c6c79=_0x81d5[_0x2aca1e];return _0x6c6c79;};'use strict';var client=require(_0x581d('0x0'));exports[_0x581d('0x1')]=function(_0x55fd33){return client[_0x581d('0x2')](_0x581d('0x3'),{'body':_0x55fd33,'log':_0x581d('0x3')});};exports[_0x581d('0x4')]=function(_0x477e28,_0x553617){return client['Request'](_0x581d('0x5'),{'body':_0x553617,'options':{'where':{'uniqueid':_0x477e28},'order':[['id',_0x581d('0x6')]],'limit':0x1},'log':_0x581d('0x5')});};