ef734dd1ff4d13b5acddaa84c2c377326bdfa7ce
[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 _0x7dbe=['Request','UpdateWhatsappQueueReport','DESC','../client','CreateWhatsappQueueReport','update'];(function(_0x5d099b,_0x4b2554){var _0x81ea1a=function(_0x50a4ff){while(--_0x50a4ff){_0x5d099b['push'](_0x5d099b['shift']());}};_0x81ea1a(++_0x4b2554);}(_0x7dbe,0x69));var _0xe7db=function(_0x5be89c,_0x185956){_0x5be89c=_0x5be89c-0x0;var _0x49083b=_0x7dbe[_0x5be89c];return _0x49083b;};'use strict';var client=require(_0xe7db('0x0'));exports['create']=function(_0x1345f9){return client['Request'](_0xe7db('0x1'),{'body':_0x1345f9,'log':_0xe7db('0x1')});};exports[_0xe7db('0x2')]=function(_0x1b090f,_0x4544af){return client[_0xe7db('0x3')](_0xe7db('0x4'),{'body':_0x4544af,'options':{'where':{'uniqueid':_0x1b090f},'order':[['id',_0xe7db('0x5')]],'limit':0x1},'log':_0xe7db('0x4')});};