Built motion from commit (unavailable).|2.5.19
[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 _0xb09a=['update','UpdateWhatsappQueueReport','../client','Request','CreateWhatsappQueueReport'];(function(_0x46d26b,_0x330dce){var _0x53ce36=function(_0x48b866){while(--_0x48b866){_0x46d26b['push'](_0x46d26b['shift']());}};_0x53ce36(++_0x330dce);}(_0xb09a,0x129));var _0xab09=function(_0x1deb03,_0xd05ad8){_0x1deb03=_0x1deb03-0x0;var _0x189fe7=_0xb09a[_0x1deb03];return _0x189fe7;};'use strict';var client=require(_0xab09('0x0'));exports['create']=function(_0x2e8356){return client[_0xab09('0x1')](_0xab09('0x2'),{'body':_0x2e8356,'log':'CreateWhatsappQueueReport'});};exports[_0xab09('0x3')]=function(_0x27b055,_0x5800b3){return client[_0xab09('0x1')](_0xab09('0x4'),{'body':_0x5800b3,'options':{'where':{'uniqueid':_0x27b055},'order':[['id','DESC']],'limit':0x1},'log':_0xab09('0x4')});};