Built motion from commit (unavailable).|2.5.27
[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 _0xd7e2=['UpdateWhatsappQueueReport','DESC','../client','create','CreateWhatsappQueueReport','update','Request'];(function(_0x1a1674,_0x445946){var _0x2f64d7=function(_0x446c4c){while(--_0x446c4c){_0x1a1674['push'](_0x1a1674['shift']());}};_0x2f64d7(++_0x445946);}(_0xd7e2,0x72));var _0x2d7e=function(_0x54b072,_0x10677e){_0x54b072=_0x54b072-0x0;var _0x15f608=_0xd7e2[_0x54b072];return _0x15f608;};'use strict';var client=require(_0x2d7e('0x0'));exports[_0x2d7e('0x1')]=function(_0x4088b0){return client['Request']('CreateWhatsappQueueReport',{'body':_0x4088b0,'log':_0x2d7e('0x2')});};exports[_0x2d7e('0x3')]=function(_0x348be0,_0x282af0){return client[_0x2d7e('0x4')](_0x2d7e('0x5'),{'body':_0x282af0,'options':{'where':{'uniqueid':_0x348be0},'order':[['id',_0x2d7e('0x6')]],'limit':0x1},'log':_0x2d7e('0x5')});};