Built motion from commit 3770a7bd.|2.6.29
[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 _0x3a25=['create','Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x3a25,0x15d));var _0x53a2=function(_0x41ac9e,_0x168e0d){_0x41ac9e=_0x41ac9e-0x0;var _0x2773c1=_0x3a25[_0x41ac9e];return _0x2773c1;};'use strict';var client=require(_0x53a2('0x0'));exports[_0x53a2('0x1')]=function(_0x200e41){return client[_0x53a2('0x2')](_0x53a2('0x3'),{'body':_0x200e41,'log':_0x53a2('0x3')});};exports[_0x53a2('0x4')]=function(_0x1f138b,_0x3f9730){return client[_0x53a2('0x2')](_0x53a2('0x5'),{'body':_0x3f9730,'options':{'where':{'uniqueid':_0x1f138b},'order':[['id',_0x53a2('0x6')]],'limit':0x1},'log':_0x53a2('0x5')});};