ed8d58f1cec59791ee081fdd356f4a07095e655d
[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 _0x6135=['Request','DESC','UpdateWhatsappQueueReport','../client','create','CreateWhatsappQueueReport','update'];(function(_0x3eea50,_0x54d651){var _0x3f1f0e=function(_0x1f50f7){while(--_0x1f50f7){_0x3eea50['push'](_0x3eea50['shift']());}};_0x3f1f0e(++_0x54d651);}(_0x6135,0x1bc));var _0x5613=function(_0x3f2228,_0x3b27d5){_0x3f2228=_0x3f2228-0x0;var _0x285ae4=_0x6135[_0x3f2228];return _0x285ae4;};'use strict';var client=require(_0x5613('0x0'));exports[_0x5613('0x1')]=function(_0x321c93){return client['Request'](_0x5613('0x2'),{'body':_0x321c93,'log':'CreateWhatsappQueueReport'});};exports[_0x5613('0x3')]=function(_0x3570e0,_0x193d0f){return client[_0x5613('0x4')]('UpdateWhatsappQueueReport',{'body':_0x193d0f,'options':{'where':{'uniqueid':_0x3570e0},'order':[['id',_0x5613('0x5')]],'limit':0x1},'log':_0x5613('0x6')});};