66109b2f6061bb8bd1ea3b6d570c8f5cc1f15544
[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 _0xc2d1=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','Request'];(function(_0x2dca25,_0x2e8c24){var _0x299247=function(_0x1baac3){while(--_0x1baac3){_0x2dca25['push'](_0x2dca25['shift']());}};_0x299247(++_0x2e8c24);}(_0xc2d1,0x16c));var _0x1c2d=function(_0x5128f4,_0x255858){_0x5128f4=_0x5128f4-0x0;var _0x13ea68=_0xc2d1[_0x5128f4];return _0x13ea68;};'use strict';var client=require(_0x1c2d('0x0'));exports['create']=function(_0x53dd64){return client[_0x1c2d('0x1')]('CreateWhatsappQueueReport',{'body':_0x53dd64,'log':_0x1c2d('0x2')});};exports[_0x1c2d('0x3')]=function(_0x2c5b62,_0x1e03ff){return client[_0x1c2d('0x1')](_0x1c2d('0x4'),{'body':_0x1e03ff,'options':{'where':{'uniqueid':_0x2c5b62},'order':[['id',_0x1c2d('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};