fef1c151775f2b6a60f8b6eeffc3d1869de38307
[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(_0x551c17,_0x1b51b8){var _0x3b4288=function(_0x5ed16b){while(--_0x5ed16b){_0x551c17['push'](_0x551c17['shift']());}};_0x3b4288(++_0x1b51b8);}(_0x6c6f,0x17a));var _0xf6c6=function(_0xe6a15c,_0x16c091){_0xe6a15c=_0xe6a15c-0x0;var _0x4f429c=_0x6c6f[_0xe6a15c];return _0x4f429c;};'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')});};