X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappMessage%2Findex.js;h=6f3658897645e0347daee7cff7d0b03167861bd4;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=24486421bc6b301b8fcad966b269b66a69d4cca1;hpb=3a60439f3b647e2a7df8ce941316640492032b43;p=motion2.git diff --git a/server/api/whatsappMessage/index.js b/server/api/whatsappMessage/index.js index 2448642..6f36588 100644 --- a/server/api/whatsappMessage/index.js +++ b/server/api/whatsappMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f8f=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','/describe','describe','/:id','isAuthenticated','show','tracked','create','/:id/status','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer'];(function(_0x3ecf30,_0x5354ca){var _0x5e166c=function(_0x2e99b8){while(--_0x2e99b8){_0x3ecf30['push'](_0x3ecf30['shift']());}};_0x5e166c(++_0x5354ca);}(_0x1f8f,0x104));var _0xf1f8=function(_0x185f3e,_0x4d9e95){_0x185f3e=_0x185f3e-0x0;var _0x24ee30=_0x1f8f[_0x185f3e];return _0x24ee30;};'use strict';var multer=require(_0xf1f8('0x0'));var util=require(_0xf1f8('0x1'));var path=require(_0xf1f8('0x2'));var timeout=require(_0xf1f8('0x3'));var express=require(_0xf1f8('0x4'));var router=express[_0xf1f8('0x5')]();var fs_extra=require(_0xf1f8('0x6'));var auth=require(_0xf1f8('0x7'));var interaction=require(_0xf1f8('0x8'));var config=require(_0xf1f8('0x9'));var controller=require(_0xf1f8('0xa'));router[_0xf1f8('0xb')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xf1f8('0xc'),auth['isAuthenticated'](),controller[_0xf1f8('0xd')]);router[_0xf1f8('0xb')](_0xf1f8('0xe'),auth[_0xf1f8('0xf')](),controller[_0xf1f8('0x10')]);router['post']('/',auth['isAuthenticated'](),interaction[_0xf1f8('0x11')]('whatsapp','whatsappmessage:create'),controller[_0xf1f8('0x12')]);router['post'](_0xf1f8('0x13'),controller[_0xf1f8('0x14')]);router[_0xf1f8('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xf1f8('0x16')]);router['put'](_0xf1f8('0x17'),auth['isAuthenticated'](),controller[_0xf1f8('0x18')]);router['put'](_0xf1f8('0x19'),auth[_0xf1f8('0xf')](),controller[_0xf1f8('0x1a')]);router[_0xf1f8('0x1b')](_0xf1f8('0xe'),auth['isAuthenticated'](),controller[_0xf1f8('0x1c')]);module['exports']=router; \ No newline at end of file +var _0xc148=['get','isAuthenticated','index','/describe','describe','/:id','post','tracked','whatsapp','whatsappmessage:create','/:id/status','status','put','update','/:id/accept','/:id/reject','reject','delete','destroy','exports','multer','path','fs-extra','../../components/auth/service','./whatsappMessage.controller'];(function(_0x3538fc,_0x276546){var _0x126aef=function(_0x743273){while(--_0x743273){_0x3538fc['push'](_0x3538fc['shift']());}};_0x126aef(++_0x276546);}(_0xc148,0x1bd));var _0x8c14=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0xc148[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require(_0x8c14('0x0'));var util=require('util');var path=require(_0x8c14('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x8c14('0x2'));var auth=require(_0x8c14('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8c14('0x4'));router[_0x8c14('0x5')]('/',auth[_0x8c14('0x6')](),controller[_0x8c14('0x7')]);router[_0x8c14('0x5')](_0x8c14('0x8'),auth[_0x8c14('0x6')](),controller[_0x8c14('0x9')]);router['get'](_0x8c14('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x8c14('0xb')]('/',auth['isAuthenticated'](),interaction[_0x8c14('0xc')](_0x8c14('0xd'),_0x8c14('0xe')),controller['create']);router[_0x8c14('0xb')](_0x8c14('0xf'),controller[_0x8c14('0x10')]);router[_0x8c14('0x11')](_0x8c14('0xa'),auth[_0x8c14('0x6')](),controller[_0x8c14('0x12')]);router['put'](_0x8c14('0x13'),auth[_0x8c14('0x6')](),controller['accept']);router[_0x8c14('0x11')](_0x8c14('0x14'),auth['isAuthenticated'](),controller[_0x8c14('0x15')]);router[_0x8c14('0x16')](_0x8c14('0xa'),auth['isAuthenticated'](),controller[_0x8c14('0x17')]);module[_0x8c14('0x18')]=router; \ No newline at end of file