94b0c1b8bdc4592d7ab52df9443a19f96d784052
[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 _0xcab2=['UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport','update'];(function(_0x4b65e0,_0x24c77a){var _0x5f0b03=function(_0x2076fe){while(--_0x2076fe){_0x4b65e0['push'](_0x4b65e0['shift']());}};_0x5f0b03(++_0x24c77a);}(_0xcab2,0x6b));var _0x2cab=function(_0x34a4a9,_0x29cf87){_0x34a4a9=_0x34a4a9-0x0;var _0x2a98a9=_0xcab2[_0x34a4a9];return _0x2a98a9;};'use strict';var client=require(_0x2cab('0x0'));exports[_0x2cab('0x1')]=function(_0x13a353){return client[_0x2cab('0x2')](_0x2cab('0x3'),{'body':_0x13a353,'log':_0x2cab('0x3')});};exports[_0x2cab('0x4')]=function(_0x3df7da,_0x470504){return client[_0x2cab('0x2')](_0x2cab('0x5'),{'body':_0x470504,'options':{'where':{'uniqueid':_0x3df7da},'order':[['id',_0x2cab('0x6')]],'limit':0x1},'log':_0x2cab('0x5')});};