X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsmsInteraction%2Findex.js;h=b47e6a79d366ec49a08bbe976a2e59f5541e57f0;hb=ed368fdfe923471c0749d5720e7df57649e4ed09;hp=fff78c33607304d115809507c957df8cd8323c3c;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/smsInteraction/index.js b/server/api/smsInteraction/index.js index fff78c3..b47e6a7 100644 --- a/server/api/smsInteraction/index.js +++ b/server/api/smsInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6cb4=['./smsInteraction.controller','isAuthenticated','get','/describe','describe','/:id','show','getMessages','/:id/download','create','post','/:id/messages','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','delete','smsinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x146bb9,_0x16dd39){var _0x5b9078=function(_0x3a86d1){while(--_0x3a86d1){_0x146bb9['push'](_0x146bb9['shift']());}};_0x5b9078(++_0x16dd39);}(_0x6cb4,0xff));var _0x46cb=function(_0x4751da,_0x2c13ec){_0x4751da=_0x4751da-0x0;var _0x42817e=_0x6cb4[_0x4751da];return _0x42817e;};'use strict';var multer=require(_0x46cb('0x0'));var util=require(_0x46cb('0x1'));var path=require(_0x46cb('0x2'));var timeout=require(_0x46cb('0x3'));var express=require(_0x46cb('0x4'));var router=express[_0x46cb('0x5')]();var fs_extra=require(_0x46cb('0x6'));var auth=require(_0x46cb('0x7'));var interaction=require(_0x46cb('0x8'));var config=require('../../config/environment');var controller=require(_0x46cb('0x9'));router['get']('/',auth[_0x46cb('0xa')](),controller['index']);router[_0x46cb('0xb')](_0x46cb('0xc'),auth[_0x46cb('0xa')](),controller[_0x46cb('0xd')]);router[_0x46cb('0xb')](_0x46cb('0xe'),auth['isAuthenticated'](),controller[_0x46cb('0xf')]);router[_0x46cb('0xb')]('/:id/messages',auth[_0x46cb('0xa')](),controller[_0x46cb('0x10')]);router['get'](_0x46cb('0x11'),auth[_0x46cb('0xa')](),controller['download']);router['post']('/',auth['isAuthenticated'](),controller[_0x46cb('0x12')]);router[_0x46cb('0x13')](_0x46cb('0x14'),auth[_0x46cb('0xa')](),controller['addMessage']);router[_0x46cb('0x13')](_0x46cb('0x15'),auth[_0x46cb('0xa')](),interaction[_0x46cb('0x16')](_0x46cb('0x17'),_0x46cb('0x18')),controller[_0x46cb('0x19')]);router[_0x46cb('0x1a')](_0x46cb('0xe'),auth[_0x46cb('0xa')](),interaction[_0x46cb('0x16')]('sms',_0x46cb('0x1b')),controller['update']);router[_0x46cb('0x1c')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x46cb('0x17'),_0x46cb('0x1d')),controller[_0x46cb('0x1e')]);router[_0x46cb('0x1c')](_0x46cb('0x15'),auth[_0x46cb('0xa')](),controller[_0x46cb('0x1f')]);module[_0x46cb('0x20')]=router; \ No newline at end of file +var _0x96cc=['smsinteraction:destroy','delete','removeTags','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated','/describe','describe','/:id','/:id/messages','post','create','addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','update'];(function(_0x1558cf,_0x5390a3){var _0x47f5d6=function(_0x4f3a76){while(--_0x4f3a76){_0x1558cf['push'](_0x1558cf['shift']());}};_0x47f5d6(++_0x5390a3);}(_0x96cc,0x16c));var _0xc96c=function(_0x285680,_0x18ce0e){_0x285680=_0x285680-0x0;var _0x4140ae=_0x96cc[_0x285680];return _0x4140ae;};'use strict';var multer=require(_0xc96c('0x0'));var util=require('util');var path=require(_0xc96c('0x1'));var timeout=require('connect-timeout');var express=require(_0xc96c('0x2'));var router=express[_0xc96c('0x3')]();var fs_extra=require(_0xc96c('0x4'));var auth=require(_0xc96c('0x5'));var interaction=require(_0xc96c('0x6'));var config=require(_0xc96c('0x7'));var controller=require(_0xc96c('0x8'));router[_0xc96c('0x9')]('/',auth[_0xc96c('0xa')](),controller['index']);router[_0xc96c('0x9')](_0xc96c('0xb'),auth[_0xc96c('0xa')](),controller[_0xc96c('0xc')]);router[_0xc96c('0x9')](_0xc96c('0xd'),auth[_0xc96c('0xa')](),controller['show']);router[_0xc96c('0x9')](_0xc96c('0xe'),auth[_0xc96c('0xa')](),controller['getMessages']);router[_0xc96c('0x9')]('/:id/download',auth[_0xc96c('0xa')](),controller['download']);router[_0xc96c('0xf')]('/',auth[_0xc96c('0xa')](),controller[_0xc96c('0x10')]);router[_0xc96c('0xf')]('/:id/messages',auth[_0xc96c('0xa')](),controller[_0xc96c('0x11')]);router[_0xc96c('0xf')](_0xc96c('0x12'),auth['isAuthenticated'](),interaction[_0xc96c('0x13')](_0xc96c('0x14'),_0xc96c('0x15')),controller[_0xc96c('0x16')]);router[_0xc96c('0x17')](_0xc96c('0xd'),auth[_0xc96c('0xa')](),interaction[_0xc96c('0x13')](_0xc96c('0x14'),_0xc96c('0x18')),controller[_0xc96c('0x19')]);router['delete']('/:id',auth[_0xc96c('0xa')](),interaction[_0xc96c('0x13')](_0xc96c('0x14'),_0xc96c('0x1a')),controller['destroy']);router[_0xc96c('0x1b')](_0xc96c('0x12'),auth[_0xc96c('0xa')](),controller[_0xc96c('0x1c')]);module[_0xc96c('0x1d')]=router; \ No newline at end of file