c9eff3496318ef48ef127df4a388a283aa9fbd6f
[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 _0xf2ac=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0x2a94cf,_0x2b970d){var _0x22147f=function(_0xfc71ab){while(--_0xfc71ab){_0x2a94cf['push'](_0x2a94cf['shift']());}};_0x22147f(++_0x2b970d);}(_0xf2ac,0x9e));var _0xcf2a=function(_0x30f47f,_0x4a77b4){_0x30f47f=_0x30f47f-0x0;var _0x14af65=_0xf2ac[_0x30f47f];return _0x14af65;};'use strict';var client=require(_0xcf2a('0x0'));exports[_0xcf2a('0x1')]=function(_0x283d53){return client[_0xcf2a('0x2')](_0xcf2a('0x3'),{'body':_0x283d53,'log':_0xcf2a('0x3')});};exports[_0xcf2a('0x4')]=function(_0x392593,_0x82f9bb){return client[_0xcf2a('0x2')](_0xcf2a('0x5'),{'body':_0x82f9bb,'options':{'where':{'uniqueid':_0x392593},'order':[['id',_0xcf2a('0x6')]],'limit':0x1},'log':_0xcf2a('0x5')});};