Built motion from commit 85328c08.|2.5.50
[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 _0x9b87=['UpdateChatQueueReport','DESC','../client','create','Request','CreateChatQueueReport','update'];(function(_0xea61c4,_0x19805f){var _0x229ae6=function(_0x451149){while(--_0x451149){_0xea61c4['push'](_0xea61c4['shift']());}};_0x229ae6(++_0x19805f);}(_0x9b87,0x8e));var _0x79b8=function(_0x2eab50,_0x3ae62f){_0x2eab50=_0x2eab50-0x0;var _0x30cbd6=_0x9b87[_0x2eab50];return _0x30cbd6;};'use strict';var client=require(_0x79b8('0x0'));exports[_0x79b8('0x1')]=function(_0x20fb46){return client[_0x79b8('0x2')](_0x79b8('0x3'),{'body':_0x20fb46,'log':_0x79b8('0x3')});};exports[_0x79b8('0x4')]=function(_0xb4e3e7,_0xbc1e74){return client[_0x79b8('0x2')](_0x79b8('0x5'),{'body':_0xbc1e74,'options':{'where':{'uniqueid':_0xb4e3e7},'order':[['id',_0x79b8('0x6')]],'limit':0x1},'log':_0x79b8('0x5')});};