Built motion from commit 85328c08.|2.5.50
[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 _0x3e65=['../client','create','update','UpdateWhatsappQueueReport','DESC'];(function(_0x5880d8,_0x30b0a5){var _0x88264a=function(_0x5ec626){while(--_0x5ec626){_0x5880d8['push'](_0x5880d8['shift']());}};_0x88264a(++_0x30b0a5);}(_0x3e65,0x1e5));var _0x53e6=function(_0x1e65ce,_0x1ba8d9){_0x1e65ce=_0x1e65ce-0x0;var _0x4d84f8=_0x3e65[_0x1e65ce];return _0x4d84f8;};'use strict';var client=require(_0x53e6('0x0'));exports[_0x53e6('0x1')]=function(_0xcdd1d6){return client['Request']('CreateWhatsappQueueReport',{'body':_0xcdd1d6,'log':'CreateWhatsappQueueReport'});};exports[_0x53e6('0x2')]=function(_0x449e0c,_0x1fb7ac){return client['Request'](_0x53e6('0x3'),{'body':_0x1fb7ac,'options':{'where':{'uniqueid':_0x449e0c},'order':[['id',_0x53e6('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};