Built motion from commit 092f8824.|2.5.49
[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 _0xeed0=['UpdateWhatsappQueueReport','../client','Request','CreateWhatsappQueueReport','update'];(function(_0x39b3dc,_0x2f0302){var _0x56df6c=function(_0x3e63aa){while(--_0x3e63aa){_0x39b3dc['push'](_0x39b3dc['shift']());}};_0x56df6c(++_0x2f0302);}(_0xeed0,0x14b));var _0x0eed=function(_0x16b1ce,_0x22db65){_0x16b1ce=_0x16b1ce-0x0;var _0x13a1bb=_0xeed0[_0x16b1ce];return _0x13a1bb;};'use strict';var client=require(_0x0eed('0x0'));exports['create']=function(_0x473278){return client[_0x0eed('0x1')](_0x0eed('0x2'),{'body':_0x473278,'log':_0x0eed('0x2')});};exports[_0x0eed('0x3')]=function(_0x43250b,_0x7b06b6){return client[_0x0eed('0x1')](_0x0eed('0x4'),{'body':_0x7b06b6,'options':{'where':{'uniqueid':_0x43250b},'order':[['id','DESC']],'limit':0x1},'log':_0x0eed('0x4')});};