Built motion from commit f7863d46.|2.5.41
[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 _0xc874=['../client','Request','update','UpdateChatQueueReport','DESC'];(function(_0x166e2c,_0x306c13){var _0xbdd4e8=function(_0x4da502){while(--_0x4da502){_0x166e2c['push'](_0x166e2c['shift']());}};_0xbdd4e8(++_0x306c13);}(_0xc874,0x154));var _0x4c87=function(_0x40bffc,_0x3a45d7){_0x40bffc=_0x40bffc-0x0;var _0x3007e9=_0xc874[_0x40bffc];return _0x3007e9;};'use strict';var client=require(_0x4c87('0x0'));exports['create']=function(_0x24f552){return client[_0x4c87('0x1')]('CreateChatQueueReport',{'body':_0x24f552,'log':'CreateChatQueueReport'});};exports[_0x4c87('0x2')]=function(_0x13c057,_0x1c3dbc){return client['Request'](_0x4c87('0x3'),{'body':_0x1c3dbc,'options':{'where':{'uniqueid':_0x13c057},'order':[['id',_0x4c87('0x4')]],'limit':0x1},'log':'UpdateChatQueueReport'});};