Built motion from commit b5413ace.|2.6.9
[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 _0x279d=['Request','update','UpdateChatQueueReport','DESC','../client','create'];(function(_0x37c22c,_0x28a70d){var _0x119d79=function(_0x243a13){while(--_0x243a13){_0x37c22c['push'](_0x37c22c['shift']());}};_0x119d79(++_0x28a70d);}(_0x279d,0x1d8));var _0xd279=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x279d[_0x122ef9];return _0x42fba0;};'use strict';var client=require(_0xd279('0x0'));exports[_0xd279('0x1')]=function(_0x17cebd){return client[_0xd279('0x2')]('CreateChatQueueReport',{'body':_0x17cebd,'log':'CreateChatQueueReport'});};exports[_0xd279('0x3')]=function(_0x44441d,_0x47cfee){return client[_0xd279('0x2')](_0xd279('0x4'),{'body':_0x47cfee,'options':{'where':{'uniqueid':_0x44441d},'order':[['id',_0xd279('0x5')]],'limit':0x1},'log':_0xd279('0x4')});};