Built motion from commit (unavailable).|2.5.16
[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 _0xd05b=['UpdateWhatsappQueueReport','../client','create','Request','CreateWhatsappQueueReport','update','DESC'];(function(_0x2d61b2,_0x142947){var _0x12df89=function(_0x31c717){while(--_0x31c717){_0x2d61b2['push'](_0x2d61b2['shift']());}};_0x12df89(++_0x142947);}(_0xd05b,0x190));var _0xbd05=function(_0x2a6809,_0x44edde){_0x2a6809=_0x2a6809-0x0;var _0x11c371=_0xd05b[_0x2a6809];return _0x11c371;};'use strict';var client=require(_0xbd05('0x0'));exports[_0xbd05('0x1')]=function(_0x62c078){return client[_0xbd05('0x2')](_0xbd05('0x3'),{'body':_0x62c078,'log':'CreateWhatsappQueueReport'});};exports[_0xbd05('0x4')]=function(_0x2c26f6,_0xa66ea0){return client['Request']('UpdateWhatsappQueueReport',{'body':_0xa66ea0,'options':{'where':{'uniqueid':_0x2c26f6},'order':[['id',_0xbd05('0x5')]],'limit':0x1},'log':_0xbd05('0x6')});};