Built motion from commit 0900f080.|2.5.45
[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 _0xac65=['update','Request','UpdateChatQueueReport','../client','create','CreateChatQueueReport'];(function(_0x1137a3,_0x5a1d69){var _0xd18ed1=function(_0x4d42d8){while(--_0x4d42d8){_0x1137a3['push'](_0x1137a3['shift']());}};_0xd18ed1(++_0x5a1d69);}(_0xac65,0x11d));var _0x5ac6=function(_0x2e73e3,_0x209c79){_0x2e73e3=_0x2e73e3-0x0;var _0x35ca15=_0xac65[_0x2e73e3];return _0x35ca15;};'use strict';var client=require(_0x5ac6('0x0'));exports[_0x5ac6('0x1')]=function(_0x11c244){return client['Request'](_0x5ac6('0x2'),{'body':_0x11c244,'log':_0x5ac6('0x2')});};exports[_0x5ac6('0x3')]=function(_0x4a8183,_0x16800d){return client[_0x5ac6('0x4')](_0x5ac6('0x5'),{'body':_0x16800d,'options':{'where':{'uniqueid':_0x4a8183},'order':[['id','DESC']],'limit':0x1},'log':_0x5ac6('0x5')});};