Built motion from commit 9d1906d1.|2.5.40
[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 _0xf045=['update','UpdateWhatsappQueueReport','DESC','../client','Request','CreateWhatsappQueueReport'];(function(_0x48a3ae,_0x56582c){var _0x5ae03c=function(_0x380004){while(--_0x380004){_0x48a3ae['push'](_0x48a3ae['shift']());}};_0x5ae03c(++_0x56582c);}(_0xf045,0x1cb));var _0x5f04=function(_0x27e9b1,_0x29847f){_0x27e9b1=_0x27e9b1-0x0;var _0x510911=_0xf045[_0x27e9b1];return _0x510911;};'use strict';var client=require(_0x5f04('0x0'));exports['create']=function(_0x41d32a){return client[_0x5f04('0x1')](_0x5f04('0x2'),{'body':_0x41d32a,'log':'CreateWhatsappQueueReport'});};exports[_0x5f04('0x3')]=function(_0x4030a2,_0x2445aa){return client[_0x5f04('0x1')](_0x5f04('0x4'),{'body':_0x2445aa,'options':{'where':{'uniqueid':_0x4030a2},'order':[['id',_0x5f04('0x5')]],'limit':0x1},'log':_0x5f04('0x4')});};