Built motion from commit 4c579f6b.|2.5.32
[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 _0xe95a=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','Request'];(function(_0x52b1b1,_0x15398c){var _0x315979=function(_0x5dc34c){while(--_0x5dc34c){_0x52b1b1['push'](_0x52b1b1['shift']());}};_0x315979(++_0x15398c);}(_0xe95a,0x18f));var _0xae95=function(_0x2dea24,_0x2fc021){_0x2dea24=_0x2dea24-0x0;var _0x309d58=_0xe95a[_0x2dea24];return _0x309d58;};'use strict';var client=require('../client');exports['create']=function(_0x13c2d1){return client[_0xae95('0x0')](_0xae95('0x1'),{'body':_0x13c2d1,'log':'CreateWhatsappQueueReport'});};exports[_0xae95('0x2')]=function(_0x1c8146,_0xd5a0b){return client[_0xae95('0x0')](_0xae95('0x3'),{'body':_0xd5a0b,'options':{'where':{'uniqueid':_0x1c8146},'order':[['id','DESC']],'limit':0x1},'log':_0xae95('0x3')});};