Built motion from commit (unavailable).|2.5.24
[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 _0x8e41=['../client','create','CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport'];(function(_0x271592,_0x26438d){var _0x106002=function(_0x7d7329){while(--_0x7d7329){_0x271592['push'](_0x271592['shift']());}};_0x106002(++_0x26438d);}(_0x8e41,0x144));var _0x18e4=function(_0x239c13,_0x854fd1){_0x239c13=_0x239c13-0x0;var _0x5ab20b=_0x8e41[_0x239c13];return _0x5ab20b;};'use strict';var client=require(_0x18e4('0x0'));exports[_0x18e4('0x1')]=function(_0x146ef3){return client['Request']('CreateWhatsappQueueReport',{'body':_0x146ef3,'log':_0x18e4('0x2')});};exports[_0x18e4('0x3')]=function(_0x5d717d,_0x3983d7){return client[_0x18e4('0x4')](_0x18e4('0x5'),{'body':_0x3983d7,'options':{'where':{'uniqueid':_0x5d717d},'order':[['id','DESC']],'limit':0x1},'log':_0x18e4('0x5')});};