Built motion from commit (unavailable).|2.5.31
[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 _0x3897=['Request','update','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x2af9f4,_0x3121c0){var _0xc69f8=function(_0x4695df){while(--_0x4695df){_0x2af9f4['push'](_0x2af9f4['shift']());}};_0xc69f8(++_0x3121c0);}(_0x3897,0x184));var _0x7389=function(_0x2493a8,_0x5a240d){_0x2493a8=_0x2493a8-0x0;var _0x2b06c9=_0x3897[_0x2493a8];return _0x2b06c9;};'use strict';var client=require(_0x7389('0x0'));exports[_0x7389('0x1')]=function(_0x1389cb){return client[_0x7389('0x2')]('CreateWhatsappQueueReport',{'body':_0x1389cb,'log':'CreateWhatsappQueueReport'});};exports[_0x7389('0x3')]=function(_0x1b6c8b,_0x26c55a){return client[_0x7389('0x2')](_0x7389('0x4'),{'body':_0x26c55a,'options':{'where':{'uniqueid':_0x1b6c8b},'order':[['id',_0x7389('0x5')]],'limit':0x1},'log':_0x7389('0x4')});};