a6e026c620147761a7d886651fbcf69adac01291
[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 _0x136c=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x4ed6da,_0x549b1b){var _0x92970b=function(_0x14451c){while(--_0x14451c){_0x4ed6da['push'](_0x4ed6da['shift']());}};_0x92970b(++_0x549b1b);}(_0x136c,0x1d2));var _0xc136=function(_0x2608d5,_0x4b56f7){_0x2608d5=_0x2608d5-0x0;var _0xce8b1c=_0x136c[_0x2608d5];return _0xce8b1c;};'use strict';var client=require(_0xc136('0x0'));exports[_0xc136('0x1')]=function(_0x5bfe6c){return client[_0xc136('0x2')](_0xc136('0x3'),{'body':_0x5bfe6c,'log':_0xc136('0x3')});};exports[_0xc136('0x4')]=function(_0x1935fe,_0x9e2e9d){return client[_0xc136('0x2')](_0xc136('0x5'),{'body':_0x9e2e9d,'options':{'where':{'uniqueid':_0x1935fe},'order':[['id',_0xc136('0x6')]],'limit':0x1},'log':'UpdateChatQueueReport'});};