f98c5018d1e514a39b48f7ed0648c280cc66bf88
[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 _0x3f6d=['update','Request','UpdateWhatsappQueueReport','DESC','../client','create','CreateWhatsappQueueReport'];(function(_0x1bb6aa,_0x40fe82){var _0x2ef28e=function(_0x32b4eb){while(--_0x32b4eb){_0x1bb6aa['push'](_0x1bb6aa['shift']());}};_0x2ef28e(++_0x40fe82);}(_0x3f6d,0x115));var _0xd3f6=function(_0x2594dc,_0x33b3d0){_0x2594dc=_0x2594dc-0x0;var _0x4c4506=_0x3f6d[_0x2594dc];return _0x4c4506;};'use strict';var client=require(_0xd3f6('0x0'));exports[_0xd3f6('0x1')]=function(_0xb140f8){return client['Request'](_0xd3f6('0x2'),{'body':_0xb140f8,'log':'CreateWhatsappQueueReport'});};exports[_0xd3f6('0x3')]=function(_0x5bdec1,_0x4899cb){return client[_0xd3f6('0x4')](_0xd3f6('0x5'),{'body':_0x4899cb,'options':{'where':{'uniqueid':_0x5bdec1},'order':[['id',_0xd3f6('0x6')]],'limit':0x1},'log':_0xd3f6('0x5')});};