Built motion from commit b5413ace.|2.6.9
[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 _0x2022=['UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x49d104,_0x22db6d){var _0x584974=function(_0x3334cc){while(--_0x3334cc){_0x49d104['push'](_0x49d104['shift']());}};_0x584974(++_0x22db6d);}(_0x2022,0x68));var _0x2202=function(_0x1d7973,_0x357676){_0x1d7973=_0x1d7973-0x0;var _0x43190c=_0x2022[_0x1d7973];return _0x43190c;};'use strict';var client=require(_0x2202('0x0'));exports[_0x2202('0x1')]=function(_0x1b35f9){return client[_0x2202('0x2')]('CreateWhatsappQueueReport',{'body':_0x1b35f9,'log':_0x2202('0x3')});};exports['update']=function(_0x54db1a,_0x166f7f){return client[_0x2202('0x2')](_0x2202('0x4'),{'body':_0x166f7f,'options':{'where':{'uniqueid':_0x54db1a},'order':[['id',_0x2202('0x5')]],'limit':0x1},'log':_0x2202('0x4')});};