2398002304ac54fcf88b7b896f4d5b91258f3577
[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 _0xb512=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0xc4652a,_0x455b1e){var _0x3be54a=function(_0x4cb208){while(--_0x4cb208){_0xc4652a['push'](_0xc4652a['shift']());}};_0x3be54a(++_0x455b1e);}(_0xb512,0x13f));var _0x2b51=function(_0x2f930d,_0x9b4f88){_0x2f930d=_0x2f930d-0x0;var _0x556265=_0xb512[_0x2f930d];return _0x556265;};'use strict';var client=require(_0x2b51('0x0'));exports[_0x2b51('0x1')]=function(_0x4897a0){return client[_0x2b51('0x2')](_0x2b51('0x3'),{'body':_0x4897a0,'log':_0x2b51('0x3')});};exports[_0x2b51('0x4')]=function(_0x4d6c22,_0x1c044d){return client[_0x2b51('0x2')](_0x2b51('0x5'),{'body':_0x1c044d,'options':{'where':{'uniqueid':_0x4d6c22},'order':[['id',_0x2b51('0x6')]],'limit':0x1},'log':_0x2b51('0x5')});};