732168453c55c19b143a7ed64fe96641fe40eb95
[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 _0xbf42=['UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x1a36a5,_0x746928){var _0x746243=function(_0x481966){while(--_0x481966){_0x1a36a5['push'](_0x1a36a5['shift']());}};_0x746243(++_0x746928);}(_0xbf42,0x158));var _0x2bf4=function(_0x49c057,_0xc808ed){_0x49c057=_0x49c057-0x0;var _0xd8f0e6=_0xbf42[_0x49c057];return _0xd8f0e6;};'use strict';var client=require(_0x2bf4('0x0'));exports[_0x2bf4('0x1')]=function(_0x1820ca){return client[_0x2bf4('0x2')]('CreateWhatsappQueueReport',{'body':_0x1820ca,'log':_0x2bf4('0x3')});};exports['update']=function(_0x171047,_0x112c6a){return client['Request'](_0x2bf4('0x4'),{'body':_0x112c6a,'options':{'where':{'uniqueid':_0x171047},'order':[['id',_0x2bf4('0x5')]],'limit':0x1},'log':_0x2bf4('0x4')});};