Built motion from commit e6806ed6.|2.6.0
[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 _0xadec=['CreateChatQueueReport','UpdateChatQueueReport','../client','create','Request'];(function(_0x53f402,_0x326920){var _0x45a76d=function(_0x51f590){while(--_0x51f590){_0x53f402['push'](_0x53f402['shift']());}};_0x45a76d(++_0x326920);}(_0xadec,0x156));var _0xcade=function(_0x562b3c,_0x68e4d9){_0x562b3c=_0x562b3c-0x0;var _0x3ceede=_0xadec[_0x562b3c];return _0x3ceede;};'use strict';var client=require(_0xcade('0x0'));exports[_0xcade('0x1')]=function(_0x11d900){return client[_0xcade('0x2')](_0xcade('0x3'),{'body':_0x11d900,'log':'CreateChatQueueReport'});};exports['update']=function(_0x570d9c,_0x475533){return client[_0xcade('0x2')](_0xcade('0x4'),{'body':_0x475533,'options':{'where':{'uniqueid':_0x570d9c},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};