Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / whatsappMessage / index.js
index a9d09a2..72a5866 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c6b=['whatsappmessage:create','create','post','/:id/status','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','index','/describe','describe','/:id','isAuthenticated','show','tracked'];(function(_0x60eaba,_0x26670b){var _0x110fba=function(_0x1f3dfe){while(--_0x1f3dfe){_0x60eaba['push'](_0x60eaba['shift']());}};_0x110fba(++_0x26670b);}(_0x8c6b,0x84));var _0xb8c6=function(_0x73b814,_0x21341a){_0x73b814=_0x73b814-0x0;var _0x3fef90=_0x8c6b[_0x73b814];return _0x3fef90;};'use strict';var multer=require(_0xb8c6('0x0'));var util=require(_0xb8c6('0x1'));var path=require(_0xb8c6('0x2'));var timeout=require('connect-timeout');var express=require(_0xb8c6('0x3'));var router=express[_0xb8c6('0x4')]();var fs_extra=require(_0xb8c6('0x5'));var auth=require(_0xb8c6('0x6'));var interaction=require(_0xb8c6('0x7'));var config=require(_0xb8c6('0x8'));var controller=require(_0xb8c6('0x9'));router[_0xb8c6('0xa')]('/',auth['isAuthenticated'](),controller[_0xb8c6('0xb')]);router[_0xb8c6('0xa')](_0xb8c6('0xc'),auth['isAuthenticated'](),controller[_0xb8c6('0xd')]);router[_0xb8c6('0xa')](_0xb8c6('0xe'),auth[_0xb8c6('0xf')](),controller[_0xb8c6('0x10')]);router['post']('/',auth[_0xb8c6('0xf')](),interaction[_0xb8c6('0x11')]('whatsapp',_0xb8c6('0x12')),controller[_0xb8c6('0x13')]);router[_0xb8c6('0x14')](_0xb8c6('0x15'),controller[_0xb8c6('0x16')]);router[_0xb8c6('0x17')](_0xb8c6('0xe'),auth[_0xb8c6('0xf')](),controller[_0xb8c6('0x18')]);router[_0xb8c6('0x17')](_0xb8c6('0x19'),auth[_0xb8c6('0xf')](),controller[_0xb8c6('0x1a')]);router[_0xb8c6('0x17')](_0xb8c6('0x1b'),auth[_0xb8c6('0xf')](),controller[_0xb8c6('0x1c')]);router[_0xb8c6('0x1d')](_0xb8c6('0xe'),auth[_0xb8c6('0xf')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x1b01=['get','/:id','show','post','whatsappmessage:create','create','/:id/status','status','update','put','accept','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./whatsappMessage.controller','/describe','isAuthenticated'];(function(_0x17c416,_0x68c5ff){var _0x21d1a4=function(_0x1d6b1b){while(--_0x1d6b1b){_0x17c416['push'](_0x17c416['shift']());}};_0x21d1a4(++_0x68c5ff);}(_0x1b01,0xc5));var _0x11b0=function(_0x26542e,_0x37d665){_0x26542e=_0x26542e-0x0;var _0x5c8f2c=_0x1b01[_0x26542e];return _0x5c8f2c;};'use strict';var multer=require('multer');var util=require(_0x11b0('0x0'));var path=require(_0x11b0('0x1'));var timeout=require(_0x11b0('0x2'));var express=require(_0x11b0('0x3'));var router=express[_0x11b0('0x4')]();var fs_extra=require(_0x11b0('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x11b0('0x6'));var controller=require(_0x11b0('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x11b0('0x8'),auth[_0x11b0('0x9')](),controller['describe']);router[_0x11b0('0xa')](_0x11b0('0xb'),auth['isAuthenticated'](),controller[_0x11b0('0xc')]);router[_0x11b0('0xd')]('/',auth['isAuthenticated'](),interaction['tracked']('whatsapp',_0x11b0('0xe')),controller[_0x11b0('0xf')]);router[_0x11b0('0xd')](_0x11b0('0x10'),controller[_0x11b0('0x11')]);router['put'](_0x11b0('0xb'),auth['isAuthenticated'](),controller[_0x11b0('0x12')]);router[_0x11b0('0x13')]('/:id/accept',auth[_0x11b0('0x9')](),controller[_0x11b0('0x14')]);router['put']('/:id/reject',auth[_0x11b0('0x9')](),controller['reject']);router['delete'](_0x11b0('0xb'),auth[_0x11b0('0x9')](),controller[_0x11b0('0x15')]);module[_0x11b0('0x16')]=router;
\ No newline at end of file