Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / api / whatsappMessage / index.js
index c75b964..c0cf6c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x999f=['create','/:id/status','status','/:id','update','put','accept','reject','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','/describe','describe','post','tracked','whatsappmessage:create'];(function(_0xb301d4,_0x27ed18){var _0x3b5bde=function(_0x1fbc5f){while(--_0x1fbc5f){_0xb301d4['push'](_0xb301d4['shift']());}};_0x3b5bde(++_0x27ed18);}(_0x999f,0x19a));var _0xf999=function(_0x2e3dfc,_0x454d6c){_0x2e3dfc=_0x2e3dfc-0x0;var _0x4b1245=_0x999f[_0x2e3dfc];return _0x4b1245;};'use strict';var multer=require(_0xf999('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf999('0x1'));var express=require(_0xf999('0x2'));var router=express[_0xf999('0x3')]();var auth=require(_0xf999('0x4'));var interaction=require(_0xf999('0x5'));var config=require(_0xf999('0x6'));var controller=require(_0xf999('0x7'));router[_0xf999('0x8')]('/',auth[_0xf999('0x9')](),controller['index']);router['get'](_0xf999('0xa'),auth[_0xf999('0x9')](),controller[_0xf999('0xb')]);router[_0xf999('0x8')]('/:id',auth[_0xf999('0x9')](),controller['show']);router[_0xf999('0xc')]('/',auth[_0xf999('0x9')](),interaction[_0xf999('0xd')]('whatsapp',_0xf999('0xe')),controller[_0xf999('0xf')]);router['post'](_0xf999('0x10'),controller[_0xf999('0x11')]);router['put'](_0xf999('0x12'),auth[_0xf999('0x9')](),controller[_0xf999('0x13')]);router[_0xf999('0x14')]('/:id/accept',auth[_0xf999('0x9')](),controller[_0xf999('0x15')]);router[_0xf999('0x14')]('/:id/reject',auth['isAuthenticated'](),controller[_0xf999('0x16')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xf999('0x17')]);module[_0xf999('0x18')]=router;
\ No newline at end of file
+var _0xfb98=['../../components/auth/service','../../config/environment','./whatsappMessage.controller','isAuthenticated','index','/describe','get','/:id','post','whatsapp','/:id/status','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x11f0dc,_0x4556cb){var _0x1c5190=function(_0x39ed82){while(--_0x39ed82){_0x11f0dc['push'](_0x11f0dc['shift']());}};_0x1c5190(++_0x4556cb);}(_0xfb98,0xed));var _0x8fb9=function(_0x24573a,_0x5f25cf){_0x24573a=_0x24573a-0x0;var _0x26b74e=_0xfb98[_0x24573a];return _0x26b74e;};'use strict';var multer=require(_0x8fb9('0x0'));var util=require(_0x8fb9('0x1'));var path=require(_0x8fb9('0x2'));var timeout=require(_0x8fb9('0x3'));var express=require(_0x8fb9('0x4'));var router=express[_0x8fb9('0x5')]();var auth=require(_0x8fb9('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8fb9('0x7'));var controller=require(_0x8fb9('0x8'));router['get']('/',auth[_0x8fb9('0x9')](),controller[_0x8fb9('0xa')]);router['get'](_0x8fb9('0xb'),auth[_0x8fb9('0x9')](),controller['describe']);router[_0x8fb9('0xc')](_0x8fb9('0xd'),auth[_0x8fb9('0x9')](),controller['show']);router[_0x8fb9('0xe')]('/',auth[_0x8fb9('0x9')](),interaction['tracked'](_0x8fb9('0xf'),'whatsappmessage:create'),controller['create']);router[_0x8fb9('0xe')](_0x8fb9('0x10'),controller[_0x8fb9('0x11')]);router[_0x8fb9('0x12')](_0x8fb9('0xd'),auth[_0x8fb9('0x9')](),controller[_0x8fb9('0x13')]);router[_0x8fb9('0x12')](_0x8fb9('0x14'),auth[_0x8fb9('0x9')](),controller[_0x8fb9('0x15')]);router[_0x8fb9('0x12')](_0x8fb9('0x16'),auth[_0x8fb9('0x9')](),controller[_0x8fb9('0x17')]);router[_0x8fb9('0x18')](_0x8fb9('0xd'),auth['isAuthenticated'](),controller[_0x8fb9('0x19')]);module[_0x8fb9('0x1a')]=router;
\ No newline at end of file