cd6175065e8e1f49e819fd766e653866bf1f7036
[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 _0x27c5=['DESC','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x327fb0,_0x387a15){var _0x13b762=function(_0x24d37a){while(--_0x24d37a){_0x327fb0['push'](_0x327fb0['shift']());}};_0x13b762(++_0x387a15);}(_0x27c5,0x173));var _0x527c=function(_0x33a6bd,_0x564362){_0x33a6bd=_0x33a6bd-0x0;var _0x339aff=_0x27c5[_0x33a6bd];return _0x339aff;};'use strict';var client=require('../client');exports['create']=function(_0x157017){return client[_0x527c('0x0')](_0x527c('0x1'),{'body':_0x157017,'log':'CreateChatQueueReport'});};exports[_0x527c('0x2')]=function(_0x458db1,_0x371ae5){return client[_0x527c('0x0')](_0x527c('0x3'),{'body':_0x371ae5,'options':{'where':{'uniqueid':_0x458db1},'order':[['id',_0x527c('0x4')]],'limit':0x1},'log':_0x527c('0x3')});};