6bb5afe909074192b4d55101d92ddeb3c1312292
[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 _0x9587=['../client','create','CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC'];(function(_0x3cb30b,_0x504b3e){var _0x2ca717=function(_0x32a3d9){while(--_0x32a3d9){_0x3cb30b['push'](_0x3cb30b['shift']());}};_0x2ca717(++_0x504b3e);}(_0x9587,0x11f));var _0x7958=function(_0x2a4dda,_0x394a1b){_0x2a4dda=_0x2a4dda-0x0;var _0xe725e=_0x9587[_0x2a4dda];return _0xe725e;};'use strict';var client=require(_0x7958('0x0'));exports[_0x7958('0x1')]=function(_0x16f0f3){return client['Request'](_0x7958('0x2'),{'body':_0x16f0f3,'log':'CreateWhatsappQueueReport'});};exports[_0x7958('0x3')]=function(_0x526f5c,_0x775833){return client[_0x7958('0x4')](_0x7958('0x5'),{'body':_0x775833,'options':{'where':{'uniqueid':_0x526f5c},'order':[['id',_0x7958('0x6')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};