Built motion from commit db94841.|2.5.3
[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 _0x3f4d=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0x5c9fa4,_0x3fa7db){var _0x38d5cb=function(_0x1bb18b){while(--_0x1bb18b){_0x5c9fa4['push'](_0x5c9fa4['shift']());}};_0x38d5cb(++_0x3fa7db);}(_0x3f4d,0x10e));var _0xd3f4=function(_0x12d9e6,_0x339ebd){_0x12d9e6=_0x12d9e6-0x0;var _0x315b5e=_0x3f4d[_0x12d9e6];return _0x315b5e;};'use strict';var client=require(_0xd3f4('0x0'));exports[_0xd3f4('0x1')]=function(_0xd6304){return client[_0xd3f4('0x2')](_0xd3f4('0x3'),{'body':_0xd6304,'log':_0xd3f4('0x3')});};exports[_0xd3f4('0x4')]=function(_0x1e04b5,_0x557c23){return client[_0xd3f4('0x2')](_0xd3f4('0x5'),{'body':_0x557c23,'options':{'where':{'uniqueid':_0x1e04b5},'order':[['id',_0xd3f4('0x6')]],'limit':0x1},'log':_0xd3f4('0x5')});};