Built motion from commit d1eab355.|2.6.28
[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 _0xda65=['UpdateChatQueueReport','DESC','../client','create','CreateChatQueueReport','update','Request'];(function(_0x218355,_0x165e92){var _0x5de9f5=function(_0x49af78){while(--_0x49af78){_0x218355['push'](_0x218355['shift']());}};_0x5de9f5(++_0x165e92);}(_0xda65,0x1d0));var _0x5da6=function(_0x2d030b,_0x38f719){_0x2d030b=_0x2d030b-0x0;var _0x5dd47f=_0xda65[_0x2d030b];return _0x5dd47f;};'use strict';var client=require(_0x5da6('0x0'));exports[_0x5da6('0x1')]=function(_0x3fdbd8){return client['Request'](_0x5da6('0x2'),{'body':_0x3fdbd8,'log':_0x5da6('0x2')});};exports[_0x5da6('0x3')]=function(_0x487700,_0x5c80b4){return client[_0x5da6('0x4')](_0x5da6('0x5'),{'body':_0x5c80b4,'options':{'where':{'uniqueid':_0x487700},'order':[['id',_0x5da6('0x6')]],'limit':0x1},'log':_0x5da6('0x5')});};