aaced2c226a01ab130a1c29144fd3a082815ac84
[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 _0x5a01=['create','CreateChatQueueReport','update','Request','UpdateChatQueueReport','../client'];(function(_0x5235a7,_0x3a065b){var _0x463bbf=function(_0x5934bc){while(--_0x5934bc){_0x5235a7['push'](_0x5235a7['shift']());}};_0x463bbf(++_0x3a065b);}(_0x5a01,0x1af));var _0x15a0=function(_0x69a451,_0x49fd37){_0x69a451=_0x69a451-0x0;var _0x3d6ef5=_0x5a01[_0x69a451];return _0x3d6ef5;};'use strict';var client=require(_0x15a0('0x0'));exports[_0x15a0('0x1')]=function(_0x12a4b6){return client['Request']('CreateChatQueueReport',{'body':_0x12a4b6,'log':_0x15a0('0x2')});};exports[_0x15a0('0x3')]=function(_0x4c7c75,_0x1c83a1){return client[_0x15a0('0x4')](_0x15a0('0x5'),{'body':_0x1c83a1,'options':{'where':{'uniqueid':_0x4c7c75},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};