Built motion from commit da24aabd.|2.6.20
[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 _0x9f3e=['UpdateChatQueueReport','DESC','../client','create','Request','CreateChatQueueReport'];(function(_0x1bd7c6,_0x2e6ad6){var _0x1acd29=function(_0x23b5ed){while(--_0x23b5ed){_0x1bd7c6['push'](_0x1bd7c6['shift']());}};_0x1acd29(++_0x2e6ad6);}(_0x9f3e,0x1c4));var _0xe9f3=function(_0x3d35ea,_0x9aa22a){_0x3d35ea=_0x3d35ea-0x0;var _0x4cdd47=_0x9f3e[_0x3d35ea];return _0x4cdd47;};'use strict';var client=require(_0xe9f3('0x0'));exports[_0xe9f3('0x1')]=function(_0x28c509){return client[_0xe9f3('0x2')](_0xe9f3('0x3'),{'body':_0x28c509,'log':'CreateChatQueueReport'});};exports['update']=function(_0x4c3a39,_0x1ea33c){return client['Request'](_0xe9f3('0x4'),{'body':_0x1ea33c,'options':{'where':{'uniqueid':_0x4c3a39},'order':[['id',_0xe9f3('0x5')]],'limit':0x1},'log':_0xe9f3('0x4')});};