Built motion from commit 4c281f94.|2.6.31
[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 _0xd51f=['../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x1934d1,_0x288700){var _0x28372b=function(_0x43615c){while(--_0x43615c){_0x1934d1['push'](_0x1934d1['shift']());}};_0x28372b(++_0x288700);}(_0xd51f,0xf0));var _0xfd51=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0xd51f[_0x27af45];return _0x18df21;};'use strict';var client=require(_0xfd51('0x0'));exports[_0xfd51('0x1')]=function(_0x487db5){return client[_0xfd51('0x2')](_0xfd51('0x3'),{'body':_0x487db5,'log':'CreateChatQueueReport'});};exports[_0xfd51('0x4')]=function(_0x1d01a0,_0x49bb3e){return client[_0xfd51('0x2')](_0xfd51('0x5'),{'body':_0x49bb3e,'options':{'where':{'uniqueid':_0x1d01a0},'order':[['id','DESC']],'limit':0x1},'log':_0xfd51('0x5')});};