ba2c95f82af7d399ae3e40455f97b4d21433f4c4
[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 _0x87f8=['update','UpdateChatQueueReport','DESC','Request','CreateChatQueueReport'];(function(_0x11e05d,_0x3a4491){var _0x335588=function(_0x35ec3f){while(--_0x35ec3f){_0x11e05d['push'](_0x11e05d['shift']());}};_0x335588(++_0x3a4491);}(_0x87f8,0x152));var _0x887f=function(_0x27970b,_0x424914){_0x27970b=_0x27970b-0x0;var _0xc8ba60=_0x87f8[_0x27970b];return _0xc8ba60;};'use strict';var client=require('../client');exports['create']=function(_0x52e3a6){return client[_0x887f('0x0')](_0x887f('0x1'),{'body':_0x52e3a6,'log':'CreateChatQueueReport'});};exports[_0x887f('0x2')]=function(_0x591ca0,_0x46a51e){return client[_0x887f('0x0')](_0x887f('0x3'),{'body':_0x46a51e,'options':{'where':{'uniqueid':_0x591ca0},'order':[['id',_0x887f('0x4')]],'limit':0x1},'log':'UpdateChatQueueReport'});};