5731e51d061dcc96e4d8ff9fd93cab9995197741
[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 _0xc298=['Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC','create'];(function(_0x22d9eb,_0x5d5727){var _0x3a3372=function(_0x1ed73a){while(--_0x1ed73a){_0x22d9eb['push'](_0x22d9eb['shift']());}};_0x3a3372(++_0x5d5727);}(_0xc298,0x143));var _0x8c29=function(_0x44a0ce,_0x51e098){_0x44a0ce=_0x44a0ce-0x0;var _0x2b4298=_0xc298[_0x44a0ce];return _0x2b4298;};'use strict';var client=require('../client');exports[_0x8c29('0x0')]=function(_0x19c394){return client[_0x8c29('0x1')](_0x8c29('0x2'),{'body':_0x19c394,'log':_0x8c29('0x2')});};exports[_0x8c29('0x3')]=function(_0x565994,_0x9da56d){return client[_0x8c29('0x1')](_0x8c29('0x4'),{'body':_0x9da56d,'options':{'where':{'uniqueid':_0x565994},'order':[['id',_0x8c29('0x5')]],'limit':0x1},'log':_0x8c29('0x4')});};