44ea9f8838f1222419e41c4c3181f865196daa17
[motion2.git] / server / services / routing / rpc / whatsappQueueReport.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 _0xbe73=['update','UpdateWhatsappQueueReport','DESC','create','Request','CreateWhatsappQueueReport'];(function(_0x42b272,_0x25a32e){var _0x3dc74d=function(_0x5d8fdc){while(--_0x5d8fdc){_0x42b272['push'](_0x42b272['shift']());}};_0x3dc74d(++_0x25a32e);}(_0xbe73,0x1cb));var _0x3be7=function(_0x2ab365,_0xa3812e){_0x2ab365=_0x2ab365-0x0;var _0x49fef3=_0xbe73[_0x2ab365];return _0x49fef3;};'use strict';var client=require('../client');exports[_0x3be7('0x0')]=function(_0x2adca1){return client[_0x3be7('0x1')](_0x3be7('0x2'),{'body':_0x2adca1,'log':'CreateWhatsappQueueReport'});};exports[_0x3be7('0x3')]=function(_0x492908,_0x3f70e4){return client['Request'](_0x3be7('0x4'),{'body':_0x3f70e4,'options':{'where':{'uniqueid':_0x492908},'order':[['id',_0x3be7('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};