Built motion from commit 1fa89557.|2.6.10
[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 _0xe14d=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x8efab8,_0x17a6e5){var _0x18de9=function(_0x1fbeed){while(--_0x1fbeed){_0x8efab8['push'](_0x8efab8['shift']());}};_0x18de9(++_0x17a6e5);}(_0xe14d,0x1ee));var _0xde14=function(_0x2df507,_0x553862){_0x2df507=_0x2df507-0x0;var _0x1f7167=_0xe14d[_0x2df507];return _0x1f7167;};'use strict';var client=require(_0xde14('0x0'));exports[_0xde14('0x1')]=function(_0x1b5d3b){return client[_0xde14('0x2')]('CreateChatQueueReport',{'body':_0x1b5d3b,'log':_0xde14('0x3')});};exports[_0xde14('0x4')]=function(_0x4b20e2,_0x1c3e94){return client[_0xde14('0x2')](_0xde14('0x5'),{'body':_0x1c3e94,'options':{'where':{'uniqueid':_0x4b20e2},'order':[['id',_0xde14('0x6')]],'limit':0x1},'log':_0xde14('0x5')});};