Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / whatsappMessage / index.js
index 15cc3d5..bb4caed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc60f=['update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','./whatsappMessage.controller','get','isAuthenticated','describe','/:id','show','post','tracked','whatsapp','whatsappmessage:create','create','/:id/status','status','put'];(function(_0x26af68,_0x4537b1){var _0x52c348=function(_0xf5fde2){while(--_0xf5fde2){_0x26af68['push'](_0x26af68['shift']());}};_0x52c348(++_0x4537b1);}(_0xc60f,0xfb));var _0xfc60=function(_0x1b00f1,_0x15ffa8){_0x1b00f1=_0x1b00f1-0x0;var _0x5c3dad=_0xc60f[_0x1b00f1];return _0x5c3dad;};'use strict';var multer=require(_0xfc60('0x0'));var util=require(_0xfc60('0x1'));var path=require(_0xfc60('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xfc60('0x3'));var interaction=require(_0xfc60('0x4'));var config=require('../../config/environment');var controller=require(_0xfc60('0x5'));router[_0xfc60('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0xfc60('0x7')](),controller[_0xfc60('0x8')]);router[_0xfc60('0x6')](_0xfc60('0x9'),auth[_0xfc60('0x7')](),controller[_0xfc60('0xa')]);router[_0xfc60('0xb')]('/',auth[_0xfc60('0x7')](),interaction[_0xfc60('0xc')](_0xfc60('0xd'),_0xfc60('0xe')),controller[_0xfc60('0xf')]);router['post'](_0xfc60('0x10'),controller[_0xfc60('0x11')]);router[_0xfc60('0x12')](_0xfc60('0x9'),auth['isAuthenticated'](),controller[_0xfc60('0x13')]);router[_0xfc60('0x12')](_0xfc60('0x14'),auth[_0xfc60('0x7')](),controller[_0xfc60('0x15')]);router[_0xfc60('0x12')](_0xfc60('0x16'),auth[_0xfc60('0x7')](),controller[_0xfc60('0x17')]);router[_0xfc60('0x18')](_0xfc60('0x9'),auth[_0xfc60('0x7')](),controller[_0xfc60('0x19')]);module[_0xfc60('0x1a')]=router;
\ No newline at end of file
+var _0xb9d6=['/describe','describe','/:id','post','tracked','whatsapp','whatsappmessage:create','/:id/status','status','put','/:id/accept','accept','/:id/reject','reject','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','index'];(function(_0x128ec6,_0x2c605b){var _0x40fae4=function(_0x1126a5){while(--_0x1126a5){_0x128ec6['push'](_0x128ec6['shift']());}};_0x40fae4(++_0x2c605b);}(_0xb9d6,0x86));var _0x6b9d=function(_0x3f88bc,_0xe38cf5){_0x3f88bc=_0x3f88bc-0x0;var _0x4df1c4=_0xb9d6[_0x3f88bc];return _0x4df1c4;};'use strict';var multer=require(_0x6b9d('0x0'));var util=require(_0x6b9d('0x1'));var path=require(_0x6b9d('0x2'));var timeout=require(_0x6b9d('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6b9d('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6b9d('0x5'));var controller=require(_0x6b9d('0x6'));router[_0x6b9d('0x7')]('/',auth[_0x6b9d('0x8')](),controller[_0x6b9d('0x9')]);router[_0x6b9d('0x7')](_0x6b9d('0xa'),auth[_0x6b9d('0x8')](),controller[_0x6b9d('0xb')]);router[_0x6b9d('0x7')](_0x6b9d('0xc'),auth[_0x6b9d('0x8')](),controller['show']);router[_0x6b9d('0xd')]('/',auth[_0x6b9d('0x8')](),interaction[_0x6b9d('0xe')](_0x6b9d('0xf'),_0x6b9d('0x10')),controller['create']);router[_0x6b9d('0xd')](_0x6b9d('0x11'),controller[_0x6b9d('0x12')]);router['put'](_0x6b9d('0xc'),auth[_0x6b9d('0x8')](),controller['update']);router[_0x6b9d('0x13')](_0x6b9d('0x14'),auth['isAuthenticated'](),controller[_0x6b9d('0x15')]);router[_0x6b9d('0x13')](_0x6b9d('0x16'),auth['isAuthenticated'](),controller[_0x6b9d('0x17')]);router['delete']('/:id',auth[_0x6b9d('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file