Built motion from commit ab870f9e.|2.5.44
[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 _0x5b02=['create','Request','update','UpdateChatQueueReport','DESC','../client'];(function(_0x2e7054,_0x4d1543){var _0x305c25=function(_0x2546f0){while(--_0x2546f0){_0x2e7054['push'](_0x2e7054['shift']());}};_0x305c25(++_0x4d1543);}(_0x5b02,0xe9));var _0x25b0=function(_0xd82dc5,_0x4dfc8f){_0xd82dc5=_0xd82dc5-0x0;var _0x1da5ef=_0x5b02[_0xd82dc5];return _0x1da5ef;};'use strict';var client=require(_0x25b0('0x0'));exports[_0x25b0('0x1')]=function(_0x428458){return client[_0x25b0('0x2')]('CreateChatQueueReport',{'body':_0x428458,'log':'CreateChatQueueReport'});};exports[_0x25b0('0x3')]=function(_0x53493e,_0x3e1d20){return client[_0x25b0('0x2')](_0x25b0('0x4'),{'body':_0x3e1d20,'options':{'where':{'uniqueid':_0x53493e},'order':[['id',_0x25b0('0x5')]],'limit':0x1},'log':_0x25b0('0x4')});};