Built motion from commit ddca4d0d.|2.5.47
[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 _0xd3ac=['../client','create','Request','CreateWhatsappQueueReport','update','DESC','UpdateWhatsappQueueReport'];(function(_0x209250,_0x5c7980){var _0x474989=function(_0x472fbc){while(--_0x472fbc){_0x209250['push'](_0x209250['shift']());}};_0x474989(++_0x5c7980);}(_0xd3ac,0xaf));var _0xcd3a=function(_0x1792ba,_0x5cace4){_0x1792ba=_0x1792ba-0x0;var _0x309f6e=_0xd3ac[_0x1792ba];return _0x309f6e;};'use strict';var client=require(_0xcd3a('0x0'));exports[_0xcd3a('0x1')]=function(_0x1166b4){return client[_0xcd3a('0x2')](_0xcd3a('0x3'),{'body':_0x1166b4,'log':_0xcd3a('0x3')});};exports[_0xcd3a('0x4')]=function(_0x43bbea,_0x4f71ac){return client[_0xcd3a('0x2')]('UpdateWhatsappQueueReport',{'body':_0x4f71ac,'options':{'where':{'uniqueid':_0x43bbea},'order':[['id',_0xcd3a('0x5')]],'limit':0x1},'log':_0xcd3a('0x6')});};