Built motion from commit (unavailable).|2.5.22
[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 _0xf9b8=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','create','Request'];(function(_0x2b7764,_0x2606f1){var _0x848dcb=function(_0x1ae85b){while(--_0x1ae85b){_0x2b7764['push'](_0x2b7764['shift']());}};_0x848dcb(++_0x2606f1);}(_0xf9b8,0x13c));var _0x8f9b=function(_0x46ba40,_0x36e4cb){_0x46ba40=_0x46ba40-0x0;var _0x1e4385=_0xf9b8[_0x46ba40];return _0x1e4385;};'use strict';var client=require('../client');exports[_0x8f9b('0x0')]=function(_0x1c327c){return client[_0x8f9b('0x1')](_0x8f9b('0x2'),{'body':_0x1c327c,'log':_0x8f9b('0x2')});};exports[_0x8f9b('0x3')]=function(_0x2d8611,_0x1b3092){return client['Request'](_0x8f9b('0x4'),{'body':_0x1b3092,'options':{'where':{'uniqueid':_0x2d8611},'order':[['id',_0x8f9b('0x5')]],'limit':0x1},'log':_0x8f9b('0x4')});};