Built motion from commit 0bd120ac.|2.6.25
[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 _0x6b18=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x281747,_0x3c7033){var _0x7daed7=function(_0x420b16){while(--_0x420b16){_0x281747['push'](_0x281747['shift']());}};_0x7daed7(++_0x3c7033);}(_0x6b18,0xb2));var _0x86b1=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x6b18[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0x86b1('0x0'));exports[_0x86b1('0x1')]=function(_0x5ec5ab){return client[_0x86b1('0x2')]('CreateWhatsappQueueReport',{'body':_0x5ec5ab,'log':_0x86b1('0x3')});};exports['update']=function(_0x54a02c,_0x297267){return client[_0x86b1('0x2')](_0x86b1('0x4'),{'body':_0x297267,'options':{'where':{'uniqueid':_0x54a02c},'order':[['id',_0x86b1('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};