39e7dbd1484ecf5da32327188b04490eccd4e820
[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 _0x6c6f=['../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x58bc1b,_0x302eb1){var _0xae0db4=function(_0x4c0846){while(--_0x4c0846){_0x58bc1b['push'](_0x58bc1b['shift']());}};_0xae0db4(++_0x302eb1);}(_0x6c6f,0x17a));var _0xf6c6=function(_0x5919b1,_0x15e225){_0x5919b1=_0x5919b1-0x0;var _0x5089a8=_0x6c6f[_0x5919b1];return _0x5089a8;};'use strict';var client=require(_0xf6c6('0x0'));exports[_0xf6c6('0x1')]=function(_0x312daa){return client[_0xf6c6('0x2')](_0xf6c6('0x3'),{'body':_0x312daa,'log':_0xf6c6('0x3')});};exports[_0xf6c6('0x4')]=function(_0x232ce6,_0x36fcd2){return client[_0xf6c6('0x2')](_0xf6c6('0x5'),{'body':_0x36fcd2,'options':{'where':{'uniqueid':_0x232ce6},'order':[['id','DESC']],'limit':0x1},'log':_0xf6c6('0x5')});};