Built motion from commit 9d0783e6.|2.6.13
[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 _0x8a70=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x2df72b,_0x1e3cfe){var _0x37cdd3=function(_0x37e012){while(--_0x37e012){_0x2df72b['push'](_0x2df72b['shift']());}};_0x37cdd3(++_0x1e3cfe);}(_0x8a70,0xae));var _0x08a7=function(_0x48dfc7,_0x28410f){_0x48dfc7=_0x48dfc7-0x0;var _0x553cbf=_0x8a70[_0x48dfc7];return _0x553cbf;};'use strict';var client=require(_0x08a7('0x0'));exports[_0x08a7('0x1')]=function(_0x5933da){return client[_0x08a7('0x2')](_0x08a7('0x3'),{'body':_0x5933da,'log':'CreateWhatsappQueueReport'});};exports[_0x08a7('0x4')]=function(_0x4f934d,_0x1e5ccd){return client['Request'](_0x08a7('0x5'),{'body':_0x1e5ccd,'options':{'where':{'uniqueid':_0x4f934d},'order':[['id',_0x08a7('0x6')]],'limit':0x1},'log':_0x08a7('0x5')});};