3d6e7228bfa3dc24016654766c8d9b4b17fbce6e
[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 _0xa733=['Request','CreateWhatsappQueueReport','update','DESC','../client','create'];(function(_0x47d232,_0x98aa4c){var _0xbda2d=function(_0x3e7b28){while(--_0x3e7b28){_0x47d232['push'](_0x47d232['shift']());}};_0xbda2d(++_0x98aa4c);}(_0xa733,0xb2));var _0x3a73=function(_0xdc40f,_0x417b12){_0xdc40f=_0xdc40f-0x0;var _0x2e84dd=_0xa733[_0xdc40f];return _0x2e84dd;};'use strict';var client=require(_0x3a73('0x0'));exports[_0x3a73('0x1')]=function(_0x1503f2){return client[_0x3a73('0x2')](_0x3a73('0x3'),{'body':_0x1503f2,'log':'CreateWhatsappQueueReport'});};exports[_0x3a73('0x4')]=function(_0x3cc1ce,_0x428c27){return client[_0x3a73('0x2')]('UpdateWhatsappQueueReport',{'body':_0x428c27,'options':{'where':{'uniqueid':_0x3cc1ce},'order':[['id',_0x3a73('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};