9bdc6f86f4b35b6f2b79c6247e4701b0b4c6439b
[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 _0xe3ed=['CreateChatQueueReport','update','UpdateChatQueueReport','../client','create','Request'];(function(_0x4eab05,_0x5bec5b){var _0x1057ed=function(_0x147368){while(--_0x147368){_0x4eab05['push'](_0x4eab05['shift']());}};_0x1057ed(++_0x5bec5b);}(_0xe3ed,0x8d));var _0xde3e=function(_0x505bc4,_0x5b97ba){_0x505bc4=_0x505bc4-0x0;var _0x41c672=_0xe3ed[_0x505bc4];return _0x41c672;};'use strict';var client=require(_0xde3e('0x0'));exports[_0xde3e('0x1')]=function(_0x175db2){return client[_0xde3e('0x2')](_0xde3e('0x3'),{'body':_0x175db2,'log':_0xde3e('0x3')});};exports[_0xde3e('0x4')]=function(_0xafe5eb,_0x53b14b){return client[_0xde3e('0x2')](_0xde3e('0x5'),{'body':_0x53b14b,'options':{'where':{'uniqueid':_0xafe5eb},'order':[['id','DESC']],'limit':0x1},'log':_0xde3e('0x5')});};