Built motion from commit (unavailable).|2.5.4
[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 _0x9589=['create','Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client'];(function(_0x1ca750,_0x3e812e){var _0x30a6fa=function(_0x4e3ebd){while(--_0x4e3ebd){_0x1ca750['push'](_0x1ca750['shift']());}};_0x30a6fa(++_0x3e812e);}(_0x9589,0xbc));var _0x9958=function(_0x515316,_0x527431){_0x515316=_0x515316-0x0;var _0x2e640d=_0x9589[_0x515316];return _0x2e640d;};'use strict';var client=require(_0x9958('0x0'));exports[_0x9958('0x1')]=function(_0x220175){return client[_0x9958('0x2')](_0x9958('0x3'),{'body':_0x220175,'log':'CreateChatQueueReport'});};exports[_0x9958('0x4')]=function(_0x153116,_0xe7c0e){return client['Request'](_0x9958('0x5'),{'body':_0xe7c0e,'options':{'where':{'uniqueid':_0x153116},'order':[['id',_0x9958('0x6')]],'limit':0x1},'log':_0x9958('0x5')});};