82a44b94026ea614bb7fd1412a02bd7741981cfc
[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 _0xd58c=['../client','create','CreateChatQueueReport','update','Request','UpdateChatQueueReport','DESC'];(function(_0x5528c3,_0x35a416){var _0x47ec1b=function(_0x54a18e){while(--_0x54a18e){_0x5528c3['push'](_0x5528c3['shift']());}};_0x47ec1b(++_0x35a416);}(_0xd58c,0xb6));var _0xcd58=function(_0x1b9fc4,_0x35147a){_0x1b9fc4=_0x1b9fc4-0x0;var _0x264a89=_0xd58c[_0x1b9fc4];return _0x264a89;};'use strict';var client=require(_0xcd58('0x0'));exports[_0xcd58('0x1')]=function(_0x240323){return client['Request'](_0xcd58('0x2'),{'body':_0x240323,'log':'CreateChatQueueReport'});};exports[_0xcd58('0x3')]=function(_0x4be7d0,_0xe6c68){return client[_0xcd58('0x4')](_0xcd58('0x5'),{'body':_0xe6c68,'options':{'where':{'uniqueid':_0x4be7d0},'order':[['id',_0xcd58('0x6')]],'limit':0x1},'log':_0xcd58('0x5')});};