Built motion from commit fe909640.|2.6.8
[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 _0x6b89=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0xb26944,_0x2ac922){var _0x51ec1e=function(_0x576526){while(--_0x576526){_0xb26944['push'](_0xb26944['shift']());}};_0x51ec1e(++_0x2ac922);}(_0x6b89,0x74));var _0x96b8=function(_0x41dcff,_0x20388d){_0x41dcff=_0x41dcff-0x0;var _0x11a7ed=_0x6b89[_0x41dcff];return _0x11a7ed;};'use strict';var client=require(_0x96b8('0x0'));exports[_0x96b8('0x1')]=function(_0x33c2d8){return client[_0x96b8('0x2')](_0x96b8('0x3'),{'body':_0x33c2d8,'log':_0x96b8('0x3')});};exports[_0x96b8('0x4')]=function(_0x2dca0a,_0x4a81de){return client[_0x96b8('0x2')](_0x96b8('0x5'),{'body':_0x4a81de,'options':{'where':{'uniqueid':_0x2dca0a},'order':[['id',_0x96b8('0x6')]],'limit':0x1},'log':_0x96b8('0x5')});};