6ae90bae7b46670c95fc38f2d201268534984e29
[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 _0x777f=['CreateChatQueueReport','update','UpdateChatQueueReport','../client','create','Request'];(function(_0x15dbca,_0x1d7c3c){var _0x326533=function(_0x507ee2){while(--_0x507ee2){_0x15dbca['push'](_0x15dbca['shift']());}};_0x326533(++_0x1d7c3c);}(_0x777f,0x9f));var _0xf777=function(_0x9a3e0f,_0x2f796d){_0x9a3e0f=_0x9a3e0f-0x0;var _0x3d2a9a=_0x777f[_0x9a3e0f];return _0x3d2a9a;};'use strict';var client=require(_0xf777('0x0'));exports[_0xf777('0x1')]=function(_0x41dd3a){return client[_0xf777('0x2')](_0xf777('0x3'),{'body':_0x41dd3a,'log':_0xf777('0x3')});};exports[_0xf777('0x4')]=function(_0x2612fe,_0x508470){return client[_0xf777('0x2')](_0xf777('0x5'),{'body':_0x508470,'options':{'where':{'uniqueid':_0x2612fe},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};