Built motion from commit (unavailable).|2.5.23
[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 _0x289b=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x195fab,_0x1bf231){var _0xedd79b=function(_0x2b3675){while(--_0x2b3675){_0x195fab['push'](_0x195fab['shift']());}};_0xedd79b(++_0x1bf231);}(_0x289b,0xec));var _0xb289=function(_0x3d70da,_0x40b755){_0x3d70da=_0x3d70da-0x0;var _0x59bdc4=_0x289b[_0x3d70da];return _0x59bdc4;};'use strict';var client=require(_0xb289('0x0'));exports[_0xb289('0x1')]=function(_0x1ae828){return client['Request'](_0xb289('0x2'),{'body':_0x1ae828,'log':_0xb289('0x2')});};exports[_0xb289('0x3')]=function(_0x1c6ba6,_0x3a1190){return client[_0xb289('0x4')](_0xb289('0x5'),{'body':_0x3a1190,'options':{'where':{'uniqueid':_0x1c6ba6},'order':[['id',_0xb289('0x6')]],'limit':0x1},'log':_0xb289('0x5')});};