Built motion from commit 936e8062.|2.5.33
[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 _0x894f=['update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x12ed67,_0x1a5083){var _0x197263=function(_0x2cf3d5){while(--_0x2cf3d5){_0x12ed67['push'](_0x12ed67['shift']());}};_0x197263(++_0x1a5083);}(_0x894f,0x14d));var _0xf894=function(_0xfe0b1a,_0x492729){_0xfe0b1a=_0xfe0b1a-0x0;var _0x1356f5=_0x894f[_0xfe0b1a];return _0x1356f5;};'use strict';var client=require(_0xf894('0x0'));exports[_0xf894('0x1')]=function(_0x388275){return client[_0xf894('0x2')]('CreateChatQueueReport',{'body':_0x388275,'log':'CreateChatQueueReport'});};exports[_0xf894('0x3')]=function(_0x774fe2,_0x4b6a61){return client['Request'](_0xf894('0x4'),{'body':_0x4b6a61,'options':{'where':{'uniqueid':_0x774fe2},'order':[['id',_0xf894('0x5')]],'limit':0x1},'log':'UpdateChatQueueReport'});};