b0329f7e3ebd3e61a73004d4e52deb8d2426edc2
[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 _0xb31a=['UpdateChatQueueReport','DESC','../client','create','Request','CreateChatQueueReport','update'];(function(_0x17b0d4,_0x377add){var _0x2d02c7=function(_0x56e627){while(--_0x56e627){_0x17b0d4['push'](_0x17b0d4['shift']());}};_0x2d02c7(++_0x377add);}(_0xb31a,0xd4));var _0xab31=function(_0x1dab82,_0x8ce375){_0x1dab82=_0x1dab82-0x0;var _0x25fea8=_0xb31a[_0x1dab82];return _0x25fea8;};'use strict';var client=require(_0xab31('0x0'));exports[_0xab31('0x1')]=function(_0x16a117){return client[_0xab31('0x2')](_0xab31('0x3'),{'body':_0x16a117,'log':_0xab31('0x3')});};exports[_0xab31('0x4')]=function(_0x20b002,_0x2addad){return client[_0xab31('0x2')](_0xab31('0x5'),{'body':_0x2addad,'options':{'where':{'uniqueid':_0x20b002},'order':[['id',_0xab31('0x6')]],'limit':0x1},'log':_0xab31('0x5')});};