Built motion from commit (unavailable).|2.4.6
[motion2.git] / server / api / smsInteraction / index.js
index 2c5da48..55175a5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbb07=['index','/describe','/:id','show','getMessages','post','create','/:id/messages','addMessage','/:id/tags','tracked','sms','addTags','put','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated'];(function(_0x4e11d5,_0x1ce514){var _0x5e4e4c=function(_0xbee63d){while(--_0xbee63d){_0x4e11d5['push'](_0x4e11d5['shift']());}};_0x5e4e4c(++_0x1ce514);}(_0xbb07,0xfc));var _0x7bb0=function(_0x2c6e87,_0x120aa2){_0x2c6e87=_0x2c6e87-0x0;var _0x12c488=_0xbb07[_0x2c6e87];return _0x12c488;};'use strict';var multer=require(_0x7bb0('0x0'));var util=require('util');var path=require(_0x7bb0('0x1'));var timeout=require(_0x7bb0('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x7bb0('0x3'));var interaction=require(_0x7bb0('0x4'));var config=require(_0x7bb0('0x5'));var controller=require(_0x7bb0('0x6'));router[_0x7bb0('0x7')]('/',auth[_0x7bb0('0x8')](),controller[_0x7bb0('0x9')]);router[_0x7bb0('0x7')](_0x7bb0('0xa'),auth[_0x7bb0('0x8')](),controller['describe']);router['get'](_0x7bb0('0xb'),auth[_0x7bb0('0x8')](),controller[_0x7bb0('0xc')]);router['get']('/:id/messages',auth[_0x7bb0('0x8')](),controller[_0x7bb0('0xd')]);router[_0x7bb0('0x7')]('/:id/download',auth['isAuthenticated'](),controller['download']);router[_0x7bb0('0xe')]('/',auth[_0x7bb0('0x8')](),controller[_0x7bb0('0xf')]);router[_0x7bb0('0xe')](_0x7bb0('0x10'),auth['isAuthenticated'](),controller[_0x7bb0('0x11')]);router[_0x7bb0('0xe')](_0x7bb0('0x12'),auth['isAuthenticated'](),interaction[_0x7bb0('0x13')](_0x7bb0('0x14'),'smsinteraction:addtags'),controller[_0x7bb0('0x15')]);router[_0x7bb0('0x16')]('/:id',auth[_0x7bb0('0x8')](),interaction['tracked'](_0x7bb0('0x14'),_0x7bb0('0x17')),controller[_0x7bb0('0x18')]);router[_0x7bb0('0x19')](_0x7bb0('0xb'),auth[_0x7bb0('0x8')](),interaction[_0x7bb0('0x13')](_0x7bb0('0x14'),_0x7bb0('0x1a')),controller[_0x7bb0('0x1b')]);router[_0x7bb0('0x19')](_0x7bb0('0x12'),auth[_0x7bb0('0x8')](),controller['removeTags']);module[_0x7bb0('0x1c')]=router;
\ No newline at end of file
+var _0x86bc=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','index','isAuthenticated','describe','/:id','/:id/messages','getMessages','/:id/download','download','create','post','/:id/tags','sms','addTags','put','tracked','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','exports','multer','path'];(function(_0x1fd1eb,_0x102e0c){var _0x1c39cd=function(_0x207154){while(--_0x207154){_0x1fd1eb['push'](_0x1fd1eb['shift']());}};_0x1c39cd(++_0x102e0c);}(_0x86bc,0x1b1));var _0xc86b=function(_0x37bc58,_0x512fd9){_0x37bc58=_0x37bc58-0x0;var _0x2c4cab=_0x86bc[_0x37bc58];return _0x2c4cab;};'use strict';var multer=require(_0xc86b('0x0'));var util=require('util');var path=require(_0xc86b('0x1'));var timeout=require(_0xc86b('0x2'));var express=require(_0xc86b('0x3'));var router=express[_0xc86b('0x4')]();var auth=require(_0xc86b('0x5'));var interaction=require(_0xc86b('0x6'));var config=require('../../config/environment');var controller=require('./smsInteraction.controller');router[_0xc86b('0x7')]('/',auth['isAuthenticated'](),controller[_0xc86b('0x8')]);router['get']('/describe',auth[_0xc86b('0x9')](),controller[_0xc86b('0xa')]);router[_0xc86b('0x7')](_0xc86b('0xb'),auth[_0xc86b('0x9')](),controller['show']);router[_0xc86b('0x7')](_0xc86b('0xc'),auth[_0xc86b('0x9')](),controller[_0xc86b('0xd')]);router[_0xc86b('0x7')](_0xc86b('0xe'),auth[_0xc86b('0x9')](),controller[_0xc86b('0xf')]);router['post']('/',auth[_0xc86b('0x9')](),controller[_0xc86b('0x10')]);router[_0xc86b('0x11')]('/:id/messages',auth[_0xc86b('0x9')](),controller['addMessage']);router['post'](_0xc86b('0x12'),auth[_0xc86b('0x9')](),interaction['tracked'](_0xc86b('0x13'),'smsinteraction:addtags'),controller[_0xc86b('0x14')]);router[_0xc86b('0x15')](_0xc86b('0xb'),auth[_0xc86b('0x9')](),interaction[_0xc86b('0x16')]('sms',_0xc86b('0x17')),controller[_0xc86b('0x18')]);router[_0xc86b('0x19')](_0xc86b('0xb'),auth['isAuthenticated'](),interaction[_0xc86b('0x16')](_0xc86b('0x13'),_0xc86b('0x1a')),controller[_0xc86b('0x1b')]);router['delete'](_0xc86b('0x12'),auth[_0xc86b('0x9')](),controller['removeTags']);module[_0xc86b('0x1c')]=router;
\ No newline at end of file