f81ecf36fdc44627179a5438636162d83d12233c
[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 _0xfa7c=['UpdateWhatsappQueueReport','../client','create','Request','CreateWhatsappQueueReport','update','DESC'];(function(_0x1fcde1,_0x1b997f){var _0x540cd3=function(_0x47821f){while(--_0x47821f){_0x1fcde1['push'](_0x1fcde1['shift']());}};_0x540cd3(++_0x1b997f);}(_0xfa7c,0x94));var _0xcfa7=function(_0x423acc,_0x10a37e){_0x423acc=_0x423acc-0x0;var _0x2aa27=_0xfa7c[_0x423acc];return _0x2aa27;};'use strict';var client=require(_0xcfa7('0x0'));exports[_0xcfa7('0x1')]=function(_0x2b794e){return client[_0xcfa7('0x2')](_0xcfa7('0x3'),{'body':_0x2b794e,'log':'CreateWhatsappQueueReport'});};exports[_0xcfa7('0x4')]=function(_0x356710,_0x3a8806){return client[_0xcfa7('0x2')]('UpdateWhatsappQueueReport',{'body':_0x3a8806,'options':{'where':{'uniqueid':_0x356710},'order':[['id',_0xcfa7('0x5')]],'limit':0x1},'log':_0xcfa7('0x6')});};