Built motion from commit cf5ff673.|2.5.41
[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 _0x2bd6=['update','UpdateChatQueueReport','../client','create','Request','CreateChatQueueReport'];(function(_0x21188a,_0x437f2b){var _0x3fb3fa=function(_0x12f8e4){while(--_0x12f8e4){_0x21188a['push'](_0x21188a['shift']());}};_0x3fb3fa(++_0x437f2b);}(_0x2bd6,0x1f4));var _0x62bd=function(_0x240261,_0x4fe66c){_0x240261=_0x240261-0x0;var _0x45c332=_0x2bd6[_0x240261];return _0x45c332;};'use strict';var client=require(_0x62bd('0x0'));exports[_0x62bd('0x1')]=function(_0x469dda){return client[_0x62bd('0x2')](_0x62bd('0x3'),{'body':_0x469dda,'log':'CreateChatQueueReport'});};exports[_0x62bd('0x4')]=function(_0x1a8ed2,_0x23ba52){return client['Request'](_0x62bd('0x5'),{'body':_0x23ba52,'options':{'where':{'uniqueid':_0x1a8ed2},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};