6330c6ab475972ff80e665e6893fdb7f3ce42bfb
[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 _0x33c3=['DESC','../client','create','Request','UpdateWhatsappQueueReport'];(function(_0x19a562,_0x4b669f){var _0x3bd3f3=function(_0x482255){while(--_0x482255){_0x19a562['push'](_0x19a562['shift']());}};_0x3bd3f3(++_0x4b669f);}(_0x33c3,0x141));var _0x333c=function(_0x5c2aca,_0x247b6b){_0x5c2aca=_0x5c2aca-0x0;var _0x15c37c=_0x33c3[_0x5c2aca];return _0x15c37c;};'use strict';var client=require(_0x333c('0x0'));exports[_0x333c('0x1')]=function(_0x40a7e2){return client['Request']('CreateWhatsappQueueReport',{'body':_0x40a7e2,'log':'CreateWhatsappQueueReport'});};exports['update']=function(_0x4f0ab2,_0x417d5a){return client[_0x333c('0x2')](_0x333c('0x3'),{'body':_0x417d5a,'options':{'where':{'uniqueid':_0x4f0ab2},'order':[['id',_0x333c('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};