5a17c968bf279e37bf1cd91d04f558ac2a6db43e
[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 _0x4ceb=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0x3da84,_0x2376b5){var _0x53d294=function(_0x3abcb7){while(--_0x3abcb7){_0x3da84['push'](_0x3da84['shift']());}};_0x53d294(++_0x2376b5);}(_0x4ceb,0x107));var _0xb4ce=function(_0x9df060,_0x253d33){_0x9df060=_0x9df060-0x0;var _0x338dfe=_0x4ceb[_0x9df060];return _0x338dfe;};'use strict';var client=require(_0xb4ce('0x0'));exports[_0xb4ce('0x1')]=function(_0x25599c){return client[_0xb4ce('0x2')]('CreateWhatsappQueueReport',{'body':_0x25599c,'log':_0xb4ce('0x3')});};exports[_0xb4ce('0x4')]=function(_0x5dd65f,_0xb6ff2c){return client[_0xb4ce('0x2')](_0xb4ce('0x5'),{'body':_0xb6ff2c,'options':{'where':{'uniqueid':_0x5dd65f},'order':[['id',_0xb4ce('0x6')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};