c90113ffcd1b26ad2154ec4134e3387eed1db62b
[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 _0x7217=['update','Request','UpdateChatQueueReport','DESC','CreateChatQueueReport'];(function(_0x5c543c,_0x1368b6){var _0x74c152=function(_0x20d712){while(--_0x20d712){_0x5c543c['push'](_0x5c543c['shift']());}};_0x74c152(++_0x1368b6);}(_0x7217,0xa9));var _0x7721=function(_0x411add,_0x1aed38){_0x411add=_0x411add-0x0;var _0x238242=_0x7217[_0x411add];return _0x238242;};'use strict';var client=require('../client');exports['create']=function(_0x3f36a3){return client['Request'](_0x7721('0x0'),{'body':_0x3f36a3,'log':_0x7721('0x0')});};exports[_0x7721('0x1')]=function(_0x18353b,_0x363be8){return client[_0x7721('0x2')](_0x7721('0x3'),{'body':_0x363be8,'options':{'where':{'uniqueid':_0x18353b},'order':[['id',_0x7721('0x4')]],'limit':0x1},'log':_0x7721('0x3')});};