2b4fd14717bbbf8e737dea48fcc0ac0b038e1722
[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 _0x002c=['update','UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x1ecd88,_0x44cd8e){var _0x250da6=function(_0x41b794){while(--_0x41b794){_0x1ecd88['push'](_0x1ecd88['shift']());}};_0x250da6(++_0x44cd8e);}(_0x002c,0x9d));var _0xc002=function(_0x25336b,_0x55f6b6){_0x25336b=_0x25336b-0x0;var _0x4d2aea=_0x002c[_0x25336b];return _0x4d2aea;};'use strict';var client=require(_0xc002('0x0'));exports[_0xc002('0x1')]=function(_0x566419){return client[_0xc002('0x2')](_0xc002('0x3'),{'body':_0x566419,'log':_0xc002('0x3')});};exports[_0xc002('0x4')]=function(_0x3139f9,_0x4c21b6){return client['Request'](_0xc002('0x5'),{'body':_0x4c21b6,'options':{'where':{'uniqueid':_0x3139f9},'order':[['id',_0xc002('0x6')]],'limit':0x1},'log':_0xc002('0x5')});};