4791a0c988cf2991ec427645c0da2a2ad4e38ff5
[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 _0x4fde=['UpdateChatQueueReport','DESC','../client','create','Request','CreateChatQueueReport','update'];(function(_0x355adf,_0x42ef70){var _0x5c0b1e=function(_0x1bb083){while(--_0x1bb083){_0x355adf['push'](_0x355adf['shift']());}};_0x5c0b1e(++_0x42ef70);}(_0x4fde,0x19f));var _0xe4fd=function(_0x3e6b2f,_0x1ffa07){_0x3e6b2f=_0x3e6b2f-0x0;var _0x323215=_0x4fde[_0x3e6b2f];return _0x323215;};'use strict';var client=require(_0xe4fd('0x0'));exports[_0xe4fd('0x1')]=function(_0x215473){return client[_0xe4fd('0x2')]('CreateChatQueueReport',{'body':_0x215473,'log':_0xe4fd('0x3')});};exports[_0xe4fd('0x4')]=function(_0x4bf61e,_0x36d49f){return client[_0xe4fd('0x2')](_0xe4fd('0x5'),{'body':_0x36d49f,'options':{'where':{'uniqueid':_0x4bf61e},'order':[['id',_0xe4fd('0x6')]],'limit':0x1},'log':_0xe4fd('0x5')});};