d564d6ac55ee41db04c593d6b4c1a5f48667ec37
[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 _0x1df5=['DESC','../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x4bb2b9,_0x459c78){var _0x40e2a2=function(_0x19a26c){while(--_0x19a26c){_0x4bb2b9['push'](_0x4bb2b9['shift']());}};_0x40e2a2(++_0x459c78);}(_0x1df5,0xfd));var _0x51df=function(_0x97ad7f,_0x398545){_0x97ad7f=_0x97ad7f-0x0;var _0x1b2154=_0x1df5[_0x97ad7f];return _0x1b2154;};'use strict';var client=require(_0x51df('0x0'));exports[_0x51df('0x1')]=function(_0x22acff){return client[_0x51df('0x2')](_0x51df('0x3'),{'body':_0x22acff,'log':'CreateChatQueueReport'});};exports[_0x51df('0x4')]=function(_0x457292,_0x1c491f){return client[_0x51df('0x2')](_0x51df('0x5'),{'body':_0x1c491f,'options':{'where':{'uniqueid':_0x457292},'order':[['id',_0x51df('0x6')]],'limit':0x1},'log':_0x51df('0x5')});};