0a9f0602268447d66ec95ae82c1bf0852668baf7
[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 _0x8bd2=['Request','UpdateWhatsappQueueReport','DESC','create','CreateWhatsappQueueReport','update'];(function(_0x286bfb,_0x46ac3c){var _0x52b683=function(_0x3e7fb1){while(--_0x3e7fb1){_0x286bfb['push'](_0x286bfb['shift']());}};_0x52b683(++_0x46ac3c);}(_0x8bd2,0xb7));var _0x28bd=function(_0x3c2b2e,_0x3e6e53){_0x3c2b2e=_0x3c2b2e-0x0;var _0x27a338=_0x8bd2[_0x3c2b2e];return _0x27a338;};'use strict';var client=require('../client');exports[_0x28bd('0x0')]=function(_0x19983d){return client['Request'](_0x28bd('0x1'),{'body':_0x19983d,'log':_0x28bd('0x1')});};exports[_0x28bd('0x2')]=function(_0x2274f4,_0x5908ee){return client[_0x28bd('0x3')](_0x28bd('0x4'),{'body':_0x5908ee,'options':{'where':{'uniqueid':_0x2274f4},'order':[['id',_0x28bd('0x5')]],'limit':0x1},'log':_0x28bd('0x4')});};